Class: Google::Cloud::Dialogflow::V2::AutomatedAgentReply

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

Overview

Represents a response from an automated agent.

Defined Under Namespace

Modules: AutomatedAgentReplyType

Instance Attribute Summary collapse

Instance Attribute Details

#allow_cancellation::Boolean

Returns Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.

Returns:

  • (::Boolean)

    Indicates whether the partial automated agent reply is interruptible when a later reply message arrives. e.g. if the agent specified some music as partial response, it can be cancelled.



364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 364

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

  # Represents different automated agent reply types.
  module AutomatedAgentReplyType
    # Not specified. This should never happen.
    AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED = 0

    # Partial reply. e.g. Aggregated responses in a `Fulfillment` that enables
    # `return_partial_response` can be returned as partial reply.
    # WARNING: partial reply is not eligible for barge-in.
    PARTIAL = 1

    # Final reply.
    FINAL = 2
  end
end

#automated_agent_reply_type::Google::Cloud::Dialogflow::V2::AutomatedAgentReply::AutomatedAgentReplyType

Returns AutomatedAgentReply type.



364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 364

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

  # Represents different automated agent reply types.
  module AutomatedAgentReplyType
    # Not specified. This should never happen.
    AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED = 0

    # Partial reply. e.g. Aggregated responses in a `Fulfillment` that enables
    # `return_partial_response` can be returned as partial reply.
    # WARNING: partial reply is not eligible for barge-in.
    PARTIAL = 1

    # Final reply.
    FINAL = 2
  end
end

#detect_intent_response::Google::Cloud::Dialogflow::V2::DetectIntentResponse

Returns Response of the Dialogflow Sessions.DetectIntent call.

Returns:



364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 364

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

  # Represents different automated agent reply types.
  module AutomatedAgentReplyType
    # Not specified. This should never happen.
    AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED = 0

    # Partial reply. e.g. Aggregated responses in a `Fulfillment` that enables
    # `return_partial_response` can be returned as partial reply.
    # WARNING: partial reply is not eligible for barge-in.
    PARTIAL = 1

    # Final reply.
    FINAL = 2
  end
end