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

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

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.



1920
1921
1922
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1920

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)


1911
1912
1913
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1911

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



1918
1919
1920
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1918

def reusable_config_values
  @reusable_config_values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1925
1926
1927
1928
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1925

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