Class: Google::Apis::PrivatecaV1beta1::CaOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/privateca_v1beta1/classes.rb,
generated/google/apis/privateca_v1beta1/representations.rb,
generated/google/apis/privateca_v1beta1/representations.rb

Overview

Describes values that are relevant in a CA certificate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CaOptions

Returns a new instance of CaOptions.



343
344
345
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 343

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

Instance Attribute Details

#is_caBoolean 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

Returns:

  • (Boolean)


332
333
334
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 332

def is_ca
  @is_ca
end

#max_issuer_path_lengthFixnum

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

Returns:

  • (Fixnum)


341
342
343
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 341

def max_issuer_path_length
  @max_issuer_path_length
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



348
349
350
351
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 348

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