Google Cloud Api Gateway V1 Client - Class GetApiConfigRequest (2.0.0)

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

Request message for ApiGatewayService.GetApiConfig

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

Namespace

Google \ Cloud \ ApiGateway \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Resource name of the form: projects/*/locations/global/apis/*/configs/*

↳ view int

Specifies which fields of the API Config are returned in the response. Defaults to BASIC view.

getName

Required. Resource name of the form: projects/*/locations/global/apis/*/configs/*

Returns
Type Description
string

setName

Required. Resource name of the form: projects/*/locations/global/apis/*/configs/*

Parameter
Name Description
var string
Returns
Type Description
$this

getView

Specifies which fields of the API Config are returned in the response.

Defaults to BASIC view.

Returns
Type Description
int

setView

Specifies which fields of the API Config are returned in the response.

Defaults to BASIC view.

Parameter
Name Description
var int
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Resource name of the form: projects/*/locations/global/apis/*/configs/* Please see Google\Cloud\ApiGateway\V1\ApiGatewayServiceClient::apiConfigName() for help formatting this field.

Returns
Type Description
Google\Cloud\ApiGateway\V1\GetApiConfigRequest