operations
Creates, updates, deletes, gets or lists a operations
resource.
Overview
Name | operations |
Type | Resource |
Id | google.lifesciences.operations |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The server-assigned name for the operation. This may be passed to the other operation methods to retrieve information about the operation's status. |
done | boolean | If the value is false , it means the operation is still in progress. If true , the operation is completed, and either error or response is available. |
error | object | The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide. |
metadata | object | An Metadata object. This will always be returned with the Operation. |
response | object | An Empty object. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, operationsId, projectsId | 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. Authorization requires the following Google IAM permission: * lifesciences.operations.get |
list | SELECT | locationsId, projectsId | Lists operations that match the specified filter in the request. Authorization requires the following Google IAM permission: * lifesciences.operations.list |
cancel | EXEC | locationsId, operationsId, projectsId | Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation. Authorization requires the following Google IAM permission: * lifesciences.operations.cancel |
SELECT
examples
Lists operations that match the specified filter in the request. Authorization requires the following Google IAM permission: * lifesciences.operations.list
SELECT
name,
done,
error,
metadata,
response
FROM google.lifesciences.operations
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';