Class: Google::Apis::PrivatecaV1::CaPool
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1::CaPool
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/privateca_v1/classes.rb,
lib/google/apis/privateca_v1/representations.rb,
lib/google/apis/privateca_v1/representations.rb
Overview
A CaPool represents a group of CertificateAuthorities that form a trust anchor. A CaPool can be used to manage issuance policies for one or more CertificateAuthority resources and to rotate CA certificates in and out of the trust anchor.
Instance Attribute Summary collapse
-
#issuance_policy ⇒ Google::Apis::PrivatecaV1::IssuancePolicy
Defines controls over all certificate issuance within a CaPool.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Output only.
-
#publishing_options ⇒ Google::Apis::PrivatecaV1::PublishingOptions
Options relating to the publication of each CertificateAuthority's CA certificate and CRLs and their inclusion as extensions in issued Certificates.
-
#tier ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CaPool
constructor
A new instance of CaPool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CaPool
Returns a new instance of CaPool.
358 359 360 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 358 def initialize(**args) update!(**args) end |
Instance Attribute Details
#issuance_policy ⇒ Google::Apis::PrivatecaV1::IssuancePolicy
Defines controls over all certificate issuance within a CaPool.
Corresponds to the JSON property issuancePolicy
332 333 334 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 332 def issuance_policy @issuance_policy end |
#labels ⇒ Hash<String,String>
Optional. Labels with user-defined metadata.
Corresponds to the JSON property labels
337 338 339 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 337 def labels @labels end |
#name ⇒ String
Output only. The resource name for this CaPool in the format projects/*/
locations/*/caPools/*.
Corresponds to the JSON property name
343 344 345 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 343 def name @name end |
#publishing_options ⇒ Google::Apis::PrivatecaV1::PublishingOptions
Options relating to the publication of each CertificateAuthority's CA
certificate and CRLs and their inclusion as extensions in issued Certificates.
The options set here apply to certificates issued by any CertificateAuthority
in the CaPool.
Corresponds to the JSON property publishingOptions
351 352 353 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 351 def @publishing_options end |
#tier ⇒ String
Required. Immutable. The Tier of this CaPool.
Corresponds to the JSON property tier
356 357 358 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 356 def tier @tier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
363 364 365 366 367 368 369 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 363 def update!(**args) @issuance_policy = args[:issuance_policy] if args.key?(:issuance_policy) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @publishing_options = args[:publishing_options] if args.key?(:publishing_options) @tier = args[:tier] if args.key?(:tier) end |