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.



520
521
522
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 520

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


508
509
510
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 508

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


513
514
515
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 513

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


518
519
520
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 518

def google_partition_certs
  @google_partition_certs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



525
526
527
528
529
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 525

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