Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2HumanAgentAssistantEvent

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantEvent

Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantEvent.



7919
7920
7921
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7919

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

Instance Attribute Details

#conversationString

Corresponds to the JSON property conversation

Returns:

  • (String)


7907
7908
7909
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7907

def conversation
  @conversation
end

#participantString

Corresponds to the JSON property participant

Returns:

  • (String)


7912
7913
7914
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7912

def participant
  @participant
end

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

Corresponds to the JSON property suggestionResults



7917
7918
7919
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7917

def suggestion_results
  @suggestion_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7924
7925
7926
7927
7928
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7924

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