Method: transferOperations.cancel

Cancels a transfer. Use the get method to check whether the cancellation succeeded or whether the operation completed despite cancellation.

HTTP request

POST https://storagetransfer.googleapis.com/v1/{name=transferOperations/**}:cancel

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
name

string

The name of the operation resource to be cancelled.

Request body

The request body must be empty.

Response body

If successful, the response body will be empty.

Authorization

Requires the following OAuth scope:

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

For more information, see the Auth Guide.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Storage Documentation