Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Output only. Represents a notification sent to Pub/Sub subscribers for 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::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestionResult>
The suggestion results payload that this notification refers to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
constructor
A new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent.
11045 11046 11047 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11045 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
11028 11029 11030 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11028 def conversation @conversation end |
#participant ⇒ String
The participant that the suggestion is compiled for. And This field is used to
call Participants.ListSuggestions API. Format: projects//conversations//
participants/. It will not be set in legacy workflow.
HumanAgentAssistantConfig.name for more information.
Corresponds to the JSON property participant
11036 11037 11038 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11036 def participant @participant end |
#suggestion_results ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestionResult>
The suggestion results payload that this notification refers to. It will only
be set when HumanAgentAssistantConfig.SuggestionConfig.
group_suggestion_responses sets to true.
Corresponds to the JSON property suggestionResults
11043 11044 11045 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11043 def suggestion_results @suggestion_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11050 11051 11052 11053 11054 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11050 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 |