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.



667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 667

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.



667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 667

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:



667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 667

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