Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentIndexStatus

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb

Overview

Index status of the document.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaDocumentIndexStatus

Returns a new instance of GoogleCloudDiscoveryengineV1betaDocumentIndexStatus.



13809
13810
13811
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13809

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

Instance Attribute Details

#error_samplesArray<Google::Apis::DiscoveryengineV1beta::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



13801
13802
13803
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13801

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)


13807
13808
13809
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13807

def index_time
  @index_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13814
13815
13816
13817
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13814

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