Class: Google::Apis::PrivatecaV1::IssuanceModes

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

IssuanceModes specifies the allowed ways in which Certificates may be requested from this CaPool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IssuanceModes

Returns a new instance of IssuanceModes.



1427
1428
1429
# File 'lib/google/apis/privateca_v1/classes.rb', line 1427

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

Instance Attribute Details

#allow_config_based_issuanceBoolean Also known as: allow_config_based_issuance?

Optional. When true, allows callers to create Certificates by specifying a CertificateConfig. Corresponds to the JSON property allowConfigBasedIssuance

Returns:

  • (Boolean)


1418
1419
1420
# File 'lib/google/apis/privateca_v1/classes.rb', line 1418

def allow_config_based_issuance
  @allow_config_based_issuance
end

#allow_csr_based_issuanceBoolean Also known as: allow_csr_based_issuance?

Optional. When true, allows callers to create Certificates by specifying a CSR. Corresponds to the JSON property allowCsrBasedIssuance

Returns:

  • (Boolean)


1424
1425
1426
# File 'lib/google/apis/privateca_v1/classes.rb', line 1424

def allow_csr_based_issuance
  @allow_csr_based_issuance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1432
1433
1434
1435
# File 'lib/google/apis/privateca_v1/classes.rb', line 1432

def update!(**args)
  @allow_config_based_issuance = args[:allow_config_based_issuance] if args.key?(:allow_config_based_issuance)
  @allow_csr_based_issuance = args[:allow_csr_based_issuance] if args.key?(:allow_csr_based_issuance)
end