Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DocumentIndexStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1DocumentIndexStatus

Returns a new instance of GoogleCloudDiscoveryengineV1DocumentIndexStatus.



3735
3736
3737
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3735

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#error_samplesArray<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



3727
3728
3729
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3727

def error_samples
  @error_samples
end

#index_timeString

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

Returns:

  • (String)


3733
3734
3735
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3733

def index_time
  @index_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3740
3741
3742
3743
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 3740

def update!(**args)
  @error_samples = args[:error_samples] if args.key?(:error_samples)
  @index_time = args[:index_time] if args.key?(:index_time)
end