Class: Google::Apis::PrivatecaV1::CaPool

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CaPool

Returns a new instance of CaPool.



402
403
404
# File 'lib/google/apis/privateca_v1/classes.rb', line 402

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

Instance Attribute Details

#encryption_specGoogle::Apis::PrivatecaV1::EncryptionSpec

The configuration used for encrypting data at rest. Corresponds to the JSON property encryptionSpec



371
372
373
# File 'lib/google/apis/privateca_v1/classes.rb', line 371

def encryption_spec
  @encryption_spec
end

#issuance_policyGoogle::Apis::PrivatecaV1::IssuancePolicy

Defines controls over all certificate issuance within a CaPool. Corresponds to the JSON property issuancePolicy



376
377
378
# File 'lib/google/apis/privateca_v1/classes.rb', line 376

def issuance_policy
  @issuance_policy
end

#labelsHash<String,String>

Optional. Labels with user-defined metadata. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


381
382
383
# File 'lib/google/apis/privateca_v1/classes.rb', line 381

def labels
  @labels
end

#nameString

Identifier. The resource name for this CaPool in the format projects/*/ locations/*/caPools/*. Corresponds to the JSON property name

Returns:

  • (String)


387
388
389
# File 'lib/google/apis/privateca_v1/classes.rb', line 387

def name
  @name
end

#publishing_optionsGoogle::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



395
396
397
# File 'lib/google/apis/privateca_v1/classes.rb', line 395

def publishing_options
  @publishing_options
end

#tierString

Required. Immutable. The Tier of this CaPool. Corresponds to the JSON property tier

Returns:

  • (String)


400
401
402
# File 'lib/google/apis/privateca_v1/classes.rb', line 400

def tier
  @tier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



407
408
409
410
411
412
413
414
# File 'lib/google/apis/privateca_v1/classes.rb', line 407

def update!(**args)
  @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
  @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