google-api-client 0.32.1 → 0.36.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (491) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -3
  9. data/CHANGELOG.md +327 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/docs/api-keys.md +20 -0
  15. data/docs/auth.md +53 -0
  16. data/docs/client-secrets.md +69 -0
  17. data/docs/getting-started.md +340 -0
  18. data/docs/installation.md +0 -0
  19. data/docs/logging.md +34 -0
  20. data/docs/media-upload.md +25 -0
  21. data/docs/oauth-installed.md +191 -0
  22. data/docs/oauth-server.md +135 -0
  23. data/docs/oauth-web.md +280 -0
  24. data/docs/oauth.md +268 -0
  25. data/docs/pagination.md +29 -0
  26. data/docs/performance.md +25 -0
  27. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  28. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  29. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  30. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  31. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  32. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  33. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
  34. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
  35. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  36. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  37. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  38. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  39. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  40. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  41. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  42. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  43. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  44. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  45. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  46. data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
  47. data/generated/google/apis/admin_directory_v1.rb +4 -1
  48. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  49. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  50. data/generated/google/apis/admin_reports_v1.rb +2 -2
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidpublisher_v3/classes.rb +105 -0
  53. data/generated/google/apis/androidpublisher_v3/representations.rb +51 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/appengine_v1/service.rb +10 -6
  56. data/generated/google/apis/appengine_v1.rb +1 -1
  57. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  58. data/generated/google/apis/appengine_v1beta.rb +1 -1
  59. data/generated/google/apis/appsmarket_v2.rb +1 -1
  60. data/generated/google/apis/bigquery_v2/classes.rb +104 -23
  61. data/generated/google/apis/bigquery_v2/representations.rb +37 -0
  62. data/generated/google/apis/bigquery_v2/service.rb +1 -5
  63. data/generated/google/apis/bigquery_v2.rb +1 -1
  64. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
  65. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
  66. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  67. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
  68. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  69. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
  70. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  71. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  72. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
  73. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
  74. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  75. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  76. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
  77. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
  78. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +116 -78
  79. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  80. data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
  81. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  82. data/generated/google/apis/bigtableadmin_v2/classes.rb +63 -30
  83. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  84. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  85. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
  86. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
  87. data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
  88. data/generated/google/apis/billingbudgets_v1beta1.rb +35 -0
  89. data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
  90. data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
  91. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  92. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
  93. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
  94. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  95. data/generated/google/apis/books_v1/classes.rb +20 -0
  96. data/generated/google/apis/books_v1/representations.rb +3 -0
  97. data/generated/google/apis/books_v1.rb +1 -1
  98. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  99. data/generated/google/apis/calendar_v3/service.rb +18 -30
  100. data/generated/google/apis/calendar_v3.rb +1 -1
  101. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  102. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  103. data/generated/google/apis/civicinfo_v2.rb +1 -1
  104. data/generated/google/apis/cloudasset_v1/classes.rb +89 -55
  105. data/generated/google/apis/cloudasset_v1/service.rb +1 -2
  106. data/generated/google/apis/cloudasset_v1.rb +1 -1
  107. data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -40
  108. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudbilling_v1/classes.rb +82 -36
  110. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  111. data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
  112. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  113. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
  114. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  115. data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
  116. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  117. data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
  118. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  119. data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
  120. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  121. data/generated/google/apis/cloudfunctions_v1/service.rb +10 -4
  122. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  123. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  124. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  125. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  126. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  127. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  128. data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
  129. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  130. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
  131. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
  132. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  133. data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
  134. data/generated/google/apis/cloudiot_v1.rb +1 -1
  135. data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
  136. data/generated/google/apis/cloudkms_v1/service.rb +3 -0
  137. data/generated/google/apis/cloudkms_v1.rb +1 -1
  138. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -40
  139. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  140. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +18 -17
  141. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  142. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
  143. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -13
  145. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  146. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  147. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -13
  148. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  149. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  150. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  151. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  152. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  153. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  154. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -132
  155. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
  156. data/generated/google/apis/cloudsearch_v1/service.rb +47 -9
  157. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  158. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  159. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  160. data/generated/google/apis/cloudshell_v1.rb +1 -1
  161. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -1
  162. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
  163. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  164. data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
  165. data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
  166. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  167. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
  168. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  169. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
  170. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  171. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
  172. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  173. data/generated/google/apis/compute_alpha/classes.rb +594 -164
  174. data/generated/google/apis/compute_alpha/representations.rb +110 -2
  175. data/generated/google/apis/compute_alpha/service.rb +1035 -640
  176. data/generated/google/apis/compute_alpha.rb +1 -1
  177. data/generated/google/apis/compute_beta/classes.rb +1070 -276
  178. data/generated/google/apis/compute_beta/representations.rb +284 -0
  179. data/generated/google/apis/compute_beta/service.rb +1242 -532
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_v1/classes.rb +335 -133
  182. data/generated/google/apis/compute_v1/representations.rb +24 -0
  183. data/generated/google/apis/compute_v1/service.rb +759 -473
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/container_v1/classes.rb +410 -83
  186. data/generated/google/apis/container_v1/representations.rb +134 -0
  187. data/generated/google/apis/container_v1/service.rb +119 -119
  188. data/generated/google/apis/container_v1.rb +1 -1
  189. data/generated/google/apis/container_v1beta1/classes.rb +157 -3
  190. data/generated/google/apis/container_v1beta1/representations.rb +38 -0
  191. data/generated/google/apis/container_v1beta1.rb +1 -1
  192. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
  193. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  194. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
  195. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  196. data/generated/google/apis/content_v2/classes.rb +35 -223
  197. data/generated/google/apis/content_v2/representations.rb +0 -115
  198. data/generated/google/apis/content_v2/service.rb +0 -160
  199. data/generated/google/apis/content_v2.rb +1 -1
  200. data/generated/google/apis/content_v2_1/classes.rb +69 -21
  201. data/generated/google/apis/content_v2_1/representations.rb +3 -0
  202. data/generated/google/apis/content_v2_1.rb +1 -1
  203. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
  204. data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
  205. data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
  206. data/generated/google/apis/{cloudbuild_v1alpha1.rb → datacatalog_v1beta1.rb} +10 -9
  207. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
  208. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
  209. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  210. data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
  211. data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
  212. data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
  213. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  214. data/generated/google/apis/dataproc_v1/classes.rb +119 -11
  215. data/generated/google/apis/dataproc_v1/representations.rb +39 -0
  216. data/generated/google/apis/dataproc_v1/service.rb +14 -7
  217. data/generated/google/apis/dataproc_v1.rb +1 -1
  218. data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -11
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +26 -19
  220. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  221. data/generated/google/apis/datastore_v1/service.rb +85 -1
  222. data/generated/google/apis/datastore_v1.rb +1 -1
  223. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  224. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  225. data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
  226. data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
  227. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  228. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1215 -797
  229. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +593 -395
  230. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +966 -1074
  231. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  232. data/generated/google/apis/dialogflow_v2/classes.rb +509 -8
  233. data/generated/google/apis/dialogflow_v2/representations.rb +222 -0
  234. data/generated/google/apis/dialogflow_v2.rb +1 -1
  235. data/generated/google/apis/dialogflow_v2beta1/classes.rb +530 -8
  236. data/generated/google/apis/dialogflow_v2beta1/representations.rb +224 -0
  237. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  238. data/generated/google/apis/dlp_v2/classes.rb +109 -33
  239. data/generated/google/apis/dlp_v2/representations.rb +23 -3
  240. data/generated/google/apis/dlp_v2/service.rb +1996 -209
  241. data/generated/google/apis/dlp_v2.rb +1 -1
  242. data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
  243. data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
  244. data/generated/google/apis/dns_v1beta2.rb +1 -1
  245. data/generated/google/apis/docs_v1/classes.rb +175 -0
  246. data/generated/google/apis/docs_v1/representations.rb +77 -0
  247. data/generated/google/apis/docs_v1.rb +1 -1
  248. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  249. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
  250. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
  251. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
  252. data/generated/google/apis/{urlshortener_v1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  253. data/generated/google/apis/drive_v2/classes.rb +2 -1
  254. data/generated/google/apis/drive_v2/service.rb +3 -3
  255. data/generated/google/apis/drive_v2.rb +1 -1
  256. data/generated/google/apis/drive_v3/classes.rb +12 -3
  257. data/generated/google/apis/drive_v3.rb +1 -1
  258. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  259. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  260. data/generated/google/apis/fcm_v1.rb +1 -1
  261. data/generated/google/apis/firebase_v1beta1/classes.rb +18 -4
  262. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  263. data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
  264. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  265. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +62 -0
  266. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +31 -0
  267. data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
  268. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  269. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  270. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  271. data/generated/google/apis/firebaserules_v1.rb +1 -1
  272. data/generated/google/apis/firestore_v1.rb +1 -1
  273. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  274. data/generated/google/apis/fitness_v1/service.rb +1 -1
  275. data/generated/google/apis/fitness_v1.rb +1 -1
  276. data/generated/google/apis/games_management_v1management/classes.rb +6 -26
  277. data/generated/google/apis/games_management_v1management/representations.rb +1 -14
  278. data/generated/google/apis/games_management_v1management/service.rb +0 -158
  279. data/generated/google/apis/games_management_v1management.rb +1 -1
  280. data/generated/google/apis/games_v1/classes.rb +6 -292
  281. data/generated/google/apis/games_v1/representations.rb +1 -98
  282. data/generated/google/apis/games_v1/service.rb +0 -123
  283. data/generated/google/apis/games_v1.rb +1 -1
  284. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  285. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  286. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  287. data/generated/google/apis/healthcare_v1beta1/classes.rb +213 -16
  288. data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
  289. data/generated/google/apis/healthcare_v1beta1/service.rb +207 -116
  290. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  291. data/generated/google/apis/homegraph_v1/classes.rb +15 -1
  292. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  293. data/generated/google/apis/homegraph_v1.rb +1 -1
  294. data/generated/google/apis/iam_v1/classes.rb +15 -7
  295. data/generated/google/apis/iam_v1/representations.rb +1 -0
  296. data/generated/google/apis/iam_v1.rb +1 -1
  297. data/generated/google/apis/iap_v1/classes.rb +187 -2
  298. data/generated/google/apis/iap_v1/representations.rb +102 -0
  299. data/generated/google/apis/iap_v1/service.rb +72 -0
  300. data/generated/google/apis/iap_v1.rb +1 -1
  301. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  302. data/generated/google/apis/iap_v1beta1.rb +1 -1
  303. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  304. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  305. data/generated/google/apis/jobs_v2.rb +1 -1
  306. data/generated/google/apis/jobs_v3/classes.rb +179 -0
  307. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  308. data/generated/google/apis/jobs_v3.rb +1 -1
  309. data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
  310. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  311. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  312. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  313. data/generated/google/apis/licensing_v1/service.rb +81 -37
  314. data/generated/google/apis/licensing_v1.rb +4 -4
  315. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  316. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  317. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  318. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  319. data/generated/google/apis/logging_v2/classes.rb +30 -2
  320. data/generated/google/apis/logging_v2/representations.rb +4 -0
  321. data/generated/google/apis/logging_v2/service.rb +10 -5
  322. data/generated/google/apis/logging_v2.rb +1 -1
  323. data/generated/google/apis/ml_v1/classes.rb +308 -155
  324. data/generated/google/apis/ml_v1/representations.rb +59 -0
  325. data/generated/google/apis/ml_v1/service.rb +44 -3
  326. data/generated/google/apis/ml_v1.rb +2 -2
  327. data/generated/google/apis/monitoring_v1/classes.rb +1153 -0
  328. data/generated/google/apis/monitoring_v1/representations.rb +528 -0
  329. data/generated/google/apis/{cloudbuild_v1alpha1 → monitoring_v1}/service.rb +86 -63
  330. data/generated/google/apis/monitoring_v1.rb +48 -0
  331. data/generated/google/apis/monitoring_v3/classes.rb +836 -60
  332. data/generated/google/apis/monitoring_v3/representations.rb +348 -0
  333. data/generated/google/apis/monitoring_v3/service.rb +384 -2
  334. data/generated/google/apis/monitoring_v3.rb +1 -1
  335. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  336. data/generated/google/apis/oslogin_v1/service.rb +10 -6
  337. data/generated/google/apis/oslogin_v1.rb +1 -1
  338. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  339. data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
  340. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  341. data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
  342. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  343. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  344. data/generated/google/apis/people_v1/classes.rb +67 -63
  345. data/generated/google/apis/people_v1/service.rb +53 -44
  346. data/generated/google/apis/people_v1.rb +1 -1
  347. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -90
  348. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  349. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  350. data/generated/google/apis/pubsub_v1/classes.rb +8 -6
  351. data/generated/google/apis/pubsub_v1/service.rb +9 -7
  352. data/generated/google/apis/pubsub_v1.rb +1 -1
  353. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
  354. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
  355. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  356. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  357. data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
  358. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  359. data/generated/google/apis/redis_v1/classes.rb +11 -11
  360. data/generated/google/apis/redis_v1/service.rb +5 -5
  361. data/generated/google/apis/redis_v1.rb +1 -1
  362. data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
  363. data/generated/google/apis/redis_v1beta1/service.rb +5 -5
  364. data/generated/google/apis/redis_v1beta1.rb +1 -1
  365. data/generated/google/apis/remotebuildexecution_v1/classes.rb +113 -0
  366. data/generated/google/apis/remotebuildexecution_v1/representations.rb +50 -0
  367. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  368. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +113 -0
  369. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +50 -0
  370. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  371. data/generated/google/apis/remotebuildexecution_v2/classes.rb +113 -0
  372. data/generated/google/apis/remotebuildexecution_v2/representations.rb +50 -0
  373. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  374. data/generated/google/apis/reseller_v1/service.rb +1 -1
  375. data/generated/google/apis/reseller_v1.rb +1 -1
  376. data/generated/google/apis/run_v1/classes.rb +8 -176
  377. data/generated/google/apis/run_v1/representations.rb +0 -71
  378. data/generated/google/apis/run_v1/service.rb +209 -1125
  379. data/generated/google/apis/run_v1.rb +1 -1
  380. data/generated/google/apis/run_v1alpha1/classes.rb +328 -9
  381. data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
  382. data/generated/google/apis/run_v1alpha1/service.rb +408 -0
  383. data/generated/google/apis/run_v1alpha1.rb +1 -1
  384. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -40
  385. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  386. data/generated/google/apis/securitycenter_v1/classes.rb +159 -66
  387. data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
  388. data/generated/google/apis/securitycenter_v1/service.rb +14 -12
  389. data/generated/google/apis/securitycenter_v1.rb +1 -1
  390. data/generated/google/apis/securitycenter_v1beta1/classes.rb +95 -57
  391. data/generated/google/apis/securitycenter_v1beta1/service.rb +14 -12
  392. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  393. data/generated/google/apis/servicebroker_v1/classes.rb +75 -40
  394. data/generated/google/apis/servicebroker_v1.rb +1 -1
  395. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -40
  396. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  397. data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -40
  398. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  399. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +95 -43
  400. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
  401. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  402. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -12
  403. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
  404. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  405. data/generated/google/apis/servicemanagement_v1/classes.rb +142 -91
  406. data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
  407. data/generated/google/apis/servicemanagement_v1/service.rb +32 -26
  408. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1/classes.rb +181 -54
  410. data/generated/google/apis/servicenetworking_v1/representations.rb +71 -0
  411. data/generated/google/apis/servicenetworking_v1/service.rb +77 -3
  412. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  413. data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -43
  414. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  415. data/generated/google/apis/serviceusage_v1/classes.rb +87 -43
  416. data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
  417. data/generated/google/apis/serviceusage_v1.rb +1 -1
  418. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -43
  419. data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
  420. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  421. data/generated/google/apis/sheets_v4/classes.rb +1371 -232
  422. data/generated/google/apis/sheets_v4/representations.rb +180 -0
  423. data/generated/google/apis/sheets_v4.rb +1 -1
  424. data/generated/google/apis/spanner_v1/classes.rb +70 -30
  425. data/generated/google/apis/spanner_v1/service.rb +270 -0
  426. data/generated/google/apis/spanner_v1.rb +1 -1
  427. data/generated/google/apis/speech_v1/classes.rb +6 -0
  428. data/generated/google/apis/speech_v1/representations.rb +1 -0
  429. data/generated/google/apis/speech_v1.rb +1 -1
  430. data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
  431. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  432. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  433. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
  434. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
  435. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  436. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  437. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +499 -380
  438. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +125 -104
  439. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +637 -590
  440. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  441. data/generated/google/apis/storage_v1.rb +1 -1
  442. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  443. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  444. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  445. data/generated/google/apis/testing_v1/classes.rb +142 -1
  446. data/generated/google/apis/testing_v1/representations.rb +76 -0
  447. data/generated/google/apis/testing_v1.rb +1 -1
  448. data/generated/google/apis/videointelligence_v1/classes.rb +147 -36
  449. data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
  450. data/generated/google/apis/videointelligence_v1.rb +1 -1
  451. data/generated/google/apis/videointelligence_v1beta2/classes.rb +147 -36
  452. data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
  453. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  454. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +147 -36
  455. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
  456. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  457. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +147 -36
  458. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
  459. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  460. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +147 -36
  461. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
  462. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  463. data/generated/google/apis/vision_v1/classes.rb +66 -0
  464. data/generated/google/apis/vision_v1/representations.rb +32 -0
  465. data/generated/google/apis/vision_v1.rb +1 -1
  466. data/generated/google/apis/vision_v1p1beta1/classes.rb +66 -0
  467. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  468. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  469. data/generated/google/apis/vision_v1p2beta1/classes.rb +66 -0
  470. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  471. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  472. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  473. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  474. data/google-api-client.gemspec +6 -3
  475. data/lib/google/apis/core/api_command.rb +3 -0
  476. data/lib/google/apis/core/http_command.rb +10 -8
  477. data/lib/google/apis/core/upload.rb +4 -0
  478. data/lib/google/apis/version.rb +1 -1
  479. data/rakelib/devsite/devsite_builder.rb +126 -0
  480. data/rakelib/devsite/link_checker.rb +64 -0
  481. data/rakelib/devsite/repo_metadata.rb +56 -0
  482. metadata +64 -42
  483. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1168
  484. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -434
  485. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  486. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  487. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  488. data/generated/google/apis/storage_v1beta1.rb +0 -40
  489. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  490. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  491. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -22,6 +22,51 @@ module Google
22
22
  module Apis
23
23
  module DialogflowV2beta1
24
24
 
25
+ # Represents a part of a message possibly annotated with an entity. The part
26
+ # can be an entity or purely a part of the message between two entities or
27
+ # message start/end.
28
+ class GoogleCloudDialogflowV2AnnotatedMessagePart
29
+ include Google::Apis::Core::Hashable
30
+
31
+ # The [Dialogflow system entity
32
+ # type](https://cloud.google.com/dialogflow/docs/reference/system-entities)
33
+ # of this message part. If this is empty, Dialogflow could not annotate the
34
+ # phrase part with a system entity.
35
+ # Corresponds to the JSON property `entityType`
36
+ # @return [String]
37
+ attr_accessor :entity_type
38
+
39
+ # The [Dialogflow system entity formatted value
40
+ # ](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
41
+ # this message part. For example for a system entity of type
42
+ # `@sys.unit-currency`, this may contain:
43
+ # <pre>
44
+ # `
45
+ # "amount": 5,
46
+ # "currency": "USD"
47
+ # `
48
+ # </pre>
49
+ # Corresponds to the JSON property `formattedValue`
50
+ # @return [Object]
51
+ attr_accessor :formatted_value
52
+
53
+ # A part of a message possibly annotated with an entity.
54
+ # Corresponds to the JSON property `text`
55
+ # @return [String]
56
+ attr_accessor :text
57
+
58
+ def initialize(**args)
59
+ update!(**args)
60
+ end
61
+
62
+ # Update properties of this object
63
+ def update!(**args)
64
+ @entity_type = args[:entity_type] if args.key?(:entity_type)
65
+ @formatted_value = args[:formatted_value] if args.key?(:formatted_value)
66
+ @text = args[:text] if args.key?(:text)
67
+ end
68
+ end
69
+
25
70
  # The response message for EntityTypes.BatchUpdateEntityTypes.
26
71
  class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
27
72
  include Google::Apis::Core::Hashable
@@ -100,6 +145,51 @@ module Google
100
145
  end
101
146
  end
102
147
 
148
+ # Represents a notification sent to Cloud Pub/Sub subscribers for conversation
149
+ # lifecycle events.
150
+ class GoogleCloudDialogflowV2ConversationEvent
151
+ include Google::Apis::Core::Hashable
152
+
153
+ # The unique identifier of the conversation this notification
154
+ # refers to.
155
+ # Format: `projects/<Project ID>/conversations/<Conversation ID>`.
156
+ # Corresponds to the JSON property `conversation`
157
+ # @return [String]
158
+ attr_accessor :conversation
159
+
160
+ # The `Status` type defines a logical error model that is suitable for
161
+ # different programming environments, including REST APIs and RPC APIs. It is
162
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
163
+ # three pieces of data: error code, error message, and error details.
164
+ # You can find out more about this error model and how to work with it in the
165
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
166
+ # Corresponds to the JSON property `errorStatus`
167
+ # @return [Google::Apis::DialogflowV2beta1::GoogleRpcStatus]
168
+ attr_accessor :error_status
169
+
170
+ # Represents a message posted into a conversation.
171
+ # Corresponds to the JSON property `newMessagePayload`
172
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2Message]
173
+ attr_accessor :new_message_payload
174
+
175
+ # The type of the event that this notification refers to.
176
+ # Corresponds to the JSON property `type`
177
+ # @return [String]
178
+ attr_accessor :type
179
+
180
+ def initialize(**args)
181
+ update!(**args)
182
+ end
183
+
184
+ # Update properties of this object
185
+ def update!(**args)
186
+ @conversation = args[:conversation] if args.key?(:conversation)
187
+ @error_status = args[:error_status] if args.key?(:error_status)
188
+ @new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload)
189
+ @type = args[:type] if args.key?(:type)
190
+ end
191
+ end
192
+
103
193
  # Represents an entity type.
