Class: Google::Apis::PrivatecaV1beta1::IssuanceModes
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1beta1::IssuanceModes
- 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
IssuanceModes specifies the allowed ways in which Certificates may be requested from this CertificateAuthority.
Instance Attribute Summary collapse
-
#allow_config_based_issuance ⇒ Boolean
(also: #allow_config_based_issuance?)
Required.
-
#allow_csr_based_issuance ⇒ Boolean
(also: #allow_csr_based_issuance?)
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IssuanceModes
constructor
A new instance of IssuanceModes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ IssuanceModes
Returns a new instance of IssuanceModes.
1075 1076 1077 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1075 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_config_based_issuance ⇒ Boolean Also known as: allow_config_based_issuance?
Required. When true, allows callers to create Certificates by specifying a
CertificateConfig.
Corresponds to the JSON property allowConfigBasedIssuance
1066 1067 1068 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1066 def allow_config_based_issuance @allow_config_based_issuance end |
#allow_csr_based_issuance ⇒ Boolean Also known as: allow_csr_based_issuance?
Required. When true, allows callers to create Certificates by specifying a CSR.
Corresponds to the JSON property allowCsrBasedIssuance
1072 1073 1074 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1072 def allow_csr_based_issuance @allow_csr_based_issuance end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1080 1081 1082 1083 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1080 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 |