Google Cloud Network Services V1 Client - Class GetHttpRouteRequest (0.2.1)

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

Request used by the GetHttpRoute method.

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

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

getName

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

Returns
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. A name of the HttpRoute to get. Must be in the format projects/*/locations/global/httpRoutes/*. Please see NetworkServicesClient::httpRouteName() for help formatting this field.

Returns
Type Description
GetHttpRouteRequest