Class: Google::Apis::PrivatecaV1beta1::ReusableConfig
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1beta1::ReusableConfig
- 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 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
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#labels ⇒ Hash<String,String>
Optional.
-
#name ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
-
#values ⇒ Google::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.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReusableConfig
constructor
A new instance of ReusableConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReusableConfig
Returns a new instance of ReusableConfig.
2945 2946 2947 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 2945 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The time at which this ReusableConfig was created.
Corresponds to the JSON property createTime
2914 2915 2916 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 2914 def create_time @create_time end |
#description ⇒ String
Optional. A human-readable description of scenarios these ReusableConfigValues
may be compatible with.
Corresponds to the JSON property description
2920 2921 2922 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 2920 def description @description end |
#labels ⇒ Hash<String,String>
Optional. Labels with user-defined metadata.
Corresponds to the JSON property labels
2925 2926 2927 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 2925 def labels @labels end |
#name ⇒ String
Output only. The resource path for this ReusableConfig in the format projects/
*/locations/*/reusableConfigs/*
.
Corresponds to the JSON property name
2931 2932 2933 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 2931 def name @name end |
#update_time ⇒ String
Output only. The time at which this ReusableConfig was updated.
Corresponds to the JSON property updateTime
2936 2937 2938 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 2936 def update_time @update_time end |
#values ⇒ Google::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
2943 2944 2945 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 2943 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2950 2951 2952 2953 2954 2955 2956 2957 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 2950 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 |