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.



1951
1952
1953
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1951

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)


1942
1943
1944
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1942

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



1949
1950
1951
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1949

def reusable_config_values
  @reusable_config_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1956
1957
1958
1959
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1956

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