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

#export_operation_metadata::Google::Cloud::Dialogflow::V2::ExportOperationMetadata

Returns Metadata for the Export Data Operation such as the destination of export.

Returns:



413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 413

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

#knowledge_base::String

Returns The name of the knowledge base interacted with during the operation.

Returns:

  • (::String)

    The name of the knowledge base interacted with during the operation.



413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 413

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

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

Returns Output only. The current state of this operation.

Returns:



413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
# File 'proto_docs/google/cloud/dialogflow/v2/document.rb', line 413

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