Class: Google::Apis::PrivatecaV1beta1::ReusableConfig

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 ReusableConfig refers to a managed ReusableConfigValues. Those, in turn, are 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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReusableConfig

Returns a new instance of ReusableConfig.



1839
1840
1841
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1839

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

Instance Attribute Details

#create_timeString

Output only. The time at which this ReusableConfig was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1808
1809
1810
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1808

def create_time
  @create_time
end

#descriptionString

Optional. A human-readable description of scenarios these ReusableConfigValues may be compatible with. Corresponds to the JSON property description

Returns:

  • (String)


1814
1815
1816
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1814

def description
  @description
end

#labelsHash<String,String>

Optional. Labels with user-defined metadata. Corresponds to the JSON property labels

Returns:

  • (Hash<String,String>)


1819
1820
1821
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1819

def labels
  @labels
end

#nameString

Output only. The resource path for this ReusableConfig in the format projects/ */locations/*/reusableConfigs/*. Corresponds to the JSON property name

Returns:

  • (String)


1825
1826
1827
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1825

def name
  @name
end

#update_timeString

Output only. The time at which this ReusableConfig was updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


1830
1831
1832
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1830

def update_time
  @update_time
end

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



1837
1838
1839
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1837

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1844
1845
1846
1847
1848
1849
1850
1851
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1844

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @labels = args[:labels] if args.key?(:labels)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
  @values = args[:values] if args.key?(:values)
end