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.



598
599
600
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 598

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


586
587
588
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 586

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


591
592
593
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 591

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


596
597
598
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 596

def google_partition_certs
  @google_partition_certs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



603
604
605
606
607
# File 'lib/google/apis/kmsinventory_v1/classes.rb', line 603

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