google-api-client 0.17.1 → 0.17.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -0
  3. data/generated/google/apis/admin_directory_v1.rb +1 -1
  4. data/generated/google/apis/admin_directory_v1/classes.rb +26 -0
  5. data/generated/google/apis/admin_directory_v1/representations.rb +14 -0
  6. data/generated/google/apis/admin_directory_v1/service.rb +90 -52
  7. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  8. data/generated/google/apis/androidenterprise_v1/classes.rb +150 -3
  9. data/generated/google/apis/androidenterprise_v1/representations.rb +65 -0
  10. data/generated/google/apis/androidenterprise_v1/service.rb +50 -4
  11. data/generated/google/apis/appengine_v1.rb +1 -1
  12. data/generated/google/apis/appengine_v1/classes.rb +45 -0
  13. data/generated/google/apis/appengine_v1/representations.rb +18 -0
  14. data/generated/google/apis/appengine_v1beta.rb +1 -1
  15. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  16. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  17. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  18. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
  19. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  20. data/generated/google/apis/cloudbuild_v1/classes.rb +17 -0
  21. data/generated/google/apis/cloudbuild_v1/representations.rb +2 -0
  22. data/generated/google/apis/cloudiot_v1.rb +1 -1
  23. data/generated/google/apis/cloudiot_v1/classes.rb +5 -1
  24. data/generated/google/apis/cloudkms_v1.rb +1 -1
  25. data/generated/google/apis/cloudkms_v1/classes.rb +2 -1
  26. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  27. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +57 -61
  28. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
  29. data/generated/google/apis/cloudtasks_v2beta2/service.rb +20 -19
  30. data/generated/google/apis/compute_alpha.rb +1 -1
  31. data/generated/google/apis/compute_beta.rb +1 -1
  32. data/generated/google/apis/compute_v1.rb +1 -1
  33. data/generated/google/apis/container_v1.rb +1 -1
  34. data/generated/google/apis/container_v1/classes.rb +4 -6
  35. data/generated/google/apis/container_v1beta1.rb +1 -1
  36. data/generated/google/apis/container_v1beta1/classes.rb +4 -6
  37. data/generated/google/apis/customsearch_v1.rb +1 -1
  38. data/generated/google/apis/customsearch_v1/service.rb +140 -0
  39. data/generated/google/apis/dialogflow_v2beta1.rb +35 -0
  40. data/generated/google/apis/dialogflow_v2beta1/classes.rb +2536 -0
  41. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1078 -0
  42. data/generated/google/apis/dialogflow_v2beta1/service.rb +1398 -0
  43. data/generated/google/apis/dlp_v2beta1.rb +1 -1
  44. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  45. data/generated/google/apis/genomics_v1alpha2/classes.rb +7 -5
  46. data/generated/google/apis/logging_v2.rb +1 -1
  47. data/generated/google/apis/logging_v2/classes.rb +4 -4
  48. data/generated/google/apis/logging_v2beta1.rb +1 -1
  49. data/generated/google/apis/logging_v2beta1/classes.rb +4 -4
  50. data/generated/google/apis/monitoring_v3.rb +1 -1
  51. data/generated/google/apis/monitoring_v3/classes.rb +55 -46
  52. data/generated/google/apis/monitoring_v3/representations.rb +19 -0
  53. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  54. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +16 -60
  55. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +1 -0
  56. data/generated/google/apis/script_v1.rb +1 -1
  57. data/generated/google/apis/script_v1/classes.rb +19 -21
  58. data/generated/google/apis/serviceconsumermanagement_v1.rb +38 -0
  59. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3945 -0
  60. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1235 -0
  61. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +467 -0
  62. data/generated/google/apis/slides_v1.rb +1 -1
  63. data/generated/google/apis/slides_v1/classes.rb +16 -0
  64. data/generated/google/apis/slides_v1/representations.rb +2 -0
  65. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  66. data/generated/google/apis/sourcerepo_v1/classes.rb +3 -2
  67. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  68. data/generated/google/apis/storagetransfer_v1/classes.rb +4 -4
  69. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  70. data/generated/google/apis/toolresults_v1beta3/classes.rb +21 -21
  71. data/generated/google/apis/tpu_v1alpha1.rb +34 -0
  72. data/generated/google/apis/tpu_v1alpha1/classes.rb +530 -0
  73. data/generated/google/apis/tpu_v1alpha1/representations.rb +191 -0
  74. data/generated/google/apis/tpu_v1alpha1/service.rb +474 -0
  75. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  76. data/lib/google/apis/version.rb +1 -1
  77. metadata +14 -2
