A data sync run of DataConnector
. After DataConnector
is successfully initialized, data syncs are scheduled at DataConnector.refresh_interval
. A ConnectorRun
represents a data sync either in the past or onging that the moment. //
JSON representation |
---|
{ "name": string, "startTime": string, "endTime": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. The full resource name of the Connector Run. Format: |
start |
Output only. The time when the connector run started. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
end |
Output only. The time when the connector run ended. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Output only. The state of the sync run. |
errors[] |
Contains info about errors incurred during the sync. Only exist if running into an error state. Contains error code and error message. Use with the |
state |
timestamp at which the connector run sync state was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
latest |
Output only. The time when the connector run was most recently paused. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
entity |
Output only. The details of the entities synced at the ConnectorRun. Each ConnectorRun consists of syncing one or more entities. |
trigger |
Output only. The trigger for this |
State
The state of run.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default value. |
RUNNING |
The data sync is ongoing. |
SUCCEEDED |
The data sync is finished. |
FAILED |
The data sync is failed. |
OVERRUN |
data sync has been running longer than expected and is still running at the time the next run is supposed to start. |
CANCELLED |
data sync was scheduled but has been cancelled. |
PENDING |
data sync is about to start. |
WARNING |
The data sync completed with non-fatal errors. |
EntityRun
Represents an entity that was synced in this ConnectorRun
.
JSON representation |
---|
{ "entityName": string, "state": enum ( |
Fields | |
---|---|
entity |
The name of the source entity. |
state |
The state of the entity's sync run. |
errors[] |
The errors from the entity's sync run. Only exist if running into an error state. Contains error code and error message. |
state |
timestamp at which the entity sync state was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
extracted |
The number of documents extracted from connector source, ready to be ingested to UCS. |
indexed |
The number of documents indexed. |
error |
The total number of documents failed at sync at any stage (extraction, indexing, etc). |
source |
The number of requests sent to 3p API. |
stats |
The timestamp for either extracted_documents_count, indexed_documents_count and error_documents_count was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
sync |
Sync type of this run. |
SyncType
data synchronization type of the connector.
Enums | |
---|---|
SYNC_TYPE_UNSPECIFIED |
Sync type unspecified. |
FULL |
Sync triggers full sync of all documents. |
INCREMENTAL |
Incremental sync of updated documents. |
Trigger
Triggering reasons for ConnectorRun
.
Enums | |
---|---|
TRIGGER_UNSPECIFIED |
Default value. |
SCHEDULER |
ConnectorRun triggered by scheduler if connector has PERIODIC sync mode. |
INITIALIZATION |
ConnectorRun auto triggered by connector initialization. |
RESUME |
ConnectorRun auto triggered by resuming connector. |
MANUAL |
ConnectorRun triggered by user manually. |