google-api-client 0.31.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (295) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/continuous/linux.cfg +11 -1
  3. data/.kokoro/continuous/osx.cfg +5 -0
  4. data/.kokoro/continuous/windows.cfg +10 -0
  5. data/.kokoro/presubmit/linux.cfg +11 -1
  6. data/.kokoro/presubmit/osx.cfg +5 -0
  7. data/.kokoro/presubmit/windows.cfg +10 -0
  8. data/CHANGELOG.md +107 -0
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
  11. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2.rb +1 -1
  13. data/generated/google/apis/bigquery_v2/classes.rb +241 -0
  14. data/generated/google/apis/bigquery_v2/representations.rb +115 -0
  15. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  16. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
  17. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  18. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
  19. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
  20. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  21. data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
  22. data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
  23. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  24. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
  25. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
  26. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
  27. data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
  28. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
  29. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
  30. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
  31. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  32. data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
  33. data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
  34. data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
  35. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  36. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
  37. data/generated/google/apis/blogger_v3.rb +1 -1
  38. data/generated/google/apis/blogger_v3/service.rb +6 -6
  39. data/generated/google/apis/calendar_v3.rb +1 -1
  40. data/generated/google/apis/calendar_v3/classes.rb +1 -0
  41. data/generated/google/apis/cloudasset_v1.rb +1 -1
  42. data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
  43. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  44. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
  47. data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
  50. data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
  51. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  52. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  53. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
  54. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  55. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  56. data/generated/google/apis/cloudiot_v1.rb +1 -1
  57. data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
  58. data/generated/google/apis/cloudiot_v1/service.rb +18 -17
  59. data/generated/google/apis/cloudkms_v1.rb +1 -1
  60. data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
  61. data/generated/google/apis/cloudkms_v1/service.rb +33 -27
  62. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  63. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
  66. data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
  67. data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
  68. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
  70. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
  73. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  74. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
  75. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  76. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
  77. data/generated/google/apis/compute_alpha.rb +1 -1
  78. data/generated/google/apis/compute_alpha/classes.rb +38 -42
  79. data/generated/google/apis/compute_alpha/representations.rb +5 -16
  80. data/generated/google/apis/compute_beta.rb +1 -1
  81. data/generated/google/apis/compute_beta/classes.rb +10 -5
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1327 -4
  84. data/generated/google/apis/compute_v1/representations.rb +439 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +111 -0
  87. data/generated/google/apis/container_v1/representations.rb +51 -0
  88. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  89. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
  90. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  91. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  92. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
  93. data/generated/google/apis/content_v2.rb +1 -1
  94. data/generated/google/apis/content_v2/service.rb +0 -226
  95. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  96. data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
  97. data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
  98. data/generated/google/apis/dataproc_v1.rb +1 -1
  99. data/generated/google/apis/dataproc_v1/classes.rb +324 -38
  100. data/generated/google/apis/dataproc_v1/representations.rb +97 -0
  101. data/generated/google/apis/dataproc_v1/service.rb +613 -1
  102. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  103. data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
  104. data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
  105. data/generated/google/apis/dialogflow_v2.rb +1 -1
  106. data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
  107. data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
  108. data/generated/google/apis/dialogflow_v2/service.rb +1 -1
  109. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  110. data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
  111. data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
  112. data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
  113. data/generated/google/apis/dlp_v2.rb +1 -1
  114. data/generated/google/apis/dlp_v2/classes.rb +3 -4
  115. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  116. data/generated/google/apis/drive_v2.rb +1 -1
  117. data/generated/google/apis/drive_v2/classes.rb +2 -2
  118. data/generated/google/apis/drive_v3.rb +1 -1
  119. data/generated/google/apis/drive_v3/classes.rb +2 -2
  120. data/generated/google/apis/fcm_v1.rb +1 -1
  121. data/generated/google/apis/fcm_v1/classes.rb +9 -4
  122. data/generated/google/apis/file_v1.rb +1 -1
  123. data/generated/google/apis/file_v1/classes.rb +8 -0
  124. data/generated/google/apis/file_v1/representations.rb +1 -0
  125. data/generated/google/apis/file_v1/service.rb +2 -0
  126. data/generated/google/apis/file_v1beta1.rb +1 -1
  127. data/generated/google/apis/file_v1beta1/classes.rb +8 -0
  128. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  129. data/generated/google/apis/file_v1beta1/service.rb +2 -0
  130. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  131. data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
  132. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
  134. data/generated/google/apis/fitness_v1.rb +19 -19
  135. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  136. data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
  137. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
  138. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
  139. data/generated/google/apis/iam_v1.rb +1 -1
  140. data/generated/google/apis/iam_v1/classes.rb +87 -41
  141. data/generated/google/apis/iap_v1.rb +1 -1
  142. data/generated/google/apis/iap_v1/classes.rb +62 -29
  143. data/generated/google/apis/iap_v1beta1.rb +1 -1
  144. data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +114 -49
  147. data/generated/google/apis/ml_v1/representations.rb +2 -0
  148. data/generated/google/apis/ml_v1/service.rb +12 -6
  149. data/generated/google/apis/monitoring_v3.rb +1 -1
  150. data/generated/google/apis/monitoring_v3/classes.rb +14 -10
  151. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  152. data/generated/google/apis/oslogin_v1.rb +1 -1
  153. data/generated/google/apis/oslogin_v1/classes.rb +12 -0
  154. data/generated/google/apis/oslogin_v1/representations.rb +2 -0
  155. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  156. data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
  157. data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
  158. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  159. data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
  160. data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
  161. data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
  162. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
  163. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
  164. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
  165. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  166. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
  167. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
  168. data/generated/google/apis/recommender_v1beta1.rb +34 -0
  169. data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
  170. data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
  171. data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
  172. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  173. data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
  174. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
  175. data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
  176. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  177. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
  178. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
  179. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  180. data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
  181. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
  182. data/generated/google/apis/run_v1.rb +1 -1
  183. data/generated/google/apis/run_v1/classes.rb +3553 -33
  184. data/generated/google/apis/run_v1/representations.rb +1186 -4
  185. data/generated/google/apis/run_v1/service.rb +2509 -23
  186. data/generated/google/apis/run_v1alpha1.rb +1 -1
  187. data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
  188. data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
  189. data/generated/google/apis/run_v1beta1.rb +35 -0
  190. data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
  191. data/generated/google/apis/run_v1beta1/representations.rb +421 -0
  192. data/generated/google/apis/run_v1beta1/service.rb +172 -0
  193. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  194. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
  195. data/generated/google/apis/safebrowsing_v4.rb +5 -2
  196. data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
  197. data/generated/google/apis/securitycenter_v1.rb +1 -1
  198. data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
  199. data/generated/google/apis/securitycenter_v1/service.rb +13 -12
  200. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  201. data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
  202. data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
  203. data/generated/google/apis/servicebroker_v1.rb +1 -1
  204. data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
  205. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  206. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
  207. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  208. data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
  209. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  210. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
  211. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  212. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  213. data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
  214. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  215. data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
  216. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
  217. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  218. data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
  219. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  220. data/generated/google/apis/serviceusage_v1.rb +1 -1
  221. data/generated/google/apis/serviceusage_v1/classes.rb +11 -2
  222. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  223. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  224. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -2
  225. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  226. data/generated/google/apis/spanner_v1.rb +1 -1
  227. data/generated/google/apis/spanner_v1/classes.rb +78 -2
  228. data/generated/google/apis/spanner_v1/representations.rb +44 -0
  229. data/generated/google/apis/spanner_v1/service.rb +35 -0
  230. data/generated/google/apis/speech_v1.rb +1 -1
  231. data/generated/google/apis/speech_v1/classes.rb +73 -19
  232. data/generated/google/apis/speech_v1/representations.rb +18 -0
  233. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  234. data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
  235. data/generated/google/apis/speech_v2beta.rb +1 -1
  236. data/generated/google/apis/speech_v2beta/classes.rb +6 -6
  237. data/generated/google/apis/speech_v2beta/representations.rb +2 -2
  238. data/generated/google/apis/storage_v1.rb +1 -1
  239. data/generated/google/apis/storage_v1/classes.rb +1 -1
  240. data/generated/google/apis/storage_v1/representations.rb +2 -1
  241. data/generated/google/apis/storage_v1beta1.rb +1 -1
  242. data/generated/google/apis/storage_v1beta2.rb +1 -1
  243. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  244. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  245. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
  246. data/generated/google/apis/testing_v1.rb +1 -1
  247. data/generated/google/apis/testing_v1/classes.rb +42 -0
  248. data/generated/google/apis/testing_v1/representations.rb +18 -0
  249. data/generated/google/apis/texttospeech_v1.rb +1 -1
  250. data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
  251. data/generated/google/apis/texttospeech_v1/service.rb +1 -1
  252. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  253. data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
  254. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  255. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  256. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
  257. data/generated/google/apis/translate_v3beta1.rb +1 -1
  258. data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
  259. data/generated/google/apis/translate_v3beta1/service.rb +31 -31
  260. data/generated/google/apis/videointelligence_v1.rb +1 -1
  261. data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
  262. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  263. data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
  264. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  265. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
  266. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  267. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
  268. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  269. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
  270. data/generated/google/apis/vision_v1.rb +1 -1
  271. data/generated/google/apis/vision_v1/classes.rb +6 -156
  272. data/generated/google/apis/vision_v1/representations.rb +0 -44
  273. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  274. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
  275. data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
  276. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  277. data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
  278. data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
  279. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  280. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  281. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
  282. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  283. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  284. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
  285. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  286. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  287. data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
  288. data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
  289. data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
  290. data/lib/google/apis/version.rb +1 -1
  291. metadata +18 -6
  292. data/generated/google/apis/dfareporting_v3_1.rb +0 -40
  293. data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
  294. data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
  295. data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20190823'
