Reference documentation and code samples for the Google Cloud Network Services V1 Client class RouteAction.
The specifications for routing traffic and applying associated policies.
Generated from protobuf message google.cloud.networkservices.v1.TlsRoute.RouteAction
Namespace
Google \ Cloud \ NetworkServices \ V1 \ TlsRouteMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ destinations |
array<Google\Cloud\NetworkServices\V1\TlsRoute\RouteDestination>
Required. The destination services to which traffic should be forwarded. At least one destination service is required. |
getDestinations
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setDestinations
Required. The destination services to which traffic should be forwarded.
At least one destination service is required.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\NetworkServices\V1\TlsRoute\RouteDestination>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|