104
194
  # Entity types serve as a tool for extracting parameter values from natural
105
195
  # language queries.
@@ -354,9 +444,12 @@ module Google
354
444
  attr_accessor :parent_followup_intent_name
355
445
 
356
446
  # Optional. The priority of this intent. Higher numbers represent higher
357
- # priorities. If this is zero or unspecified, we use the default
358
- # priority 500000.
359
- # Negative numbers mean that the intent is disabled.
447
+ # priorities.
448
+ # - If the supplied value is unspecified or 0, the service
449
+ # translates the value to 500,000, which corresponds to the
450
+ # `Normal` priority in the console.
451
+ # - If the supplied value is negative, the intent is ignored
452
+ # in runtime detect intent requests.
360
453
  # Corresponds to the JSON property `priority`
361
454
  # @return [Fixnum]
362
455
  attr_accessor :priority
@@ -450,6 +543,12 @@ module Google
450
543
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCard]
451
544
  attr_accessor :basic_card
452
545
 
546
+ # Browse Carousel Card for Actions on Google.
547
+ # https://developers.google.com/actions/assistant/responses#browsing_carousel
548
+ # Corresponds to the JSON property `browseCarouselCard`
549
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard]
550
+ attr_accessor :browse_carousel_card
551
+
453
552
  # The card response message.
