Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantEvent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantEvent

Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantEvent.



11293
11294
11295
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11293

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conversationString

Corresponds to the JSON property conversation

Returns:

  • (String)


11281
11282
11283
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11281

def conversation
  @conversation
end

#participantString

Corresponds to the JSON property participant

Returns:

  • (String)


11286
11287
11288
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11286

def participant
  @participant
end

#suggestion_resultsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionResult>

Corresponds to the JSON property suggestionResults



11291
11292
11293
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11291

def suggestion_results
  @suggestion_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11298
11299
11300
11301
11302
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 11298

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