Secret Manager API (secretmanager:v1beta2)

2026-02-21

4 new methods

Additions

    Methods
  • secretmanager.projects.locations.operations.list

      Path : v1beta2/{+name}/operations

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

      Parameter Order : name

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

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

      HTTP Method : GET

      Parameters :

        pageToken

          Type : string

          Description : The standard list page token.

          Location : query

        pageSize

          Format : int32

          Location : query

          Description : The standard list page size.

          Type : integer

        name

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

          Type : string

          Location : path

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

          Required : Yes

        filter

          Description : The standard list filter.

          Type : string

          Location : query

        returnPartialSuccess

          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.

          Location : query

          Type : boolean

  • secretmanager.projects.locations.operations.cancel

      HTTP Method : POST

      Parameter Order : name

      Path : v1beta2/{+name}:cancel

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

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

      Parameters :

        name

          Required : Yes

          Type : string

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

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

          Location : path

  • secretmanager.projects.locations.operations.get

      Parameter Order : name

      Path : v1beta2/{+name}

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

      Parameters :

        name

          Location : path

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

          Type : string

          Description : The name of the operation resource.

          Required : Yes

      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.

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

      HTTP Method : GET

  • secretmanager.projects.locations.operations.delete

      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

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

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

      Parameters :

        name

          Type : string

          Required : Yes

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

          Location : path

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

      Parameter Order : name

      Path : v1beta2/{+name}

4 removed methods

Deletions

    Methods
  • 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.

      Parameters :

        name

          Type : string

          Required : Yes

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

          Location : path

          Description : The name of the operation resource.

      Path : v1beta2/{+name}

      Parameter Order : name

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

      HTTP Method : GET

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

  • secretmanager.projects.locations.operations.cancel

      Path : v1beta2/{+name}:cancel

      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

      HTTP Method : POST

      Parameters :

        name

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

          Location : path

          Required : Yes

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

          Type : string

  • secretmanager.projects.locations.operations.delete

      HTTP Method : DELETE

      Path : v1beta2/{+name}

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

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

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

      Parameters :

        name

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

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

          Required : Yes

          Type : string

          Location : path

      Parameter Order : name

  • secretmanager.projects.locations.operations.list

      Parameter Order : name

      HTTP Method : GET

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

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

      Path : v1beta2/{+name}/operations

      Parameters :

        filter

          Description : The standard list filter.

          Type : string

          Location : query

        pageToken

          Type : string

          Location : query

          Description : The standard list page token.

        name

          Location : path

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

          Required : Yes

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

          Type : string

        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

          Type : integer

          Location : query

          Description : The standard list page size.

          Format : int32

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