gogol-vault-1.0.0: Google Vault SDK.
Copyright(c) 2015-2025 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+gogol@gmail.com> Toni Cebrián <toni@tonicebrian.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageGHC2021

Gogol.Vault.Operations.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.

See: Google Vault API Reference for vault.operations.cancel.

Synopsis

Resource

type VaultOperationsCancelResource = "v1" :> (CaptureMode "name" "cancel" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "access_token" Text :> (QueryParam "callback" Text :> (QueryParam "uploadType" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CancelOperationRequest :> Post '[JSON] Empty)))))))) Source #

A resource alias for vault.operations.cancel method which the VaultOperationsCancel request conforms to.

Constructing a Request

data VaultOperationsCancel Source #

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.

See: newVaultOperationsCancel smart constructor.

Constructors

VaultOperationsCancel 

Fields

Instances

Instances details
Generic VaultOperationsCancel Source # 
Instance details

Defined in Gogol.Vault.Operations.Cancel

Show VaultOperationsCancel Source # 
Instance details

Defined in Gogol.Vault.Operations.Cancel

Eq VaultOperationsCancel Source # 
Instance details

Defined in Gogol.Vault.Operations.Cancel

GoogleRequest VaultOperationsCancel Source # 
Instance details

Defined in Gogol.Vault.Operations.Cancel

type Rep VaultOperationsCancel Source # 
Instance details

Defined in Gogol.Vault.Operations.Cancel

type Rs VaultOperationsCancel Source # 
Instance details

Defined in Gogol.Vault.Operations.Cancel

type Scopes VaultOperationsCancel Source # 
Instance details

Defined in Gogol.Vault.Operations.Cancel

newVaultOperationsCancel Source #

Arguments

:: Text

The name of the operation resource to be cancelled. See name.

-> CancelOperationRequest

Multipart request metadata. See payload.

-> VaultOperationsCancel 

Creates a value of VaultOperationsCancel with the minimum fields required to make a request.