class Operations extends Resource (View source)

The "operations" collection of methods.

Typical usage is:

 $documentaiService = new Google\Service\Document(...);
 $operations = $documentaiService->operations;

Methods

delete(string $name, array $optParams = [])

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.

Details

GoogleProtobufEmpty delete(string $name, array $optParams = [])

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. (operations.delete)

Parameters

string $name

The name of the operation resource to be deleted.

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception