Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus
- 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
Index status of the document.
Instance Attribute Summary collapse
-
#error_samples ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>
A sample of errors encountered while indexing the document.
-
#index_time ⇒ String
The time when the document was indexed.
-
#pending_message ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus
Returns a new instance of GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus.
8932 8933 8934 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8932 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_samples ⇒ Array<Google::Apis::DiscoveryengineV1alpha::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
8918 8919 8920 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8918 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
8924 8925 8926 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8924 def index_time @index_time end |
#pending_message ⇒ String
Immutable. The message indicates the document index is in progress. If this
field is populated, the document index is pending.
Corresponds to the JSON property pendingMessage
8930 8931 8932 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8930 def @pending_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8937 8938 8939 8940 8941 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8937 def update!(**args) @error_samples = args[:error_samples] if args.key?(:error_samples) @index_time = args[:index_time] if args.key?(:index_time) @pending_message = args[:pending_message] if args.key?(:pending_message) end |