Class: Google::Apis::CloudkmsV1::CertificateChains

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudkms_v1/classes.rb,
generated/google/apis/cloudkms_v1/representations.rb,
generated/google/apis/cloudkms_v1/representations.rb

Overview

Certificate chains needed to verify the attestation. Certificates in chains are PEM-encoded and are ordered based on https://tools.ietf.org/html/rfc5246# section-7.4.2.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CertificateChains

Returns a new instance of CertificateChains.



369
370
371
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 369

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

Instance Attribute Details

#cavium_certsArray<String>

Cavium certificate chain corresponding to the attestation. Corresponds to the JSON property caviumCerts

Returns:

  • (Array<String>)


357
358
359
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 357

def cavium_certs
  @cavium_certs
end

#google_card_certsArray<String>

Google card certificate chain corresponding to the attestation. Corresponds to the JSON property googleCardCerts

Returns:

  • (Array<String>)


362
363
364
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 362

def google_card_certs
  @google_card_certs
end

#google_partition_certsArray<String>

Google partition certificate chain corresponding to the attestation. Corresponds to the JSON property googlePartitionCerts

Returns:

  • (Array<String>)


367
368
369
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 367

def google_partition_certs
  @google_partition_certs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



374
375
376
377
378
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 374

def update!(**args)
  @cavium_certs = args[:cavium_certs] if args.key?(:cavium_certs)
  @google_card_certs = args[:google_card_certs] if args.key?(:google_card_certs)
  @google_partition_certs = args[:google_partition_certs] if args.key?(:google_partition_certs)
end