REST Resource: projects.androidApps.sha

Resource: ShaCertificate

A SHA-1 or SHA-256 certificate associated with the AndroidApp.

JSON representation
{
  "name": string,
  "shaHash": string,
  "certType": enum (ShaCertificateType)
}
Fields
name

string

The resource name of the ShaCertificate for the AndroidApp, in the format:

projects/PROJECT_IDENTIFIER/androidApps/APP_ID/sha/SHA_HASH

  • PROJECT_IDENTIFIER: the parent Project's ProjectNumber (recommended) or its ProjectId. Learn more about using project identifiers in Google's AIP 2510 standard.
    Note that the value for PROJECT_IDENTIFIER in any response body will be the ProjectId.
  • APP_ID: the globally unique, Firebase-assigned identifier for the App (see appId).
  • SHA_HASH: the certificate hash for the App (see shaHash).
shaHash

string

The certificate hash for the AndroidApp.

certType

enum (ShaCertificateType)

The type of SHA certificate encoded in the hash.

ShaCertificateType

The type of SHA certificate encoded in the hash.

Enums
SHA_CERTIFICATE_TYPE_UNSPECIFIED Unknown state. This is only used for distinguishing unset values.
SHA_1 Certificate is a SHA-1 type certificate.
SHA_256 Certificate is a SHA-256 type certificate.

Methods

create

Adds a ShaCertificate to the specified AndroidApp.

delete

Removes a ShaCertificate from the specified AndroidApp.

list

Lists the SHA-1 and SHA-256 certificates for the specified AndroidApp.