class Google::Apis::PrivatecaV1::CaPool

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.

Attributes

issuance_policy[RW]

Defines controls over all certificate issuance within a CaPool. Corresponds to the JSON property `issuancePolicy` @return [Google::Apis::PrivatecaV1::IssuancePolicy]

labels[RW]

Optional. Labels with user-defined metadata. Corresponds to the JSON property `labels` @return [Hash<String,String>]

name[RW]

Output only. The resource name for this CaPool in the format `projects/*/ locations//caPools/`. Corresponds to the JSON property `name` @return [String]

publishing_options[RW]

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` @return [Google::Apis::PrivatecaV1::PublishingOptions]

tier[RW]

Required. Immutable. The Tier of this CaPool. Corresponds to the JSON property `tier` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/privateca_v1/classes.rb, line 331
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/privateca_v1/classes.rb, line 336
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