google-api-client 0.37.3 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (440) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +146 -0
  3. data/api_list_config.yaml +2 -0
  4. data/api_names.yaml +2 -0
  5. data/bin/generate-api +9 -1
  6. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
  9. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  18. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  19. data/generated/google/apis/adsense_v1_4.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
  28. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  29. data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  32. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta.rb +1 -1
  37. data/generated/google/apis/bigquery_v2.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +224 -5
  39. data/generated/google/apis/bigquery_v2/representations.rb +65 -0
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
  43. data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
  44. data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
  47. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
  48. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
  49. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  50. data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
  51. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
  53. data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
  54. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  55. data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
  56. data/generated/google/apis/blogger_v2.rb +5 -4
  57. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  58. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  59. data/generated/google/apis/blogger_v2/service.rb +79 -134
  60. data/generated/google/apis/blogger_v3.rb +4 -3
  61. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  62. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  63. data/generated/google/apis/blogger_v3/service.rb +183 -463
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +1 -14
  66. data/generated/google/apis/chat_v1.rb +1 -1
  67. data/generated/google/apis/chat_v1/classes.rb +1 -1
  68. data/generated/google/apis/cloudasset_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
  70. data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
  71. data/generated/google/apis/cloudasset_v1/service.rb +2 -2
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
  74. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
  75. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
  76. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  77. data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
  78. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  79. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
  81. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  87. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  88. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
  89. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
  90. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  91. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
  92. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
  93. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
  94. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
  98. data/generated/google/apis/cloudshell_v1.rb +1 -1
  99. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  102. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  103. data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
  104. data/generated/google/apis/cloudtrace_v2.rb +3 -3
  105. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  106. data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
  107. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
  108. data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
  109. data/generated/google/apis/composer_v1.rb +1 -1
  110. data/generated/google/apis/composer_v1/classes.rb +178 -0
  111. data/generated/google/apis/composer_v1/representations.rb +54 -0
  112. data/generated/google/apis/composer_v1beta1.rb +1 -1
  113. data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
  114. data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
  115. data/generated/google/apis/compute_alpha.rb +1 -1
  116. data/generated/google/apis/compute_alpha/classes.rb +1320 -307
  117. data/generated/google/apis/compute_alpha/representations.rb +284 -18
  118. data/generated/google/apis/compute_alpha/service.rb +4914 -3211
  119. data/generated/google/apis/compute_beta.rb +1 -1
  120. data/generated/google/apis/compute_beta/classes.rb +819 -236
  121. data/generated/google/apis/compute_beta/representations.rb +245 -16
  122. data/generated/google/apis/compute_beta/service.rb +3369 -2227
  123. data/generated/google/apis/compute_v1.rb +1 -1
  124. data/generated/google/apis/compute_v1/classes.rb +837 -133
  125. data/generated/google/apis/compute_v1/representations.rb +307 -0
  126. data/generated/google/apis/compute_v1/service.rb +3155 -2026
  127. data/generated/google/apis/container_v1.rb +1 -1
  128. data/generated/google/apis/container_v1/classes.rb +42 -22
  129. data/generated/google/apis/container_v1/service.rb +2 -2
  130. data/generated/google/apis/container_v1beta1.rb +1 -1
  131. data/generated/google/apis/container_v1beta1/classes.rb +116 -136
  132. data/generated/google/apis/container_v1beta1/representations.rb +23 -51
  133. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  134. data/generated/google/apis/content_v2.rb +1 -1
  135. data/generated/google/apis/content_v2/classes.rb +1030 -113
  136. data/generated/google/apis/content_v2_1.rb +1 -1
  137. data/generated/google/apis/content_v2_1/classes.rb +987 -138
  138. data/generated/google/apis/content_v2_1/representations.rb +87 -0
  139. data/generated/google/apis/content_v2_1/service.rb +73 -0
  140. data/generated/google/apis/customsearch_v1.rb +3 -3
  141. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  142. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  143. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  144. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  145. data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
  146. data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
  147. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  148. data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
  149. data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
  150. data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
  151. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  152. data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
  153. data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
  154. data/generated/google/apis/dataproc_v1.rb +1 -1
  155. data/generated/google/apis/dataproc_v1/classes.rb +76 -7
  156. data/generated/google/apis/dataproc_v1/representations.rb +21 -0
  157. data/generated/google/apis/dataproc_v1/service.rb +72 -15
  158. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  159. data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
  160. data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
  161. data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
  167. data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
  168. data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
  169. data/generated/google/apis/dialogflow_v2.rb +1 -1
  170. data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
  171. data/generated/google/apis/dialogflow_v2/service.rb +49 -49
  172. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
  175. data/generated/google/apis/dlp_v2.rb +1 -1
  176. data/generated/google/apis/dlp_v2/classes.rb +80 -14
  177. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  178. data/generated/google/apis/dlp_v2/service.rb +3 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  180. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
  181. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  182. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  183. data/generated/google/apis/drive_v2.rb +1 -1
  184. data/generated/google/apis/drive_v2/classes.rb +54 -2
  185. data/generated/google/apis/drive_v2/representations.rb +18 -0
  186. data/generated/google/apis/drive_v2/service.rb +81 -9
  187. data/generated/google/apis/drive_v3.rb +1 -1
  188. data/generated/google/apis/drive_v3/classes.rb +54 -2
  189. data/generated/google/apis/drive_v3/representations.rb +18 -0
  190. data/generated/google/apis/drive_v3/service.rb +37 -4
  191. data/generated/google/apis/file_v1.rb +1 -1
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +2 -2
  194. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  195. data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
  196. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  197. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
  198. data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
  199. data/generated/google/apis/firestore_v1.rb +1 -1
  200. data/generated/google/apis/firestore_v1/classes.rb +11 -2
  201. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  202. data/generated/google/apis/firestore_v1/service.rb +2 -2
  203. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  204. data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
  205. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  206. data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
  207. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  208. data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
  209. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  210. data/generated/google/apis/games_management_v1management.rb +1 -1
  211. data/generated/google/apis/games_management_v1management/classes.rb +7 -0
  212. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  213. data/generated/google/apis/games_v1.rb +1 -1
  214. data/generated/google/apis/games_v1/classes.rb +13 -0
  215. data/generated/google/apis/games_v1/representations.rb +2 -0
  216. data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
  217. data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
  218. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  219. data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
  220. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  221. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  222. data/generated/google/apis/gmail_v1.rb +3 -2
  223. data/generated/google/apis/gmail_v1/classes.rb +258 -199
  224. data/generated/google/apis/gmail_v1/service.rb +552 -744
  225. data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
  226. data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
  227. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  228. data/generated/google/apis/healthcare_v1/service.rb +3470 -0
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +67 -63
  235. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  236. data/generated/google/apis/iap_v1.rb +1 -1
  237. data/generated/google/apis/iap_v1/classes.rb +190 -0
  238. data/generated/google/apis/iap_v1/representations.rb +66 -0
  239. data/generated/google/apis/jobs_v2.rb +1 -1
  240. data/generated/google/apis/language_v1.rb +1 -1
  241. data/generated/google/apis/language_v1/classes.rb +6 -6
  242. data/generated/google/apis/language_v1beta1.rb +1 -1
  243. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  244. data/generated/google/apis/language_v1beta2.rb +1 -1
  245. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  246. data/generated/google/apis/logging_v2.rb +3 -3
  247. data/generated/google/apis/logging_v2/classes.rb +3 -4
  248. data/generated/google/apis/logging_v2/service.rb +2 -2
  249. data/generated/google/apis/managedidentities_v1.rb +1 -1
  250. data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
  251. data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
  252. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  253. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
  254. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
  255. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  256. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
  257. data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
  258. data/generated/google/apis/manufacturers_v1.rb +1 -1
  259. data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
  260. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  261. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  262. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
  263. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  264. data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
  265. data/generated/google/apis/ml_v1.rb +1 -1
  266. data/generated/google/apis/ml_v1/classes.rb +47 -7
  267. data/generated/google/apis/ml_v1/representations.rb +4 -0
  268. data/generated/google/apis/monitoring_v1.rb +7 -8
  269. data/generated/google/apis/monitoring_v1/classes.rb +54 -15
  270. data/generated/google/apis/monitoring_v1/representations.rb +3 -0
  271. data/generated/google/apis/monitoring_v1/service.rb +7 -8
  272. data/generated/google/apis/monitoring_v3.rb +7 -8
  273. data/generated/google/apis/monitoring_v3/classes.rb +300 -27
  274. data/generated/google/apis/monitoring_v3/representations.rb +128 -0
  275. data/generated/google/apis/monitoring_v3/service.rb +52 -17
  276. data/generated/google/apis/oauth2_v2.rb +4 -4
  277. data/generated/google/apis/oauth2_v2/classes.rb +1 -13
  278. data/generated/google/apis/oauth2_v2/representations.rb +2 -4
  279. data/generated/google/apis/oauth2_v2/service.rb +10 -12
  280. data/generated/google/apis/osconfig_v1.rb +35 -0
  281. data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
  282. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  283. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  284. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  285. data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
  286. data/generated/google/apis/people_v1.rb +1 -1
  287. data/generated/google/apis/people_v1/classes.rb +30 -12
  288. data/generated/google/apis/people_v1/representations.rb +1 -0
  289. data/generated/google/apis/people_v1/service.rb +12 -24
  290. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  291. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
  292. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
  293. data/generated/google/apis/pubsub_v1.rb +1 -1
  294. data/generated/google/apis/pubsub_v1/classes.rb +9 -5
  295. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  296. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  297. data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
  298. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  299. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
  300. data/generated/google/apis/redis_v1.rb +1 -1
  301. data/generated/google/apis/redis_v1/classes.rb +30 -7
  302. data/generated/google/apis/redis_v1/representations.rb +13 -0
  303. data/generated/google/apis/redis_v1/service.rb +36 -0
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
  306. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
  308. data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
  311. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
  312. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  313. data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
  314. data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
  315. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  316. data/generated/google/apis/run_v1.rb +1 -1
  317. data/generated/google/apis/run_v1/classes.rb +6 -13
  318. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  319. data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
  320. data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
  321. data/generated/google/apis/secretmanager_v1.rb +2 -2
  322. data/generated/google/apis/secretmanager_v1/service.rb +4 -1
  323. data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
  324. data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
  325. data/generated/google/apis/securitycenter_v1.rb +4 -4
  326. data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
  327. data/generated/google/apis/securitycenter_v1/service.rb +11 -3
  328. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  329. data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
  330. data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
  331. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  332. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
  333. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  334. data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
  335. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
  336. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
  337. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  338. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
  339. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  340. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
  341. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
  342. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
  343. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  344. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  345. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
  346. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
  347. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
  348. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
  349. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  350. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  351. data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
  352. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  353. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  354. data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
  355. data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
  356. data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
  357. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
  359. data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
  360. data/generated/google/apis/serviceusage_v1.rb +1 -1
  361. data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
  362. data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
  363. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  364. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  365. data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
  366. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
  367. data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
  368. data/generated/google/apis/sheets_v4.rb +1 -1
  369. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  370. data/generated/google/apis/spanner_v1.rb +1 -1
  371. data/generated/google/apis/spanner_v1/classes.rb +463 -1
  372. data/generated/google/apis/spanner_v1/representations.rb +178 -0
  373. data/generated/google/apis/spanner_v1/service.rb +498 -10
  374. data/generated/google/apis/speech_v1.rb +1 -1
  375. data/generated/google/apis/speech_v1/classes.rb +7 -3
  376. data/generated/google/apis/speech_v1/representations.rb +1 -0
  377. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  378. data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
  379. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  380. data/generated/google/apis/speech_v2beta1.rb +1 -1
  381. data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
  382. data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
  383. data/generated/google/apis/sql_v1beta4.rb +1 -1
  384. data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
  385. data/generated/google/apis/sql_v1beta4/service.rb +54 -384
  386. data/generated/google/apis/storage_v1.rb +1 -1
  387. data/generated/google/apis/storage_v1/classes.rb +18 -0
  388. data/generated/google/apis/storage_v1/representations.rb +2 -0
  389. data/generated/google/apis/storage_v1/service.rb +28 -3
  390. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  391. data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
  392. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  393. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  394. data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
  395. data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
  396. data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
  397. data/generated/google/apis/vault_v1.rb +1 -1
  398. data/generated/google/apis/videointelligence_v1.rb +1 -1
  399. data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
  400. data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
  401. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  402. data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
  403. data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
  404. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
  406. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
  407. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
  409. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
  410. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
  412. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
  413. data/generated/google/apis/vision_v1.rb +1 -1
  414. data/generated/google/apis/vision_v1/classes.rb +1 -1
  415. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  416. data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
  417. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  418. data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
  419. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  420. data/generated/google/apis/youtube_v3.rb +4 -1
  421. data/generated/google/apis/youtube_v3/classes.rb +7 -0
  422. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  423. data/lib/google/apis/generator/annotator.rb +1 -1
  424. data/lib/google/apis/version.rb +1 -1
  425. metadata +32 -23
  426. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  427. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
  428. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  429. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
  430. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  431. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  432. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  433. data/generated/google/apis/mirror_v1/service.rb +0 -928
  434. data/generated/google/apis/oauth2_v1.rb +0 -40
  435. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  436. data/generated/google/apis/oauth2_v1/representations.rb +0 -73
  437. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  438. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  439. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  440. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -514,6 +514,12 @@ module Google
