Google Cloud Network Services V1 Client - Class GetTcpRouteRequest (0.2.0)

Reference documentation and code samples for the Google Cloud Network Services V1 Client class GetTcpRouteRequest.

Request used by the GetTcpRoute method.

Generated from protobuf message google.cloud.networkservices.v1.GetTcpRouteRequest

Namespace

Google \ Cloud \ NetworkServices \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. A name of the TcpRoute to get. Must be in the format projects/*/locations/global/tcpRoutes/*.

getName

Required. A name of the TcpRoute to get. Must be in the format projects/*/locations/global/tcpRoutes/*.

Returns
Type Description
string

setName

Required. A name of the TcpRoute to get. Must be in the format projects/*/locations/global/tcpRoutes/*.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. A name of the TcpRoute to get. Must be in the format projects/*/locations/global/tcpRoutes/*. Please see Google\Cloud\NetworkServices\V1\NetworkServicesClient::tcpRouteName() for help formatting this field.

Returns
Type Description
Google\Cloud\NetworkServices\V1\GetTcpRouteRequest