454
553
  # Corresponds to the JSON property `card`
455
554
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageCard]
@@ -476,6 +575,11 @@ module Google
476
575
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelect]
477
576
  attr_accessor :list_select
478
577
 
578
+ # The media content card for Actions on Google.
579
+ # Corresponds to the JSON property `mediaContent`
580
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageMediaContent]
581
+ attr_accessor :media_content
582
+
479
583
  # Returns a response containing a custom, platform-specific payload.
480
584
  # See the Intent.Message.Platform type for a description of the
481
585
  # structure that may be required for your platform.
@@ -506,6 +610,11 @@ module Google
506
610
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageSuggestions]
507
611
  attr_accessor :suggestions
508
612
 
613
+ # Table card for Actions on Google.
614
+ # Corresponds to the JSON property `tableCard`
615
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageTableCard]
616
+ attr_accessor :table_card
617
+
509
618
  # The text response message.
510
619
  # Corresponds to the JSON property `text`
511
620
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageText]
@@ -518,16 +627,19 @@ module Google
518
627
  # Update properties of this object
519
628
  def update!(**args)
520
629
  @basic_card = args[:basic_card] if args.key?(:basic_card)
630
+ @browse_carousel_card = args[:browse_carousel_card] if args.key?(:browse_carousel_card)
521
631
  @card = args[:card] if args.key?(:card)
522
632
  @carousel_select = args[:carousel_select] if args.key?(:carousel_select)
523
633
  @image = args[:image] if args.key?(:image)
524
634
  @link_out_suggestion = args[:link_out_suggestion] if args.key?(:link_out_suggestion)
525
635
  @list_select = args[:list_select] if args.key?(:list_select)
636
+ @media_content = args[:media_content] if args.key?(:media_content)
526
637
  @payload = args[:payload] if args.key?(:payload)
527
638
  @platform = args[:platform] if args.key?(:platform)
528
639
  @quick_replies = args[:quick_replies] if args.key?(:quick_replies)
529
640
  @simple_responses = args[:simple_responses] if args.key?(:simple_responses)
530
641
  @suggestions = args[:suggestions] if args.key?(:suggestions)
642
+ @table_card = args[:table_card] if args.key?(:table_card)
531
643
  @text = args[:text] if args.key?(:text)
532
644
  end
533
645
  end
@@ -619,6 +731,105 @@ module Google
619
731
  end
620
732
  end
621
733
 
734
+ # Browse Carousel Card for Actions on Google.
735
+ # https://developers.google.com/actions/assistant/responses#browsing_carousel
736
+ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard
737
+ include Google::Apis::Core::Hashable
738
+
739
+ # Optional. Settings for displaying the image. Applies to every image in
740
+ # items.
741
+ # Corresponds to the JSON property `imageDisplayOptions`
742
+ # @return [String]
743
+ attr_accessor :image_display_options
744
+
745
+ # Required. List of items in the Browse Carousel Card. Minimum of two
746
+ # items, maximum of ten.
747
+ # Corresponds to the JSON property `items`
748
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem>]
749
+ attr_accessor :items
750
+
751
+ def initialize(**args)
752
+ update!(**args)
753
+ end
754
+
755
+ # Update properties of this object
756
+ def update!(**args)
757
+ @image_display_options = args[:image_display_options] if args.key?(:image_display_options)
758
+ @items = args[:items] if args.key?(:items)
759
+ end
760
+ end
761
+
762
+ # Browsing carousel tile
763
+ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem
764
+ include Google::Apis::Core::Hashable
765
+
766
+ # Optional. Description of the carousel item. Maximum of four lines of
767
+ # text.
768
+ # Corresponds to the JSON property `description`
769
+ # @return [String]
770
+ attr_accessor :description
771
+
772
+ # Optional. Text that appears at the bottom of the Browse Carousel
773
+ # Card. Maximum of one line of text.
774
+ # Corresponds to the JSON property `footer`
775
+ # @return [String]
776
+ attr_accessor :footer
777
+
778
+ # The image response message.
779
+ # Corresponds to the JSON property `image`
780
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage]
781
+ attr_accessor :image
782
+
783
+ # Actions on Google action to open a given url.
784
+ # Corresponds to the JSON property `openUriAction`
785
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction]
786
+ attr_accessor :open_uri_action
787
+
788
+ # Required. Title of the carousel item. Maximum of two lines of text.
789
+ # Corresponds to the JSON property `title`
790
+ # @return [String]
791
+ attr_accessor :title
792
+
793
+ def initialize(**args)
794
+ update!(**args)
795
+ end
796
+
797
+ # Update properties of this object
798
+ def update!(**args)
799
+ @description = args[:description] if args.key?(:description)
800
+ @footer = args[:footer] if args.key?(:footer)
801
+ @image = args[:image] if args.key?(:image)
802
+ @open_uri_action = args[:open_uri_action] if args.key?(:open_uri_action)
803
+ @title = args[:title] if args.key?(:title)
804
+ end
805
+ end
806
+
807
+ # Actions on Google action to open a given url.
808
+ class GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
809
+ include Google::Apis::Core::Hashable
810
+
811
+ # Required. URL
812
+ # Corresponds to the JSON property `url`
813
+ # @return [String]
814
+ attr_accessor :url
815
+
816
+ # Optional. Specifies the type of viewer that is used when opening
817
+ # the URL. Defaults to opening via web browser.
818
+ # Corresponds to the JSON property `urlTypeHint`
819
+ # @return [String]
820
+ attr_accessor :url_type_hint
821
+
822
+ def initialize(**args)
823
+ update!(**args)
824
+ end
825
+
826
+ # Update properties of this object
827
+ def update!(**args)
828
+ @url = args[:url] if args.key?(:url)
829
+ @url_type_hint = args[:url_type_hint] if args.key?(:url_type_hint)
830
+ end
831
+ end
832
+
622
833
  # The card response message.
