Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillIntentRequest

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

Overview

Request of FulfillIntent

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3FulfillIntentRequest

Returns a new instance of GoogleCloudDialogflowCxV3FulfillIntentRequest.



1200
1201
1202
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 1200

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

Instance Attribute Details

#matchGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Match

Represents one match result of MatchIntent. Corresponds to the JSON property match



1188
1189
1190
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 1188

def match
  @match
end

#match_intent_requestGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3MatchIntentRequest

Request of MatchIntent. Corresponds to the JSON property matchIntentRequest



1193
1194
1195
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 1193

def match_intent_request
  @match_intent_request
end

#output_audio_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3OutputAudioConfig

Instructs the speech synthesizer how to generate the output audio content. Corresponds to the JSON property outputAudioConfig



1198
1199
1200
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 1198

def output_audio_config
  @output_audio_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1205
1206
1207
1208
1209
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 1205

def update!(**args)
  @match = args[:match] if args.key?(:match)
  @match_intent_request = args[:match_intent_request] if args.key?(:match_intent_request)
  @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
end