Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest
- 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
-
#input_audio ⇒ String
Corresponds to the JSON property
inputAudioNOTE: Values are automatically base64 encoded/decoded in the client library. -
#output_audio_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig
Corresponds to the JSON property
outputAudioConfig. -
#output_audio_config_mask ⇒ String
Corresponds to the JSON property
outputAudioConfigMask. -
#query_input ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryInput
Corresponds to the JSON property
queryInput. -
#query_params ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters
Corresponds to the JSON property
queryParams.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1DetectIntentRequest
constructor
A new instance of GoogleCloudDialogflowV2beta1DetectIntentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1DetectIntentRequest
Returns a new instance of GoogleCloudDialogflowV2beta1DetectIntentRequest.
12746 12747 12748 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12746 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_audio ⇒ String
Corresponds to the JSON property inputAudio
NOTE: Values are automatically base64 encoded/decoded in the client library.
12724 12725 12726 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12724 def input_audio @input_audio end |
#output_audio_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig
Corresponds to the JSON property outputAudioConfig
12729 12730 12731 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12729 def output_audio_config @output_audio_config end |
#output_audio_config_mask ⇒ String
Corresponds to the JSON property outputAudioConfigMask
12734 12735 12736 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12734 def output_audio_config_mask @output_audio_config_mask end |
#query_input ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryInput
Corresponds to the JSON property queryInput
12739 12740 12741 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12739 def query_input @query_input end |
#query_params ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters
Corresponds to the JSON property queryParams
12744 12745 12746 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12744 def query_params @query_params end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12751 12752 12753 12754 12755 12756 12757 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12751 def update!(**args) @input_audio = args[:input_audio] if args.key?(:input_audio) @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config) @output_audio_config_mask = args[:output_audio_config_mask] if args.key?(:output_audio_config_mask) @query_input = args[:query_input] if args.key?(:query_input) @query_params = args[:query_params] if args.key?(:query_params) end |