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.



822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 822

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.



822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 822

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

#cx_current_page::String

Returns The unique identifier of the current Dialogflow CX conversation page. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.

Returns:

  • (::String)

    The unique identifier of the current Dialogflow CX conversation page. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/pages/<Page ID>.



822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 822

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:



822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 822

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