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

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

Request used by the GetGateway method.

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

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

getName

Required. A name of the Gateway to get. Must be in the format projects/*/locations/*/gateways/*.

Returns
Type Description
string

setName

Required. A name of the Gateway to get. Must be in the format projects/*/locations/*/gateways/*.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. A name of the Gateway to get. Must be in the format projects/*/locations/*/gateways/*. Please see NetworkServicesClient::gatewayName() for help formatting this field.

Returns
Type Description
GetGatewayRequest