API Keys API (apikeys:v2)

2022-04-07

1 updated method | 1 removed method

Updates

    Methods
  • apikeys.projects.locations.keys.list

      Parameters :

        filter

          Location : query

          Type : string

          Description : Optional. Deprecated: Use `show_deleted` instead. Only list keys that conform to the specified filter. The allowed filter strings are `state:ACTIVE` and `state:DELETED`. By default, ListKeys returns only active keys.

Deletions

    Methods
  • apikeys.projects.locations.keys.clone

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

      Parameter Order : name

      Parameters :

        name

          Location : path

          Pattern : ^projects/[^/]+/locations/[^/]+/keys/[^/]+$

          Required : Yes

          Description : Required. The resource name of the API key to be cloned in the same project.

          Type : string

      Flat Path : v2/projects/{projectsId}/locations/{locationsId}/keys/{keysId}:clone

      Path : v2/{+name}:clone

      HTTP Method : POST

      Description : DEPRECATED: API customers can call `GetKey` and then `CreateKey` methods to create a copy of an existing key. Retire `CloneKey` method to eliminate the unnessary method from API Keys API. Clones the existing key's restriction and display name to a new API key. The service account must have the `apikeys.keys.get` and `apikeys.keys.create` permissions in the project. NOTE: Key is a global resource; hence the only supported value for location is `global`.