Class: Google::Apis::CertificatemanagerV1::TrustStore
- Inherits:
-
Object
- Object
- Google::Apis::CertificatemanagerV1::TrustStore
- 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
-
#intermediate_cas ⇒ Array<Google::Apis::CertificatemanagerV1::IntermediateCa>
Optional.
-
#trust_anchors ⇒ Array<Google::Apis::CertificatemanagerV1::TrustAnchor>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TrustStore
constructor
A new instance of TrustStore.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TrustStore
Returns a new instance of TrustStore.
1514 1515 1516 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1514 def initialize(**args) update!(**args) end |
Instance Attribute Details
#intermediate_cas ⇒ Array<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
1506 1507 1508 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1506 def intermediate_cas @intermediate_cas end |
#trust_anchors ⇒ Array<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
1512 1513 1514 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1512 def trust_anchors @trust_anchors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1519 1520 1521 1522 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1519 def update!(**args) @intermediate_cas = args[:intermediate_cas] if args.key?(:intermediate_cas) @trust_anchors = args[:trust_anchors] if args.key?(:trust_anchors) end |