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

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) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent

Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent.



14938
14939
14940
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14938

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

Instance Attribute Details

#conversationString

Corresponds to the JSON property conversation

Returns:

  • (String)


14926
14927
14928
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14926

def conversation
  @conversation
end

#participantString

Corresponds to the JSON property participant

Returns:

  • (String)


14931
14932
14933
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14931

def participant
  @participant
end

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

Corresponds to the JSON property suggestionResults



14936
14937
14938
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14936

def suggestion_results
  @suggestion_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14943
14944
14945
14946
14947
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 14943

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