Class: Google::Cloud::Dialogflow::V2::CreateConversationModelOperationMetadata

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

Overview

Metadata for a ConversationModels.CreateConversationModel operation.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#conversation_model::String

Returns The resource name of the conversation model. Format: projects/<Project ID>/conversationModels/<Conversation Model Id>.

Returns:

  • (::String)

    The resource name of the conversation model. Format: projects/<Project ID>/conversationModels/<Conversation Model Id>



430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 430

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

  # State of CreateConversationModel operation.
  module State
    # Invalid.
    STATE_UNSPECIFIED = 0

    # Request is submitted, but training has not started yet.
    # The model may remain in this state until there is enough capacity to
    # start training.
    PENDING = 1

    # The training has succeeded.
    SUCCEEDED = 2

    # The training has succeeded.
    FAILED = 3

    # The training has been cancelled.
    CANCELLED = 4

    # The training is in cancelling state.
    CANCELLING = 5

    # Custom model is training.
    TRAINING = 6
  end
end

#create_time::Google::Protobuf::Timestamp

Returns Timestamp when the request to create conversation model is submitted. The time is measured on server side.

Returns:



430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 430

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

  # State of CreateConversationModel operation.
  module State
    # Invalid.
    STATE_UNSPECIFIED = 0

    # Request is submitted, but training has not started yet.
    # The model may remain in this state until there is enough capacity to
    # start training.
    PENDING = 1

    # The training has succeeded.
    SUCCEEDED = 2

    # The training has succeeded.
    FAILED = 3

    # The training has been cancelled.
    CANCELLED = 4

    # The training is in cancelling state.
    CANCELLING = 5

    # Custom model is training.
    TRAINING = 6
  end
end

#state::Google::Cloud::Dialogflow::V2::CreateConversationModelOperationMetadata::State

Returns State of CreateConversationModel operation.

Returns:



430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_model.rb', line 430

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

  # State of CreateConversationModel operation.
  module State
    # Invalid.
    STATE_UNSPECIFIED = 0

    # Request is submitted, but training has not started yet.
    # The model may remain in this state until there is enough capacity to
    # start training.
    PENDING = 1

    # The training has succeeded.
    SUCCEEDED = 2

    # The training has succeeded.
    FAILED = 3

    # The training has been cancelled.
    CANCELLED = 4

    # The training is in cancelling state.
    CANCELLING = 5

    # Custom model is training.
    TRAINING = 6
  end
end