runs

Protocol buffer definition for runs

sift/runs/v2/runs.proto

CreateAutomaticRunAssociationForAssetsRequest

FieldTypeLabelDescription
run_idstringThe ID of the run to associate the asset with.
asset_namesstringrepeatedA list of asset names to automatically associate with the run. Any data that is received for these assets will automatically added to the run. This applies even if the run has concluded, so long as the new data contains timestamps that are between the start_time and stop_time. If any of the assets are already associated with a different run whose run period (the period between start_time and end_time) overlaps with the requested run period, an error will be returned.

CreateAutomaticRunAssociationForAssetsResponse

CreateRunRequest

The request of a call to RunService_CreateRuns to create a new run.

FieldTypeLabelDescription
namestringThe name that will be assigned to the new run.
descriptionstringA description about the new run.
tagsstringrepeatedTags to associate with the new run.
start_timegoogle.protobuf.TimestampThe time at which data ingestion begins for this new run. It must be before the stop_time, and it must be provided if a stop_time is provided. Important note: start_time will be automatically computed during data ingestion and will be set based on the timestamp of the data for this run.
stop_timegoogle.protobuf.TimestampThe time at which data ingestion for this new run concludes. Important note: stop_time will be automatically computed during data ingestion and will be set based on the timestamp of the data for this run.
organization_idstringAn organization ID is only required if the user belongs to multiple organizations.
client_keystringoptionalAn arbitrary user-chosen key that uniquely identifies this run. Optional, though it is recommended to provide.

CreateRunResponse

The response of a call to RunService_CreateRuns containing the newly created run.

FieldTypeLabelDescription
runRun

DeleteRunRequest

The request for a call to RunService_DeleteRun.

FieldTypeLabelDescription
run_idstring

DeleteRunResponse

The response of a call to RunService_DeleteRun.

GetRunRequest

The request for a call to RunService_GetRun to retrieve run.

FieldTypeLabelDescription
run_idstringThe ID of the run to retrieve.

GetRunResponse

The response of a call to RunService_GetRun containing the requested run.

FieldTypeLabelDescription
runRun

ListRunsRequest

The request for a call to RunService_ListRuns to retrieve runs.

FieldTypeLabelDescription
page_sizeuint32The maximum number of runs to return. The service may return fewer than this value. If unspecified, at most 50 runs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_tokenstringA page token, received from a previous ListRuns call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListRuns must match the call that provided the page token.
filterstringA Common Expression Language (CEL) filter string. Available fields to filter by are run_id, organization_id, name, description, created_by_user_id, modified_by_user_id, created_date, modified_date, start_time, stop_time, client_key, is_pinned, asset_id, client_key, and asset_name. For further information about how to use CELs, please refer to this guide. For more information about the fields used for filtering, please refer to this definition. Optional.
order_bystringHow to order the retrieved runs. Formatted as a comma-separated string i.e. "FIELD_NAME[ desc],...". Available fields to order_by are created_date, modified_date, start_time, and stop_time. If left empty, items are ordered by created_date in ascending order (oldest-first). For more information about the format of this field, read this Example: "created_date desc,modified_date"

ListRunsResponse

The response of a call to RunService_ListRuns containing requested runs.

FieldTypeLabelDescription
runsRunrepeated
next_page_tokenstring

Run

FieldTypeLabelDescription
run_idstring
created_dategoogle.protobuf.Timestamp
modified_dategoogle.protobuf.Timestamp
created_by_user_idstring
modified_by_user_idstring
organization_idstring
start_timegoogle.protobuf.Timestampoptional
stop_timegoogle.protobuf.Timestampoptional
is_pinnedbool
namestring
descriptionstring
tagsstringrepeated
default_report_idstring
client_keystringoptional

StopRunRequest

The request for a call to RunService_StopRun to stop a run.

FieldTypeLabelDescription
run_idstring

StopRunResponse

The response of a call to RunService_StopRun to stop a run.

UpdateRunRequest

The request for a call to RunService_UpdateRun to update an existing run.

FieldTypeLabelDescription
runRunThe run to update. The run's run_id field is used to identify the run to update and is required.
update_maskgoogle.protobuf.FieldMaskThe list of fields to be updated. The fields available to be updated are name, description, start_time, stop_time, is_pinned, and tags. Important Note: When updating the start_time, please be aware that if a subsequent data ingestion commences for this run, the start_time will be automatically overwritten and set to the timestamp corresponding to the beginning of the latest run.

UpdateRunResponse

The response of a call to RunService_UpdateRun containing the updated run.

FieldTypeLabelDescription
runRun

RunService

Method NameRequest TypeResponse TypeDescription
GetRunGetRunRequestGetRunResponseRetrieve a run.
ListRunsListRunsRequestListRunsResponseRetrieve runs using an optional filter.
CreateRunCreateRunRequestCreateRunResponseCreate a run.
UpdateRunUpdateRunRequestUpdateRunResponseUpdates an existing run using using the list of fields specified in update_mask.
DeleteRunDeleteRunRequestDeleteRunResponsePermanently delete a given run. In order for a run to be deleted it must have a set stop_time.
StopRunStopRunRequestStopRunResponseSet the stop time of a run to the current time. To set the stop time of a run to an arbitrary time see UpdateRun.
CreateAutomaticRunAssociationForAssetsCreateAutomaticRunAssociationForAssetsRequestCreateAutomaticRunAssociationForAssetsResponseAssociates a list of assets with a given run.

On this page