projects.databases.operations.cancel: Starts asynchronous cancellation on a long-running operation....

View source: R/firestore_functions.R

projects.databases.operations.cancelR Documentation

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.

Description

Autogenerated via gar_create_api_skeleton

Usage

projects.databases.operations.cancel(
  GoogleLongrunningCancelOperationRequest,
  name
)

Arguments

GoogleLongrunningCancelOperationRequest

The GoogleLongrunningCancelOperationRequest object to pass to this method

name

The name of the operation resource to be cancelled

Details

Authentication scopes used by this function are:

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

  • https://www.googleapis.com/auth/datastore

Set options(googleAuthR.scopes.selected = c(https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/datastore) Then run googleAuthR::gar_auth() to authenticate. See gar_auth for details.

See Also

Google Documentation

Other GoogleLongrunningCancelOperationRequest functions: GoogleLongrunningCancelOperationRequest()


robonomist/googleFirestore documentation built on Jan. 30, 2023, 6:39 p.m.