Secret Manager API (secretmanager:v1beta2)

2026-02-23

4 new methods

Additions

    Methods
  • secretmanager.projects.locations.operations.cancel

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

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

      Path : v1beta2/{+name}:cancel

      HTTP Method : POST

      Parameter Order : name

      Parameters :

        name

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

          Required : Yes

          Location : path

          Type : string

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

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

  • secretmanager.projects.locations.operations.delete

      HTTP Method : DELETE

      Parameter Order : 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`.

      Path : v1beta2/{+name}

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

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

      Parameters :

        name

          Location : path

          Required : Yes

          Type : string

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

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

  • secretmanager.projects.locations.operations.get

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

      Parameters :

        name

          Required : Yes

          Type : string

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

          Location : path

          Description : The name of the operation resource.

      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

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

      Path : v1beta2/{+name}

      Parameter Order : name

  • secretmanager.projects.locations.operations.list

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

      HTTP Method : GET

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

      Path : v1beta2/{+name}/operations

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

      Parameter Order : name

      Parameters :

        filter

          Location : query

          Type : string

          Description : The standard list filter.

        pageSize

          Location : query

          Format : int32

          Description : The standard list page size.

          Type : integer

        pageToken

          Type : string

          Description : The standard list page token.

          Location : query

        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.

        name

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

          Location : path

          Type : string

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

          Required : Yes

4 removed methods

Deletions

    Methods
  • secretmanager.projects.locations.operations.list

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

      Parameter Order : name

      HTTP Method : GET

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

      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 :

        pageSize

          Type : integer

          Description : The standard list page size.

          Location : query

          Format : int32

        name

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

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

          Type : string

          Required : Yes

          Location : path

        pageToken

          Description : The standard list page token.

          Location : query

          Type : string

        filter

          Description : The standard list filter.

          Location : query

          Type : string

        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.

          Type : boolean

          Location : query

  • secretmanager.projects.locations.operations.delete

      Parameters :

        name

          Location : path

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

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

          Required : Yes

          Type : string

      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

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

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

      Path : v1beta2/{+name}

      Parameter Order : name

  • secretmanager.projects.locations.operations.get

      Parameters :

        name

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

          Type : string

          Location : path

          Description : The name of the operation resource.

          Required : Yes

      Parameter Order : name

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

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

      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

      Path : v1beta2/{+name}

  • secretmanager.projects.locations.operations.cancel

      Parameter Order : name

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

      Parameters :

        name

          Location : path

          Required : Yes

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

          Type : string

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

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

      Path : v1beta2/{+name}:cancel

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

      HTTP Method : POST