28
+ REVISION = '20190920'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -408,14 +408,14 @@ module Google
408
408
  # @return [Google::Apis::DataprocV1beta2::LifecycleConfig]
409
409
  attr_accessor :lifecycle_config
410
410
 
411
- # Optional. The config settings for Compute Engine resources in an instance
412
- # group, such as a master or worker group.
411
+ # The config settings for Compute Engine resources in an instance group, such as
412
+ # a master or worker group.
413
413
  # Corresponds to the JSON property `masterConfig`
414
414
  # @return [Google::Apis::DataprocV1beta2::InstanceGroupConfig]
415
415
  attr_accessor :master_config
416
416
 
417
- # Optional. The config settings for Compute Engine resources in an instance
418
- # group, such as a master or worker group.
417
+ # The config settings for Compute Engine resources in an instance group, such as
418
+ # a master or worker group.
419
419
  # Corresponds to the JSON property `secondaryWorkerConfig`
420
420
  # @return [Google::Apis::DataprocV1beta2::InstanceGroupConfig]
421
421
  attr_accessor :secondary_worker_config
@@ -430,8 +430,8 @@ module Google
430
430
  # @return [Google::Apis::DataprocV1beta2::SoftwareConfig]
431
431
  attr_accessor :software_config
432
432
 
433
- # Optional. The config settings for Compute Engine resources in an instance
434
- # group, such as a master or worker group.
433
+ # The config settings for Compute Engine resources in an instance group, such as
434
+ # a master or worker group.
435
435
  # Corresponds to the JSON property `workerConfig`
436
436
  # @return [Google::Apis::DataprocV1beta2::InstanceGroupConfig]
437
437
  attr_accessor :worker_config
@@ -728,11 +728,11 @@ module Google
728
728
  # @return [String]
729
729
  attr_accessor :boot_disk_type
730
730
 
731
- # Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not
732
- # attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.
733
- # apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are
734
- # attached, this runtime bulk data is spread across them, and the boot disk
735
- # contains only basic config and installed binaries.
731
+ # Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached,
732
+ # the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.
733
+ # org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached,
734
+ # this runtime bulk data is spread across them, and the boot disk contains only
735
+ # basic config and installed binaries.
736
736
  # Corresponds to the JSON property `numLocalSsds`
737
737
  # @return [Fixnum]
738
738
  attr_accessor :num_local_ssds
@@ -996,9 +996,10 @@ module Google
996
996
  class GetPolicyOptions
997
997
  include Google::Apis::Core::Hashable
998
998
 
999
- # Optional. The policy format version to be returned. Acceptable values are 0, 1,
1000
- # and 3. If the value is 0, or the field is omitted, policy format version 1
1001
- # will be returned.
999
+ # Optional. The policy format version to be returned.Valid values are 0, 1, and
1000
+ # 3. Requests specifying an invalid value will be rejected.Requests for policies
1001
+ # with any conditional bindings must specify version 3. Policies without any
1002
+ # conditional bindings may specify any valid value or leave the field unset.
1002
1003
  # Corresponds to the JSON property `requestedPolicyVersion`
1003
1004
  # @return [Fixnum]
1004
1005
  attr_accessor :requested_policy_version
@@ -1200,8 +1201,8 @@ module Google
1200
1201
  end
1201
1202
  end
1202
1203
 
1203
- # Optional. The config settings for Compute Engine resources in an instance
1204
- # group, such as a master or worker group.
1204
+ # The config settings for Compute Engine resources in an instance group, such as
1205
+ # a master or worker group.
1205
1206
  class InstanceGroupConfig
1206
1207
  include Google::Apis::Core::Hashable
1207
1208
 
@@ -1252,8 +1253,8 @@ module Google
1252
1253
  # @return [Google::Apis::DataprocV1beta2::ManagedGroupConfig]
1253
1254
  attr_accessor :managed_group_config
1254
1255
 
1255
- # Optional. Specifies the minimum cpu platform for the Instance Group. See Cloud
1256
- # Dataproc→Minimum CPU Platform.
1256
+ # Specifies the minimum cpu platform for the Instance Group. See Cloud Dataproc&
1257
+ # rarr;Minimum CPU Platform.
1257
1258
  # Corresponds to the JSON property `minCpuPlatform`
1258
1259
  # @return [String]
1259
1260
  attr_accessor :min_cpu_platform
@@ -1408,7 +1409,10 @@ module Google
1408
1409
  attr_accessor :scheduling
1409
1410
 
1410
1411
  # A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/)
1411
- # applications on YARN.
1412
+ # applications on YARN. The specification of the main method to call to drive
1413
+ # the job. Specify either the jar file that contains the main class or the main
1414
+ # class name. To pass both a main jar and a main class in that jar, add the jar
1415
+ # to CommonJob.jar_file_uris, and then specify the main class name in main_class.
1412
1416
  # Corresponds to the JSON property `sparkJob`
1413
1417
  # @return [Google::Apis::DataprocV1beta2::SparkJob]
1414
1418
  attr_accessor :spark_job
@@ -2114,7 +2118,10 @@ module Google
2114
2118
  attr_accessor :scheduling
2115
2119
 
2116
2120
  # A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/)
2117
- # applications on YARN.
2121
+ # applications on YARN. The specification of the main method to call to drive
2122
+ # the job. Specify either the jar file that contains the main class or the main
2123
+ # class name. To pass both a main jar and a main class in that jar, add the jar
2124
+ # to CommonJob.jar_file_uris, and then specify the main class name in main_class.
2118
2125
  # Corresponds to the JSON property `sparkJob`
