Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Represents an entity that was synced in this ConnectorRun.
Instance Attribute Summary collapse
-
#entity_name ⇒ String
The name of the source entity.
-
#error_record_count ⇒ Fixnum
The total number of documents failed at sync at any stage (extraction, indexing, etc).
-
#errors ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>
The errors from the entity's sync run.
-
#extracted_record_count ⇒ Fixnum
The number of documents extracted from connector source, ready to be ingested to UCS.
-
#indexed_record_count ⇒ Fixnum
The number of documents indexed.
-
#source_api_request_count ⇒ Fixnum
The number of requests sent to 3p API.
-
#state ⇒ String
The state of the entity's sync run.
-
#state_update_time ⇒ String
Timestamp at which the entity sync state was last updated.
-
#stats_update_time ⇒ String
The timestamp for either extracted_documents_count, indexed_documents_count and error_documents_count was last updated.
-
#sync_type ⇒ String
Sync type of this run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun
Returns a new instance of GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun.
7080 7081 7082 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7080 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_name ⇒ String
The name of the source entity.
Corresponds to the JSON property entityName
7029 7030 7031 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7029 def entity_name @entity_name end |
#error_record_count ⇒ Fixnum
The total number of documents failed at sync at any stage (extraction,
indexing, etc).
Corresponds to the JSON property errorRecordCount
7035 7036 7037 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7035 def error_record_count @error_record_count end |
#errors ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>
The errors from the entity's sync run. Only exist if running into an error
state. Contains error code and error message.
Corresponds to the JSON property errors
7041 7042 7043 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7041 def errors @errors end |
#extracted_record_count ⇒ Fixnum
The number of documents extracted from connector source, ready to be ingested
to UCS.
Corresponds to the JSON property extractedRecordCount
7047 7048 7049 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7047 def extracted_record_count @extracted_record_count end |
#indexed_record_count ⇒ Fixnum
The number of documents indexed.
Corresponds to the JSON property indexedRecordCount
7052 7053 7054 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7052 def indexed_record_count @indexed_record_count end |
#source_api_request_count ⇒ Fixnum
The number of requests sent to 3p API.
Corresponds to the JSON property sourceApiRequestCount
7057 7058 7059 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7057 def source_api_request_count @source_api_request_count end |
#state ⇒ String
The state of the entity's sync run.
Corresponds to the JSON property state
7062 7063 7064 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7062 def state @state end |
#state_update_time ⇒ String
Timestamp at which the entity sync state was last updated.
Corresponds to the JSON property stateUpdateTime
7067 7068 7069 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7067 def state_update_time @state_update_time end |
#stats_update_time ⇒ String
The timestamp for either extracted_documents_count, indexed_documents_count
and error_documents_count was last updated.
Corresponds to the JSON property statsUpdateTime
7073 7074 7075 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7073 def stats_update_time @stats_update_time end |
#sync_type ⇒ String
Sync type of this run.
Corresponds to the JSON property syncType
7078 7079 7080 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7078 def sync_type @sync_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 7085 def update!(**args) @entity_name = args[:entity_name] if args.key?(:entity_name) @error_record_count = args[:error_record_count] if args.key?(:error_record_count) @errors = args[:errors] if args.key?(:errors) @extracted_record_count = args[:extracted_record_count] if args.key?(:extracted_record_count) @indexed_record_count = args[:indexed_record_count] if args.key?(:indexed_record_count) @source_api_request_count = args[:source_api_request_count] if args.key?(:source_api_request_count) @state = args[:state] if args.key?(:state) @state_update_time = args[:state_update_time] if args.key?(:state_update_time) @stats_update_time = args[:stats_update_time] if args.key?(:stats_update_time) @sync_type = args[:sync_type] if args.key?(:sync_type) end |