Class: Google::Apis::FirebaseV1beta1::ShaCertificate
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::ShaCertificate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebase_v1beta1/classes.rb,
generated/google/apis/firebase_v1beta1/representations.rb,
generated/google/apis/firebase_v1beta1/representations.rb
Overview
A SHA-1 or SHA-256 certificate associated with the AndroidApp.
Instance Attribute Summary collapse
-
#cert_type ⇒ String
The SHA certificate type.
-
#name ⇒ String
The fully qualified resource name of the
sha-key
, in the format:projects/projectId/androidApps/appId/sha/ shaId
Corresponds to the JSON propertyname
. -
#sha_hash ⇒ String
The certificate hash for the App.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShaCertificate
constructor
A new instance of ShaCertificate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ShaCertificate
Returns a new instance of ShaCertificate.
1028 1029 1030 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1028 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cert_type ⇒ String
The SHA certificate type.
Corresponds to the JSON property certType
1014 1015 1016 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1014 def cert_type @cert_type end |
#name ⇒ String
The fully qualified resource name of the sha-key
, in the format:
projects/projectId/androidApps/appId/sha/
shaId
Corresponds to the JSON property name
1021 1022 1023 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1021 def name @name end |
#sha_hash ⇒ String
The certificate hash for the App.
Corresponds to the JSON property shaHash
1026 1027 1028 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1026 def sha_hash @sha_hash end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1033 1034 1035 1036 1037 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 1033 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 |