Class: Google::Apis::ClouddeployV1::RouteDestinations
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::RouteDestinations
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb
Overview
Information about route destinations for the Gateway API service mesh.
Instance Attribute Summary collapse
-
#destination_ids ⇒ Array<String>
Required.
-
#propagate_service ⇒ Boolean
(also: #propagate_service?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RouteDestinations
constructor
A new instance of RouteDestinations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RouteDestinations
Returns a new instance of RouteDestinations.
5245 5246 5247 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5245 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_ids ⇒ Array<String>
Required. The clusters where the Gateway API HTTPRoute resource will be
deployed to. Valid entries include the associated entities IDs configured in
the Target resource and "@self" to include the Target cluster.
Corresponds to the JSON property destinationIds
5233 5234 5235 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5233 def destination_ids @destination_ids end |
#propagate_service ⇒ Boolean Also known as: propagate_service?
Optional. Whether to propagate the Kubernetes Service to the route destination
clusters. The Service will always be deployed to the Target cluster even if
the HTTPRoute is not. This option may be used to facilitiate successful DNS
lookup in the route destination clusters. Can only be set to true if
destinations are specified.
Corresponds to the JSON property propagateService
5242 5243 5244 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5242 def propagate_service @propagate_service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5250 5251 5252 5253 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 5250 def update!(**args) @destination_ids = args[:destination_ids] if args.key?(:destination_ids) @propagate_service = args[:propagate_service] if args.key?(:propagate_service) end |