2119
2126
  # @return [Google::Apis::DataprocV1beta2::SparkJob]
2120
2127
  attr_accessor :spark_job
@@ -2244,24 +2251,33 @@ module Google
2244
2251
  end
2245
2252
 
2246
2253
  # Defines an Identity and Access Management (IAM) policy. It is used to specify
2247
- # access control policies for Cloud Platform resources.A Policy consists of a
2248
- # list of bindings. A binding binds a list of members to a role, where the
2249
- # members can be user accounts, Google groups, Google domains, and service
2250
- # accounts. A role is a named list of permissions defined by IAM.JSON Example
2254
+ # access control policies for Cloud Platform resources.A Policy is a collection
2255
+ # of bindings. A binding binds one or more members to a single role. Members can
2256
+ # be user accounts, service accounts, Google groups, and domains (such as G
2257
+ # Suite). A role is a named list of permissions (defined by IAM or configured by
2258
+ # users). A binding can optionally specify a condition, which is a logic
2259
+ # expression that further constrains the role binding based on attributes about
2260
+ # the request and/or target resource.JSON Example
2251
2261
  # `
2252
2262
  # "bindings": [
2253
2263
  # `
2254
- # "role": "roles/owner",
2264
+ # "role": "role/resourcemanager.organizationAdmin",
2255
2265
  # "members": [
2256
2266
  # "user:mike@example.com",
2257
2267
  # "group:admins@example.com",
2258
2268
  # "domain:google.com",
2259
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
2269
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
2260
2270
  # ]
2261
2271
  # `,
2262
2272
  # `
2263
- # "role": "roles/viewer",
2264
- # "members": ["user:sean@example.com"]
2273
+ # "role": "roles/resourcemanager.organizationViewer",
2274
+ # "members": ["user:eve@example.com"],
2275
+ # "condition": `
2276
+ # "title": "expirable access",
2277
+ # "description": "Does not grant access after Sep 2020",
2278
+ # "expression": "request.time <
2279
+ # timestamp('2020-10-01T00:00:00.000Z')",
2280
+ # `
2265
2281
  # `
2266
2282
  # ]
2267
2283
  # `
@@ -2271,18 +2287,23 @@ module Google
2271
2287
  # - user:mike@example.com
2272
2288
  # - group:admins@example.com
2273
2289
  # - domain:google.com
2274
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
2275
- # role: roles/owner
2290
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
2291
+ # role: roles/resourcemanager.organizationAdmin
2276
2292
  # - members:
2277
- # - user:sean@example.com
2278
- # role: roles/viewer
2293
+ # - user:eve@example.com
2294
+ # role: roles/resourcemanager.organizationViewer
2295
+ # condition:
2296
+ # title: expirable access
2297
+ # description: Does not grant access after Sep 2020
2298
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2279
2299
  # For a description of IAM and its features, see the IAM developer's guide (
2280
2300
  # https://cloud.google.com/iam/docs).
2281
2301
  class Policy
2282
2302
  include Google::Apis::Core::Hashable
2283
2303
 
2284
- # Associates a list of members to a role. bindings with no members will result
2285
- # in an error.
2304
+ # Associates a list of members to a role. Optionally may specify a condition
2305
+ # that determines when binding is in effect. bindings with no members will
2306
+ # result in an error.
2286
2307
  # Corresponds to the JSON property `bindings`
2287
2308
  # @return [Array<Google::Apis::DataprocV1beta2::Binding>]
2288
2309
  attr_accessor :bindings
@@ -2294,13 +2315,22 @@ module Google
2294
2315
  # in the response to getIamPolicy, and systems are expected to put that etag in
2295
2316
  # the request to setIamPolicy to ensure that their change will be applied to the
2296
2317
  # same version of the policy.If no etag is provided in the call to setIamPolicy,
2297
- # then the existing policy is overwritten.
2318
+ # then the existing policy is overwritten. Due to blind-set semantics of an etag-
2319
+ # less policy, 'setIamPolicy' will not fail even if either of incoming or stored
2320
+ # policy does not meet the version requirements.
2298
2321
  # Corresponds to the JSON property `etag`
2299
2322
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2300
2323
  # @return [String]
2301
2324
  attr_accessor :etag
2302
2325
 
2303
- # Deprecated.
2326
+ # Specifies the format of the policy.Valid values are 0, 1, and 3. Requests
2327
+ # specifying an invalid value will be rejected.Operations affecting conditional
2328
+ # bindings must specify version 3. This can be either setting a conditional
2329
+ # policy, modifying a conditional binding, or removing a conditional binding
2330
+ # from the stored conditional policy. Operations on non-conditional policies may
2331
+ # specify any valid value or leave the field unset.If no etag is provided in the
2332
+ # call to setIamPolicy, any version compliance checks on the incoming and/or
2333
+ # stored policy is skipped.
2304
2334
  # Corresponds to the JSON property `version`
2305
2335
  # @return [Fixnum]
2306
2336
  attr_accessor :version
@@ -2557,24 +2587,33 @@ module Google
2557
2587
  include Google::Apis::Core::Hashable
2558
2588
 
2559
2589
  # Defines an Identity and Access Management (IAM) policy. It is used to specify
2560
- # access control policies for Cloud Platform resources.A Policy consists of a
2561
- # list of bindings. A binding binds a list of members to a role, where the
2562
- # members can be user accounts, Google groups, Google domains, and service
2563
- # accounts. A role is a named list of permissions defined by IAM.JSON Example
2590
+ # access control policies for Cloud Platform resources.A Policy is a collection
2591
+ # of bindings. A binding binds one or more members to a single role. Members can
2592
+ # be user accounts, service accounts, Google groups, and domains (such as G
2593
+ # Suite). A role is a named list of permissions (defined by IAM or configured by
2594
+ # users). A binding can optionally specify a condition, which is a logic
2595
+ # expression that further constrains the role binding based on attributes about
2596
+ # the request and/or target resource.JSON Example
2564
2597
  # `
2565
2598
  # "bindings": [
2566
2599
  # `
2567
- # "role": "roles/owner",
2600
+ # "role": "role/resourcemanager.organizationAdmin",
2568
2601
  # "members": [
2569
2602
  # "user:mike@example.com",
2570
2603
  # "group:admins@example.com",
2571
2604
  # "domain:google.com",
2572
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
2605
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
2573
2606
  # ]
2574
2607
  # `,
2575
2608
  # `
2576
- # "role": "roles/viewer",
2577
- # "members": ["user:sean@example.com"]
2609
+ # "role": "roles/resourcemanager.organizationViewer",
2610
+ # "members": ["user:eve@example.com"],
2611
+ # "condition": `
2612
+ # "title": "expirable access",
2613
+ # "description": "Does not grant access after Sep 2020",
2614
+ # "expression": "request.time <
2615
+ # timestamp('2020-10-01T00:00:00.000Z')",
2616
+ # `
2578
2617
  # `
2579
2618
  # ]
2580
2619
  # `
@@ -2584,11 +2623,15 @@ module Google
2584
2623
  # - user:mike@example.com
2585
2624
  # - group:admins@example.com
2586
2625
  # - domain:google.com
2587
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
2588
- # role: roles/owner
2626
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
2627
+ # role: roles/resourcemanager.organizationAdmin
2589
2628
  # - members:
2590
- # - user:sean@example.com
2591
- # role: roles/viewer
2629
+ # - user:eve@example.com
2630
+ # role: roles/resourcemanager.organizationViewer
2631
+ # condition:
2632
+ # title: expirable access
2633
+ # description: Does not grant access after Sep 2020
2634
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2592
2635
  # For a description of IAM and its features, see the IAM developer's guide (
