class Google::Apis::FirebaseV1beta1::ShaCertificate

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

Attributes

cert_type[RW]

The type of SHA certificate encoded in the hash. Corresponds to the JSON property `certType` @return [String]

name[RW]

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`](../projects# FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`] (../projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](google.aip.dev/ cloud/2510). 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`](../projects.androidApps#AndroidApp. FIELDS.app_id)). * SHA_HASH: the certificate hash for the App (see [`shaHash`]( ../projects.androidApps.sha#ShaCertificate.FIELDS.sha_hash)). Corresponds to the JSON property `name` @return [String]

sha_hash[RW]

The certificate hash for the `AndroidApp`. Corresponds to the JSON property `shaHash` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/firebase_v1beta1/classes.rb, line 994
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/firebase_v1beta1/classes.rb, line 999
def update!(**args)
  @cert_type = args[:cert_type] if args.key?(:cert_type)
  @name = args[:name] if args.key?(:name)
  @sha_hash = args[:sha_hash] if args.key?(:sha_hash)
end