Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#alternative_query_results ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult>
Corresponds to the JSON property
alternativeQueryResults. -
#output_audio ⇒ String
Corresponds to the JSON property
outputAudioNOTE: Values are automatically base64 encoded/decoded in the client library. -
#output_audio_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig
Corresponds to the JSON property
outputAudioConfig. -
#query_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult
Corresponds to the JSON property
queryResult. -
#response_id ⇒ String
Corresponds to the JSON property
responseId. -
#webhook_status ⇒ Google::Apis::DialogflowV2beta1::GoogleRpcStatus
Corresponds to the JSON property
webhookStatus.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1DetectIntentResponse
constructor
A new instance of GoogleCloudDialogflowV2beta1DetectIntentResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1DetectIntentResponse
Returns a new instance of GoogleCloudDialogflowV2beta1DetectIntentResponse.
12795 12796 12797 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12795 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alternative_query_results ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult>
Corresponds to the JSON property alternativeQueryResults
12767 12768 12769 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12767 def alternative_query_results @alternative_query_results end |
#output_audio ⇒ String
Corresponds to the JSON property outputAudio
NOTE: Values are automatically base64 encoded/decoded in the client library.
12773 12774 12775 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12773 def output_audio @output_audio end |
#output_audio_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig
Corresponds to the JSON property outputAudioConfig
12778 12779 12780 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12778 def output_audio_config @output_audio_config end |
#query_result ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult
Corresponds to the JSON property queryResult
12783 12784 12785 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12783 def query_result @query_result end |
#response_id ⇒ String
Corresponds to the JSON property responseId
12788 12789 12790 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12788 def response_id @response_id end |
#webhook_status ⇒ Google::Apis::DialogflowV2beta1::GoogleRpcStatus
Corresponds to the JSON property webhookStatus
12793 12794 12795 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12793 def webhook_status @webhook_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12800 12801 12802 12803 12804 12805 12806 12807 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12800 def update!(**args) @alternative_query_results = args[:alternative_query_results] if args.key?(:alternative_query_results) @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 |