Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters
- 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
-
#contexts ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context>
Corresponds to the JSON property
contexts. -
#geo_location ⇒ Google::Apis::DialogflowV2::GoogleTypeLatLng
Corresponds to the JSON property
geoLocation. -
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property
payload. -
#platform ⇒ String
Corresponds to the JSON property
platform. -
#reset_contexts ⇒ Boolean
(also: #reset_contexts?)
Corresponds to the JSON property
resetContexts. -
#sentiment_analysis_request_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisRequestConfig
Corresponds to the JSON property
sentimentAnalysisRequestConfig. -
#session_entity_types ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType>
Corresponds to the JSON property
sessionEntityTypes. -
#time_zone ⇒ String
Corresponds to the JSON property
timeZone. -
#webhook_headers ⇒ Hash<String,String>
Corresponds to the JSON property
webhookHeaders.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2QueryParameters
constructor
A new instance of GoogleCloudDialogflowV2QueryParameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2QueryParameters
Returns a new instance of GoogleCloudDialogflowV2QueryParameters.
14414 14415 14416 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14414 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contexts ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Context>
Corresponds to the JSON property contexts
14371 14372 14373 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14371 def contexts @contexts end |
#geo_location ⇒ Google::Apis::DialogflowV2::GoogleTypeLatLng
Corresponds to the JSON property geoLocation
14376 14377 14378 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14376 def geo_location @geo_location end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
14381 14382 14383 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14381 def payload @payload end |
#platform ⇒ String
Corresponds to the JSON property platform
14386 14387 14388 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14386 def platform @platform end |
#reset_contexts ⇒ Boolean Also known as: reset_contexts?
Corresponds to the JSON property resetContexts
14391 14392 14393 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14391 def reset_contexts @reset_contexts end |
#sentiment_analysis_request_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisRequestConfig
Corresponds to the JSON property sentimentAnalysisRequestConfig
14397 14398 14399 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14397 def sentiment_analysis_request_config @sentiment_analysis_request_config end |
#session_entity_types ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType>
Corresponds to the JSON property sessionEntityTypes
14402 14403 14404 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14402 def session_entity_types @session_entity_types end |
#time_zone ⇒ String
Corresponds to the JSON property timeZone
14407 14408 14409 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14407 def time_zone @time_zone end |
#webhook_headers ⇒ Hash<String,String>
Corresponds to the JSON property webhookHeaders
14412 14413 14414 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14412 def webhook_headers @webhook_headers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14419 def update!(**args) @contexts = args[:contexts] if args.key?(:contexts) @geo_location = args[:geo_location] if args.key?(:geo_location) @payload = args[:payload] if args.key?(:payload) @platform = args[:platform] if args.key?(:platform) @reset_contexts = args[:reset_contexts] if args.key?(:reset_contexts) @sentiment_analysis_request_config = args[:sentiment_analysis_request_config] if args.key?(:sentiment_analysis_request_config) @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types) @time_zone = args[:time_zone] if args.key?(:time_zone) @webhook_headers = args[:webhook_headers] if args.key?(:webhook_headers) end |