514
514
  include Google::Apis::Core::JsonObjectSupport
515
515
  end
516
516
 
517
+ class RankingMetrics
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
517
523
  class RegressionMetrics
518
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
519
525
 
@@ -538,6 +544,18 @@ module Google
538
544
  include Google::Apis::Core::JsonObjectSupport
539
545
  end
540
546
 
547
+ class RowAccessPolicyReference
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class RowLevelSecurityStatistics
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
541
559
  class ScriptStackFrame
542
560
  class Representation < Google::Apis::Core::JsonRepresentation; end
543
561
 
@@ -1076,6 +1094,8 @@ module Google
1076
1094
 
1077
1095
  property :multi_class_classification_metrics, as: 'multiClassClassificationMetrics', class: Google::Apis::BigqueryV2::MultiClassClassificationMetrics, decorator: Google::Apis::BigqueryV2::MultiClassClassificationMetrics::Representation
1078
1096
 
1097
+ property :ranking_metrics, as: 'rankingMetrics', class: Google::Apis::BigqueryV2::RankingMetrics, decorator: Google::Apis::BigqueryV2::RankingMetrics::Representation
1098
+
1079
1099
  property :regression_metrics, as: 'regressionMetrics', class: Google::Apis::BigqueryV2::RegressionMetrics, decorator: Google::Apis::BigqueryV2::RegressionMetrics::Representation
