Class: Google::Apis::AndroidenterpriseV1::ProductSigningCertificate
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::ProductSigningCertificate
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidenterprise_v1/classes.rb,
lib/google/apis/androidenterprise_v1/representations.rb,
lib/google/apis/androidenterprise_v1/representations.rb
Instance Attribute Summary collapse
-
#certificate_hash_sha1 ⇒ String
The base64 urlsafe encoded SHA1 hash of the certificate.
-
#certificate_hash_sha256 ⇒ String
The base64 urlsafe encoded SHA2-256 hash of the certificate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductSigningCertificate
constructor
A new instance of ProductSigningCertificate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductSigningCertificate
Returns a new instance of ProductSigningCertificate.
2385 2386 2387 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_hash_sha1 ⇒ String
The base64 urlsafe encoded SHA1 hash of the certificate. (This field is
deprecated in favor of SHA2-256. It should not be used and may be removed at
any time.)
Corresponds to the JSON property certificateHashSha1
2378 2379 2380 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2378 def certificate_hash_sha1 @certificate_hash_sha1 end |
#certificate_hash_sha256 ⇒ String
The base64 urlsafe encoded SHA2-256 hash of the certificate.
Corresponds to the JSON property certificateHashSha256
2383 2384 2385 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2383 def certificate_hash_sha256 @certificate_hash_sha256 end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2390 2391 2392 2393 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 2390 def update!(**args) @certificate_hash_sha1 = args[:certificate_hash_sha1] if args.key?(:certificate_hash_sha1) @certificate_hash_sha256 = args[:certificate_hash_sha256] if args.key?(:certificate_hash_sha256) end |