Gets the metadata for an API key. The key string of the API key isn't included in the response. NOTE: Key is a global resource; hence the only supported value for location is global.
Request
- Base URLhttps://apikeys.googleapis.com
- URLhttps://apikeys.googleapis.com/v2/{+name}
- Auth
- OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/apikeysAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/apikeys
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/apikeys.readonlyAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/apikeys.readonly
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/cloud-platformAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform
- or OAuth 2 and OAuth 2Implicit: https://accounts.google.com/o/oauth2/authScopes: https://www.googleapis.com/auth/cloud-platform.read-onlyAuthorization code: https://accounts.google.com/o/oauth2/authToken URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform.read-only
Path parameters
Required. The resource name of the API key to get.
Response
Successful response
Changes
- breaking
removed the media type
*/*for the response with the status - info
api operation id
apikeys.operations.getremoved and replaced withapikeys.projects.locations.keys.get - info
the security scope
https://www.googleapis.com/auth/apikeyswas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/apikeyswas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/cloud-platform.read-onlywas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platform.read-onlywas removed from the endpoint's security schemeOauth2c - info
api tag
projectsadded - info
api tag
operationsremoved
- breaking
- info
the security scope
https://www.googleapis.com/auth/apikeyswas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/apikeyswas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/cloud-platform.read-onlywas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platform.read-onlywas removed from the endpoint's security schemeOauth2c
- info