Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v2beta1/classes.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb
Overview
Represents a notification sent to Cloud Pub/Sub subscribers for agent assistant events in a specific conversation.
Instance Attribute Summary collapse
-
#conversation ⇒ String
Required.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
constructor
A new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
2377 2378 2379 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2377 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation ⇒ String
Required. The conversation this notification refers to.
Format: projects/<Project ID>/conversations/<Conversation ID>
.
Corresponds to the JSON property conversation
2370 2371 2372 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2370 def conversation @conversation end |
#type ⇒ String
Required. The type of the event that this notification refers to.
Corresponds to the JSON property type
2375 2376 2377 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2375 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2382 2383 2384 2385 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2382 def update!(**args) @conversation = args[:conversation] if args.key?(:conversation) @type = args[:type] if args.key?(:type) end |