Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse

Returns a new instance of GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse.



14763
14764
14765
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14763

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

Instance Attribute Details

#duplicate_check_resultGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult

Corresponds to the JSON property duplicateCheckResult



14751
14752
14753
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14751

def duplicate_check_result
  @duplicate_check_result
end

#response_textString

Corresponds to the JSON property responseText

Returns:

  • (String)


14756
14757
14758
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14756

def response_text
  @response_text
end

#sourcesGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources

Corresponds to the JSON property sources



14761
14762
14763
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14761

def sources
  @sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14768
14769
14770
14771
14772
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14768

def update!(**args)
  @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
  @response_text = args[:response_text] if args.key?(:response_text)
  @sources = args[:sources] if args.key?(:sources)
end