Method: projects.locations.apis.configs.get

Gets details of a single ApiConfig.

HTTP request

GET https://apigateway.googleapis.com/v1/{name=projects/*/locations/*/apis/*/configs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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

Authorization requires the following IAM permission on the specified resource name:

  • apigateway.apiconfigs.get

Query parameters

Parameters
view

enum (ConfigView)

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

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ApiConfig.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

ConfigView

Enum to control which fields should be included in the response.

Enums
CONFIG_VIEW_UNSPECIFIED
BASIC Do not include configuration source files.
FULL Include configuration source files.