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

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

Request used by the GetGrpcRoute method.

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

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 GrpcRoute to get. Must be in the format projects/*/locations/global/grpcRoutes/*.

getName

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

Returns
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

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