2593
2636
  # https://cloud.google.com/iam/docs).
2594
2637
  # Corresponds to the JSON property `policy`
@@ -2651,7 +2694,10 @@ module Google
2651
2694
  end
2652
2695
 
2653
2696
  # A Cloud Dataproc job for running Apache Spark (http://spark.apache.org/)
2654
- # applications on YARN.
2697
+ # applications on YARN. The specification of the main method to call to drive
2698
+ # the job. Specify either the jar file that contains the main class or the main
2699
+ # class name. To pass both a main jar and a main class in that jar, add the jar
2700
+ # to CommonJob.jar_file_uris, and then specify the main class name in main_class.
2655
2701
  class SparkJob
2656
2702
  include Google::Apis::Core::Hashable
2657
2703
 
@@ -3310,23 +3356,23 @@ module Google
3310
3356
  class YarnApplication
3311
3357
  include Google::Apis::Core::Hashable
3312
3358
 
3313
- # Required. The application name.
3359
+ # Output only. The application name.
3314
3360
  # Corresponds to the JSON property `name`
3315
3361
  # @return [String]
3316
3362
  attr_accessor :name
3317
3363
 
3318
- # Required. The numerical progress of the application, from 1 to 100.
3364
+ # Output only. The numerical progress of the application, from 1 to 100.
3319
3365
  # Corresponds to the JSON property `progress`
3320
3366
  # @return [Float]
3321
3367
  attr_accessor :progress
3322
3368
 
3323
- # Required. The application state.
3369
+ # Output only. The application state.
3324
3370
  # Corresponds to the JSON property `state`
3325
3371
  # @return [String]
3326
3372
  attr_accessor :state
3327
3373
 
3328
- # Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or
3329
- # TimelineServer that provides application-specific information. The URL uses
3374
+ # Optional. Output only. The HTTP URL of the ApplicationMaster, HistoryServer,
3375
+ # or TimelineServer that provides application-specific information. The URL uses
3330
3376
  # the internal hostname, and requires a proxy server for resolution and,
3331
3377
  # possibly, access.
3332
3378
  # Corresponds to the JSON property `trackingUrl`
@@ -166,9 +166,10 @@ module Google
166
166
  # REQUIRED: The resource for which the policy is being requested. See the
167
167
  # operation documentation for the appropriate value for this field.
168
168
  # @param [Fixnum] options_requested_policy_version
169
- # Optional. The policy format version to be returned. Acceptable values are 0, 1,
170
- # and 3. If the value is 0, or the field is omitted, policy format version 1
171
- # will be returned.
169
+ # Optional. The policy format version to be returned.Valid values are 0, 1, and
170
+ # 3. Requests specifying an invalid value will be rejected.Requests for policies
171
+ # with any conditional bindings must specify version 3. Policies without any
172
+ # conditional bindings may specify any valid value or leave the field unset.
172
173
  # @param [String] fields
173
174
  # Selector specifying which fields to include in a partial response.
174
175
  # @param [String] quota_user
@@ -482,9 +483,10 @@ module Google
482
483
  # REQUIRED: The resource for which the policy is being requested. See the
483
484
  # operation documentation for the appropriate value for this field.
484
485
  # @param [Fixnum] options_requested_policy_version
485
- # Optional. The policy format version to be returned. Acceptable values are 0, 1,
486
- # and 3. If the value is 0, or the field is omitted, policy format version 1
487
- # will be returned.
486
+ # Optional. The policy format version to be returned.Valid values are 0, 1, and
487
+ # 3. Requests specifying an invalid value will be rejected.Requests for policies
488
+ # with any conditional bindings must specify version 3. Policies without any
489
+ # conditional bindings may specify any valid value or leave the field unset.
488
490
  # @param [String] fields
489
491
  # Selector specifying which fields to include in a partial response.
490
492
  # @param [String] quota_user
@@ -891,9 +893,10 @@ module Google
891
893
  # REQUIRED: The resource for which the policy is being requested. See the
892
894
  # operation documentation for the appropriate value for this field.
893
895
  # @param [Fixnum] options_requested_policy_version
894
- # Optional. The policy format version to be returned. Acceptable values are 0, 1,
895
- # and 3. If the value is 0, or the field is omitted, policy format version 1
896
- # will be returned.
896
+ # Optional. The policy format version to be returned.Valid values are 0, 1, and
897
+ # 3. Requests specifying an invalid value will be rejected.Requests for policies
898
+ # with any conditional bindings must specify version 3. Policies without any
899
+ # conditional bindings may specify any valid value or leave the field unset.
897
900
  # @param [String] fields
898
901
  # Selector specifying which fields to include in a partial response.
899
902
  # @param [String] quota_user
@@ -1179,7 +1182,7 @@ module Google
1179
1182
 
1180
1183
  # Gets cluster diagnostic information. The returned Operation.metadata will be
1181
1184
  # ClusterOperationMetadata. After the operation completes, Operation.response
1182
- # contains DiagnoseClusterResults.
1185
+ # contains Empty.
1183
1186
  # @param [String] project_id
1184
1187
  # Required. The ID of the Google Cloud Platform project that the cluster belongs
1185
1188
  # to.
@@ -1262,9 +1265,10 @@ module Google
1262
1265
  # REQUIRED: The resource for which the policy is being requested. See the
1263
1266
  # operation documentation for the appropriate value for this field.
1264
1267
  # @param [Fixnum] options_requested_policy_version
1265
- # Optional. The policy format version to be returned. Acceptable values are 0, 1,
1266
- # and 3. If the value is 0, or the field is omitted, policy format version 1
1267
- # will be returned.
1268
+ # Optional. The policy format version to be returned.Valid values are 0, 1, and
1269
+ # 3. Requests specifying an invalid value will be rejected.Requests for policies
1270
+ # with any conditional bindings must specify version 3. Policies without any
1271
+ # conditional bindings may specify any valid value or leave the field unset.
1268
1272
  # @param [String] fields
1269
1273
  # Selector specifying which fields to include in a partial response.
1270
1274
  # @param [String] quota_user
@@ -1651,9 +1655,10 @@ module Google
1651
1655
  # REQUIRED: The resource for which the policy is being requested. See the
1652
1656
  # operation documentation for the appropriate value for this field.
1653
1657
  # @param [Fixnum] options_requested_policy_version
1654
- # Optional. The policy format version to be returned. Acceptable values are 0, 1,
1655
- # and 3. If the value is 0, or the field is omitted, policy format version 1
1656
- # will be returned.
1658
+ # Optional. The policy format version to be returned.Valid values are 0, 1, and
1659
+ # 3. Requests specifying an invalid value will be rejected.Requests for policies
1660
+ # with any conditional bindings must specify version 3. Policies without any
1661
+ # conditional bindings may specify any valid value or leave the field unset.
1657
1662
  # @param [String] fields
1658
1663
  # Selector specifying which fields to include in a partial response.
1659
1664
  # @param [String] quota_user
@@ -2001,9 +2006,10 @@ module Google
2001
2006
  # REQUIRED: The resource for which the policy is being requested. See the
2002
2007
  # operation documentation for the appropriate value for this field.
2003
2008
  # @param [Fixnum] options_requested_policy_version
2004
- # Optional. The policy format version to be returned. Acceptable values are 0, 1,
2005
- # and 3. If the value is 0, or the field is omitted, policy format version 1
2006
- # will be returned.
2009
+ # Optional. The policy format version to be returned.Valid values are 0, 1, and
2010
+ # 3. Requests specifying an invalid value will be rejected.Requests for policies
2011
+ # with any conditional bindings must specify version 3. Policies without any
2012
+ # conditional bindings may specify any valid value or leave the field unset.
2007
2013
  # @param [String] fields
2008
2014
  # Selector specifying which fields to include in a partial response.
2009
2015
  # @param [String] quota_user
@@ -2279,9 +2285,10 @@ module Google
2279
2285
  # REQUIRED: The resource for which the policy is being requested. See the
2280
2286
  # operation documentation for the appropriate value for this field.
2281
2287
  # @param [Fixnum] options_requested_policy_version
2282
- # Optional. The policy format version to be returned. Acceptable values are 0, 1,
2283
- # and 3. If the value is 0, or the field is omitted, policy format version 1
2284
- # will be returned.
2288
+ # Optional. The policy format version to be returned.Valid values are 0, 1, and
2289
+ # 3. Requests specifying an invalid value will be rejected.Requests for policies
2290
+ # with any conditional bindings must specify version 3. Policies without any
2291
+ # conditional bindings may specify any valid value or leave the field unset.
2285
2292
  # @param [String] fields
2286
2293
  # Selector specifying which fields to include in a partial response.
2287
2294
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20190909'
29
+ REVISION = '20190924'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -693,8 +693,7 @@ module Google
693
693
  class GoogleCloudDialogflowV2ExportAgentRequest
694
694
  include Google::Apis::Core::Hashable
695
695
 
696
- # Optional. The
697
- # [Google Cloud Storage](https://cloud.google.com/storage/docs/)
696
+ # Required. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
698
697
  # URI to export the agent to.
699
698
  # The format of this URI must be `gs://<bucket-name>/<object-name>`.
700
699
  # If left unspecified, the serialized agent is returned inline.
@@ -716,20 +715,7 @@ module Google
716
715
  class GoogleCloudDialogflowV2ExportAgentResponse
717
716
  include Google::Apis::Core::Hashable
718
717
 
719
- # The exported agent.
720
- # Example for how to export an agent to a zip file via a command line:
721
- # <pre>curl \
722
- # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:
723
- # export'\
724
- # -X POST \
725
- # -H 'Authorization: Bearer '$(gcloud auth application-default
726
- # print-access-token) \
727
- # -H 'Accept: application/json' \
728
- # -H 'Content-Type: application/json' \
729
- # --compressed \
730
- # --data-binary '``' \
731
- # | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
732
- # | base64 --decode > &lt;agent zip file&gt;</pre>
718
+ # Zip compressed raw byte content for agent.
733
719
  # Corresponds to the JSON property `agentContent`
734
720
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
735
721
  # @return [String]
@@ -756,20 +742,7 @@ module Google
756
742
  class GoogleCloudDialogflowV2ImportAgentRequest
757
743
  include Google::Apis::Core::Hashable
758
744
 
759
- # The agent to import.
760
- # Example for how to import an agent via the command line:
761
- # <pre>curl \
762
- # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:
763
- # import\
764
- # -X POST \
765
- # -H 'Authorization: Bearer '$(gcloud auth application-default
766
- # print-access-token) \
767
- # -H 'Accept: application/json' \
768
- # -H 'Content-Type: application/json' \
769
- # --compressed \
770
- # --data-binary "`
771
- # 'agentContent': '$(cat &lt;agent zip file&gt; | base64 -w 0)'
772
- # `"</pre>
745
+ # Zip compressed raw byte content for agent.
773
746
  # Corresponds to the JSON property `agentContent`
774
747
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
775
748
  # @return [String]
@@ -1282,7 +1255,7 @@ module Google
1282
1255
  end
1283
1256
  end
1284
1257
 
1285
- # Optional. Contains information about a button.
1258
+ # Contains information about a button.
1286
1259
  class GoogleCloudDialogflowV2IntentMessageCardButton
1287
1260
  include Google::Apis::Core::Hashable
1288
1261
 
@@ -2262,20 +2235,7 @@ module Google
2262
2235
  class GoogleCloudDialogflowV2RestoreAgentRequest
2263
2236
  include Google::Apis::Core::Hashable
2264
2237
 
2265
- # The agent to restore.
2266
- # Example for how to restore an agent via the command line:
2267
- # <pre>curl \
2268
- # 'https://dialogflow.googleapis.com/v2/projects/&lt;project_name&gt;/agent:
2269
- # restore\
2270
- # -X POST \
2271
- # -H 'Authorization: Bearer '$(gcloud auth application-default
2272
- # print-access-token) \
2273
- # -H 'Accept: application/json' \
2274
- # -H 'Content-Type: application/json' \
2275
- # --compressed \
2276
- # --data-binary "`
2277
- # 'agentContent': '$(cat &lt;agent zip file&gt; | base64 -w 0)'
2278
- # `"</pre>
2238
+ # Zip compressed raw byte content for agent.
2279
2239
  # Corresponds to the JSON property `agentContent`
2280
2240
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2281
2241
  # @return [String]
@@ -2666,6 +2626,15 @@ module Google
2666
2626
  # @return [Hash<String,Object>]
2667
2627
  attr_accessor :payload
2668
2628
 
2629
+ # Optional. Additional session entity types to replace or extend developer
2630
+ # entity types with. The entity synonyms apply to all languages and persist
2631
+ # for the session of this query. Setting the session entity types inside
2632
+ # webhook overwrites the session entity types that have been set through
2633
+ # `DetectIntentRequest.query_params.session_entity_types`.
2634
+ # Corresponds to the JSON property `sessionEntityTypes`
2635
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SessionEntityType>]
2636
+ attr_accessor :session_entity_types
2637
+
2669
2638
  # Optional. This value is passed directly to `QueryResult.webhook_source`.
2670
2639
  # Corresponds to the JSON property `source`
2671
2640
  # @return [String]
@@ -2682,6 +2651,7 @@ module Google
2682
2651
  @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
2683
2652
  @output_contexts = args[:output_contexts] if args.key?(:output_contexts)
2684
2653
  @payload = args[:payload] if args.key?(:payload)
2654
+ @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
2685
2655
  @source = args[:source] if args.key?(:source)
2686
2656
  end
2687
2657
  end
@@ -2753,26 +2723,6 @@ module Google
2753
2723
  end
2754
2724
  end
2755
2725
 
2756
- # Metadata for article suggestion models.
2757
- class GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata
2758
- include Google::Apis::Core::Hashable
2759
-
2760
- # Optional. Type of the article suggestion model. The available values are:
2761
- # * `article-suggestion-gbt-1` - (default) Article Suggestion Gbt model.
2762
- # Corresponds to the JSON property `modelType`
2763
- # @return [String]
2764
- attr_accessor :model_type
2765
-
2766
- def initialize(**args)
2767
- update!(**args)
2768
- end
2769
-
2770
- # Update properties of this object
2771
- def update!(**args)
2772
- @model_type = args[:model_type] if args.key?(:model_type)
2773
- end
2774
- end
2775
-
2776
2726
  # The response message for EntityTypes.BatchUpdateEntityTypes.
2777
2727
  class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
2778
2728
  include Google::Apis::Core::Hashable
@@ -2855,63 +2805,6 @@ module Google
2855
2805
  end
2856
2806
  end
2857
2807
 
2858
- # Represents a conversation model.
2859
- class GoogleCloudDialogflowV2beta1ConversationModel
2860
- include Google::Apis::Core::Hashable
2861
-
2862
- # Metadata for article suggestion models.
2863
- # Corresponds to the JSON property `articleSuggestionModelMetadata`
2864
- # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ArticleSuggestionModelMetadata]
2865
- attr_accessor :article_suggestion_model_metadata
2866
-
2867
- # Output only. Creation time of this model.
2868
- # Corresponds to the JSON property `createTime`
2869
- # @return [String]
2870
- attr_accessor :create_time
2871
-
2872
- # Required. Datasets used to create model.
2873
- # Corresponds to the JSON property `datasets`
2874
- # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1InputDataset>]
2875
- attr_accessor :datasets
2876
-
2877
- # Required. The display name of the model. At most 64 bytes long.
2878
- # Corresponds to the JSON property `displayName`
2879
- # @return [String]
2880
- attr_accessor :display_name
2881
-
2882
- # Output only. ConversationModel resource name. Format:
2883
- # `projects/<Project ID>/conversationModels/<Conversation Model ID>`
2884
- # Corresponds to the JSON property `name`
2885
- # @return [String]
2886
- attr_accessor :name
2887
-
2888
- # Metadata for smart reply models.
2889
- # Corresponds to the JSON property `smartReplyModelMetadata`
2890
- # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata]
2891
- attr_accessor :smart_reply_model_metadata
2892
-
2893
- # Output only. State of the model. A model can only serve prediction requests
2894
- # after it gets deployed.
2895
- # Corresponds to the JSON property `state`
2896
- # @return [String]
2897
- attr_accessor :state
2898
-
2899
- def initialize(**args)
2900
- update!(**args)
2901
- end
2902
-
2903
- # Update properties of this object
2904
- def update!(**args)
2905
- @article_suggestion_model_metadata = args[:article_suggestion_model_metadata] if args.key?(:article_suggestion_model_metadata)
2906
- @create_time = args[:create_time] if args.key?(:create_time)
2907
- @datasets = args[:datasets] if args.key?(:datasets)
2908
- @display_name = args[:display_name] if args.key?(:display_name)
2909
- @name = args[:name] if args.key?(:name)
2910
- @smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
2911
- @state = args[:state] if args.key?(:state)
2912
- end
2913
- end
2914
-
2915
2808
  # Represents an entity type.
2916
2809
  # Entity types serve as a tool for extracting parameter values from natural
2917
2810
  # language queries.
@@ -3046,20 +2939,7 @@ module Google
3046
2939
  class GoogleCloudDialogflowV2beta1ExportAgentResponse
3047
2940
  include Google::Apis::Core::Hashable
3048
2941
 
3049
- # The exported agent.
3050
- # Example for how to export an agent to a zip file via a command line:
3051
- # <pre>curl \
3052
- # 'https://dialogflow.googleapis.com/v2beta1/projects/&lt;project_name&gt;/
3053
- # agent:export'\
3054
- # -X POST \
3055
- # -H 'Authorization: Bearer '$(gcloud auth application-default
3056
- # print-access-token) \
3057
- # -H 'Accept: application/json' \
3058
- # -H 'Content-Type: application/json' \
3059
- # --compressed \
3060
- # --data-binary '``' \
3061
- # | grep agentContent | sed -e 's/.*"agentContent": "\([^"]*\)".*/\1/' \
3062
- # | base64 --decode > &lt;agent zip file&gt;</pre>
2942
+ # Zip compressed raw byte content for agent.
3063
2943
  # Corresponds to the JSON property `agentContent`
3064
2944
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3065
2945
  # @return [String]
@@ -3082,29 +2962,6 @@ module Google
3082
2962
  end
3083
2963
  end
3084
2964
 
3085
- # InputDataset used to create model or do evaluation.
3086
- class GoogleCloudDialogflowV2beta1InputDataset
3087
- include Google::Apis::Core::Hashable
3088
-
3089
- # Required. ConversationDataset resource name. Format:
3090
- # `projects/<Project ID>/conversationDatasets/<Conversation Dataset ID>`
3091
- # or
3092
- # `projects/<Project ID>/conversationDatasets/<Conversation Dataset
3093
- # ID>/annotatedConversationDatasets/<Annotated Conversation Dataset ID>`
3094
- # Corresponds to the JSON property `dataset`
3095
- # @return [String]
3096
- attr_accessor :dataset
3097
-
3098
- def initialize(**args)
3099
- update!(**args)
3100
- end
3101
-
3102
- # Update properties of this object
3103
- def update!(**args)
3104
- @dataset = args[:dataset] if args.key?(:dataset)
3105
- end
3106
- end
3107
-
3108
2965
  # Represents an intent.
3109
2966
  # Intents convert a number of user expressions or patterns into an action. An
3110
2967
  # action is an extraction of a user command or sentence semantics.
@@ -3324,6 +3181,12 @@ module Google
3324
3181
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBasicCard]
3325
3182
  attr_accessor :basic_card
3326
3183
 
3184
+ # Browse Carousel Card for Actions on Google.
3185
+ # https://developers.google.com/actions/assistant/responses#browsing_carousel
3186
+ # Corresponds to the JSON property `browseCarouselCard`
3187
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard]
3188
+ attr_accessor :browse_carousel_card
3189
+
3327
3190
  # The card response message.
3328
3191
  # Corresponds to the JSON property `card`
3329
3192
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageCard]
@@ -3350,6 +3213,11 @@ module Google
3350
3213
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageListSelect]
3351
3214
  attr_accessor :list_select
3352
3215
 
3216
+ # The media content card for Actions on Google.
3217
+ # Corresponds to the JSON property `mediaContent`
3218
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageMediaContent]
3219
+ attr_accessor :media_content
3220
+
3353
3221
  # Returns a response containing a custom, platform-specific payload.
3354
3222
  # See the Intent.Message.Platform type for a description of the
3355
3223
  # structure that may be required for your platform.
@@ -3409,6 +3277,11 @@ module Google
3409
3277
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageSuggestions]
3410
3278
  attr_accessor :suggestions
3411
3279
 
3280
+ # Table card for Actions on Google.
3281
+ # Corresponds to the JSON property `tableCard`
3282
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTableCard]
3283
+ attr_accessor :table_card
3284
+
3412
3285
  # Plays audio from a file in Telephony Gateway.
3413
3286
  # Corresponds to the JSON property `telephonyPlayAudio`
3414
3287
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio]
@@ -3440,11 +3313,13 @@ module Google
3440
3313
  # Update properties of this object
3441
3314
  def update!(**args)
3442
3315
  @basic_card = args[:basic_card] if args.key?(:basic_card)
3316
+ @browse_carousel_card = args[:browse_carousel_card] if args.key?(:browse_carousel_card)
3443
3317
  @card = args[:card] if args.key?(:card)
3444
3318
  @carousel_select = args[:carousel_select] if args.key?(:carousel_select)
3445
3319
  @image = args[:image] if args.key?(:image)
3446
3320
  @link_out_suggestion = args[:link_out_suggestion] if args.key?(:link_out_suggestion)
3447
3321
  @list_select = args[:list_select] if args.key?(:list_select)
3322
+ @media_content = args[:media_content] if args.key?(:media_content)
3448
3323
  @payload = args[:payload] if args.key?(:payload)
3449
3324
  @platform = args[:platform] if args.key?(:platform)
3450
3325
  @quick_replies = args[:quick_replies] if args.key?(:quick_replies)
@@ -3453,6 +3328,7 @@ module Google
3453
3328
  @rbm_text = args[:rbm_text] if args.key?(:rbm_text)
3454
3329
  @simple_responses = args[:simple_responses] if args.key?(:simple_responses)
3455
3330
  @suggestions = args[:suggestions] if args.key?(:suggestions)
3331
+ @table_card = args[:table_card] if args.key?(:table_card)
3456
3332
  @telephony_play_audio = args[:telephony_play_audio] if args.key?(:telephony_play_audio)
3457
3333
  @telephony_synthesize_speech = args[:telephony_synthesize_speech] if args.key?(:telephony_synthesize_speech)
3458
3334
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
@@ -3547,6 +3423,105 @@ module Google
3547
3423
  end
3548
3424
  end
3549
3425
 