1080
1100
 
1081
1101
  end
@@ -1331,6 +1351,7 @@ module Google
1331
1351
  property :allow_large_results, as: 'allowLargeResults'
1332
1352
  property :clustering, as: 'clustering', class: Google::Apis::BigqueryV2::Clustering, decorator: Google::Apis::BigqueryV2::Clustering::Representation
1333
1353
 
1354
+ collection :connection_properties, as: 'connectionProperties'
1334
1355
  property :create_disposition, as: 'createDisposition'
1335
1356
  property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1336
1357
 
@@ -1436,6 +1457,8 @@ module Google
1436
1457
  collection :reservation_usage, as: 'reservationUsage', class: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage, decorator: Google::Apis::BigqueryV2::JobStatistics::ReservationUsage::Representation
1437
1458
 
1438
1459
  property :reservation_id, as: 'reservation_id'
1460
+ property :row_level_security_statistics, as: 'rowLevelSecurityStatistics', class: Google::Apis::BigqueryV2::RowLevelSecurityStatistics, decorator: Google::Apis::BigqueryV2::RowLevelSecurityStatistics::Representation
1461
+
1439
1462
  property :script_statistics, as: 'scriptStatistics', class: Google::Apis::BigqueryV2::ScriptStatistics, decorator: Google::Apis::BigqueryV2::ScriptStatistics::Representation
