DataSourceSyncJob
¶
Source code in docs_src/capo_kendra/types/data_source_sync_job.py
data_source_error_code
instance-attribute
¶
data_source_error_code: NotRequired[String]
If the reason that the synchronization failed is due to an error with the underlying data source, this field contains a code that identifies the error.
end_time
instance-attribute
¶
end_time: NotRequired[Timestamp]
The Unix timestamp when the synchronization job completed.
error_code
instance-attribute
¶
error_code: NotRequired[ErrorCode]
If the Status field is set to FAILED, the ErrorCode field indicates the reason the synchronization failed.
error_message
instance-attribute
¶
error_message: NotRequired[ErrorMessage]
If the Status field is set to ERROR, the ErrorMessage field contains a description of the error that caused the synchronization to fail.
execution_id
instance-attribute
¶
execution_id: NotRequired[String]
A identifier for the synchronization job.
metrics
instance-attribute
¶
metrics: NotRequired[DataSourceSyncJobMetrics]
Maps a batch delete document request to a specific data source sync job. This is optional and should only be supplied when documents are deleted by a data source connector.
start_time
instance-attribute
¶
start_time: NotRequired[Timestamp]
The Unix timestamp when the synchronization job started.
status
instance-attribute
¶
status: NotRequired[DataSourceSyncJobStatus]
The execution status of the synchronization job. When the Status field is set to SUCCEEDED, the synchronization job is done. If the status code is set to FAILED, the ErrorCode and ErrorMessage fields give you the reason for the failure.