Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2HumanAgentAssistantEvent

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantEvent

Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantEvent.



14250
14251
14252
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14250

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

Instance Attribute Details

#conversationString

Corresponds to the JSON property conversation

Returns:

  • (String)


14238
14239
14240
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14238

def conversation
  @conversation
end

#participantString

Corresponds to the JSON property participant

Returns:

  • (String)


14243
14244
14245
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14243

def participant
  @participant
end

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

Corresponds to the JSON property suggestionResults



14248
14249
14250
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14248

def suggestion_results
  @suggestion_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14255
14256
14257
14258
14259
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14255

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