1440
1463
 
1441
1464
  property :start_time, :numeric_string => true, as: 'startTime'
@@ -1457,9 +1480,12 @@ module Google
1457
1480
  class Representation < Google::Apis::Core::JsonRepresentation
1458
1481
  property :billing_tier, as: 'billingTier'
1459
1482
  property :cache_hit, as: 'cacheHit'
1483
+ property :ddl_affected_row_access_policy_count, :numeric_string => true, as: 'ddlAffectedRowAccessPolicyCount'
1460
1484
  property :ddl_operation_performed, as: 'ddlOperationPerformed'
1461
1485
  property :ddl_target_routine, as: 'ddlTargetRoutine', class: Google::Apis::BigqueryV2::RoutineReference, decorator: Google::Apis::BigqueryV2::RoutineReference::Representation
1462
1486
 
1487
+ property :ddl_target_row_access_policy, as: 'ddlTargetRowAccessPolicy', class: Google::Apis::BigqueryV2::RowAccessPolicyReference, decorator: Google::Apis::BigqueryV2::RowAccessPolicyReference::Representation
1488
+
1463
1489
  property :ddl_target_table, as: 'ddlTargetTable', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
1464
1490
 
1465
1491
  property :estimated_bytes_processed, :numeric_string => true, as: 'estimatedBytesProcessed'
@@ -1704,6 +1730,7 @@ module Google
1704
1730
  class QueryRequest
1705
1731
  # @private
1706
1732
  class Representation < Google::Apis::Core::JsonRepresentation
1733
+ collection :connection_properties, as: 'connectionProperties'
1707
1734
  property :default_dataset, as: 'defaultDataset', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
1708
1735
 
1709
1736
  property :dry_run, as: 'dryRun'
@@ -1771,6 +1798,16 @@ module Google
1771
1798
  end
1772
1799
  end
1773
1800
 
1801
+ class RankingMetrics
1802
+ # @private
1803
+ class Representation < Google::Apis::Core::JsonRepresentation
1804
+ property :average_rank, as: 'averageRank'
1805
+ property :mean_average_precision, as: 'meanAveragePrecision'
1806
+ property :mean_squared_error, as: 'meanSquaredError'
1807
+ property :normalized_discounted_cumulative_gain, as: 'normalizedDiscountedCumulativeGain'
1808
+ end
1809
+ end
1810
+
1774
1811
  class RegressionMetrics
1775
1812
  # @private
1776
1813
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1820,6 +1857,23 @@ module Google
1820
1857
  end
1821
1858
  end
1822
1859
 
1860
+ class RowAccessPolicyReference
1861
+ # @private
1862
+ class Representation < Google::Apis::Core::JsonRepresentation
1863
+ property :dataset_id, as: 'datasetId'
1864
+ property :policy_id, as: 'policyId'
1865
+ property :project_id, as: 'projectId'
1866
+ property :table_id, as: 'tableId'
1867
+ end
1868
+ end
1869
+
1870
+ class RowLevelSecurityStatistics
1871
+ # @private
1872
+ class Representation < Google::Apis::Core::JsonRepresentation
1873
+ property :row_level_security_applied, as: 'rowLevelSecurityApplied'
1874
+ end
1875
+ end
1876
+
1823
1877
  class ScriptStackFrame
1824
1878
  # @private
1825
1879
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2090,13 +2144,18 @@ module Google
2090
2144
  class TrainingOptions
2091
2145
  # @private
2092
2146
  class Representation < Google::Apis::Core::JsonRepresentation
2147
+ property :batch_size, :numeric_string => true, as: 'batchSize'
2093
2148
  property :data_split_column, as: 'dataSplitColumn'
2094
2149
  property :data_split_eval_fraction, as: 'dataSplitEvalFraction'
2095
2150
  property :data_split_method, as: 'dataSplitMethod'
2096
2151
  property :distance_type, as: 'distanceType'
2152
+ property :dropout, as: 'dropout'
2097
2153
  property :early_stop, as: 'earlyStop'
2154
+ property :feedback_type, as: 'feedbackType'
2155
+ collection :hidden_units, as: 'hiddenUnits'
2098
2156
  property :initial_learn_rate, as: 'initialLearnRate'
2099
2157
  collection :input_label_columns, as: 'inputLabelColumns'
2158
+ property :item_column, as: 'itemColumn'
2100
2159
  property :kmeans_initialization_column, as: 'kmeansInitializationColumn'
2101
2160
  property :kmeans_initialization_method, as: 'kmeansInitializationMethod'
2102
2161
  property :l1_regularization, as: 'l1Regularization'
@@ -2106,10 +2165,16 @@ module Google
2106
2165
  property :learn_rate_strategy, as: 'learnRateStrategy'
2107
2166
  property :loss_type, as: 'lossType'
2108
2167
  property :max_iterations, :numeric_string => true, as: 'maxIterations'
2168
+ property :max_tree_depth, :numeric_string => true, as: 'maxTreeDepth'
2109
2169
  property :min_relative_progress, as: 'minRelativeProgress'
2170
+ property :min_split_loss, as: 'minSplitLoss'
2110
2171
  property :model_uri, as: 'modelUri'
2111
2172
  property :num_clusters, :numeric_string => true, as: 'numClusters'
2173
+ property :num_factors, :numeric_string => true, as: 'numFactors'
2112
2174
  property :optimization_strategy, as: 'optimizationStrategy'
2175
+ property :subsample, as: 'subsample'
2176
+ property :user_column, as: 'userColumn'
2177
+ property :wals_alpha, as: 'walsAlpha'
2113
2178
  property :warm_start, as: 'warmStart'
2114
2179
  end
2115
2180
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/bigquery/
27
27
  module BigquerydatatransferV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200226'
29
+ REVISION = '20200313'
30
30
 
31
31
  # View and manage your data in Google BigQuery
32
32
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryreservationV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200220'
28
+ REVISION = '20200403'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -22,6 +22,171 @@ module Google
22
22
  module Apis
23
23
  module BigqueryreservationV1
24
24
 