623
834
  class GoogleCloudDialogflowV2IntentMessageCard
624
835
  include Google::Apis::Core::Hashable
@@ -739,6 +950,31 @@ module Google
739
950
  end
740
951
  end
741
952
 
953
+ # Column properties for TableCard.
954
+ class GoogleCloudDialogflowV2IntentMessageColumnProperties
955
+ include Google::Apis::Core::Hashable
956
+
957
+ # Required. Column heading.
958
+ # Corresponds to the JSON property `header`
959
+ # @return [String]
960
+ attr_accessor :header
961
+
962
+ # Optional. Defines text alignment for all cells in this column.
963
+ # Corresponds to the JSON property `horizontalAlignment`
964
+ # @return [String]
965
+ attr_accessor :horizontal_alignment
966
+
967
+ def initialize(**args)
968
+ update!(**args)
969
+ end
970
+
971
+ # Update properties of this object
972
+ def update!(**args)
973
+ @header = args[:header] if args.key?(:header)
974
+ @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment)
975
+ end
976
+ end
977
+
742
978
  # The image response message.
743
979
  class GoogleCloudDialogflowV2IntentMessageImage
744
980
  include Google::Apis::Core::Hashable
@@ -801,6 +1037,11 @@ module Google
801
1037
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageListSelectItem>]
802
1038
  attr_accessor :items
803
1039
 
1040
+ # Optional. Subtitle of the list.
1041
+ # Corresponds to the JSON property `subtitle`
1042
+ # @return [String]
1043
+ attr_accessor :subtitle
1044
+
804
1045
  # Optional. The overall title of the list.
805
1046
  # Corresponds to the JSON property `title`
806
1047
  # @return [String]
@@ -813,6 +1054,7 @@ module Google
813
1054
  # Update properties of this object
814
1055
  def update!(**args)
815
1056
  @items = args[:items] if args.key?(:items)
1057
+ @subtitle = args[:subtitle] if args.key?(:subtitle)
816
1058
  @title = args[:title] if args.key?(:title)
817
1059
  end
818
1060
  end
@@ -855,6 +1097,74 @@ module Google
855
1097
  end
856
1098
  end
857
1099
 
1100
+ # The media content card for Actions on Google.
1101
+ class GoogleCloudDialogflowV2IntentMessageMediaContent
1102
+ include Google::Apis::Core::Hashable
1103
+
1104
+ # Required. List of media objects.
1105
+ # Corresponds to the JSON property `mediaObjects`
1106
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject>]
1107
+ attr_accessor :media_objects
1108
+
1109
+ # Optional. What type of media is the content (ie "audio").
1110
+ # Corresponds to the JSON property `mediaType`
1111
+ # @return [String]
1112
+ attr_accessor :media_type
1113
+
1114
+ def initialize(**args)
1115
+ update!(**args)
1116
+ end
1117
+
1118
+ # Update properties of this object
1119
+ def update!(**args)
1120
+ @media_objects = args[:media_objects] if args.key?(:media_objects)
1121
+ @media_type = args[:media_type] if args.key?(:media_type)
1122
+ end
1123
+ end
1124
+
1125
+ # Response media object for media content card.
1126
+ class GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject
1127
+ include Google::Apis::Core::Hashable
1128
+
1129
+ # Required. Url where the media is stored.
1130
+ # Corresponds to the JSON property `contentUrl`
1131
+ # @return [String]
1132
+ attr_accessor :content_url
1133
+
1134
+ # Optional. Description of media card.
1135
+ # Corresponds to the JSON property `description`
1136
+ # @return [String]
1137
+ attr_accessor :description
1138
+
1139
+ # The image response message.
1140
+ # Corresponds to the JSON property `icon`
1141
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage]
1142
+ attr_accessor :icon
1143
+
1144
+ # The image response message.
1145
+ # Corresponds to the JSON property `largeImage`
1146
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage]
1147
+ attr_accessor :large_image
1148
+
1149
+ # Required. Name of media card.
1150
+ # Corresponds to the JSON property `name`
1151
+ # @return [String]
1152
+ attr_accessor :name
1153
+
1154
+ def initialize(**args)
1155
+ update!(**args)
1156
+ end
1157
+
1158
+ # Update properties of this object
1159
+ def update!(**args)
1160
+ @content_url = args[:content_url] if args.key?(:content_url)
1161
+ @description = args[:description] if args.key?(:description)
1162
+ @icon = args[:icon] if args.key?(:icon)
1163
+ @large_image = args[:large_image] if args.key?(:large_image)
1164
+ @name = args[:name] if args.key?(:name)
1165
+ end
1166
+ end
1167
+
858
1168
  # The quick replies response message.
859
1169
  class GoogleCloudDialogflowV2IntentMessageQuickReplies
860
1170
  include Google::Apis::Core::Hashable
@@ -1003,6 +1313,100 @@ module Google
1003
1313
  end
1004
1314
  end
1005
1315
 
1316
+ # Table card for Actions on Google.
1317
+ class GoogleCloudDialogflowV2IntentMessageTableCard
1318
+ include Google::Apis::Core::Hashable
1319
+
1320
+ # Optional. List of buttons for the card.
1321
+ # Corresponds to the JSON property `buttons`
1322
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageBasicCardButton>]
1323
+ attr_accessor :buttons
1324
+
1325
+ # Optional. Display properties for the columns in this table.
1326
+ # Corresponds to the JSON property `columnProperties`
1327
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageColumnProperties>]
1328
+ attr_accessor :column_properties
1329
+
1330
+ # The image response message.
1331
+ # Corresponds to the JSON property `image`
1332
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageImage]
1333
+ attr_accessor :image
1334
+
1335
+ # Optional. Rows in this table of data.
1336
+ # Corresponds to the JSON property `rows`
1337
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageTableCardRow>]
1338
+ attr_accessor :rows
1339
+
1340
+ # Optional. Subtitle to the title.
1341
+ # Corresponds to the JSON property `subtitle`
1342
+ # @return [String]
1343
+ attr_accessor :subtitle
1344
+
1345
+ # Required. Title of the card.
1346
+ # Corresponds to the JSON property `title`
1347
+ # @return [String]
1348
+ attr_accessor :title
1349
+
1350
+ def initialize(**args)
1351
+ update!(**args)
1352
+ end
1353
+
1354
+ # Update properties of this object
1355
+ def update!(**args)
1356
+ @buttons = args[:buttons] if args.key?(:buttons)
1357
+ @column_properties = args[:column_properties] if args.key?(:column_properties)
1358
+ @image = args[:image] if args.key?(:image)
1359
+ @rows = args[:rows] if args.key?(:rows)
1360
+ @subtitle = args[:subtitle] if args.key?(:subtitle)
1361
+ @title = args[:title] if args.key?(:title)
1362
+ end
1363
+ end
1364
+
1365
+ # Cell of TableCardRow.
1366
+ class GoogleCloudDialogflowV2IntentMessageTableCardCell
1367
+ include Google::Apis::Core::Hashable
1368
+
1369
+ # Required. Text in this cell.
1370
+ # Corresponds to the JSON property `text`
1371
+ # @return [String]
1372
+ attr_accessor :text
1373
+
1374
+ def initialize(**args)
1375
+ update!(**args)
1376
+ end
1377
+
1378
+ # Update properties of this object
1379
+ def update!(**args)
1380
+ @text = args[:text] if args.key?(:text)
1381
+ end
1382
+ end
1383
+
1384
+ # Row of TableCard.
1385
+ class GoogleCloudDialogflowV2IntentMessageTableCardRow
1386
+ include Google::Apis::Core::Hashable
1387
+
1388
+ # Optional. List of cells that make up this row.
1389
+ # Corresponds to the JSON property `cells`
1390
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessageTableCardCell>]
1391
+ attr_accessor :cells
1392
+
1393
+ # Optional. Whether to add a visual divider after this row.
1394
+ # Corresponds to the JSON property `dividerAfter`
1395
+ # @return [Boolean]
1396
+ attr_accessor :divider_after
1397
+ alias_method :divider_after?, :divider_after
1398
+
1399
+ def initialize(**args)
1400
+ update!(**args)
1401
+ end
1402
+
1403
+ # Update properties of this object
1404
+ def update!(**args)
1405
+ @cells = args[:cells] if args.key?(:cells)
1406
+ @divider_after = args[:divider_after] if args.key?(:divider_after)
1407
+ end
1408
+ end
1409
+
1006
1410
  # The text response message.
1007
1411
  class GoogleCloudDialogflowV2IntentMessageText
1008
1412
  include Google::Apis::Core::Hashable
@@ -1194,6 +1598,93 @@ module Google
1194
1598
  end
1195
1599
  end
1196
1600
 
1601
+ # Represents a message posted into a conversation.
1602
+ class GoogleCloudDialogflowV2Message
1603
+ include Google::Apis::Core::Hashable
1604
+
1605
+ # Required. The message content.
1606
+ # Corresponds to the JSON property `content`
1607
+ # @return [String]
1608
+ attr_accessor :content
1609
+
1610
+ # Output only. The time when the message was created.
1611
+ # Corresponds to the JSON property `createTime`
1612
+ # @return [String]
1613
+ attr_accessor :create_time
1614
+
1615
+ # Optional. The message language.
1616
+ # This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)
1617
+ # language tag. Example: "en-US".
1618
+ # Corresponds to the JSON property `languageCode`
1619
+ # @return [String]
1620
+ attr_accessor :language_code
1621
+
1622
+ # Represents the result of annotation for the message.
1623
+ # Corresponds to the JSON property `messageAnnotation`
1624
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2MessageAnnotation]
1625
+ attr_accessor :message_annotation
1626
+
1627
+ # The unique identifier of the message.
1628
+ # Format: `projects/<Project ID>/conversations/<Conversation
1629
+ # ID>/messages/<Message ID>`.
1630
+ # Corresponds to the JSON property `name`
1631
+ # @return [String]
1632
+ attr_accessor :name
1633
+
1634
+ # Output only. The participant that sends this message.
1635
+ # Corresponds to the JSON property `participant`
1636
+ # @return [String]
1637
+ attr_accessor :participant
1638
+
1639
+ # Output only. The role of the participant.
1640
+ # Corresponds to the JSON property `participantRole`
1641
+ # @return [String]
1642
+ attr_accessor :participant_role
1643
+
1644
+ def initialize(**args)
1645
+ update!(**args)
1646
+ end
1647
+
1648
+ # Update properties of this object
1649
+ def update!(**args)
1650
+ @content = args[:content] if args.key?(:content)
1651
+ @create_time = args[:create_time] if args.key?(:create_time)
1652
+ @language_code = args[:language_code] if args.key?(:language_code)
1653
+ @message_annotation = args[:message_annotation] if args.key?(:message_annotation)
1654
+ @name = args[:name] if args.key?(:name)
1655
+ @participant = args[:participant] if args.key?(:participant)
1656
+ @participant_role = args[:participant_role] if args.key?(:participant_role)
1657
+ end
1658
+ end
1659
+
1660
+ # Represents the result of annotation for the message.
1661
+ class GoogleCloudDialogflowV2MessageAnnotation
1662
+ include Google::Apis::Core::Hashable
1663
+
1664
+ # Indicates whether the text message contains entities.
1665
+ # Corresponds to the JSON property `containEntities`
1666
+ # @return [Boolean]
1667
+ attr_accessor :contain_entities
1668
+ alias_method :contain_entities?, :contain_entities
1669
+
1670
+ # The collection of annotated message parts ordered by their
1671
+ # position in the message. You can recover the annotated message by
1672
+ # concatenating [AnnotatedMessagePart.text].
1673
+ # Corresponds to the JSON property `parts`
1674
+ # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AnnotatedMessagePart>]
1675
+ attr_accessor :parts
1676
+
1677
+ def initialize(**args)
1678
+ update!(**args)
1679
+ end
1680
+
1681
+ # Update properties of this object
1682
+ def update!(**args)
1683
+ @contain_entities = args[:contain_entities] if args.key?(:contain_entities)
1684
+ @parts = args[:parts] if args.key?(:parts)
1685
+ end
1686
+ end
1687
+
1197
1688
  # Represents the contents of the original request that was passed to
