Reference documentation and code samples for the Google Cloud Deploy V1 Client class RouteDestinations.
Information about route destinations for the Gateway API service mesh.
Generated from protobuf message google.cloud.deploy.v1.KubernetesConfig.GatewayServiceMesh.RouteDestinations
Namespace
Google \ Cloud \ Deploy \ V1 \ KubernetesConfig \ GatewayServiceMeshMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ destination_ids |
array
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. |
↳ propagate_service |
bool
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. |
getDestinationIds
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.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDestinationIds
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.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getPropagateService
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.
Returns | |
---|---|
Type | Description |
bool |
setPropagateService
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.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |