Class: Google::Apis::CertificatemanagerV1::TrustStore

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/certificatemanager_v1/classes.rb,
lib/google/apis/certificatemanager_v1/representations.rb,
lib/google/apis/certificatemanager_v1/representations.rb

Overview

Defines a trust store.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TrustStore

Returns a new instance of TrustStore.



1296
1297
1298
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1296

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#intermediate_casArray<Google::Apis::CertificatemanagerV1::IntermediateCa>

Optional. Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature. Corresponds to the JSON property intermediateCas



1288
1289
1290
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1288

def intermediate_cas
  @intermediate_cas
end

#trust_anchorsArray<Google::Apis::CertificatemanagerV1::TrustAnchor>

Optional. List of Trust Anchors to be used while performing validation against a given TrustStore. Corresponds to the JSON property trustAnchors



1294
1295
1296
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1294

def trust_anchors
  @trust_anchors
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1301
1302
1303
1304
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1301

def update!(**args)
  @intermediate_cas = args[:intermediate_cas] if args.key?(:intermediate_cas)
  @trust_anchors = args[:trust_anchors] if args.key?(:trust_anchors)
end