Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentIndexStatus
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentIndexStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb
Overview
Index status of the document.
Instance Attribute Summary collapse
-
#error_samples ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleRpcStatus>
A sample of errors encountered while indexing the document.
-
#index_time ⇒ String
The time when the document was indexed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1DocumentIndexStatus
constructor
A new instance of GoogleCloudDiscoveryengineV1DocumentIndexStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1DocumentIndexStatus
Returns a new instance of GoogleCloudDiscoveryengineV1DocumentIndexStatus.
4320 4321 4322 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4320 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_samples ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleRpcStatus>
A sample of errors encountered while indexing the document. If this field is
populated, the document is not indexed due to errors.
Corresponds to the JSON property errorSamples
4312 4313 4314 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4312 def error_samples @error_samples end |
#index_time ⇒ String
The time when the document was indexed. If this field is populated, it means
the document has been indexed.
Corresponds to the JSON property indexTime
4318 4319 4320 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4318 def index_time @index_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4325 4326 4327 4328 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 4325 def update!(**args) @error_samples = args[:error_samples] if args.key?(:error_samples) @index_time = args[:index_time] if args.key?(:index_time) end |