Class: Google::Apis::KmsinventoryV1::GoogleCloudKmsV1KeyOperationAttestationCertificateChains

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/kmsinventory_v1/classes.rb,
lib/google/apis/kmsinventory_v1/representations.rb,
lib/google/apis/kmsinventory_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) ⇒ GoogleCloudKmsV1KeyOperationAttestationCertificateChains

Returns a new instance of GoogleCloudKmsV1KeyOperationAttestationCertificateChains.



555
556
557
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 555

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


543
544
545
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 543

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


548
549
550
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 548

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


553
554
555
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 553

def google_partition_certs
  @google_partition_certs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



560
561
562
563
564
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 560

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