Class: Google::Apis::CloudkmsV1::CertificateChains
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::CertificateChains
- 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
-
#cavium_certs ⇒ Array<String>
Cavium certificate chain corresponding to the attestation.
-
#google_card_certs ⇒ Array<String>
Google card certificate chain corresponding to the attestation.
-
#google_partition_certs ⇒ Array<String>
Google partition certificate chain corresponding to the attestation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertificateChains
constructor
A new instance of CertificateChains.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CertificateChains
Returns a new instance of CertificateChains.
559 560 561 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 559 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cavium_certs ⇒ Array<String>
Cavium certificate chain corresponding to the attestation.
Corresponds to the JSON property caviumCerts
547 548 549 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 547 def cavium_certs @cavium_certs end |
#google_card_certs ⇒ Array<String>
Google card certificate chain corresponding to the attestation.
Corresponds to the JSON property googleCardCerts
552 553 554 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 552 def google_card_certs @google_card_certs end |
#google_partition_certs ⇒ Array<String>
Google partition certificate chain corresponding to the attestation.
Corresponds to the JSON property googlePartitionCerts
557 558 559 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 557 def google_partition_certs @google_partition_certs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
564 565 566 567 568 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 564 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 |