Google Cloud Api Gateway V1 Client - Class CreateApiConfigRequest (2.0.4)

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

Request message for ApiGatewayService.CreateApiConfig

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

Namespace

Google \ Cloud \ ApiGateway \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

Required. Parent resource of the API Config, of the form: projects/*/locations/global/apis/*

↳ api_config_id
string

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

↳ api_config
ApiConfig

Required. API resource.

getParent

Required. Parent resource of the API Config, of the form: projects/*/locations/global/apis/*

Returns
Type
Description
string

setParent

Required. Parent resource of the API Config, of the form: projects/*/locations/global/apis/*

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getApiConfigId

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

Returns
Type
Description
string

setApiConfigId

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getApiConfig

Required. API resource.

Returns
Type
Description
ApiConfig |null

hasApiConfig

clearApiConfig

setApiConfig

Required. API resource.

Parameter
Name
Description
var
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

Required. Parent resource of the API Config, of the form: projects/*/locations/global/apis/* Please see ApiGatewayServiceClient::apiName() for help formatting this field.

apiConfig
ApiConfig

Required. API resource.

apiConfigId
string

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

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: