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
Namespace
Google \ Cloud \ ApiGateway \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Parent resource of the Gateway, of the form: |
↳ 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 | |
---|---|
Type | Description |
string |
setParent
Required. Parent resource of the Gateway, of the form:
projects/*/locations/*
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getGatewayId
Required. Identifier to assign to the Gateway. Must be unique within scope of the parent resource.
Returns | |
---|---|
Type | Description |
string |
setGatewayId
Required. Identifier to assign to the Gateway. Must be unique within scope of the parent resource.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getGateway
Required. Gateway resource.
Returns | |
---|---|
Type | Description |
Google\Cloud\ApiGateway\V1\Gateway|null |
hasGateway
clearGateway
setGateway
Required. Gateway resource.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\ApiGateway\V1\Gateway
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. Parent resource of the Gateway, of the form:
|
gateway |
Google\Cloud\ApiGateway\V1\Gateway
Required. Gateway resource. |
gatewayId |
string
Required. Identifier to assign to the Gateway. Must be unique within scope of the parent resource. |
Returns | |
---|---|
Type | Description |
Google\Cloud\ApiGateway\V1\CreateGatewayRequest |