Class: Google::Apis::PrivatecaV1beta1::ReusableConfigWrapper

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

A ReusableConfigWrapper describes values that may assist in creating an X.509 certificate, or a reference to a pre-defined set of values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReusableConfigWrapper

Returns a new instance of ReusableConfigWrapper.



3026
3027
3028
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 3026

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

Instance Attribute Details

#reusable_configString

Required. A resource path to a ReusableConfig in the format projects/*/ locations/*/reusableConfigs/*. Corresponds to the JSON property reusableConfig

Returns:

  • (String)


3017
3018
3019
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 3017

def reusable_config
  @reusable_config
end

#reusable_config_valuesGoogle::Apis::PrivatecaV1beta1::ReusableConfigValues

A ReusableConfigValues is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions. Corresponds to the JSON property reusableConfigValues



3024
3025
3026
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 3024

def reusable_config_values
  @reusable_config_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3031
3032
3033
3034
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 3031

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