1.2.3 (latest) 1.1.2 1.0.5 0.4.5 0.3.3 0.2.2 0.1.7 Reference documentation and code samples for the Google Cloud Api Keys V2 Client class AndroidApplication.

Identifier of an Android application for key use.

Generated from protobuf message `google.api.apikeys.v2.AndroidApplication`

## Namespace

Google \\ Cloud \\ ApiKeys \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ sha1_fingerprint` | `string` The SHA1 fingerprint of the application. For example, both sha1 formats are acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. Output format is the latter. |
| `↳ package_name` | `string` The package name of the application. |

### getSha1Fingerprint

The SHA1 fingerprint of the application. For example, both sha1 formats are
acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or
DA39A3EE5E6B4B0D3255BFEF95601890AFD80709.

Output format is the latter.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSha1Fingerprint

The SHA1 fingerprint of the application. For example, both sha1 formats are
acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or
DA39A3EE5E6B4B0D3255BFEF95601890AFD80709.

Output format is the latter.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPackageName

The package name of the application.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPackageName

The package name of the application.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |