Class: Google::Apis::AndroidpublisherV3::CertificateHashes

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb

Overview

Hash digests of a certificate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CertificateHashes

Returns a new instance of CertificateHashes.



2371
2372
2373
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2371

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#certificate_hash_md5String

Hex-encoded MD5 hash of the certificate. example: 43:51:43:A1:B5:FC:8B:B7:0A: 3A:A9:B1:0F:66:73:A8 Corresponds to the JSON property certificateHashMd5

Returns:

  • (String)


2357
2358
2359
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2357

def certificate_hash_md5
  @certificate_hash_md5
end

#certificate_hash_sha1String

Hex-encoded SHA1 hash of the certificate. example: 86:61:97:1A:D5:EF:E5:74:1E: A7:5B:84:7C:68:37:65:CD:94:16:DE Corresponds to the JSON property certificateHashSha1

Returns:

  • (String)


2363
2364
2365
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2363

def certificate_hash_sha1
  @certificate_hash_sha1
end

#certificate_hash_sha256String

Hex-encoded SHA256 hash of the certificate. example: 94:49:C7:F3:A9:3C:F0:C5: 5A:67:5D:DF:1C:83:73:2D:87:D5:62:55:E7:0B:15:0D:9E:6F:3C:F8:63:BB:7F:C1 Corresponds to the JSON property certificateHashSha256

Returns:

  • (String)


2369
2370
2371
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2369

def certificate_hash_sha256
  @certificate_hash_sha256
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2376
2377
2378
2379
2380
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2376

def update!(**args)
  @certificate_hash_md5 = args[:certificate_hash_md5] if args.key?(:certificate_hash_md5)
  @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