Secret Manager API (secretmanager:v1beta2)

2026-02-04

4 new methods

Additions

    Methods
  • secretmanager.projects.locations.operations.list

      Parameter Order : name

      Flat Path : v1beta2/projects/{projectsId}/locations/{locationsId}/operations

      HTTP Method : GET

      Description : Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

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

      Parameters :

        returnPartialSuccess

          Location : query

          Type : boolean

          Description : When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.

        filter

          Type : string

          Description : The standard list filter.

          Location : query

        name

          Required : Yes

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

          Type : string

          Location : path

          Description : The name of the operation's parent resource.

        pageToken

          Location : query

          Description : The standard list page token.

          Type : string

        pageSize

          Description : The standard list page size.

          Location : query

          Format : int32

          Type : integer

      Path : v1beta2/{+name}/operations

  • secretmanager.projects.locations.operations.delete

      Parameters :

        name

          Description : The name of the operation resource to be deleted.

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

          Location : path

          Type : string

          Required : Yes

      Flat Path : v1beta2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}

      Parameter Order : name

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

      Path : v1beta2/{+name}

      Description : Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

      HTTP Method : DELETE

  • secretmanager.projects.locations.operations.cancel

      Path : v1beta2/{+name}:cancel

      HTTP Method : POST

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

      Description : Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.

      Parameter Order : name

      Flat Path : v1beta2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel

      Parameters :

        name

          Required : Yes

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

          Description : The name of the operation resource to be cancelled.

          Location : path

          Type : string

  • secretmanager.projects.locations.operations.get

      Parameter Order : name

      Flat Path : v1beta2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}

      HTTP Method : GET

      Parameters :

        name

          Type : string

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

          Description : The name of the operation resource.

          Required : Yes

          Location : path

      Path : v1beta2/{+name}

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

      Description : Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.