Class: Google::Apis::RunV1::AutoDomainMappingSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_modeString

The mode of the certificate. Corresponds to the JSON property certificateMode

Returns:

  • (String)


239
240
241
# File 'generated/google/apis/run_v1/classes.rb', line 239

def certificate_mode
  @certificate_mode
end

#expansion_typeString

The type of expansion for the auto auto domain mapping. Corresponds to the JSON property expansionType

Returns:

  • (String)


244
245
246
# File 'generated/google/apis/run_v1/classes.rb', line 244

def expansion_type
  @expansion_type
end

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

Returns:

  • (Boolean)


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