Class: Google::Apis::PrivatecaV1beta1::SubordinateConfig
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1beta1::SubordinateConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/privateca_v1beta1/classes.rb,
lib/google/apis/privateca_v1beta1/representations.rb,
lib/google/apis/privateca_v1beta1/representations.rb
Overview
Describes a subordinate CA's issuers. This is either a resource path to a known issuing CertificateAuthority, or a PEM issuer certificate chain.
Instance Attribute Summary collapse
-
#certificate_authority ⇒ String
Required.
-
#pem_issuer_chain ⇒ Google::Apis::PrivatecaV1beta1::SubordinateConfigChain
This message describes a subordinate CA's issuer certificate chain.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SubordinateConfig
constructor
A new instance of SubordinateConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SubordinateConfig
Returns a new instance of SubordinateConfig.
3472 3473 3474 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 3472 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_authority ⇒ String
Required. This can refer to a CertificateAuthority in the same project that
was used to create a subordinate CertificateAuthority. This field is used for
information and usability purposes only. The resource name is in the format
projects/*/locations/*/certificateAuthorities/*
.
Corresponds to the JSON property certificateAuthority
3464 3465 3466 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 3464 def @certificate_authority end |
#pem_issuer_chain ⇒ Google::Apis::PrivatecaV1beta1::SubordinateConfigChain
This message describes a subordinate CA's issuer certificate chain. This
wrapper exists for compatibility reasons.
Corresponds to the JSON property pemIssuerChain
3470 3471 3472 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 3470 def pem_issuer_chain @pem_issuer_chain end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3477 3478 3479 3480 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 3477 def update!(**args) @certificate_authority = args[:certificate_authority] if args.key?(:certificate_authority) @pem_issuer_chain = args[:pem_issuer_chain] if args.key?(:pem_issuer_chain) end |