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

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
NameDescription
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 Google\Cloud\ApiGateway\V1\ApiConfig

Required. API resource.

getParent

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

Returns
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getApiConfigId

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

Returns
TypeDescription
string

setApiConfigId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getApiConfig

Required. API resource.

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

hasApiConfig

clearApiConfig

setApiConfig

Required. API resource.

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

static::build

Parameters
NameDescription
parent string

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

apiConfig Google\Cloud\ApiGateway\V1\ApiConfig

Required. API resource.

apiConfigId string

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

Returns
TypeDescription
Google\Cloud\ApiGateway\V1\CreateApiConfigRequest