Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::ConversationTurn::VirtualAgentOutput.
The output from the virtual agent.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#current_page
def current_page() -> ::Google::Cloud::Dialogflow::CX::V3::Page
    Returns
    
  - (::Google::Cloud::Dialogflow::CX::V3::Page) — The Page on which the utterance was spoken. Only name and displayName will be set.
#current_page=
def current_page=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Page
    Parameter
    
  - value (::Google::Cloud::Dialogflow::CX::V3::Page) — The Page on which the utterance was spoken. Only name and displayName will be set.
    Returns
    
  - (::Google::Cloud::Dialogflow::CX::V3::Page) — The Page on which the utterance was spoken. Only name and displayName will be set.
#diagnostic_info
def diagnostic_info() -> ::Google::Protobuf::Struct
    Returns
    
  - (::Google::Protobuf::Struct) — Required. Input only. The diagnostic [info][Session.DetectIntentResponse.QueryResult.diagnostic_info] output for the turn. Required to calculate the testing coverage.
#diagnostic_info=
def diagnostic_info=(value) -> ::Google::Protobuf::Struct
    Parameter
    
  - value (::Google::Protobuf::Struct) — Required. Input only. The diagnostic [info][Session.DetectIntentResponse.QueryResult.diagnostic_info] output for the turn. Required to calculate the testing coverage.
    Returns
    
  - (::Google::Protobuf::Struct) — Required. Input only. The diagnostic [info][Session.DetectIntentResponse.QueryResult.diagnostic_info] output for the turn. Required to calculate the testing coverage.
#differences
def differences() -> ::Array<::Google::Cloud::Dialogflow::CX::V3::TestRunDifference>
    Returns
    
  - (::Array<::Google::Cloud::Dialogflow::CX::V3::TestRunDifference>) — Output only. If this is part of a [result conversation turn][TestCaseResult.conversation_turns], the list of differences between the original run and the replay for this output, if any.
#session_parameters
def session_parameters() -> ::Google::Protobuf::Struct
    Returns
    
  - (::Google::Protobuf::Struct) — The session parameters available to the bot at this point.
#session_parameters=
def session_parameters=(value) -> ::Google::Protobuf::Struct
    Parameter
    
  - value (::Google::Protobuf::Struct) — The session parameters available to the bot at this point.
    Returns
    
  - (::Google::Protobuf::Struct) — The session parameters available to the bot at this point.
#status
def status() -> ::Google::Rpc::Status
    Returns
    
  - (::Google::Rpc::Status) — Response error from the agent in the test result. If set, other output is empty.
#status=
def status=(value) -> ::Google::Rpc::Status
    Parameter
    
  - value (::Google::Rpc::Status) — Response error from the agent in the test result. If set, other output is empty.
    Returns
    
  - (::Google::Rpc::Status) — Response error from the agent in the test result. If set, other output is empty.
#text_responses
def text_responses() -> ::Array<::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::Text>
    Returns
    
  - (::Array<::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::Text>) — The text responses from the agent for the turn.
#text_responses=
def text_responses=(value) -> ::Array<::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::Text>
    Parameter
    
  - value (::Array<::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::Text>) — The text responses from the agent for the turn.
    Returns
    
  - (::Array<::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::Text>) — The text responses from the agent for the turn.
#triggered_intent
def triggered_intent() -> ::Google::Cloud::Dialogflow::CX::V3::Intent
    Returns
    
  - (::Google::Cloud::Dialogflow::CX::V3::Intent) — The Intent that triggered the response. Only name and displayName will be set.
#triggered_intent=
def triggered_intent=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Intent
    Parameter
    
  - value (::Google::Cloud::Dialogflow::CX::V3::Intent) — The Intent that triggered the response. Only name and displayName will be set.
    Returns
    
- (::Google::Cloud::Dialogflow::CX::V3::Intent) — The Intent that triggered the response. Only name and displayName will be set.