Class: Google::Apis::PrivatecaV1::CaOptions
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1::CaOptions
- 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
Describes values that are relevant in a CA certificate.
Instance Attribute Summary collapse
-
#is_ca ⇒ Boolean
(also: #is_ca?)
Optional.
-
#max_issuer_path_length ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CaOptions
constructor
A new instance of CaOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CaOptions
Returns a new instance of CaOptions.
284 285 286 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 284 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_ca ⇒ Boolean Also known as: is_ca?
Optional. Refers to the "CA" X.509 extension, which is a boolean value. When
this value is missing, the extension will be omitted from the CA certificate.
Corresponds to the JSON property isCa
273 274 275 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 273 def is_ca @is_ca end |
#max_issuer_path_length ⇒ Fixnum
Optional. Refers to the path length restriction X.509 extension. For a CA
certificate, this value describes the depth of subordinate CA certificates
that are allowed. If this value is less than 0, the request will fail. If this
value is missing, the max path length will be omitted from the CA certificate.
Corresponds to the JSON property maxIssuerPathLength
282 283 284 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 282 def max_issuer_path_length @max_issuer_path_length end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
289 290 291 292 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 289 def update!(**args) @is_ca = args[:is_ca] if args.key?(:is_ca) @max_issuer_path_length = args[:max_issuer_path_length] if args.key?(:max_issuer_path_length) end |