# Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::ConversationTurn::VirtualAgentOutput (v1.12.1)

1.12.1 (latest) 1.12.0 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.26.0 0.25.0 0.24.2 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.1 0.14.0 0.13.0 0.12.0 0.11.0 0.10.2 0.9.0 0.8.1 0.7.1 0.6.0 0.5.0 0.4.0 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Page)) --- The [Page](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Page "Google::Cloud::Dialogflow::CX::V3::Page (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Page)) --- The [Page](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Page "Google::Cloud::Dialogflow::CX::V3::Page (class)") on which the utterance was spoken. Only name and displayName will be set.
**Returns**

- ([::Google::Cloud::Dialogflow::CX::V3::Page](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Page)) --- The [Page](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Page "Google::Cloud::Dialogflow::CX::V3::Page (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Protobuf-Struct)) --- The session parameters available to the bot at this point.
**Returns**

- ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Protobuf-Struct)) --- The session parameters available to the bot at this point.

### #status

    def status() -> ::Google::Rpc::Status

**Returns**

- ([::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Rpc-Status)) --- Response error from the agent in the test result. If set, other output is empty.
**Returns**

- ([::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-ResponseMessage-Text)\>) --- The [text](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-ResponseMessage-Text "Google::Cloud::Dialogflow::CX::V3::ResponseMessage::Text (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-ResponseMessage-Text)\>) --- The [text](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-ResponseMessage-Text "Google::Cloud::Dialogflow::CX::V3::ResponseMessage::Text (class)") responses from the agent for the turn.
**Returns**

- (::Array\<[::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::Text](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-ResponseMessage-Text)\>) --- The [text](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-ResponseMessage-Text "Google::Cloud::Dialogflow::CX::V3::ResponseMessage::Text (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Intent)) --- The [Intent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Intent "Google::Cloud::Dialogflow::CX::V3::Intent (class)") 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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Intent)) --- The [Intent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Intent "Google::Cloud::Dialogflow::CX::V3::Intent (class)") that triggered the response. Only name and displayName will be set.
**Returns**

- ([::Google::Cloud::Dialogflow::CX::V3::Intent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Intent)) --- The [Intent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-cx-v3/latest/Google-Cloud-Dialogflow-CX-V3-Intent "Google::Cloud::Dialogflow::CX::V3::Intent (class)") that triggered the response. Only name and displayName will be set.