v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13152654.3 KB
projects

Creates a new ApiConfig in a given project and location.

post/v1/{+parent}/configs

Path parameters

parentstring required

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

Query parameters

apiConfigIdstring

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

Request body

createTimestring google-datetime

Output only. Created time.

displayNamestring

Optional. Display name.

updateTimestring google-datetime

Output only. Updated time.

namestring

Output only. Resource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}

gatewayServiceAccountstring

Immutable. The Google Cloud IAM Service Account that Gateways serving this config should use to authenticate to other services. This may either be the Service Account's email ({ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com) or its full resource name (projects/{PROJECT}/accounts/{UNIQUE_ID}). This is most often used when the service is a GCP resource such as a Cloud Run Service or an IAP-secured service.

state'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE' | 'FAILED' | 'DELETING' | 'UPDATING' | 'ACTIVATING'

Output only. State of the API Config.

labelsobject

Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

serviceConfigIdstring

Output only. The ID of the associated Service Config ( https://cloud.google.com/service-infrastructure/docs/glossary#config).

Response

Successful response