class Google::Apis::RunV1::DomainMappingSpec

The desired state of the Domain Mapping.

Attributes

certificate_mode[RW]

The mode of the certificate. Corresponds to the JSON property `certificateMode` @return [String]

force_override[RW]

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` @return [Boolean]

force_override?[RW]

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` @return [Boolean]

route_name[RW]

The name of the Knative Route that this DomainMapping applies to. The route must exist. Corresponds to the JSON property `routeName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/run_v1/classes.rb, line 718
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/run_v1/classes.rb, line 723
def update!(**args)
  @certificate_mode = args[:certificate_mode] if args.key?(:certificate_mode)
  @force_override = args[:force_override] if args.key?(:force_override)
  @route_name = args[:route_name] if args.key?(:route_name)
end