Google Cloud Network Connectivity V1 Client - Class GetPolicyBasedRouteRequest (1.5.5)

Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class GetPolicyBasedRouteRequest.

Request for PolicyBasedRouting.GetPolicyBasedRoute method.

Generated from protobuf message google.cloud.networkconnectivity.v1.GetPolicyBasedRouteRequest

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the PolicyBasedRoute resource to get.

getName

Required. Name of the PolicyBasedRoute resource to get.

Returns
Type Description
string

setName

Required. Name of the PolicyBasedRoute resource to get.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the PolicyBasedRoute resource to get. Please see Google\Cloud\NetworkConnectivity\V1\PolicyBasedRoutingServiceClient::policyBasedRouteName() for help formatting this field.

Returns
Type Description
Google\Cloud\NetworkConnectivity\V1\GetPolicyBasedRouteRequest