Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse
- 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
-
#output_audio ⇒ String
Corresponds to the JSON property
outputAudioNOTE: Values are automatically base64 encoded/decoded in the client library. -
#output_audio_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig
Corresponds to the JSON property
outputAudioConfig. -
#query_result ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryResult
Corresponds to the JSON property
queryResult. -
#response_id ⇒ String
Corresponds to the JSON property
responseId. -
#webhook_status ⇒ Google::Apis::DialogflowV2::GoogleRpcStatus
Corresponds to the JSON property
webhookStatus.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2DetectIntentResponse
constructor
A new instance of GoogleCloudDialogflowV2DetectIntentResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2DetectIntentResponse
Returns a new instance of GoogleCloudDialogflowV2DetectIntentResponse.
9209 9210 9211 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9209 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.
9187 9188 9189 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9187 def output_audio @output_audio end |
#output_audio_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig
Corresponds to the JSON property outputAudioConfig
9192 9193 9194 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9192 def output_audio_config @output_audio_config end |
#query_result ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryResult
Corresponds to the JSON property queryResult
9197 9198 9199 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9197 def query_result @query_result end |
#response_id ⇒ String
Corresponds to the JSON property responseId
9202 9203 9204 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9202 def response_id @response_id end |
#webhook_status ⇒ Google::Apis::DialogflowV2::GoogleRpcStatus
Corresponds to the JSON property webhookStatus
9207 9208 9209 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9207 def webhook_status @webhook_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9214 9215 9216 9217 9218 9219 9220 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9214 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) @webhook_status = args[:webhook_status] if args.key?(:webhook_status) end |