3426
+ # Browse Carousel Card for Actions on Google.
3427
+ # https://developers.google.com/actions/assistant/responses#browsing_carousel
3428
+ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard
3429
+ include Google::Apis::Core::Hashable
3430
+
3431
+ # Optional. Settings for displaying the image. Applies to every image in
3432
+ # items.
3433
+ # Corresponds to the JSON property `imageDisplayOptions`
3434
+ # @return [String]
3435
+ attr_accessor :image_display_options
3436
+
3437
+ # Required. List of items in the Browse Carousel Card. Minimum of two
3438
+ # items, maximum of ten.
3439
+ # Corresponds to the JSON property `items`
3440
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem>]
3441
+ attr_accessor :items
3442
+
3443
+ def initialize(**args)
3444
+ update!(**args)
3445
+ end
3446
+
3447
+ # Update properties of this object
3448
+ def update!(**args)
3449
+ @image_display_options = args[:image_display_options] if args.key?(:image_display_options)
3450
+ @items = args[:items] if args.key?(:items)
3451
+ end
3452
+ end
3453
+
3454
+ # Browsing carousel tile
3455
+ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem
3456
+ include Google::Apis::Core::Hashable
3457
+
3458
+ # Optional. Description of the carousel item. Maximum of four lines of
3459
+ # text.
3460
+ # Corresponds to the JSON property `description`
3461
+ # @return [String]
3462
+ attr_accessor :description
3463
+
3464
+ # Optional. Text that appears at the bottom of the Browse Carousel
3465
+ # Card. Maximum of one line of text.
3466
+ # Corresponds to the JSON property `footer`
3467
+ # @return [String]
3468
+ attr_accessor :footer
3469
+
3470
+ # The image response message.
3471
+ # Corresponds to the JSON property `image`
3472
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageImage]
3473
+ attr_accessor :image
3474
+
3475
+ # Actions on Google action to open a given url.
3476
+ # Corresponds to the JSON property `openUriAction`
3477
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction]
3478
+ attr_accessor :open_uri_action
3479
+
3480
+ # Required. Title of the carousel item. Maximum of two lines of text.
3481
+ # Corresponds to the JSON property `title`
3482
+ # @return [String]
3483
+ attr_accessor :title
3484
+
3485
+ def initialize(**args)
3486
+ update!(**args)
3487
+ end
3488
+
3489
+ # Update properties of this object
3490
+ def update!(**args)
3491
+ @description = args[:description] if args.key?(:description)
3492
+ @footer = args[:footer] if args.key?(:footer)
3493
+ @image = args[:image] if args.key?(:image)
3494
+ @open_uri_action = args[:open_uri_action] if args.key?(:open_uri_action)
3495
+ @title = args[:title] if args.key?(:title)
3496
+ end
3497
+ end
3498
+
3499
+ # Actions on Google action to open a given url.
3500
+ class GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
3501
+ include Google::Apis::Core::Hashable
3502
+
3503
+ # Required. URL
3504
+ # Corresponds to the JSON property `url`
3505
+ # @return [String]
3506
+ attr_accessor :url
3507
+
3508
+ # Optional. Specifies the type of viewer that is used when opening
3509
+ # the URL. Defaults to opening via web browser.
3510
+ # Corresponds to the JSON property `urlTypeHint`
3511
+ # @return [String]
3512
+ attr_accessor :url_type_hint
3513
+
3514
+ def initialize(**args)
3515
+ update!(**args)
3516
+ end
3517
+
3518
+ # Update properties of this object
3519
+ def update!(**args)
3520
+ @url = args[:url] if args.key?(:url)
3521
+ @url_type_hint = args[:url_type_hint] if args.key?(:url_type_hint)
3522
+ end
3523
+ end
3524
+
3550
3525
  # The card response message.
3551
3526
  class GoogleCloudDialogflowV2beta1IntentMessageCard
3552
3527
  include Google::Apis::Core::Hashable
@@ -3667,6 +3642,31 @@ module Google
3667
3642
  end
3668
3643
  end
3669
3644
 
3645
+ # Column properties for TableCard.
3646
+ class GoogleCloudDialogflowV2beta1IntentMessageColumnProperties
3647
+ include Google::Apis::Core::Hashable
3648
+
3649
+ # Required. Column heading.
3650
+ # Corresponds to the JSON property `header`
3651
+ # @return [String]
3652
+ attr_accessor :header
3653
+
3654
+ # Optional. Defines text alignment for all cells in this column.
3655
+ # Corresponds to the JSON property `horizontalAlignment`
3656
+ # @return [String]
3657
+ attr_accessor :horizontal_alignment
3658
+
3659
+ def initialize(**args)
3660
+ update!(**args)
3661
+ end
3662
+
3663
+ # Update properties of this object
3664
+ def update!(**args)
3665
+ @header = args[:header] if args.key?(:header)
3666
+ @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
3667
+ end
3668
+ end
3669
+
3670
3670
  # The image response message.
3671
3671
  class GoogleCloudDialogflowV2beta1IntentMessageImage
3672
3672
  include Google::Apis::Core::Hashable
@@ -3783,6 +3783,74 @@ module Google
3783
3783
  end
3784
3784
  end
3785
3785
 
3786
+ # The media content card for Actions on Google.
3787
+ class GoogleCloudDialogflowV2beta1IntentMessageMediaContent
3788
+ include Google::Apis::Core::Hashable
3789
+
3790
+ # Required. List of media objects.
3791
+ # Corresponds to the JSON property `mediaObjects`
3792
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject>]
3793
+ attr_accessor :media_objects
3794
+
3795
+ # Optional. What type of media is the content (ie "audio").
3796
+ # Corresponds to the JSON property `mediaType`
3797
+ # @return [String]
3798
+ attr_accessor :media_type
3799
+
3800
+ def initialize(**args)
3801
+ update!(**args)
3802
+ end
3803
+
3804
+ # Update properties of this object
3805
+ def update!(**args)
3806
+ @media_objects = args[:media_objects] if args.key?(:media_objects)
3807
+ @media_type = args[:media_type] if args.key?(:media_type)
3808
+ end
3809
+ end
3810
+
3811
+ # Response media object for media content card.
3812
+ class GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject
3813
+ include Google::Apis::Core::Hashable
3814
+
3815
+ # Required. Url where the media is stored.
3816
+ # Corresponds to the JSON property `contentUrl`
3817
+ # @return [String]
3818
+ attr_accessor :content_url
3819
+
3820
+ # Optional. Description of media card.
3821
+ # Corresponds to the JSON property `description`
3822
+ # @return [String]
3823
+ attr_accessor :description
3824
+
3825
+ # The image response message.
3826
+ # Corresponds to the JSON property `icon`
3827
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageImage]
3828
+ attr_accessor :icon
3829
+
3830
+ # The image response message.
3831
+ # Corresponds to the JSON property `largeImage`
3832
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageImage]
3833
+ attr_accessor :large_image
3834
+
3835
+ # Required. Name of media card.
3836
+ # Corresponds to the JSON property `name`
3837
+ # @return [String]
3838
+ attr_accessor :name
3839
+
3840
+ def initialize(**args)
3841
+ update!(**args)
3842
+ end
3843
+
3844
+ # Update properties of this object
3845
+ def update!(**args)
3846
+ @content_url = args[:content_url] if args.key?(:content_url)
3847
+ @description = args[:description] if args.key?(:description)
3848
+ @icon = args[:icon] if args.key?(:icon)
3849
+ @large_image = args[:large_image] if args.key?(:large_image)
3850
+ @name = args[:name] if args.key?(:name)
3851
+ end
3852
+ end
3853
+
3786
3854
  # The quick replies response message.
