Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2HumanAgentAssistantEvent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2HumanAgentAssistantEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Represents a notification sent to Cloud Pub/Sub subscribers for human agent assistant events in a specific conversation.
Instance Attribute Summary collapse
-
#conversation ⇒ String
The conversation this notification refers to.
-
#participant ⇒ String
The participant that the suggestion is compiled for.
-
#suggestion_results ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestionResult>
The suggestion results payload that this notification refers to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantEvent
constructor
A new instance of GoogleCloudDialogflowV2HumanAgentAssistantEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantEvent
Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantEvent.
9860 9861 9862 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9860 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation ⇒ String
The conversation this notification refers to. Format: projects//conversations/
.
Corresponds to the JSON property conversation
9847 9848 9849 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9847 def conversation @conversation end |
#participant ⇒ String
The participant that the suggestion is compiled for. Format: projects//
conversations//participants/. It will not be set in legacy workflow.
Corresponds to the JSON property participant
9853 9854 9855 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9853 def participant @participant end |
#suggestion_results ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestionResult>
The suggestion results payload that this notification refers to.
Corresponds to the JSON property suggestionResults
9858 9859 9860 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9858 def suggestion_results @suggestion_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9865 9866 9867 9868 9869 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 9865 def update!(**args) @conversation = args[:conversation] if args.key?(:conversation) @participant = args[:participant] if args.key?(:participant) @suggestion_results = args[:suggestion_results] if args.key?(:suggestion_results) end |