Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillIntentResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillIntentResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#output_audio ⇒ String
Corresponds to the JSON property
outputAudioNOTE: Values are automatically base64 encoded/decoded in the client library. -
#output_audio_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3OutputAudioConfig
Corresponds to the JSON property
outputAudioConfig. -
#query_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryResult
Corresponds to the JSON property
queryResult. -
#response_id ⇒ String
Corresponds to the JSON property
responseId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3FulfillIntentResponse
constructor
A new instance of GoogleCloudDialogflowCxV3FulfillIntentResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3FulfillIntentResponse
Returns a new instance of GoogleCloudDialogflowCxV3FulfillIntentResponse.
3325 3326 3327 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3325 def initialize(**args) update!(**args) end |
Instance Attribute Details
#output_audio ⇒ String
Corresponds to the JSON property outputAudio
NOTE: Values are automatically base64 encoded/decoded in the client library.
3308 3309 3310 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3308 def output_audio @output_audio end |
#output_audio_config ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3OutputAudioConfig
Corresponds to the JSON property outputAudioConfig
3313 3314 3315 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3313 def output_audio_config @output_audio_config end |
#query_result ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryResult
Corresponds to the JSON property queryResult
3318 3319 3320 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3318 def query_result @query_result end |
#response_id ⇒ String
Corresponds to the JSON property responseId
3323 3324 3325 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3323 def response_id @response_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3330 3331 3332 3333 3334 3335 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3330 def update!(**args) @output_audio = args[:output_audio] if args.key?(:output_audio) @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config) @query_result = args[:query_result] if args.key?(:query_result) @response_id = args[:response_id] if args.key?(:response_id) end |