Secret Manager API (secretmanager:v1beta1)

2026-02-04

4 new methods

Additions

    Methods
  • secretmanager.projects.locations.operations.cancel

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

      Parameter Order : name

      HTTP Method : POST

      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`.

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

      Path : v1beta1/{+name}:cancel

      Parameters :

        name

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

          Location : path

          Required : Yes

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

          Type : string

  • secretmanager.projects.locations.operations.delete

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

      Parameters :

        name

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

          Location : path

          Required : Yes

          Type : string

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

      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

      Path : v1beta1/{+name}

      Parameter Order : name

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

  • secretmanager.projects.locations.operations.list

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

      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`.

      Path : v1beta1/{+name}/operations

      Parameters :

        returnPartialSuccess

          Location : query

          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.

          Type : boolean

        pageSize

          Format : int32

          Type : integer

          Location : query

          Description : The standard list page size.

        filter

          Location : query

          Description : The standard list filter.

          Type : string

        name

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

          Required : Yes

          Location : path

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

          Type : string

        pageToken

          Description : The standard list page token.

          Location : query

          Type : string

      Parameter Order : name

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

  • secretmanager.projects.locations.operations.get

      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.

      HTTP Method : GET

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

      Parameters :

        name

          Type : string

          Description : The name of the operation resource.

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

          Location : path

          Required : Yes

      Parameter Order : name

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

      Path : v1beta1/{+name}