25
+ # A Assignment allows a project to submit jobs
26
+ # of a certain type using slots from the specified reservation.
27
+ class Assignment
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # The resource which will use the reservation. E.g.
31
+ # projects/myproject, folders/123, organizations/456.
32
+ # Corresponds to the JSON property `assignee`
33
+ # @return [String]
34
+ attr_accessor :assignee
35
+
36
+ # Which type of jobs will use the reservation.
37
+ # Corresponds to the JSON property `jobType`
38
+ # @return [String]
39
+ attr_accessor :job_type
40
+
41
+ # Output only. Name of the resource. E.g.:
42
+ # projects/myproject/locations/US/reservations/team1-prod/assignments/123.
43
+ # Corresponds to the JSON property `name`
44
+ # @return [String]
45
+ attr_accessor :name
46
+
47
+ # Output only. State of the assignment.
48
+ # Corresponds to the JSON property `state`
49
+ # @return [String]
50
+ attr_accessor :state
51
+
52
+ def initialize(**args)
53
+ update!(**args)
54
+ end
55
+
56
+ # Update properties of this object
57
+ def update!(**args)
58
+ @assignee = args[:assignee] if args.key?(:assignee)
59
+ @job_type = args[:job_type] if args.key?(:job_type)
60
+ @name = args[:name] if args.key?(:name)
61
+ @state = args[:state] if args.key?(:state)
62
+ end
63
+ end
64
+
65
+ # Represents a BI Reservation.
66
+ class BiReservation
67
+ include Google::Apis::Core::Hashable
68
+
69
+ # The resource name of the singleton BI reservation.
70
+ # Reservation names have the form
71
+ # `projects/`project_id`/locations/`location_id`/bireservation`.
72
+ # Corresponds to the JSON property `name`
73
+ # @return [String]
74
+ attr_accessor :name
75
+
76
+ # Size of a reservation, in bytes.
77
+ # Corresponds to the JSON property `size`
78
+ # @return [Fixnum]
79
+ attr_accessor :size
80
+
81
+ # Output only. The last update timestamp of a reservation.
82
+ # Corresponds to the JSON property `updateTime`
83
+ # @return [String]
84
+ attr_accessor :update_time
85
+
86
+ def initialize(**args)
87
+ update!(**args)
88
+ end
89
+
90
+ # Update properties of this object
91
+ def update!(**args)
92
+ @name = args[:name] if args.key?(:name)
93
+ @size = args[:size] if args.key?(:size)
94
+ @update_time = args[:update_time] if args.key?(:update_time)
95
+ end
96
+ end
97
+
98
+ # Capacity commitment is a way to purchase compute capacity for BigQuery jobs
99
+ # (in the form of slots) with some committed period of usage. Monthly and
100
+ # annual commitments renew by default. Only flex commitments can be removed. In
101
+ # order to remove monthly or annual commitments, their plan needs to be changed
102
+ # to flex first.
103
+ # A capacity commitment resource exists as a child resource of the admin
104
+ # project.
105
+ class CapacityCommitment
106
+ include Google::Apis::Core::Hashable
107
+
108
+ # Output only. The end of the current commitment period. It is applicable only
109
+ # for ACTIVE
110
+ # capacity commitments.
111
+ # Corresponds to the JSON property `commitmentEndTime`
112
+ # @return [String]
113
+ attr_accessor :commitment_end_time
114
+
115
+ # The `Status` type defines a logical error model that is suitable for
116
+ # different programming environments, including REST APIs and RPC APIs. It is
117
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
118
+ # three pieces of data: error code, error message, and error details.
119
+ # You can find out more about this error model and how to work with it in the
120
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
121
+ # Corresponds to the JSON property `failureStatus`
122
+ # @return [Google::Apis::BigqueryreservationV1::Status]
123
+ attr_accessor :failure_status
124
+
125
+ # Output only. The resource name of the capacity commitment, e.g.,
126
+ # projects/myproject/locations/US/capacityCommitments/123
127
+ # Corresponds to the JSON property `name`
128
+ # @return [String]
129
+ attr_accessor :name
130
+
131
+ # Capacity commitment commitment plan.
132
+ # Corresponds to the JSON property `plan`
133
+ # @return [String]
134
+ attr_accessor :plan
135
+
136
+ # The plan this capacity commitment is converted to after commitment_end_time
137
+ # passes. Once the plan is changed, committed period is extended according to
138
+ # commitment plan. Only applicable for ANNUAL commitments.
139
+ # Corresponds to the JSON property `renewalPlan`
140
+ # @return [String]
141
+ attr_accessor :renewal_plan
142
+
143
+ # Number of slots in this commitment.
144
+ # Corresponds to the JSON property `slotCount`
145
+ # @return [Fixnum]
146
+ attr_accessor :slot_count
147
+
148
+ # Output only. State of the commitment.
149
+ # Corresponds to the JSON property `state`
150
+ # @return [String]
151
+ attr_accessor :state
152
+
153
+ def initialize(**args)
154
+ update!(**args)
155
+ end
156
+
157
+ # Update properties of this object
158
+ def update!(**args)
159
+ @commitment_end_time = args[:commitment_end_time] if args.key?(:commitment_end_time)
160
+ @failure_status = args[:failure_status] if args.key?(:failure_status)
161
+ @name = args[:name] if args.key?(:name)
162
+ @plan = args[:plan] if args.key?(:plan)
163
+ @renewal_plan = args[:renewal_plan] if args.key?(:renewal_plan)
164
+ @slot_count = args[:slot_count] if args.key?(:slot_count)
165
+ @state = args[:state] if args.key?(:state)
166
+ end
167
+ end
168
+
169
+ # The metadata for operation returned from
170
+ # ReservationService.CreateSlotPool.
171
+ class CreateSlotPoolMetadata
172
+ include Google::Apis::Core::Hashable
173
+
174
+ # Resource name of the slot pool that is being created. E.g.,
175
+ # projects/myproject/locations/us-central1/reservations/foo/slotPools/123
176
+ # Corresponds to the JSON property `slotPool`
177
+ # @return [String]
178
+ attr_accessor :slot_pool
179
+
180
+ def initialize(**args)
181
+ update!(**args)
182
+ end
183
+
184
+ # Update properties of this object
185
+ def update!(**args)
186
+ @slot_pool = args[:slot_pool] if args.key?(:slot_pool)
187
+ end
188
+ end
189
+
25
190
  # A generic empty message that you can re-use to avoid defining duplicated
26
191
  # empty messages in your APIs. A typical example is to use it as the request
27
192
  # or the response type of an API method. For instance:
@@ -41,6 +206,58 @@ module Google
41
206
  end
42
207
  end
43
208
 
