Google Cloud Api Gateway V1 Client - Class CreateGatewayRequest (1.0.5)

Reference documentation and code samples for the Google Cloud Api Gateway V1 Client class CreateGatewayRequest.

Request message for ApiGatewayService.CreateGateway

Generated from protobuf message google.cloud.apigateway.v1.CreateGatewayRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent resource of the Gateway, of the form: projects/*/locations/*

↳ gateway_id string

Required. Identifier to assign to the Gateway. Must be unique within scope of the parent resource.

↳ gateway Google\Cloud\ApiGateway\V1\Gateway

Required. Gateway resource.

getParent

Required. Parent resource of the Gateway, of the form: projects/*/locations/*

Returns
TypeDescription
string

setParent

Required. Parent resource of the Gateway, of the form: projects/*/locations/*

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGatewayId

Required. Identifier to assign to the Gateway. Must be unique within scope of the parent resource.

Returns
TypeDescription
string

setGatewayId

Required. Identifier to assign to the Gateway. Must be unique within scope of the parent resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGateway

Required. Gateway resource.

Returns
TypeDescription
Google\Cloud\ApiGateway\V1\Gateway|null

hasGateway

clearGateway

setGateway

Required. Gateway resource.

Parameter
NameDescription
var Google\Cloud\ApiGateway\V1\Gateway
Returns
TypeDescription
$this