Skip to main content

operations

Creates, updates, deletes, gets or lists a operations resource.

Overview

Nameoperations
TypeResource
Idgoogle.lifesciences.operations

Fields

NameDatatypeDescription
namestringThe server-assigned name for the operation. This may be passed to the other operation methods to retrieve information about the operation's status.
donebooleanIf 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.
errorobjectThe 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.
metadataobjectAn Metadata object. This will always be returned with the Operation.
responseobjectAn Empty object.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocationsId, operationsId, projectsIdGets 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
listSELECTlocationsId, projectsIdLists operations that match the specified filter in the request. Authorization requires the following Google IAM permission: * lifesciences.operations.list
cancelEXEClocationsId, operationsId, projectsIdStarts 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 }}';