Class: Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/document.rb

Overview

Metadata in google::longrunning::Operation for Knowledge operations.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#state::Google::Cloud::Dialogflow::V2::KnowledgeOperationMetadata::State (readonly)

Returns Output only. The current state of this operation.

Returns:



245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 245

class KnowledgeOperationMetadata
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # States of the operation.
  module State
    # State unspecified.
    STATE_UNSPECIFIED = 0

    # The operation has been created.
    PENDING = 1

    # The operation is currently running.
    RUNNING = 2

    # The operation is done, either cancelled or completed.
    DONE = 3
  end
end