Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#conversationString

Required. The conversation this notification refers to. Format: projects/<Project ID>/conversations/<Conversation ID>. Corresponds to the JSON property conversation

Returns:

  • (String)


2370
2371
2372
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 2370

def conversation
  @conversation
end

#typeString

Required. The type of the event that this notification refers to. Corresponds to the JSON property type

Returns:

  • (String)


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