3787
3855
  class GoogleCloudDialogflowV2beta1IntentMessageQuickReplies
3788
3856
  include Google::Apis::Core::Hashable
@@ -4301,6 +4369,100 @@ module Google
4301
4369
  end
4302
4370
  end
4303
4371
 
4372
+ # Table card for Actions on Google.
4373
+ class GoogleCloudDialogflowV2beta1IntentMessageTableCard
4374
+ include Google::Apis::Core::Hashable
4375
+
4376
+ # Optional. List of buttons for the card.
4377
+ # Corresponds to the JSON property `buttons`
4378
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton>]
4379
+ attr_accessor :buttons
4380
+
4381
+ # Optional. Display properties for the columns in this table.
4382
+ # Corresponds to the JSON property `columnProperties`
4383
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageColumnProperties>]
4384
+ attr_accessor :column_properties
4385
+
4386
+ # The image response message.
4387
+ # Corresponds to the JSON property `image`
4388
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageImage]
4389
+ attr_accessor :image
4390
+
4391
+ # Optional. Rows in this table of data.
4392
+ # Corresponds to the JSON property `rows`
4393
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTableCardRow>]
4394
+ attr_accessor :rows
4395
+
4396
+ # Optional. Subtitle to the title.
4397
+ # Corresponds to the JSON property `subtitle`
4398
+ # @return [String]
4399
+ attr_accessor :subtitle
4400
+
4401
+ # Required. Title of the card.
4402
+ # Corresponds to the JSON property `title`
4403
+ # @return [String]
4404
+ attr_accessor :title
4405
+
4406
+ def initialize(**args)
4407
+ update!(**args)
4408
+ end
4409
+
4410
+ # Update properties of this object
4411
+ def update!(**args)
4412
+ @buttons = args[:buttons] if args.key?(:buttons)
4413
+ @column_properties = args[:column_properties] if args.key?(:column_properties)
4414
+ @image = args[:image] if args.key?(:image)
4415
+ @rows = args[:rows] if args.key?(:rows)
4416
+ @subtitle = args[:subtitle] if args.key?(:subtitle)
4417
+ @title = args[:title] if args.key?(:title)
4418
+ end
4419
+ end
4420
+
4421
+ # Cell of TableCardRow.
4422
+ class GoogleCloudDialogflowV2beta1IntentMessageTableCardCell
4423
+ include Google::Apis::Core::Hashable
4424
+
4425
+ # Required. Text in this cell.
4426
+ # Corresponds to the JSON property `text`
4427
+ # @return [String]
4428
+ attr_accessor :text
4429
+
4430
+ def initialize(**args)
4431
+ update!(**args)
4432
+ end
4433
+
4434
+ # Update properties of this object
4435
+ def update!(**args)
4436
+ @text = args[:text] if args.key?(:text)
4437
+ end
4438
+ end
4439
+
4440
+ # Row of TableCard.
4441
+ class GoogleCloudDialogflowV2beta1IntentMessageTableCardRow
4442
+ include Google::Apis::Core::Hashable
4443
+
4444
+ # Optional. List of cells that make up this row.
4445
+ # Corresponds to the JSON property `cells`
4446
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageTableCardCell>]
4447
+ attr_accessor :cells
4448
+
4449
+ # Optional. Whether to add a visual divider after this row.
4450
+ # Corresponds to the JSON property `dividerAfter`
4451
+ # @return [Boolean]
4452
+ attr_accessor :divider_after
4453
+ alias_method :divider_after?, :divider_after
4454
+
4455
+ def initialize(**args)
4456
+ update!(**args)
4457
+ end
4458
+
4459
+ # Update properties of this object
4460
+ def update!(**args)
4461
+ @cells = args[:cells] if args.key?(:cells)
4462
+ @divider_after = args[:divider_after] if args.key?(:divider_after)
4463
+ end
4464
+ end
4465
+
4304
4466
  # Plays audio from a file in Telephony Gateway.
4305
4467
  class GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
4306
4468
  include Google::Apis::Core::Hashable
@@ -4936,16 +5098,38 @@ module Google
4936
5098
  end
4937
5099
  end
4938
5100
 
4939
- # Metadata for smart reply models.
4940
- class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
5101
+ # Represents a session entity type.
5102
+ # Extends or replaces a developer entity type at the user session level (we
5103
+ # refer to the entity types defined at the agent level as "developer entity
5104
+ # types").
5105
+ # Note: session entity types apply to all queries, regardless of the language.
5106
+ class GoogleCloudDialogflowV2beta1SessionEntityType
4941
5107
  include Google::Apis::Core::Hashable
4942
5108
 
4943
- # Optional. Type of the article suggestion model. The available values are:
4944
- # * `smart-reply-dual-encoder-model-1` - (default) Smart Reply Dual Encoder
4945
- # model.
4946
- # Corresponds to the JSON property `modelType`
5109
+ # Required. The collection of entities associated with this session entity
5110
+ # type.
5111
+ # Corresponds to the JSON property `entities`
5112
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
5113
+ attr_accessor :entities
5114
+
5115
+ # Required. Indicates whether the additional data should override or
5116
+ # supplement the developer entity type definition.
5117
+ # Corresponds to the JSON property `entityOverrideMode`
5118
+ # @return [String]
5119
+ attr_accessor :entity_override_mode
5120
+
5121
+ # Required. The unique identifier of this session entity type. Format:
5122
+ # `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
5123
+ # Display Name>`, or
5124
+ # `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
5125
+ # ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>`.
5126
+ # If `Environment ID` is not specified, we assume default 'draft'
5127
+ # environment. If `User ID` is not specified, we assume default '-' user.
5128
+ # `<Entity Type Display Name>` must be the display name of an existing entity
5129
+ # type in the same agent that will be overridden or supplemented.
5130
+ # Corresponds to the JSON property `name`
4947
5131
  # @return [String]
4948
- attr_accessor :model_type
5132
+ attr_accessor :name
4949
5133
 
4950
5134
  def initialize(**args)
4951
5135
  update!(**args)
@@ -4953,7 +5137,9 @@ module Google
4953
5137
 
4954
5138
  # Update properties of this object
4955
5139
  def update!(**args)
4956
- @model_type = args[:model_type] if args.key?(:model_type)
5140
+ @entities = args[:entities] if args.key?(:entities)
5141
+ @entity_override_mode = args[:entity_override_mode] if args.key?(:entity_override_mode)
5142
+ @name = args[:name] if args.key?(:name)
4957
5143
  end
4958
5144
  end
4959
5145
 
@@ -5071,6 +5257,15 @@ module Google
5071
5257
  # @return [Hash<String,Object>]
5072
5258
  attr_accessor :payload
5073
5259
 
5260
+ # Optional. Additional session entity types to replace or extend developer
5261
+ # entity types with. The entity synonyms apply to all languages and persist
5262
+ # for the session of this query. Setting the session entity types inside
5263
+ # webhook overwrites the session entity types that have been set through
5264
+ # `DetectIntentRequest.query_params.session_entity_types`.
5265
+ # Corresponds to the JSON property `sessionEntityTypes`
5266
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SessionEntityType>]
5267
+ attr_accessor :session_entity_types
5268
+
5074
5269
  # Optional. This value is passed directly to `QueryResult.webhook_source`.
5075
5270
  # Corresponds to the JSON property `source`
5076
5271
  # @return [String]
@@ -5088,6 +5283,7 @@ module Google
5088
5283
  @fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
5089
5284
  @output_contexts = args[:output_contexts] if args.key?(:output_contexts)
5090
5285
  @payload = args[:payload] if args.key?(:payload)
5286
+ @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
5091
5287
  @source = args[:source] if args.key?(:source)
5092
5288
  end
5093
5289
  end