209
+ # The response for ReservationService.ListAssignments.
210
+ class ListAssignmentsResponse
211
+ include Google::Apis::Core::Hashable
212
+
213
+ # List of assignments visible to the user.
214
+ # Corresponds to the JSON property `assignments`
215
+ # @return [Array<Google::Apis::BigqueryreservationV1::Assignment>]
216
+ attr_accessor :assignments
217
+
218
+ # Token to retrieve the next page of results, or empty if there are no
219
+ # more results in the list.
220
+ # Corresponds to the JSON property `nextPageToken`
221
+ # @return [String]
222
+ attr_accessor :next_page_token
223
+
224
+ def initialize(**args)
225
+ update!(**args)
226
+ end
227
+
228
+ # Update properties of this object
229
+ def update!(**args)
230
+ @assignments = args[:assignments] if args.key?(:assignments)
231
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
232
+ end
233
+ end
234
+
235
+ # The response for ReservationService.ListCapacityCommitments.
236
+ class ListCapacityCommitmentsResponse
237
+ include Google::Apis::Core::Hashable
238
+
239
+ # List of capacity commitments visible to the user.
240
+ # Corresponds to the JSON property `capacityCommitments`
241
+ # @return [Array<Google::Apis::BigqueryreservationV1::CapacityCommitment>]
242
+ attr_accessor :capacity_commitments
243
+
244
+ # Token to retrieve the next page of results, or empty if there are no
245
+ # more results in the list.
246
+ # Corresponds to the JSON property `nextPageToken`
247
+ # @return [String]
248
+ attr_accessor :next_page_token
249
+
250
+ def initialize(**args)
251
+ update!(**args)
252
+ end
253
+
254
+ # Update properties of this object
255
+ def update!(**args)
256
+ @capacity_commitments = args[:capacity_commitments] if args.key?(:capacity_commitments)
257
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
258
+ end
259
+ end
260
+
44
261
  # The response message for Operations.ListOperations.
45
262
  class ListOperationsResponse
46
263
  include Google::Apis::Core::Hashable
@@ -66,6 +283,78 @@ module Google
66
283
  end
67
284
  end
68
285
 
286
+ # The response for ReservationService.ListReservations.
287
+ class ListReservationsResponse
288
+ include Google::Apis::Core::Hashable
289
+
290
+ # Token to retrieve the next page of results, or empty if there are no
291
+ # more results in the list.
292
+ # Corresponds to the JSON property `nextPageToken`
293
+ # @return [String]
294
+ attr_accessor :next_page_token
295
+
296
+ # List of reservations visible to the user.
297
+ # Corresponds to the JSON property `reservations`
298
+ # @return [Array<Google::Apis::BigqueryreservationV1::Reservation>]
299
+ attr_accessor :reservations
300
+
301
+ def initialize(**args)
302
+ update!(**args)
303
+ end
304
+
305
+ # Update properties of this object
306
+ def update!(**args)
307
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
308
+ @reservations = args[:reservations] if args.key?(:reservations)
309
+ end
310
+ end
311
+
312
+ # The request for ReservationService.MergeCapacityCommitments.
313
+ class MergeCapacityCommitmentsRequest
314
+ include Google::Apis::Core::Hashable
315
+
316
+ # Ids of capacity commitments to merge.
317
+ # These capacity commitments must exist under admin project and location
318
+ # specified in the parent.
319
+ # Corresponds to the JSON property `capacityCommitmentIds`
320
+ # @return [Array<String>]
321
+ attr_accessor :capacity_commitment_ids
322
+
323
+ def initialize(**args)
324
+ update!(**args)
325
+ end
326
+
327
+ # Update properties of this object
328
+ def update!(**args)
329
+ @capacity_commitment_ids = args[:capacity_commitment_ids] if args.key?(:capacity_commitment_ids)
330
+ end
331
+ end
332
+
333
+ # The request for
334
+ # ReservationService.MoveAssignment.
335
+ # Note: "bigquery.reservationAssignments.create" permission is required on the
336
+ # destination_id. Note: "bigquery.reservationAssignments.create" and
337
+ # "bigquery.reservationAssignments.delete" permission is required on the
338
+ # related assignee.
339
+ class MoveAssignmentRequest
340
+ include Google::Apis::Core::Hashable
341
+
342
+ # The new reservation ID, e.g.:
343
+ # projects/myotherproject/locations/US/reservations/team2-prod
344
+ # Corresponds to the JSON property `destinationId`
345
+ # @return [String]
346
+ attr_accessor :destination_id
347
+
348
+ def initialize(**args)
349
+ update!(**args)
350
+ end
351
+
352
+ # Update properties of this object
353
+ def update!(**args)
354
+ @destination_id = args[:destination_id] if args.key?(:destination_id)
355
+ end
356
+ end
357
+
69
358
  # This resource represents a long-running operation that is the result of a
70
359
  # network API call.
71
360
  class Operation
@@ -130,6 +419,130 @@ module Google
130
419
  end
131
420
  end
132
421
 
