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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudkms_v1/classes.rb,
lib/google/apis/cloudkms_v1/representations.rb,
lib/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.



495
496
497
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 495

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>)


483
484
485
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 483

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>)


488
489
490
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 488

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>)


493
494
495
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 493

def google_partition_certs
  @google_partition_certs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



500
501
502
503
504
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 500

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