@@ -0,0 +1,1078 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module DialogflowV2beta1
24
+
25
+ class Agent
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class BatchCreateEntitiesRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class BatchDeleteEntitiesRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class BatchDeleteEntityTypesRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class BatchDeleteIntentsRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class BatchUpdateEntitiesRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class BatchUpdateEntityTypesRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class BatchUpdateEntityTypesResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class BatchUpdateIntentsRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class BatchUpdateIntentsResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class Context
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DetectIntentRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DetectIntentResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Empty
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class EntityType
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class EntityTypeBatch
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class EntityTypeEntity
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class EventInput
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ExportAgentRequest
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ExportAgentResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ImportAgentRequest
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class InputAudioConfig
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Intent
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class IntentBatch
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class IntentFollowupIntentInfo
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class IntentMessage
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class IntentMessageBasicCard
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class IntentMessageBasicCardButton
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class IntentMessageBasicCardButtonOpenUriAction
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class IntentMessageCard
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class IntentMessageCardButton
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class IntentMessageCarouselSelect
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class IntentMessageCarouselSelectItem
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class IntentMessageImage
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class IntentMessageLinkOutSuggestion
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class IntentMessageListSelect
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class IntentMessageListSelectItem
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class IntentMessageQuickReplies
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class IntentMessageSelectItemInfo
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class IntentMessageSimpleResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class IntentMessageSimpleResponses
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class IntentMessageSuggestion
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class IntentMessageSuggestions
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class IntentMessageText
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class IntentParameter
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class IntentTrainingPhrase
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class IntentTrainingPhrasePart
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class LatLng
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class ListContextsResponse
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class ListEntityTypesResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class ListIntentsResponse
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class ListSessionEntityTypesResponse
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class Operation
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class OriginalDetectIntentRequest
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class QueryInput
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class QueryParameters
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class QueryResult
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class RestoreAgentRequest
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class SearchAgentsResponse
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class SessionEntityType
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class Status
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class TextInput
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class TrainAgentRequest
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class WebhookRequest
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class WebhookResponse
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class Agent
416
+ # @private
417
+ class Representation < Google::Apis::Core::JsonRepresentation
418
+ property :avatar_uri, as: 'avatarUri'
419
+ property :classification_threshold, as: 'classificationThreshold'
420
+ property :default_language_code, as: 'defaultLanguageCode'
421
+ property :description, as: 'description'
422
+ property :display_name, as: 'displayName'
423
+ property :enable_logging, as: 'enableLogging'
424
+ property :match_mode, as: 'matchMode'
425
+ property :parent, as: 'parent'
426
+ collection :supported_language_codes, as: 'supportedLanguageCodes'
427
+ property :time_zone, as: 'timeZone'
428
+ end
429
+ end
430
+
431
+ class BatchCreateEntitiesRequest
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ collection :entities, as: 'entities', class: Google::Apis::DialogflowV2beta1::EntityTypeEntity, decorator: Google::Apis::DialogflowV2beta1::EntityTypeEntity::Representation
435
+
436
+ property :language_code, as: 'languageCode'
437
+ end
438
+ end
439
+
440
+ class BatchDeleteEntitiesRequest
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ collection :entity_values, as: 'entityValues'
444
+ property :language_code, as: 'languageCode'
445
+ end
446
+ end
447
+
448
+ class BatchDeleteEntityTypesRequest
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ collection :entity_type_names, as: 'entityTypeNames'
452
+ end
453
+ end
454
+
455
+ class BatchDeleteIntentsRequest
456
+ # @private
457
+ class Representation < Google::Apis::Core::JsonRepresentation
458
+ collection :intents, as: 'intents', class: Google::Apis::DialogflowV2beta1::Intent, decorator: Google::Apis::DialogflowV2beta1::Intent::Representation
459
+
460
+ end
461
+ end
462
+
463
+ class BatchUpdateEntitiesRequest
464
+ # @private
465
+ class Representation < Google::Apis::Core::JsonRepresentation
466
+ collection :entities, as: 'entities', class: Google::Apis::DialogflowV2beta1::EntityTypeEntity, decorator: Google::Apis::DialogflowV2beta1::EntityTypeEntity::Representation
467
+
468
+ property :language_code, as: 'languageCode'
469
+ property :update_mask, as: 'updateMask'
470
+ end
471
+ end
472
+
473
+ class BatchUpdateEntityTypesRequest
474
+ # @private
475
+ class Representation < Google::Apis::Core::JsonRepresentation
476
+ property :entity_type_batch_inline, as: 'entityTypeBatchInline', class: Google::Apis::DialogflowV2beta1::EntityTypeBatch, decorator: Google::Apis::DialogflowV2beta1::EntityTypeBatch::Representation
477
+
478
+ property :entity_type_batch_uri, as: 'entityTypeBatchUri'
479
+ property :language_code, as: 'languageCode'
480
+ property :update_mask, as: 'updateMask'
481
+ end
482
+ end
483
+
484
+ class BatchUpdateEntityTypesResponse
485
+ # @private
486
+ class Representation < Google::Apis::Core::JsonRepresentation
487
+ collection :entity_types, as: 'entityTypes', class: Google::Apis::DialogflowV2beta1::EntityType, decorator: Google::Apis::DialogflowV2beta1::EntityType::Representation
488
+
489
+ end
490
+ end
491
+
492
+ class BatchUpdateIntentsRequest
493
+ # @private
494
+ class Representation < Google::Apis::Core::JsonRepresentation
495
+ property :intent_batch_inline, as: 'intentBatchInline', class: Google::Apis::DialogflowV2beta1::IntentBatch, decorator: Google::Apis::DialogflowV2beta1::IntentBatch::Representation
496
+
497
+ property :intent_batch_uri, as: 'intentBatchUri'
498
+ property :intent_view, as: 'intentView'
499
+ property :language_code, as: 'languageCode'
500
+ property :update_mask, as: 'updateMask'
501
+ end
502
+ end
503
+
504
+ class BatchUpdateIntentsResponse
505
+ # @private
506
+ class Representation < Google::Apis::Core::JsonRepresentation
507
+ collection :intents, as: 'intents', class: Google::Apis::DialogflowV2beta1::Intent, decorator: Google::Apis::DialogflowV2beta1::Intent::Representation
508
+
509
+ end
510
+ end
511
+
512
+ class Context
513
+ # @private
514
+ class Representation < Google::Apis::Core::JsonRepresentation
515
+ property :lifespan_count, as: 'lifespanCount'
516
+ property :name, as: 'name'
517
+ hash :parameters, as: 'parameters'
518
+ end
519
+ end
520
+
521
+ class DetectIntentRequest
522
+ # @private
523
+ class Representation < Google::Apis::Core::JsonRepresentation
524
+ property :input_audio, :base64 => true, as: 'inputAudio'
525
+ property :query_input, as: 'queryInput', class: Google::Apis::DialogflowV2beta1::QueryInput, decorator: Google::Apis::DialogflowV2beta1::QueryInput::Representation
526
+
527
+ property :query_params, as: 'queryParams', class: Google::Apis::DialogflowV2beta1::QueryParameters, decorator: Google::Apis::DialogflowV2beta1::QueryParameters::Representation
528
+
529
+ end
530
+ end
531
+
532
+ class DetectIntentResponse
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV2beta1::QueryResult, decorator: Google::Apis::DialogflowV2beta1::QueryResult::Representation
536
+
537
+ property :response_id, as: 'responseId'
538
+ property :webhook_status, as: 'webhookStatus', class: Google::Apis::DialogflowV2beta1::Status, decorator: Google::Apis::DialogflowV2beta1::Status::Representation
539
+
540
+ end
541
+ end
542
+
543
+ class Empty
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ end
547
+ end
548
+
549
+ class EntityType
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ property :auto_expansion_mode, as: 'autoExpansionMode'
553
+ property :display_name, as: 'displayName'
554
+ collection :entities, as: 'entities', class: Google::Apis::DialogflowV2beta1::EntityTypeEntity, decorator: Google::Apis::DialogflowV2beta1::EntityTypeEntity::Representation
555
+
556
+ property :kind, as: 'kind'
557
+ property :name, as: 'name'
558
+ end
559
+ end
560
+
561
+ class EntityTypeBatch
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ collection :entity_types, as: 'entityTypes', class: Google::Apis::DialogflowV2beta1::EntityType, decorator: Google::Apis::DialogflowV2beta1::EntityType::Representation
565
+
566
+ end
567
+ end
568
+
569
+ class EntityTypeEntity
570
+ # @private
571
+ class Representation < Google::Apis::Core::JsonRepresentation
572
+ collection :synonyms, as: 'synonyms'
573
+ property :value, as: 'value'
574
+ end
575
+ end
576
+
577
+ class EventInput
578
+ # @private
579
+ class Representation < Google::Apis::Core::JsonRepresentation
580
+ property :language_code, as: 'languageCode'
581
+ property :name, as: 'name'
582
+ hash :parameters, as: 'parameters'
583
+ end
584
+ end
585
+
586
+ class ExportAgentRequest
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ property :agent_uri, as: 'agentUri'
590
+ end
591
+ end
592
+
593
+ class ExportAgentResponse
594
+ # @private
595
+ class Representation < Google::Apis::Core::JsonRepresentation
596
+ property :agent_content, :base64 => true, as: 'agentContent'
597
+ property :agent_uri, as: 'agentUri'
598
+ end
599
+ end
600
+
601
+ class ImportAgentRequest
602
+ # @private
603
+ class Representation < Google::Apis::Core::JsonRepresentation
604
+ property :agent_content, :base64 => true, as: 'agentContent'
605
+ property :agent_uri, as: 'agentUri'
606
+ end
607
+ end
608
+
609
+ class InputAudioConfig
610
+ # @private
611
+ class Representation < Google::Apis::Core::JsonRepresentation
612
+ property :audio_encoding, as: 'audioEncoding'
613
+ property :language_code, as: 'languageCode'
614
+ collection :phrase_hints, as: 'phraseHints'
615
+ property :sample_rate_hertz, as: 'sampleRateHertz'
616
+ end
617
+ end
618
+
619
+ class Intent
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :action, as: 'action'
623
+ collection :default_response_platforms, as: 'defaultResponsePlatforms'
624
+ property :display_name, as: 'displayName'
625
+ collection :events, as: 'events'
626
+ collection :followup_intent_info, as: 'followupIntentInfo', class: Google::Apis::DialogflowV2beta1::IntentFollowupIntentInfo, decorator: Google::Apis::DialogflowV2beta1::IntentFollowupIntentInfo::Representation
627
+
628
+ collection :input_context_names, as: 'inputContextNames'
629
+ property :is_fallback, as: 'isFallback'
630
+ collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::IntentMessage, decorator: Google::Apis::DialogflowV2beta1::IntentMessage::Representation
631
+
632
+ property :ml_enabled, as: 'mlEnabled'
633
+ property :name, as: 'name'
634
+ collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2beta1::Context, decorator: Google::Apis::DialogflowV2beta1::Context::Representation
635
+
636
+ collection :parameters, as: 'parameters', class: Google::Apis::DialogflowV2beta1::IntentParameter, decorator: Google::Apis::DialogflowV2beta1::IntentParameter::Representation
637
+
638
+ property :parent_followup_intent_name, as: 'parentFollowupIntentName'
639
+ property :priority, as: 'priority'
640
+ property :reset_contexts, as: 'resetContexts'
641
+ property :root_followup_intent_name, as: 'rootFollowupIntentName'
642
+ collection :training_phrases, as: 'trainingPhrases', class: Google::Apis::DialogflowV2beta1::IntentTrainingPhrase, decorator: Google::Apis::DialogflowV2beta1::IntentTrainingPhrase::Representation
643
+
644
+ property :webhook_state, as: 'webhookState'
645
+ end
646
+ end
647
+
648
+ class IntentBatch
649
+ # @private
650
+ class Representation < Google::Apis::Core::JsonRepresentation
651
+ collection :intents, as: 'intents', class: Google::Apis::DialogflowV2beta1::Intent, decorator: Google::Apis::DialogflowV2beta1::Intent::Representation
652
+
653
+ end
654
+ end
655
+
656
+ class IntentFollowupIntentInfo
657
+ # @private
658
+ class Representation < Google::Apis::Core::JsonRepresentation
659
+ property :followup_intent_name, as: 'followupIntentName'
660
+ property :parent_followup_intent_name, as: 'parentFollowupIntentName'
661
+ end
662
+ end
663
+
664
+ class IntentMessage
665
+ # @private
666
+ class Representation < Google::Apis::Core::JsonRepresentation
667
+ property :basic_card, as: 'basicCard', class: Google::Apis::DialogflowV2beta1::IntentMessageBasicCard, decorator: Google::Apis::DialogflowV2beta1::IntentMessageBasicCard::Representation
668
+
669
+ property :card, as: 'card', class: Google::Apis::DialogflowV2beta1::IntentMessageCard, decorator: Google::Apis::DialogflowV2beta1::IntentMessageCard::Representation
670
+
671
+ property :carousel_select, as: 'carouselSelect', class: Google::Apis::DialogflowV2beta1::IntentMessageCarouselSelect, decorator: Google::Apis::DialogflowV2beta1::IntentMessageCarouselSelect::Representation
672
+
673
+ property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::IntentMessageImage::Representation
674
+
675
+ property :link_out_suggestion, as: 'linkOutSuggestion', class: Google::Apis::DialogflowV2beta1::IntentMessageLinkOutSuggestion, decorator: Google::Apis::DialogflowV2beta1::IntentMessageLinkOutSuggestion::Representation
676
+
677
+ property :list_select, as: 'listSelect', class: Google::Apis::DialogflowV2beta1::IntentMessageListSelect, decorator: Google::Apis::DialogflowV2beta1::IntentMessageListSelect::Representation
678
+
679
+ hash :payload, as: 'payload'
680
+ property :platform, as: 'platform'
681
+ property :quick_replies, as: 'quickReplies', class: Google::Apis::DialogflowV2beta1::IntentMessageQuickReplies, decorator: Google::Apis::DialogflowV2beta1::IntentMessageQuickReplies::Representation
682
+
683
+ property :simple_responses, as: 'simpleResponses', class: Google::Apis::DialogflowV2beta1::IntentMessageSimpleResponses, decorator: Google::Apis::DialogflowV2beta1::IntentMessageSimpleResponses::Representation
684
+
685
+ property :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::IntentMessageSuggestions, decorator: Google::Apis::DialogflowV2beta1::IntentMessageSuggestions::Representation
686
+
687
+ property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::IntentMessageText, decorator: Google::Apis::DialogflowV2beta1::IntentMessageText::Representation
688
+
689
+ end
690
+ end
691
+
692
+ class IntentMessageBasicCard
693
+ # @private
694
+ class Representation < Google::Apis::Core::JsonRepresentation
695
+ collection :buttons, as: 'buttons', class: Google::Apis::DialogflowV2beta1::IntentMessageBasicCardButton, decorator: Google::Apis::DialogflowV2beta1::IntentMessageBasicCardButton::Representation
696
+
697
+ property :formatted_text, as: 'formattedText'
698
+ property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::IntentMessageImage::Representation
699
+
700
+ property :subtitle, as: 'subtitle'
701
+ property :title, as: 'title'
702
+ end
703
+ end
704
+
705
+ class IntentMessageBasicCardButton
706
+ # @private
707
+ class Representation < Google::Apis::Core::JsonRepresentation
708
+ property :open_uri_action, as: 'openUriAction', class: Google::Apis::DialogflowV2beta1::IntentMessageBasicCardButtonOpenUriAction, decorator: Google::Apis::DialogflowV2beta1::IntentMessageBasicCardButtonOpenUriAction::Representation
709
+
710
+ property :title, as: 'title'
711
+ end
712
+ end
713
+
714
+ class IntentMessageBasicCardButtonOpenUriAction
715
+ # @private
716
+ class Representation < Google::Apis::Core::JsonRepresentation
717
+ property :uri, as: 'uri'
718
+ end
719
+ end
720
+
721
+ class IntentMessageCard
722
+ # @private
723
+ class Representation < Google::Apis::Core::JsonRepresentation
724
+ collection :buttons, as: 'buttons', class: Google::Apis::DialogflowV2beta1::IntentMessageCardButton, decorator: Google::Apis::DialogflowV2beta1::IntentMessageCardButton::Representation
725
+
726
+ property :image_uri, as: 'imageUri'
727
+ property :subtitle, as: 'subtitle'
728
+ property :title, as: 'title'
729
+ end
730
+ end
731
+
732
+ class IntentMessageCardButton
733
+ # @private
734
+ class Representation < Google::Apis::Core::JsonRepresentation
735
+ property :postback, as: 'postback'
736
+ property :text, as: 'text'
737
+ end
738
+ end
739
+
740
+ class IntentMessageCarouselSelect
741
+ # @private
742
+ class Representation < Google::Apis::Core::JsonRepresentation
743
+ collection :items, as: 'items', class: Google::Apis::DialogflowV2beta1::IntentMessageCarouselSelectItem, decorator: Google::Apis::DialogflowV2beta1::IntentMessageCarouselSelectItem::Representation
744
+
745
+ end
746
+ end
747
+
748
+ class IntentMessageCarouselSelectItem
749
+ # @private
750
+ class Representation < Google::Apis::Core::JsonRepresentation
751
+ property :description, as: 'description'
752
+ property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::IntentMessageImage::Representation
753
+
754
+ property :info, as: 'info', class: Google::Apis::DialogflowV2beta1::IntentMessageSelectItemInfo, decorator: Google::Apis::DialogflowV2beta1::IntentMessageSelectItemInfo::Representation
755
+
756
+ property :title, as: 'title'
757
+ end
758
+ end
759
+
760
+ class IntentMessageImage
761
+ # @private
762
+ class Representation < Google::Apis::Core::JsonRepresentation
763
+ property :image_uri, as: 'imageUri'
764
+ end
765
+ end
766
+
767
+ class IntentMessageLinkOutSuggestion
768
+ # @private
769
+ class Representation < Google::Apis::Core::JsonRepresentation
770
+ property :destination_name, as: 'destinationName'
771
+ property :uri, as: 'uri'
772
+ end
773
+ end
774
+
775
+ class IntentMessageListSelect
776
+ # @private
777
+ class Representation < Google::Apis::Core::JsonRepresentation
778
+ collection :items, as: 'items', class: Google::Apis::DialogflowV2beta1::IntentMessageListSelectItem, decorator: Google::Apis::DialogflowV2beta1::IntentMessageListSelectItem::Representation
779
+
780
+ property :title, as: 'title'
781
+ end
782
+ end
783
+
784
+ class IntentMessageListSelectItem
785
+ # @private
786
+ class Representation < Google::Apis::Core::JsonRepresentation
787
+ property :description, as: 'description'
788
+ property :image, as: 'image', class: Google::Apis::DialogflowV2beta1::IntentMessageImage, decorator: Google::Apis::DialogflowV2beta1::IntentMessageImage::Representation
789
+
790
+ property :info, as: 'info', class: Google::Apis::DialogflowV2beta1::IntentMessageSelectItemInfo, decorator: Google::Apis::DialogflowV2beta1::IntentMessageSelectItemInfo::Representation
791
+
792
+ property :title, as: 'title'
793
+ end
794
+ end
795
+
796
+ class IntentMessageQuickReplies
797
+ # @private
798
+ class Representation < Google::Apis::Core::JsonRepresentation
799
+ collection :quick_replies, as: 'quickReplies'
800
+ property :title, as: 'title'
801
+ end
802
+ end
803
+
804
+ class IntentMessageSelectItemInfo
805
+ # @private
806
+ class Representation < Google::Apis::Core::JsonRepresentation
807
+ property :key, as: 'key'
808
+ collection :synonyms, as: 'synonyms'
809
+ end
810
+ end
811
+
812
+ class IntentMessageSimpleResponse
813
+ # @private
814
+ class Representation < Google::Apis::Core::JsonRepresentation
815
+ property :display_text, as: 'displayText'
816
+ property :ssml, as: 'ssml'
817
+ property :text_to_speech, as: 'textToSpeech'
818
+ end
819
+ end
820
+
821
+ class IntentMessageSimpleResponses
822
+ # @private
823
+ class Representation < Google::Apis::Core::JsonRepresentation
824
+ collection :simple_responses, as: 'simpleResponses', class: Google::Apis::DialogflowV2beta1::IntentMessageSimpleResponse, decorator: Google::Apis::DialogflowV2beta1::IntentMessageSimpleResponse::Representation
825
+
826
+ end
827
+ end
828
+
829
+ class IntentMessageSuggestion
830
+ # @private
831
+ class Representation < Google::Apis::Core::JsonRepresentation
832
+ property :title, as: 'title'
833
+ end
834
+ end
835
+
836
+ class IntentMessageSuggestions
837
+ # @private
838
+ class Representation < Google::Apis::Core::JsonRepresentation
839
+ collection :suggestions, as: 'suggestions', class: Google::Apis::DialogflowV2beta1::IntentMessageSuggestion, decorator: Google::Apis::DialogflowV2beta1::IntentMessageSuggestion::Representation
840
+
841
+ end
842
+ end
843
+
844
+ class IntentMessageText
845
+ # @private
846
+ class Representation < Google::Apis::Core::JsonRepresentation
847
+ collection :text, as: 'text'
848
+ end
849
+ end
850
+
851
+ class IntentParameter
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :default_value, as: 'defaultValue'
855
+ property :display_name, as: 'displayName'
856
+ property :entity_type_display_name, as: 'entityTypeDisplayName'
857
+ property :is_list, as: 'isList'
858
+ property :mandatory, as: 'mandatory'
859
+ property :name, as: 'name'
860
+ collection :prompts, as: 'prompts'
861
+ property :value, as: 'value'
862
+ end
863
+ end
864
+
865
+ class IntentTrainingPhrase
866
+ # @private
867
+ class Representation < Google::Apis::Core::JsonRepresentation
868
+ property :name, as: 'name'
869
+ collection :parts, as: 'parts', class: Google::Apis::DialogflowV2beta1::IntentTrainingPhrasePart, decorator: Google::Apis::DialogflowV2beta1::IntentTrainingPhrasePart::Representation
870
+
871
+ property :times_added_count, as: 'timesAddedCount'
872
+ property :type, as: 'type'
873
+ end
874
+ end
875
+
876
+ class IntentTrainingPhrasePart
877
+ # @private
878
+ class Representation < Google::Apis::Core::JsonRepresentation
879
+ property :alias, as: 'alias'
880
+ property :entity_type, as: 'entityType'
881
+ property :text, as: 'text'
882
+ property :user_defined, as: 'userDefined'
883
+ end
884
+ end
885
+
886
+ class LatLng
887
+ # @private
888
+ class Representation < Google::Apis::Core::JsonRepresentation
889
+ property :latitude, as: 'latitude'
890
+ property :longitude, as: 'longitude'
891
+ end
892
+ end
893
+
894
+ class ListContextsResponse
895
+ # @private
896
+ class Representation < Google::Apis::Core::JsonRepresentation
897
+ collection :contexts, as: 'contexts', class: Google::Apis::DialogflowV2beta1::Context, decorator: Google::Apis::DialogflowV2beta1::Context::Representation
898
+
899
+ property :next_page_token, as: 'nextPageToken'
900
+ end
901
+ end
902
+
903
+ class ListEntityTypesResponse
904
+ # @private
905
+ class Representation < Google::Apis::Core::JsonRepresentation
906
+ collection :entity_types, as: 'entityTypes', class: Google::Apis::DialogflowV2beta1::EntityType, decorator: Google::Apis::DialogflowV2beta1::EntityType::Representation
907
+
908
+ property :next_page_token, as: 'nextPageToken'
909
+ end
910
+ end
911
+
912
+ class ListIntentsResponse
913
+ # @private
914
+ class Representation < Google::Apis::Core::JsonRepresentation
915
+ collection :intents, as: 'intents', class: Google::Apis::DialogflowV2beta1::Intent, decorator: Google::Apis::DialogflowV2beta1::Intent::Representation
916
+
917
+ property :next_page_token, as: 'nextPageToken'
918
+ end
919
+ end
920
+
921
+ class ListSessionEntityTypesResponse
922
+ # @private
923
+ class Representation < Google::Apis::Core::JsonRepresentation
924
+ property :next_page_token, as: 'nextPageToken'
925
+ collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV2beta1::SessionEntityType, decorator: Google::Apis::DialogflowV2beta1::SessionEntityType::Representation
926
+
927
+ end
928
+ end
929
+
930
+ class Operation
931
+ # @private
932
+ class Representation < Google::Apis::Core::JsonRepresentation
933
+ property :done, as: 'done'
934
+ property :error, as: 'error', class: Google::Apis::DialogflowV2beta1::Status, decorator: Google::Apis::DialogflowV2beta1::Status::Representation
935
+
936
+ hash :metadata, as: 'metadata'
937
+ property :name, as: 'name'
938
+ hash :response, as: 'response'
939
+ end
940
+ end
941
+
942
+ class OriginalDetectIntentRequest
943
+ # @private
944
+ class Representation < Google::Apis::Core::JsonRepresentation
945
+ hash :payload, as: 'payload'
946
+ property :source, as: 'source'
947
+ end
948
+ end
949
+
950
+ class QueryInput
951
+ # @private
952
+ class Representation < Google::Apis::Core::JsonRepresentation
953
+ property :audio_config, as: 'audioConfig', class: Google::Apis::DialogflowV2beta1::InputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::InputAudioConfig::Representation
954
+
955
+ property :event, as: 'event', class: Google::Apis::DialogflowV2beta1::EventInput, decorator: Google::Apis::DialogflowV2beta1::EventInput::Representation
956
+
957
+ property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::TextInput, decorator: Google::Apis::DialogflowV2beta1::TextInput::Representation
958
+
959
+ end
960
+ end
961
+
962
+ class QueryParameters
963
+ # @private
964
+ class Representation < Google::Apis::Core::JsonRepresentation
965
+ collection :contexts, as: 'contexts', class: Google::Apis::DialogflowV2beta1::Context, decorator: Google::Apis::DialogflowV2beta1::Context::Representation
966
+
967
+ property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV2beta1::LatLng, decorator: Google::Apis::DialogflowV2beta1::LatLng::Representation
968
+
969
+ hash :payload, as: 'payload'
970
+ property :reset_contexts, as: 'resetContexts'
971
+ collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV2beta1::SessionEntityType, decorator: Google::Apis::DialogflowV2beta1::SessionEntityType::Representation
972
+
973
+ property :time_zone, as: 'timeZone'
974
+ end
975
+ end
976
+
977
+ class QueryResult
978
+ # @private
979
+ class Representation < Google::Apis::Core::JsonRepresentation
980
+ property :action, as: 'action'
981
+ property :all_required_params_present, as: 'allRequiredParamsPresent'
982
+ hash :diagnostic_info, as: 'diagnosticInfo'
983
+ collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV2beta1::IntentMessage, decorator: Google::Apis::DialogflowV2beta1::IntentMessage::Representation
984
+
985
+ property :fulfillment_text, as: 'fulfillmentText'
986
+ property :intent, as: 'intent', class: Google::Apis::DialogflowV2beta1::Intent, decorator: Google::Apis::DialogflowV2beta1::Intent::Representation
987
+
988
+ property :intent_detection_confidence, as: 'intentDetectionConfidence'
989
+ property :language_code, as: 'languageCode'
990
+ collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2beta1::Context, decorator: Google::Apis::DialogflowV2beta1::Context::Representation
991
+
992
+ hash :parameters, as: 'parameters'
993
+ property :query_text, as: 'queryText'
994
+ property :speech_recognition_confidence, as: 'speechRecognitionConfidence'
995
+ hash :webhook_payload, as: 'webhookPayload'
996
+ property :webhook_source, as: 'webhookSource'
997
+ end
998
+ end
999
+
1000
+ class RestoreAgentRequest
1001
+ # @private
1002
+ class Representation < Google::Apis::Core::JsonRepresentation
1003
+ property :agent_content, :base64 => true, as: 'agentContent'
1004
+ property :agent_uri, as: 'agentUri'
1005
+ end
1006
+ end
1007
+
1008
+ class SearchAgentsResponse
1009
+ # @private
1010
+ class Representation < Google::Apis::Core::JsonRepresentation
1011
+ collection :agents, as: 'agents', class: Google::Apis::DialogflowV2beta1::Agent, decorator: Google::Apis::DialogflowV2beta1::Agent::Representation
1012
+
1013
+ property :next_page_token, as: 'nextPageToken'
1014
+ end
1015
+ end
1016
+
1017
+ class SessionEntityType
1018
+ # @private
1019
+ class Representation < Google::Apis::Core::JsonRepresentation
1020
+ collection :entities, as: 'entities', class: Google::Apis::DialogflowV2beta1::EntityTypeEntity, decorator: Google::Apis::DialogflowV2beta1::EntityTypeEntity::Representation
1021
+
1022
+ property :entity_override_mode, as: 'entityOverrideMode'
1023
+ property :name, as: 'name'
1024
+ end
1025
+ end
1026
+
1027
+ class Status
1028
+ # @private
1029
+ class Representation < Google::Apis::Core::JsonRepresentation
1030
+ property :code, as: 'code'
1031
+ collection :details, as: 'details'
1032
+ property :message, as: 'message'
1033
+ end
1034
+ end
1035
+
1036
+ class TextInput
1037
+ # @private
1038
+ class Representation < Google::Apis::Core::JsonRepresentation
1039
+ property :language_code, as: 'languageCode'
1040
+ property :text, as: 'text'
1041
+ end
1042
+ end
1043
+
1044
+ class TrainAgentRequest
1045
+ # @private
1046
+ class Representation < Google::Apis::Core::JsonRepresentation
1047
+ end
1048
+ end
1049
+
1050
+ class WebhookRequest
1051
+ # @private
1052
+ class Representation < Google::Apis::Core::JsonRepresentation
1053
+ property :original_detect_intent_request, as: 'originalDetectIntentRequest', class: Google::Apis::DialogflowV2beta1::OriginalDetectIntentRequest, decorator: Google::Apis::DialogflowV2beta1::OriginalDetectIntentRequest::Representation
1054
+
1055
+ property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV2beta1::QueryResult, decorator: Google::Apis::DialogflowV2beta1::QueryResult::Representation
1056
+
1057
+ property :response_id, as: 'responseId'
1058
+ property :session, as: 'session'
1059
+ end
1060
+ end
1061
+
1062
+ class WebhookResponse
1063
+ # @private
1064
+ class Representation < Google::Apis::Core::JsonRepresentation
1065
+ property :followup_event_input, as: 'followupEventInput', class: Google::Apis::DialogflowV2beta1::EventInput, decorator: Google::Apis::DialogflowV2beta1::EventInput::Representation
1066
+
1067
+ collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV2beta1::IntentMessage, decorator: Google::Apis::DialogflowV2beta1::IntentMessage::Representation
1068
+
1069
+ property :fulfillment_text, as: 'fulfillmentText'
1070
+ collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV2beta1::Context, decorator: Google::Apis::DialogflowV2beta1::Context::Representation
1071
+
1072
+ hash :payload, as: 'payload'
1073
+ property :source, as: 'source'
1074
+ end
1075
+ end
1076
+ end
1077
+ end
1078
+ end