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 messagegoogle.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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Api Keys V2 Client - Class AndroidApplication (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-api-keys/latest/V2.AndroidApplication)\n- [1.0.4](/php/docs/reference/cloud-api-keys/1.0.4/V2.AndroidApplication)\n- [0.4.5](/php/docs/reference/cloud-api-keys/0.4.5/V2.AndroidApplication)\n- [0.3.3](/php/docs/reference/cloud-api-keys/0.3.3/V2.AndroidApplication)\n- [0.2.2](/php/docs/reference/cloud-api-keys/0.2.2/V2.AndroidApplication)\n- [0.1.7](/php/docs/reference/cloud-api-keys/0.1.7/V2.AndroidApplication) \nReference documentation and code samples for the Google Cloud Api Keys V2 Client class AndroidApplication.\n\nIdentifier of an Android application for key use.\n\nGenerated from protobuf message `google.api.apikeys.v2.AndroidApplication`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ApiKeys \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSha1Fingerprint\n\nThe SHA1 fingerprint of the application. For example, both sha1 formats are\nacceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or\nDA39A3EE5E6B4B0D3255BFEF95601890AFD80709.\n\nOutput format is the latter.\n\n### setSha1Fingerprint\n\nThe SHA1 fingerprint of the application. For example, both sha1 formats are\nacceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or\nDA39A3EE5E6B4B0D3255BFEF95601890AFD80709.\n\nOutput format is the latter.\n\n### getPackageName\n\nThe package name of the application.\n\n### setPackageName\n\nThe package name of the application."]]