Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
The output from the virtual agent.
Instance Attribute Summary collapse
-
#current_page ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Page
A Dialogflow CX conversation (session) can be described and visualized as a state machine.
-
#diagnostic_info ⇒ Hash<String,Object>
Required.
-
#differences ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestRunDifference>
Output only.
-
#session_parameters ⇒ Hash<String,Object>
The session parameters available to the bot at this point.
-
#status ⇒ Google::Apis::DialogflowV2beta1::GoogleRpcStatus
The
Status
type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. -
#text_responses ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText>
The text responses from the agent for the turn.
-
#triggered_intent ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Intent
An intent represents a user's intent to interact with a conversational agent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput
Returns a new instance of GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput.
3370 3371 3372 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3370 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_page ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Page
A Dialogflow CX conversation (session) can be described and visualized as a
state machine. The states of a CX session are represented by pages. For each
flow, you define many pages, where your combined pages can handle a complete
conversation on the topics the flow is designed for. At any given moment,
exactly one page is the current page, the current page is considered active,
and the flow associated with that page is considered active. Every flow has a
special start page. When a flow initially becomes active, the start page page
becomes the current page. For each conversational turn, the current page will
either stay the same or transition to another page. You configure each page to
collect information from the end-user that is relevant for the conversational
state represented by the page. For more information, see the Page guide.
Corresponds to the JSON property currentPage
3328 3329 3330 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3328 def current_page @current_page end |
#diagnostic_info ⇒ Hash<String,Object>
Required. Input only. The diagnostic info output for the turn. Required to
calculate the testing coverage.
Corresponds to the JSON property diagnosticInfo
3334 3335 3336 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3334 def diagnostic_info @diagnostic_info end |
#differences ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestRunDifference>
Output only. If this is part of a result conversation turn, the list of
differences between the original run and the replay for this output, if any.
Corresponds to the JSON property differences
3340 3341 3342 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3340 def differences @differences end |
#session_parameters ⇒ Hash<String,Object>
The session parameters available to the bot at this point.
Corresponds to the JSON property sessionParameters
3345 3346 3347 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3345 def session_parameters @session_parameters end |
#status ⇒ Google::Apis::DialogflowV2beta1::GoogleRpcStatus
The Status
type defines a logical error model that is suitable for different
programming environments, including REST APIs and RPC APIs. It is used by
gRPC. Each Status
message contains three pieces of
data: error code, error message, and error details. You can find out more
about this error model and how to work with it in the API Design Guide.
Corresponds to the JSON property status
3355 3356 3357 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3355 def status @status end |
#text_responses ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText>
The text responses from the agent for the turn.
Corresponds to the JSON property textResponses
3360 3361 3362 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3360 def text_responses @text_responses end |
#triggered_intent ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Intent
An intent represents a user's intent to interact with a conversational agent.
You can provide information for the Dialogflow API to use to match user input
to an intent by adding training phrases (i.e., examples of user input) to your
intent.
Corresponds to the JSON property triggeredIntent
3368 3369 3370 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3368 def triggered_intent @triggered_intent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3375 3376 3377 3378 3379 3380 3381 3382 3383 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3375 def update!(**args) @current_page = args[:current_page] if args.key?(:current_page) @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info) @differences = args[:differences] if args.key?(:differences) @session_parameters = args[:session_parameters] if args.key?(:session_parameters) @status = args[:status] if args.key?(:status) @text_responses = args[:text_responses] if args.key?(:text_responses) @triggered_intent = args[:triggered_intent] if args.key?(:triggered_intent) end |