1198
1689
  # the `[Streaming]DetectIntent` call.
1199
1690
  class GoogleCloudDialogflowV2OriginalDetectIntentRequest
@@ -2753,10 +3244,13 @@ module Google
2753
3244
  # @return [String]
2754
3245
  attr_accessor :parent_followup_intent_name
2755
3246
 
2756
- # Optional. The priority of this intent. Higher numbers represent higher
2757
- # priorities. If this is zero or unspecified, we use the default
2758
- # priority 500000.
2759
- # Negative numbers mean that the intent is disabled.
3247
+ # The priority of this intent. Higher numbers represent higher
3248
+ # priorities.
3249
+ # - If the supplied value is unspecified or 0, the service
3250
+ # translates the value to 500,000, which corresponds to the
3251
+ # `Normal` priority in the console.
3252
+ # - If the supplied value is negative, the intent is ignored
3253
+ # in runtime detect intent requests.
2760
3254
  # Corresponds to the JSON property `priority`
2761
3255
  # @return [Fixnum]
2762
3256
  attr_accessor :priority
@@ -3419,6 +3913,11 @@ module Google
3419
3913
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageListSelectItem>]
3420
3914
  attr_accessor :items
3421
3915
 
3916
+ # Optional. Subtitle of the list.
3917
+ # Corresponds to the JSON property `subtitle`
3918
+ # @return [String]
3919
+ attr_accessor :subtitle
3920
+
3422
3921
  # Optional. The overall title of the list.
3423
3922
  # Corresponds to the JSON property `title`
3424
3923
  # @return [String]
@@ -3431,6 +3930,7 @@ module Google
3431
3930
  # Update properties of this object
3432
3931
  def update!(**args)
3433
3932
  @items = args[:items] if args.key?(:items)
3933
+ @subtitle = args[:subtitle] if args.key?(:subtitle)
3434
3934
  @title = args[:title] if args.key?(:title)
3435
3935
  end
3436
3936
  end
@@ -4514,6 +5014,13 @@ module Google
4514
5014
  # @return [String]
4515
5015
  attr_accessor :display_name
4516
5016
 
5017
+ # Language which represents the KnowledgeBase. When the KnowledgeBase is
5018
+ # created/updated, this is populated for all non en-us languages. If not
5019
+ # populated, the default language en-us applies.
5020
+ # Corresponds to the JSON property `languageCode`
5021
+ # @return [String]
5022
+ attr_accessor :language_code
5023
+
4517
5024
  # The knowledge base resource name.
4518
5025
  # The name must be empty when creating a knowledge base.
4519
5026
  # Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@@ -4528,6 +5035,7 @@ module Google
4528
5035
  # Update properties of this object
4529
5036
  def update!(**args)
4530
5037
  @display_name = args[:display_name] if args.key?(:display_name)
5038
+ @language_code = args[:language_code] if args.key?(:language_code)
4531
5039
  @name = args[:name] if args.key?(:name)
4532
5040
  end
4533
5041
  end
@@ -4913,6 +5421,18 @@ module Google
4913
5421
  # @return [String]
4914
5422
  attr_accessor :time_zone
4915
5423
 
5424
+ # Optional. This field can be used to pass HTTP headers for a webhook
5425
+ # call. These headers will be sent to webhook alone with the headers that
5426
+ # have been configured through Dialogflow web console. The headers defined
5427
+ # within this field will overwrite the headers configured through Dialogflow
5428
+ # console if there is a conflict. Header names are case-insensitive.
5429
+ # Google's specified headers are not allowed. Including: "Host",
5430
+ # "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding",
5431
+ # "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc.
5432
+ # Corresponds to the JSON property `webhookHeaders`
5433
+ # @return [Hash<String,String>]
5434
+ attr_accessor :webhook_headers
5435
+
4916
5436
  def initialize(**args)
4917
5437
  update!(**args)
4918
5438
  end
@@ -4927,6 +5447,7 @@ module Google
4927
5447
  @sentiment_analysis_request_config = args[:sentiment_analysis_request_config] if args.key?(:sentiment_analysis_request_config)
4928
5448
  @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
4929
5449
  @time_zone = args[:time_zone] if args.key?(:time_zone)
5450
+ @webhook_headers = args[:webhook_headers] if args.key?(:webhook_headers)
4930
5451
  end
4931
5452
  end
4932
5453
 
@@ -5475,7 +5996,8 @@ module Google
5475
5996
  include Google::Apis::Core::Hashable
5476
5997
 
5477
5998
  # Optional. The name of the voice. If not set, the service will choose a
5478
- # voice based on the other parameters such as language_code and gender.
5999
+ # voice based on the other parameters such as language_code and
6000
+ # ssml_gender.
5479
6001
  # Corresponds to the JSON property `name`
5480
6002
  # @return [String]
5481
6003
  attr_accessor :name