Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent

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

Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent.



18731
18732
18733
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18731

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

Instance Attribute Details

#conversationString

Corresponds to the JSON property conversation

Returns:

  • (String)


18719
18720
18721
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18719

def conversation
  @conversation
end

#participantString

Corresponds to the JSON property participant

Returns:

  • (String)


18724
18725
18726
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18724

def participant
  @participant
end

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

Corresponds to the JSON property suggestionResults



18729
18730
18731
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18729

def suggestion_results
  @suggestion_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18736
18737
18738
18739
18740
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18736

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