422
+ # A reservation is a mechanism used to guarantee slots to users.
423
+ class Reservation
424
+ include Google::Apis::Core::Hashable
425
+
426
+ # If false, any query using this reservation will use idle slots from other
427
+ # reservations within the same admin project. If true, a query using this
428
+ # reservation will execute with the slot capacity specified above at most.
429
+ # Corresponds to the JSON property `ignoreIdleSlots`
430
+ # @return [Boolean]
431
+ attr_accessor :ignore_idle_slots
432
+ alias_method :ignore_idle_slots?, :ignore_idle_slots
433
+
434
+ # The resource name of the reservation, e.g.,
435
+ # "projects/*/locations/*/reservations/team1-prod".
436
+ # Corresponds to the JSON property `name`
437
+ # @return [String]
438
+ attr_accessor :name
439
+
440
+ # Minimum slots available to this reservation. A slot is a unit of
441
+ # computational power in BigQuery, and serves as the unit of parallelism.
442
+ # Queries using this reservation might use more slots during runtime if
443
+ # ignore_idle_slots is set to false.
444
+ # If the new reservation's slot capacity exceed the parent's slot capacity or
445
+ # if total slot capacity of the new reservation and its siblings exceeds the
446
+ # parent's slot capacity, the request will fail with
447
+ # `google.rpc.Code.RESOURCE_EXHAUSTED`.
448
+ # Corresponds to the JSON property `slotCapacity`
449
+ # @return [Fixnum]
450
+ attr_accessor :slot_capacity
451
+
452
+ def initialize(**args)
453
+ update!(**args)
454
+ end
455
+
456
+ # Update properties of this object
457
+ def update!(**args)
458
+ @ignore_idle_slots = args[:ignore_idle_slots] if args.key?(:ignore_idle_slots)
459
+ @name = args[:name] if args.key?(:name)
460
+ @slot_capacity = args[:slot_capacity] if args.key?(:slot_capacity)
461
+ end
462
+ end
463
+
464
+ # The response for ReservationService.SearchAssignments.
465
+ class SearchAssignmentsResponse
466
+ include Google::Apis::Core::Hashable
467
+
468
+ # List of assignments visible to the user.
469
+ # Corresponds to the JSON property `assignments`
470
+ # @return [Array<Google::Apis::BigqueryreservationV1::Assignment>]
471
+ attr_accessor :assignments
472
+
473
+ # Token to retrieve the next page of results, or empty if there are no
474
+ # more results in the list.
475
+ # Corresponds to the JSON property `nextPageToken`
476
+ # @return [String]
477
+ attr_accessor :next_page_token
478
+
479
+ def initialize(**args)
480
+ update!(**args)
481
+ end
482
+
483
+ # Update properties of this object
484
+ def update!(**args)
485
+ @assignments = args[:assignments] if args.key?(:assignments)
486
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
487
+ end
488
+ end
489
+
490
+ # The request for ReservationService.SplitCapacityCommitment.
491
+ class SplitCapacityCommitmentRequest
492
+ include Google::Apis::Core::Hashable
493
+
494
+ # Number of slots in the capacity commitment after the split.
495
+ # Corresponds to the JSON property `slotCount`
496
+ # @return [Fixnum]
497
+ attr_accessor :slot_count
498
+
499
+ def initialize(**args)
500
+ update!(**args)
501
+ end
502
+
503
+ # Update properties of this object
504
+ def update!(**args)
505
+ @slot_count = args[:slot_count] if args.key?(:slot_count)
506
+ end
507
+ end
508
+
509
+ # The response for ReservationService.SplitCapacityCommitment.
510
+ class SplitCapacityCommitmentResponse
511
+ include Google::Apis::Core::Hashable
512
+
513
+ # Capacity commitment is a way to purchase compute capacity for BigQuery jobs
514
+ # (in the form of slots) with some committed period of usage. Monthly and
515
+ # annual commitments renew by default. Only flex commitments can be removed. In
516
+ # order to remove monthly or annual commitments, their plan needs to be changed
517
+ # to flex first.
518
+ # A capacity commitment resource exists as a child resource of the admin
519
+ # project.
520
+ # Corresponds to the JSON property `first`
521
+ # @return [Google::Apis::BigqueryreservationV1::CapacityCommitment]
522
+ attr_accessor :first
523
+
524
+ # Capacity commitment is a way to purchase compute capacity for BigQuery jobs
525
+ # (in the form of slots) with some committed period of usage. Monthly and
526
+ # annual commitments renew by default. Only flex commitments can be removed. In
527
+ # order to remove monthly or annual commitments, their plan needs to be changed
528
+ # to flex first.
529
+ # A capacity commitment resource exists as a child resource of the admin
530
+ # project.
531
+ # Corresponds to the JSON property `second`
532
+ # @return [Google::Apis::BigqueryreservationV1::CapacityCommitment]
533
+ attr_accessor :second
534
+
535
+ def initialize(**args)
536
+ update!(**args)
537
+ end
538
+
539
+ # Update properties of this object
540
+ def update!(**args)
541
+ @first = args[:first] if args.key?(:first)
542
+ @second = args[:second] if args.key?(:second)
543
+ end
544
+ end
545
+
133
546
  # The `Status` type defines a logical error model that is suitable for
134
547
  # different programming environments, including REST APIs and RPC APIs. It is
135
548
  # used by [gRPC](https://github.com/grpc). Each `Status` message contains