Reference documentation and code samples for the Google Cloud Api Gateway V1 Client class GetApiConfigRequest.
Request message for ApiGatewayService.GetApiConfig
Generated from protobuf messagegoogle.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 toBASICview.
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 toBASICview.
Returns
Type
Description
int
setView
Specifies which fields of the API Config are returned in the response.
Defaults toBASICview.
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 seeApiGatewayServiceClient::apiConfigName()for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Api Gateway V1 Client - Class GetApiConfigRequest (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-api-gateway/latest/V1.GetApiConfigRequest)\n- [2.0.3](/php/docs/reference/cloud-api-gateway/2.0.3/V1.GetApiConfigRequest)\n- [1.3.5](/php/docs/reference/cloud-api-gateway/1.3.5/V1.GetApiConfigRequest)\n- [1.2.2](/php/docs/reference/cloud-api-gateway/1.2.2/V1.GetApiConfigRequest)\n- [1.1.1](/php/docs/reference/cloud-api-gateway/1.1.1/V1.GetApiConfigRequest)\n- [1.0.5](/php/docs/reference/cloud-api-gateway/1.0.5/V1.GetApiConfigRequest) \nReference documentation and code samples for the Google Cloud Api Gateway V1 Client class GetApiConfigRequest.\n\nRequest message for ApiGatewayService.GetApiConfig\n\nGenerated from protobuf message `google.cloud.apigateway.v1.GetApiConfigRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ApiGateway \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Resource name of the form:\n`projects/*/locations/global/apis/*/configs/*`\n\n### setName\n\nRequired. Resource name of the form:\n`projects/*/locations/global/apis/*/configs/*`\n\n### getView\n\nSpecifies which fields of the API Config are returned in the response.\n\nDefaults to `BASIC` view.\n\n### setView\n\nSpecifies which fields of the API Config are returned in the response.\n\nDefaults to `BASIC` view.\n\n### static::build"]]