Class: Google::Apis::RunV1::AutoDomainMappingSpec
- Inherits:
-
Object
- Object
- Google::Apis::RunV1::AutoDomainMappingSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/run_v1/classes.rb,
generated/google/apis/run_v1/representations.rb,
generated/google/apis/run_v1/representations.rb
Overview
The desired state of the Auto Domain Mapping.
Instance Attribute Summary collapse
-
#certificate_mode ⇒ String
The mode of the certificate.
-
#expansion_type ⇒ String
The type of expansion for the auto auto domain mapping.
-
#force_override ⇒ Boolean
(also: #force_override?)
If set, the mapping will override any mapping set before this spec was set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutoDomainMappingSpec
constructor
A new instance of AutoDomainMappingSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AutoDomainMappingSpec
Returns a new instance of AutoDomainMappingSpec
255 256 257 |
# File 'generated/google/apis/run_v1/classes.rb', line 255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#certificate_mode ⇒ String
The mode of the certificate.
Corresponds to the JSON property certificateMode
239 240 241 |
# File 'generated/google/apis/run_v1/classes.rb', line 239 def certificate_mode @certificate_mode end |
#expansion_type ⇒ String
The type of expansion for the auto auto domain mapping.
Corresponds to the JSON property expansionType
244 245 246 |
# File 'generated/google/apis/run_v1/classes.rb', line 244 def expansion_type @expansion_type end |
#force_override ⇒ Boolean Also known as: force_override?
If set, the mapping will override any mapping set before this spec was set.
It is recommended that the user leaves this empty to receive an error
warning about a potential conflict and only set it once the respective UI
has given such a warning.
Corresponds to the JSON property forceOverride
252 253 254 |
# File 'generated/google/apis/run_v1/classes.rb', line 252 def force_override @force_override end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
260 261 262 263 264 |
# File 'generated/google/apis/run_v1/classes.rb', line 260 def update!(**args) @certificate_mode = args[:certificate_mode] if args.key?(:certificate_mode) @expansion_type = args[:expansion_type] if args.key?(:expansion_type) @force_override = args[:force_override] if args.key?(:force_override) end |