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

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
NameDescription
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
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getView

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

Defaults to BASIC view.

Returns
TypeDescription
int

setView

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

Defaults to BASIC view.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\ApiGateway\V1\GetApiConfigRequest