Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters
- 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
-
#contexts ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context>
Corresponds to the JSON property
contexts. -
#geo_location ⇒ Google::Apis::DialogflowV2beta1::GoogleTypeLatLng
Corresponds to the JSON property
geoLocation. -
#knowledge_base_names ⇒ Array<String>
Corresponds to the JSON property
knowledgeBaseNames. -
#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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig
Corresponds to the JSON property
sentimentAnalysisRequestConfig. -
#session_entity_types ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType>
Corresponds to the JSON property
sessionEntityTypes. -
#sub_agents ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SubAgent>
Corresponds to the JSON property
subAgents. -
#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) ⇒ GoogleCloudDialogflowV2beta1QueryParameters
constructor
A new instance of GoogleCloudDialogflowV2beta1QueryParameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1QueryParameters
Returns a new instance of GoogleCloudDialogflowV2beta1QueryParameters.
18302 18303 18304 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18302 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contexts ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context>
Corresponds to the JSON property contexts
18249 18250 18251 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18249 def contexts @contexts end |
#geo_location ⇒ Google::Apis::DialogflowV2beta1::GoogleTypeLatLng
Corresponds to the JSON property geoLocation
18254 18255 18256 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18254 def geo_location @geo_location end |
#knowledge_base_names ⇒ Array<String>
Corresponds to the JSON property knowledgeBaseNames
18259 18260 18261 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18259 def knowledge_base_names @knowledge_base_names end |
#payload ⇒ Hash<String,Object>
Corresponds to the JSON property payload
18264 18265 18266 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18264 def payload @payload end |
#platform ⇒ String
Corresponds to the JSON property platform
18269 18270 18271 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18269 def platform @platform end |
#reset_contexts ⇒ Boolean Also known as: reset_contexts?
Corresponds to the JSON property resetContexts
18274 18275 18276 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18274 def reset_contexts @reset_contexts end |
#sentiment_analysis_request_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig
Corresponds to the JSON property sentimentAnalysisRequestConfig
18280 18281 18282 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18280 def sentiment_analysis_request_config @sentiment_analysis_request_config end |
#session_entity_types ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType>
Corresponds to the JSON property sessionEntityTypes
18285 18286 18287 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18285 def session_entity_types @session_entity_types end |
#sub_agents ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SubAgent>
Corresponds to the JSON property subAgents
18290 18291 18292 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18290 def sub_agents @sub_agents end |
#time_zone ⇒ String
Corresponds to the JSON property timeZone
18295 18296 18297 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18295 def time_zone @time_zone end |
#webhook_headers ⇒ Hash<String,String>
Corresponds to the JSON property webhookHeaders
18300 18301 18302 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18300 def webhook_headers @webhook_headers end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18307 def update!(**args) @contexts = args[:contexts] if args.key?(:contexts) @geo_location = args[:geo_location] if args.key?(:geo_location) @knowledge_base_names = args[:knowledge_base_names] if args.key?(:knowledge_base_names) @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) @sub_agents = args[:sub_agents] if args.key?(:sub_agents) @time_zone = args[:time_zone] if args.key?(:time_zone) @webhook_headers = args[:webhook_headers] if args.key?(:webhook_headers) end |