google-api-client 0.39.3 → 0.40.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (416) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +242 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/admob_v1.rb +1 -1
  6. data/generated/google/apis/admob_v1/classes.rb +5 -6
  7. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  8. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  9. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  10. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  11. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  12. data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
  13. data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
  14. data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
  15. data/generated/google/apis/apigee_v1.rb +1 -1
  16. data/generated/google/apis/apigee_v1/classes.rb +58 -10
  17. data/generated/google/apis/apigee_v1/representations.rb +7 -0
  18. data/generated/google/apis/apigee_v1/service.rb +24 -14
  19. data/generated/google/apis/appsmarket_v2.rb +3 -3
  20. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  21. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  22. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  23. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  24. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1123 -0
  25. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +441 -0
  26. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  27. data/generated/google/apis/bigquery_v2.rb +1 -1
  28. data/generated/google/apis/bigquery_v2/classes.rb +54 -1
  29. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  30. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  31. data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
  32. data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
  33. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  34. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
  35. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  36. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  38. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  39. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  40. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  41. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  42. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  43. data/generated/google/apis/books_v1.rb +1 -1
  44. data/generated/google/apis/books_v1/service.rb +2 -2
  45. data/generated/google/apis/calendar_v3.rb +1 -1
  46. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  47. data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
  48. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  49. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  50. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  51. data/generated/google/apis/cloudasset_v1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1/classes.rb +70 -43
  53. data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
  54. data/generated/google/apis/cloudasset_v1/service.rb +14 -11
  55. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudasset_v1beta1/classes.rb +29 -16
  57. data/generated/google/apis/cloudasset_v1beta1/service.rb +16 -7
  58. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  59. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
  60. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  61. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  62. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  63. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
  64. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
  65. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
  67. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  68. data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
  69. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  70. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
  71. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
  72. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  73. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  74. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
  75. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
  76. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  77. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  79. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  80. data/generated/google/apis/cloudiot_v1.rb +1 -1
  81. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  82. data/generated/google/apis/cloudkms_v1.rb +1 -1
  83. data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
  84. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  85. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
  87. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
  88. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
  90. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  91. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  93. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  95. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  96. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  97. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  98. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  99. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
  100. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
  102. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  103. data/generated/google/apis/composer_v1beta1.rb +1 -1
  104. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  105. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  106. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  107. data/generated/google/apis/compute_alpha.rb +1 -1
  108. data/generated/google/apis/compute_alpha/classes.rb +318 -166
  109. data/generated/google/apis/compute_alpha/representations.rb +80 -33
  110. data/generated/google/apis/compute_alpha/service.rb +194 -0
  111. data/generated/google/apis/compute_beta.rb +1 -1
  112. data/generated/google/apis/compute_beta/classes.rb +237 -83
  113. data/generated/google/apis/compute_beta/representations.rb +52 -0
  114. data/generated/google/apis/compute_v1.rb +1 -1
  115. data/generated/google/apis/compute_v1/classes.rb +155 -58
  116. data/generated/google/apis/compute_v1/representations.rb +21 -0
  117. data/generated/google/apis/compute_v1/service.rb +83 -0
  118. data/generated/google/apis/container_v1.rb +1 -1
  119. data/generated/google/apis/container_v1/classes.rb +2 -4
  120. data/generated/google/apis/container_v1beta1.rb +1 -1
  121. data/generated/google/apis/container_v1beta1/classes.rb +62 -4
  122. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  123. data/generated/google/apis/content_v2.rb +1 -1
  124. data/generated/google/apis/content_v2/classes.rb +34 -0
  125. data/generated/google/apis/content_v2/representations.rb +16 -0
  126. data/generated/google/apis/content_v2/service.rb +5 -1
  127. data/generated/google/apis/content_v2_1.rb +1 -1
  128. data/generated/google/apis/content_v2_1/classes.rb +363 -5
  129. data/generated/google/apis/content_v2_1/representations.rb +136 -0
  130. data/generated/google/apis/content_v2_1/service.rb +85 -1
  131. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  132. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  133. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  134. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  135. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  136. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  137. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  138. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  139. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  140. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  141. data/generated/google/apis/dataproc_v1.rb +1 -1
  142. data/generated/google/apis/dataproc_v1/classes.rb +22 -22
  143. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  144. data/generated/google/apis/dataproc_v1beta2/classes.rb +49 -35
  145. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  146. data/generated/google/apis/datastore_v1.rb +1 -1
  147. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  148. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  149. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  150. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  151. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  152. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  153. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  154. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  155. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  156. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  157. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  158. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  159. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  160. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  161. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  167. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  168. data/generated/google/apis/dialogflow_v2.rb +1 -1
  169. data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
  170. data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
  171. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  172. data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
  173. data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
  175. data/generated/google/apis/displayvideo_v1.rb +1 -1
  176. data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
  177. data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
  178. data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
  179. data/generated/google/apis/dlp_v2.rb +1 -1
  180. data/generated/google/apis/dlp_v2/classes.rb +17 -27
  181. data/generated/google/apis/dlp_v2/service.rb +247 -204
  182. data/generated/google/apis/dns_v1.rb +1 -1
  183. data/generated/google/apis/dns_v1/classes.rb +160 -261
  184. data/generated/google/apis/dns_v1/representations.rb +17 -0
  185. data/generated/google/apis/dns_v1/service.rb +21 -141
  186. data/generated/google/apis/dns_v1beta2.rb +1 -1
  187. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  188. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  189. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  190. data/generated/google/apis/dns_v2beta1.rb +1 -1
  191. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  192. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  193. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  194. data/generated/google/apis/fcm_v1.rb +1 -1
  195. data/generated/google/apis/file_v1.rb +1 -1
  196. data/generated/google/apis/file_v1/classes.rb +31 -0
  197. data/generated/google/apis/file_v1/representations.rb +15 -0
  198. data/generated/google/apis/file_v1beta1.rb +1 -1
  199. data/generated/google/apis/file_v1beta1/classes.rb +98 -0
  200. data/generated/google/apis/file_v1beta1/representations.rb +34 -0
  201. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  202. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  203. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  204. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  205. data/generated/google/apis/{pagespeedonline_v4.rb → firebaseml_v1.rb} +12 -10
  206. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  207. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  208. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  209. data/generated/google/apis/fitness_v1.rb +4 -4
  210. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  211. data/generated/google/apis/fitness_v1/service.rb +187 -215
  212. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  213. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  214. data/generated/google/apis/games_management_v1management.rb +1 -1
  215. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  216. data/generated/google/apis/games_v1.rb +1 -1
  217. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  218. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  219. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  220. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  221. data/generated/google/apis/gmail_v1.rb +3 -2
  222. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  223. data/generated/google/apis/gmail_v1/service.rb +551 -743
  224. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  225. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  226. data/generated/google/apis/healthcare_v1.rb +1 -1
  227. data/generated/google/apis/healthcare_v1/classes.rb +39 -30
  228. data/generated/google/apis/healthcare_v1/service.rb +64 -32
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +41 -37
  231. data/generated/google/apis/healthcare_v1beta1/service.rb +165 -147
  232. data/generated/google/apis/homegraph_v1.rb +1 -1
  233. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  234. data/generated/google/apis/iam_v1.rb +1 -1
  235. data/generated/google/apis/iam_v1/classes.rb +111 -93
  236. data/generated/google/apis/iam_v1/service.rb +166 -144
  237. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  238. data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
  239. data/generated/google/apis/jobs_v3.rb +1 -1
  240. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  241. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  242. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  243. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  244. data/generated/google/apis/memcache_v1beta2/classes.rb +66 -23
  245. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  246. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  247. data/generated/google/apis/ml_v1.rb +1 -1
  248. data/generated/google/apis/ml_v1/classes.rb +84 -18
  249. data/generated/google/apis/ml_v1/representations.rb +4 -0
  250. data/generated/google/apis/ml_v1/service.rb +11 -6
  251. data/generated/google/apis/monitoring_v1.rb +1 -1
  252. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  253. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  254. data/generated/google/apis/monitoring_v3.rb +1 -1
  255. data/generated/google/apis/monitoring_v3/classes.rb +17 -0
  256. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  257. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  258. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  259. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  260. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  261. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  262. data/generated/google/apis/osconfig_v1.rb +1 -1
  263. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  264. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  265. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  266. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  267. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  268. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  269. data/generated/google/apis/people_v1.rb +1 -1
  270. data/generated/google/apis/people_v1/classes.rb +216 -0
  271. data/generated/google/apis/people_v1/representations.rb +82 -0
  272. data/generated/google/apis/people_v1/service.rb +371 -9
  273. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  274. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  275. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  276. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  277. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  278. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  279. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  280. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  281. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  282. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  283. data/generated/google/apis/pubsub_v1.rb +1 -1
  284. data/generated/google/apis/pubsub_v1/classes.rb +70 -15
  285. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  286. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  287. data/generated/google/apis/{pagespeedonline_v1.rb → recommender_v1.rb} +11 -9
  288. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  289. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  290. data/generated/google/apis/recommender_v1/service.rb +266 -0
  291. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  292. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  293. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  294. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  295. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  296. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  297. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  298. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  299. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  300. data/generated/google/apis/run_v1.rb +1 -1
  301. data/generated/google/apis/run_v1/classes.rb +9 -0
  302. data/generated/google/apis/run_v1/representations.rb +1 -0
  303. data/generated/google/apis/run_v1alpha1.rb +1 -1
  304. data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
  305. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  306. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  307. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  308. data/generated/google/apis/secretmanager_v1.rb +1 -1
  309. data/generated/google/apis/secretmanager_v1/classes.rb +32 -19
  310. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  311. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  312. data/generated/google/apis/secretmanager_v1beta1/classes.rb +29 -16
  313. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  314. data/generated/google/apis/securitycenter_v1.rb +1 -1
  315. data/generated/google/apis/securitycenter_v1/classes.rb +133 -18
  316. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  317. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  318. data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
  319. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  320. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  321. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  322. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  323. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  324. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +133 -18
  325. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  326. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  327. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +205 -75
  328. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -2
  329. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  330. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +211 -75
  331. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +33 -2
  332. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  333. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
  334. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  335. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -43
  336. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
  337. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  338. data/generated/google/apis/servicenetworking_v1/classes.rb +488 -75
  339. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
  340. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  341. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  342. data/generated/google/apis/servicenetworking_v1beta/classes.rb +297 -75
  343. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
  344. data/generated/google/apis/serviceusage_v1.rb +1 -1
  345. data/generated/google/apis/serviceusage_v1/classes.rb +197 -75
  346. data/generated/google/apis/serviceusage_v1/representations.rb +32 -2
  347. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  348. data/generated/google/apis/serviceusage_v1beta1/classes.rb +203 -75
  349. data/generated/google/apis/serviceusage_v1beta1/representations.rb +33 -2
  350. data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
  351. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  352. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  353. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  354. data/generated/google/apis/spanner_v1.rb +1 -1
  355. data/generated/google/apis/spanner_v1/classes.rb +30 -12
  356. data/generated/google/apis/spanner_v1/service.rb +8 -8
  357. data/generated/google/apis/sql_v1beta4.rb +1 -1
  358. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  359. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  360. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  361. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  362. data/generated/google/apis/tasks_v1.rb +3 -3
  363. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  364. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  365. data/generated/google/apis/tasks_v1/service.rb +79 -128
  366. data/generated/google/apis/testing_v1.rb +1 -1
  367. data/generated/google/apis/testing_v1/classes.rb +2 -1
  368. data/generated/google/apis/texttospeech_v1.rb +1 -1
  369. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  370. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  371. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  372. data/generated/google/apis/tpu_v1.rb +1 -1
  373. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  374. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  375. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  376. data/generated/google/apis/translate_v3.rb +1 -1
  377. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  378. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  379. data/generated/google/apis/videointelligence_v1.rb +1 -1
  380. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  381. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  382. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  383. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  384. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  385. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  386. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  387. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  388. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  389. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  390. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  391. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  392. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  393. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  394. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  395. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  396. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  397. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  398. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  399. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  400. data/generated/google/apis/youtube_v3.rb +5 -5
  401. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  402. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  403. data/generated/google/apis/youtube_v3/service.rb +1827 -2154
  404. data/lib/google/apis/core/api_command.rb +12 -7
  405. data/lib/google/apis/options.rb +5 -1
  406. data/lib/google/apis/version.rb +1 -1
  407. metadata +23 -15
  408. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  409. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  410. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  411. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  412. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  413. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  414. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  415. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  416. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryV2
27
27
  VERSION = 'V2'
28
- REVISION = '20200429'
28
+ REVISION = '20200603'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -2117,6 +2117,11 @@ module Google
2117
2117
  # @return [String]
2118
2118
  attr_accessor :compression
2119
2119
 
2120
+ # [Optional, Trusted Tester] Connection for external data source.
2121
+ # Corresponds to the JSON property `connectionId`
2122
+ # @return [String]
2123
+ attr_accessor :connection_id
2124
+
2120
2125
  # Additional properties to set if sourceFormat is set to CSV.
2121
2126
  # Corresponds to the JSON property `csvOptions`
2122
2127
  # @return [Google::Apis::BigqueryV2::CsvOptions]
@@ -2192,6 +2197,7 @@ module Google
2192
2197
  @autodetect = args[:autodetect] if args.key?(:autodetect)
2193
2198
  @bigtable_options = args[:bigtable_options] if args.key?(:bigtable_options)
2194
2199
  @compression = args[:compression] if args.key?(:compression)
2200
+ @connection_id = args[:connection_id] if args.key?(:connection_id)
2195
2201
  @csv_options = args[:csv_options] if args.key?(:csv_options)
2196
2202
  @google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options)
2197
2203
  @hive_partitioning_options = args[:hive_partitioning_options] if args.key?(:hive_partitioning_options)
@@ -4678,6 +4684,15 @@ module Google
4678
4684
  # @return [String]
4679
4685
  attr_accessor :kind
4680
4686
 
4687
+ # The labels associated with this job. You can use these to organize and group
4688
+ # your jobs. Label keys and values can be no longer than 63 characters, can only
4689
+ # contain lowercase letters, numeric characters, underscores and dashes.
4690
+ # International characters are allowed. Label values are optional. Label keys
4691
+ # must start with a letter and each label in the list must have a different key.
4692
+ # Corresponds to the JSON property `labels`
4693
+ # @return [Hash<String,String>]
4694
+ attr_accessor :labels
4695
+
4681
4696
  # The geographic location where the job should run. See details at https://cloud.
4682
4697
  # google.com/bigquery/docs/locations#specifying_your_location.
4683
4698
  # Corresponds to the JSON property `location`
@@ -4693,6 +4708,13 @@ module Google
4693
4708
  # @return [Fixnum]
4694
4709
  attr_accessor :max_results
4695
4710
 
4711
+ # [Optional] Limits the bytes billed for this job. Queries that will have bytes
4712
+ # billed beyond this limit will fail (without incurring a charge). If
4713
+ # unspecified, this will be set to your project default.
4714
+ # Corresponds to the JSON property `maximumBytesBilled`
4715
+ # @return [Fixnum]
4716
+ attr_accessor :maximum_bytes_billed
4717
+
4696
4718
  # Standard SQL only. Set to POSITIONAL to use positional (?) query parameters or
4697
4719
  # to NAMED to use named (@myparam) query parameters in this query.
4698
4720
  # Corresponds to the JSON property `parameterMode`
@@ -4717,6 +4739,29 @@ module Google
4717
4739
  # @return [Array<Google::Apis::BigqueryV2::QueryParameter>]
4718
4740
  attr_accessor :query_parameters
4719
4741
 
4742
+ # A unique user provided identifier to ensure idempotent behavior for queries.
4743
+ # Note that this is different from the job_id. It has the following properties:
4744
+ # 1. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is
4745
+ # recommended. 2. Read only queries can ignore this token since they are
4746
+ # nullipotent by definition. 3. For the purposes of idempotency ensured by the
4747
+ # request_id, a request is considered duplicate of another only if they have the
4748
+ # same request_id and are actually duplicates. When determining whether a
4749
+ # request is a duplicate of the previous request, all parameters in the request
4750
+ # that may affect the behavior are considered. For example, query,
4751
+ # connection_properties, query_parameters, use_legacy_sql are parameters that
4752
+ # affect the result and are considered when determining whether a request is a
4753
+ # duplicate, but properties like timeout_ms don't affect the result and are thus
4754
+ # not considered. Dry run query requests are never considered duplicate of
4755
+ # another request. 4. When a duplicate mutating query request is detected, it
4756
+ # returns: a. the results of the mutation if it completes successfully within
4757
+ # the timeout. b. the running operation if it is still in progress at the end of
4758
+ # the timeout. 5. Its lifetime is limited to 15 minutes. In other words, if two
4759
+ # requests are sent with the same request_id, but more than 15 minutes apart,
4760
+ # idempotency is not guaranteed.
4761
+ # Corresponds to the JSON property `requestId`
4762
+ # @return [String]
4763
+ attr_accessor :request_id
4764
+
4720
4765
  # [Optional] How long to wait for the query to complete, in milliseconds, before
4721
4766
  # the request times out and returns. Note that this is only a timeout for the
4722
4767
  # request, not the query. If the query takes longer to run than the timeout
@@ -4755,12 +4800,15 @@ module Google
4755
4800
  @default_dataset = args[:default_dataset] if args.key?(:default_dataset)
4756
4801
  @dry_run = args[:dry_run] if args.key?(:dry_run)
4757
4802
  @kind = args[:kind] if args.key?(:kind)
4803
+ @labels = args[:labels] if args.key?(:labels)
4758
4804
  @location = args[:location] if args.key?(:location)
4759
4805
  @max_results = args[:max_results] if args.key?(:max_results)
4806
+ @maximum_bytes_billed = args[:maximum_bytes_billed] if args.key?(:maximum_bytes_billed)
4760
4807
  @parameter_mode = args[:parameter_mode] if args.key?(:parameter_mode)
4761
4808
  @preserve_nulls = args[:preserve_nulls] if args.key?(:preserve_nulls)
4762
4809
  @query = args[:query] if args.key?(:query)
4763
4810
  @query_parameters = args[:query_parameters] if args.key?(:query_parameters)
4811
+ @request_id = args[:request_id] if args.key?(:request_id)
4764
4812
  @timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms)
4765
4813
  @use_legacy_sql = args[:use_legacy_sql] if args.key?(:use_legacy_sql)
4766
4814
  @use_query_cache = args[:use_query_cache] if args.key?(:use_query_cache)
@@ -6675,7 +6723,12 @@ module Google
6675
6723
  end
6676
6724
  end
6677
6725
 
6678
- #
6726
+ # This is used for defining User Defined Function (UDF) resources only when
6727
+ # using legacy SQL. Users of Standard SQL should leverage either DDL (e.g.
6728
+ # CREATE [TEMPORARY] FUNCTION ... ) or the Routines API to define UDF resources.
6729
+ # For additional information on migrating, see: https://cloud.google.com/
6730
+ # bigquery/docs/reference/standard-sql/migrating-from-legacy-sql#
6731
+ # differences_in_user-defined_javascript_functions
6679
6732
  class UserDefinedFunctionResource
6680
6733
  include Google::Apis::Core::Hashable
6681
6734
 
@@ -1267,6 +1267,7 @@ module Google
1267
1267
  property :bigtable_options, as: 'bigtableOptions', class: Google::Apis::BigqueryV2::BigtableOptions, decorator: Google::Apis::BigqueryV2::BigtableOptions::Representation
1268
1268
 
1269
1269
  property :compression, as: 'compression'
1270
+ property :connection_id, as: 'connectionId'
1270
1271
  property :csv_options, as: 'csvOptions', class: Google::Apis::BigqueryV2::CsvOptions, decorator: Google::Apis::BigqueryV2::CsvOptions::Representation
1271
1272
 
1272
1273
  property :google_sheets_options, as: 'googleSheetsOptions', class: Google::Apis::BigqueryV2::GoogleSheetsOptions, decorator: Google::Apis::BigqueryV2::GoogleSheetsOptions::Representation
@@ -1876,13 +1877,16 @@ module Google
1876
1877
 
1877
1878
  property :dry_run, as: 'dryRun'
1878
1879
  property :kind, as: 'kind'
1880
+ hash :labels, as: 'labels'
1879
1881
  property :location, as: 'location'
1880
1882
  property :max_results, as: 'maxResults'
1883
+ property :maximum_bytes_billed, :numeric_string => true, as: 'maximumBytesBilled'
1881
1884
  property :parameter_mode, as: 'parameterMode'
1882
1885
  property :preserve_nulls, as: 'preserveNulls'
1883
1886
  property :query, as: 'query'
1884
1887
  collection :query_parameters, as: 'queryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
1885
1888
 
1889
+ property :request_id, as: 'requestId'
1886
1890
  property :timeout_ms, as: 'timeoutMs'
1887
1891
  property :use_legacy_sql, as: 'useLegacySql'
1888
1892
  property :use_query_cache, as: 'useQueryCache'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryreservationV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200509'
28
+ REVISION = '20200519'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -317,6 +317,8 @@ module Google
317
317
  # Ids of capacity commitments to merge.
318
318
  # These capacity commitments must exist under admin project and location
319
319
  # specified in the parent.
320
+ # ID is the last portion of capacity commitment name e.g., 'abc' for
321
+ # projects/myproject/locations/US/capacityCommitments/abc
320
322
  # Corresponds to the JSON property `capacityCommitmentIds`
321
323
  # @return [Array<String>]
322
324
  attr_accessor :capacity_commitment_ids
@@ -179,7 +179,7 @@ module Google
179
179
  # Required. The resource name of the admin project(containing project and
180
180
  # location),
181
181
  # e.g.:
182
- # "projects/myproject/locations/US".
182
+ # `projects/myproject/locations/US`.
183
183
  # @param [Fixnum] page_size
184
184
  # The maximum number of items to return per page.
185
185
  # @param [String] page_token
@@ -266,7 +266,7 @@ module Google
266
266
  # Creates a new capacity commitment resource.
267
267
  # @param [String] parent
268
268
  # Required. Resource name of the parent reservation. E.g.,
269
- # projects/myproject/locations/US
269
+ # `projects/myproject/locations/US`
270
270
  # @param [Google::Apis::BigqueryreservationV1::CapacityCommitment] capacity_commitment_object
271
271
  # @param [Boolean] enforce_single_admin_project_per_org
272
272
  # If true, fail the request if another project in the organization has a
@@ -306,7 +306,7 @@ module Google
306
306
  # `google.rpc.Code.FAILED_PRECONDITION`.
307
307
  # @param [String] name
308
308
  # Required. Resource name of the capacity commitment to delete. E.g.,
309
- # projects/myproject/locations/US/capacityCommitments/123
309
+ # `projects/myproject/locations/US/capacityCommitments/123`
310
310
  # @param [String] fields
311
311
  # Selector specifying which fields to include in a partial response.
312
312
  # @param [String] quota_user
@@ -337,7 +337,7 @@ module Google
337
337
  # Returns information about the capacity commitment.
338
338
  # @param [String] name
339
339
  # Required. Resource name of the capacity commitment to retrieve. E.g.,
340
- # projects/myproject/locations/US/capacityCommitments/123
340
+ # `projects/myproject/locations/US/capacityCommitments/123`
341
341
  # @param [String] fields
342
342
  # Selector specifying which fields to include in a partial response.
343
343
  # @param [String] quota_user
@@ -368,7 +368,7 @@ module Google
368
368
  # Lists all the capacity commitments for the admin project.
369
369
  # @param [String] parent
370
370
  # Required. Resource name of the parent reservation. E.g.,
371
- # projects/myproject/locations/US
371
+ # `projects/myproject/locations/US`
372
372
  # @param [Fixnum] page_size
373
373
  # The maximum number of items to return.
374
374
  # @param [String] page_token
@@ -409,7 +409,7 @@ module Google
409
409
  # with the error code `google.rpc.Code.FAILED_PRECONDITION`.
410
410
  # @param [String] parent
411
411
  # Parent resource that identifies admin project and location e.g.,
412
- # projects/myproject/locations/us
412
+ # `projects/myproject/locations/us`
413
413
  # @param [Google::Apis::BigqueryreservationV1::MergeCapacityCommitmentsRequest] merge_capacity_commitments_request_object
414
414
  # @param [String] fields
415
415
  # Selector specifying which fields to include in a partial response.
@@ -489,7 +489,7 @@ module Google
489
489
  # you would change the plan of the first one to `FLEX` and then delete it.
490
490
  # @param [String] name
491
491
  # Required. The resource name e.g.,:
492
- # projects/myproject/locations/US/capacityCommitments/123
492
+ # `projects/myproject/locations/US/capacityCommitments/123`
493
493
  # @param [Google::Apis::BigqueryreservationV1::SplitCapacityCommitmentRequest] split_capacity_commitment_request_object
494
494
  # @param [String] fields
495
495
  # Selector specifying which fields to include in a partial response.
@@ -625,7 +625,7 @@ module Google
625
625
  # Lists all the reservations for the project in the specified location.
626
626
  # @param [String] parent
627
627
  # Required. The parent resource name containing project and location, e.g.:
628
- # "projects/myproject/locations/US"
628
+ # `projects/myproject/locations/US`
629
629
  # @param [Fixnum] page_size
630
630
  # The maximum number of items to return per page.
631
631
  # @param [String] page_token
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigquery/
26
26
  module BigqueryreservationV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200509'
28
+ REVISION = '20200519'
29
29
 
30
30
  # View and manage your data in Google BigQuery
31
31
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -28,7 +28,7 @@ module Google
28
28
  include Google::Apis::Core::Hashable
29
29
 
30
30
  # The resource which will use the reservation. E.g.
31
- # projects/myproject, folders/123, organizations/456.
31
+ # `projects/myproject`, `folders/123`, or `organizations/456`.
32
32
  # Corresponds to the JSON property `assignee`
33
33
  # @return [String]
34
34
  attr_accessor :assignee
@@ -39,7 +39,7 @@ module Google
39
39
  attr_accessor :job_type
40
40
 
41
41
  # Output only. Name of the resource. E.g.:
42
- # projects/myproject/locations/US/reservations/team1-prod/assignments/123.
42
+ # `projects/myproject/locations/US/reservations/team1-prod/assignments/123`.
43
43
  # Corresponds to the JSON property `name`
44
44
  # @return [String]
45
45
  attr_accessor :name
@@ -98,8 +98,9 @@ module Google
98
98
  # Capacity commitment is a way to purchase compute capacity for BigQuery jobs
99
99
  # (in the form of slots) with some committed period of usage. Annual
100
100
  # commitments renew by default. Commitments can be removed after their
101
- # commitment end time passes. In order to remove annual commitment, its plan
102
- # needs to be changed to monthly or flex first.
101
+ # commitment end time passes.
102
+ # In order to remove annual commitment, its plan needs to be changed
103
+ # to monthly or flex first.
103
104
  # A capacity commitment resource exists as a child resource of the admin
104
105
  # project.
105
106
  class CapacityCommitment
@@ -123,7 +124,7 @@ module Google
123
124
  attr_accessor :failure_status
124
125
 
125
126
  # Output only. The resource name of the capacity commitment, e.g.,
126
- # projects/myproject/locations/US/capacityCommitments/123
127
+ # `projects/myproject/locations/US/capacityCommitments/123`
127
128
  # Corresponds to the JSON property `name`
128
129
  # @return [String]
129
130
  attr_accessor :name
@@ -291,6 +292,8 @@ module Google
291
292
  # Ids of capacity commitments to merge.
292
293
  # These capacity commitments must exist under admin project and location
293
294
  # specified in the parent.
295
+ # ID is the last portion of capacity commitment name e.g., 'abc' for
296
+ # projects/myproject/locations/US/capacityCommitments/abc
294
297
  # Corresponds to the JSON property `capacityCommitmentIds`
295
298
  # @return [Array<String>]
296
299
  attr_accessor :capacity_commitment_ids
@@ -307,15 +310,16 @@ module Google
307
310
 
308
311
  # The request for
309
312
  # ReservationService.MoveAssignment.
310
- # Note: "bigquery.reservationAssignments.create" permission is required on the
311
- # destination_id. Note: "bigquery.reservationAssignments.create" and
312
- # "bigquery.reservationAssignments.delete" permission is required on the
313
+ # **Note**: "bigquery.reservationAssignments.create" permission is required on
314
+ # the destination_id.
315
+ # **Note**: "bigquery.reservationAssignments.create" and
316
+ # "bigquery.reservationAssignments.delete" permission are required on the
313
317
  # related assignee.
314
318
  class MoveAssignmentRequest
315
319
  include Google::Apis::Core::Hashable
316
320
 
317
321
  # The new reservation ID, e.g.:
318
- # projects/myotherproject/locations/US/reservations/team2-prod
322
+ # `projects/myotherproject/locations/US/reservations/team2-prod`
319
323
  # Corresponds to the JSON property `destinationId`
320
324
  # @return [String]
321
325
  attr_accessor :destination_id
@@ -343,7 +347,7 @@ module Google
343
347
  alias_method :ignore_idle_slots?, :ignore_idle_slots
344
348
 
345
349
  # The resource name of the reservation, e.g.,
346
- # "projects/*/locations/*/reservations/team1-prod".
350
+ # `projects/*/locations/*/reservations/team1-prod`.
347
351
  # Corresponds to the JSON property `name`
348
352
  # @return [String]
349
353
  attr_accessor :name
@@ -424,8 +428,9 @@ module Google
424
428
  # Capacity commitment is a way to purchase compute capacity for BigQuery jobs
425
429
  # (in the form of slots) with some committed period of usage. Annual
426
430
  # commitments renew by default. Commitments can be removed after their
427
- # commitment end time passes. In order to remove annual commitment, its plan
428
- # needs to be changed to monthly or flex first.
431
+ # commitment end time passes.
432
+ # In order to remove annual commitment, its plan needs to be changed
433
+ # to monthly or flex first.
429
434
  # A capacity commitment resource exists as a child resource of the admin
430
435
  # project.
431
436
  # Corresponds to the JSON property `first`
@@ -435,8 +440,9 @@ module Google
435
440
  # Capacity commitment is a way to purchase compute capacity for BigQuery jobs
436
441
  # (in the form of slots) with some committed period of usage. Annual
437
442
  # commitments renew by default. Commitments can be removed after their
438
- # commitment end time passes. In order to remove annual commitment, its plan
439
- # needs to be changed to monthly or flex first.
443
+ # commitment end time passes.
444
+ # In order to remove annual commitment, its plan needs to be changed
445
+ # to monthly or flex first.
440
446
  # A capacity commitment resource exists as a child resource of the admin
441
447
  # project.
442
448
  # Corresponds to the JSON property `second`
@@ -80,34 +80,36 @@ module Google
80
80
 
81
81
  # Looks up assignments for a specified resource for a particular region.
82
82
  # If the request is about a project:
83
- # 1) Assignments created on the project will be returned if they exist.
84
- # 2) Otherwise assignments created on the closest ancestor will be
85
- # returned. 3) Assignments for different JobTypes will all be returned.
86
- # Same logic applies if the request is about a folder.
83
+ # 1. Assignments created on the project will be returned if they exist.
84
+ # 2. Otherwise assignments created on the closest ancestor will be
85
+ # returned.
86
+ # 3. Assignments for different JobTypes will all be returned.
87
+ # The same logic applies if the request is about a folder.
87
88
  # If the request is about an organization, then assignments created on the
88
89
  # organization will be returned (organization doesn't have ancestors).
89
90
  # Comparing to ListAssignments, there are some behavior
90
91
  # differences:
91
- # 1) permission on the assignee will be verified in this API.
92
- # 2) Hierarchy lookup (project->folder->organization) happens in this API.
93
- # 3) Parent here is projects/*/locations/*, instead of
94
- # projects/*/locations/*reservations/*.
95
- # Note "-" cannot be used for projects
92
+ # 1. permission on the assignee will be verified in this API.
93
+ # 2. Hierarchy lookup (project->folder->organization) happens in this API.
94
+ # 3. Parent here is `projects/*/locations/*`, instead of
95
+ # `projects/*/locations/*reservations/*`.
96
+ # **Note** "-" cannot be used for projects
96
97
  # nor locations.
97
98
  # @param [String] parent
98
99
  # Required. The resource name of the admin project(containing project and
99
100
  # location),
100
101
  # e.g.:
101
- # "projects/myproject/locations/US".
102
+ # `projects/myproject/locations/US`.
102
103
  # @param [Fixnum] page_size
103
104
  # The maximum number of items to return.
104
105
  # @param [String] page_token
105
106
  # The next_page_token value returned from a previous List request, if any.
106
107
  # @param [String] query
107
108
  # Please specify resource name as assignee in the query.
108
- # e.g., "assignee=projects/myproject"
109
- # "assignee=folders/123"
110
- # "assignee=organizations/456"
109
+ # Examples:
110
+ # * `assignee=projects/myproject`
111
+ # * `assignee=folders/123`
112
+ # * `assignee=organizations/456`
111
113
  # @param [String] fields
112
114
  # Selector specifying which fields to include in a partial response.
113
115
  # @param [String] quota_user
@@ -139,8 +141,8 @@ module Google
139
141
  end
140
142
 
141
143
  # Updates a BI reservation.
142
- # Only fields specified in the field_mask are updated.
143
- # Singleton BI reservation always exists with default size 0.
144
+ # Only fields specified in the `field_mask` are updated.
145
+ # A singleton BI reservation always exists with default size 0.
144
146
  # In order to reserve BI capacity it needs to be updated to an amount
145
147
  # greater than 0. In order to release BI capacity reservation size
146
148
  # must be set to 0.
@@ -184,7 +186,7 @@ module Google
184
186
  # Creates a new capacity commitment resource.
185
187
  # @param [String] parent
186
188
  # Required. Resource name of the parent reservation. E.g.,
187
- # projects/myproject/locations/US
189
+ # `projects/myproject/locations/US`
188
190
  # @param [Google::Apis::BigqueryreservationV1beta1::CapacityCommitment] capacity_commitment_object
189
191
  # @param [Boolean] enforce_single_admin_project_per_org
190
192
  # If true, fail the request if another project in the organization has a
@@ -224,7 +226,7 @@ module Google
224
226
  # `google.rpc.Code.FAILED_PRECONDITION`.
225
227
  # @param [String] name
226
228
  # Required. Resource name of the capacity commitment to delete. E.g.,
227
- # projects/myproject/locations/US/capacityCommitments/123
229
+ # `projects/myproject/locations/US/capacityCommitments/123`
228
230
  # @param [String] fields
229
231
  # Selector specifying which fields to include in a partial response.
230
232
  # @param [String] quota_user
@@ -255,7 +257,7 @@ module Google
255
257
  # Returns information about the capacity commitment.
256
258
  # @param [String] name
257
259
  # Required. Resource name of the capacity commitment to retrieve. E.g.,
258
- # projects/myproject/locations/US/capacityCommitments/123
260
+ # `projects/myproject/locations/US/capacityCommitments/123`
259
261
  # @param [String] fields
260
262
  # Selector specifying which fields to include in a partial response.
261
263
  # @param [String] quota_user
@@ -286,7 +288,7 @@ module Google
286
288
  # Lists all the capacity commitments for the admin project.
287
289
  # @param [String] parent
288
290
  # Required. Resource name of the parent reservation. E.g.,
289
- # projects/myproject/locations/US
291
+ # `projects/myproject/locations/US`
290
292
  # @param [Fixnum] page_size
291
293
  # The maximum number of items to return.
292
294
  # @param [String] page_token
@@ -320,13 +322,14 @@ module Google
320
322
  execute_or_queue_command(command, &block)
321
323
  end
322
324
 
323
- # Merges capacity commitments of the same plan into one. Resulting capacity
324
- # commitment has the longer commitment_end_time out of the two. Attempting to
325
- # merge capacity commitments of different plan will fail with the error code
326
- # `google.rpc.Code.FAILED_PRECONDITION`.
325
+ # Merges capacity commitments of the same plan into a single commitment.
326
+ # The resulting capacity commitment has the greater commitment_end_time
327
+ # out of the to-be-merged capacity commitments.
328
+ # Attempting to merge capacity commitments of different plan will fail
329
+ # with the error code `google.rpc.Code.FAILED_PRECONDITION`.
327
330
  # @param [String] parent
328
331
  # Parent resource that identifies admin project and location e.g.,
329
- # projects/myproject/locations/us
332
+ # `projects/myproject/locations/us`
330
333
  # @param [Google::Apis::BigqueryreservationV1beta1::MergeCapacityCommitmentsRequest] merge_capacity_commitments_request_object
331
334
  # @param [String] fields
332
335
  # Selector specifying which fields to include in a partial response.
@@ -358,13 +361,13 @@ module Google
358
361
  end
359
362
 
360
363
  # Updates an existing capacity commitment.
361
- # Only plan and renewal_plan fields can be updated.
364
+ # Only `plan` and `renewal_plan` fields can be updated.
362
365
  # Plan can only be changed to a plan of a longer commitment period.
363
366
  # Attempting to change to a plan with shorter commitment period will fail
364
367
  # with the error code `google.rpc.Code.FAILED_PRECONDITION`.
365
368
  # @param [String] name
366
369
  # Output only. The resource name of the capacity commitment, e.g.,
367
- # projects/myproject/locations/US/capacityCommitments/123
370
+ # `projects/myproject/locations/US/capacityCommitments/123`
368
371
  # @param [Google::Apis::BigqueryreservationV1beta1::CapacityCommitment] capacity_commitment_object
369
372
  # @param [String] update_mask
370
373
  # Standard field mask for the set of fields to be updated.
@@ -399,13 +402,14 @@ module Google
399
402
  end
400
403
 
401
404
  # Splits capacity commitment to two commitments of the same plan and
402
- # commitment_end_time. A common use case to do that is to perform a downgrade
403
- # e.g., in order to downgrade from 10000 slots to 8000, one might split 10000
404
- # capacity commitment to 2000 and 8000, change the plan of the first one to
405
- # flex and then delete it.
405
+ # `commitment_end_time`.
406
+ # A common use case is to enable downgrading commitments.
407
+ # For example, in order to downgrade from 10000 slots to 8000, you might
408
+ # split a 10000 capacity commitment into commitments of 2000 and 8000. Then,
409
+ # you would change the plan of the first one to `FLEX` and then delete it.
406
410
  # @param [String] name
407
411
  # Required. The resource name e.g.,:
408
- # projects/myproject/locations/US/capacityCommitments/123
412
+ # `projects/myproject/locations/US/capacityCommitments/123`
409
413
  # @param [Google::Apis::BigqueryreservationV1beta1::SplitCapacityCommitmentRequest] split_capacity_commitment_request_object
410
414
  # @param [String] fields
411
415
  # Selector specifying which fields to include in a partial response.
@@ -439,7 +443,7 @@ module Google
439
443
  # Creates a new reservation resource.
440
444
  # @param [String] parent
441
445
  # Required. Project, location. E.g.,
442
- # projects/myproject/locations/US
446
+ # `projects/myproject/locations/US`
443
447
  # @param [Google::Apis::BigqueryreservationV1beta1::Reservation] reservation_object
444
448
  # @param [String] reservation_id
445
449
  # The reservation ID. This field must only contain lower case alphanumeric
@@ -479,7 +483,7 @@ module Google
479
483
  # assignments.
480
484
  # @param [String] name
481
485
  # Required. Resource name of the reservation to retrieve. E.g.,
482
- # projects/myproject/locations/US/reservations/team1-prod
486
+ # `projects/myproject/locations/US/reservations/team1-prod`
483
487
  # @param [String] fields
484
488
  # Selector specifying which fields to include in a partial response.
485
489
  # @param [String] quota_user
@@ -510,7 +514,7 @@ module Google
510
514
  # Returns information about the reservation.
511
515
  # @param [String] name
512
516
  # Required. Resource name of the reservation to retrieve. E.g.,
513
- # projects/myproject/locations/US/reservations/team1-prod
517
+ # `projects/myproject/locations/US/reservations/team1-prod`
514
518
  # @param [String] fields
515
519
  # Selector specifying which fields to include in a partial response.
516
520
  # @param [String] quota_user
@@ -541,7 +545,7 @@ module Google
541
545
  # Lists all the reservations for the project in the specified location.
542
546
  # @param [String] parent
543
547
  # Required. The parent resource name containing project and location, e.g.:
544
- # "projects/myproject/locations/US"
548
+ # `projects/myproject/locations/US`
545
549
  # @param [String] filter
546
550
  # Can be used to filter out reservations based on names, capacity, etc, e.g.:
547
551
  # filter="reservation.slot_capacity > 200"
@@ -585,7 +589,7 @@ module Google
585
589
  # Updates an existing reservation resource.
586
590
  # @param [String] name
587
591
  # The resource name of the reservation, e.g.,
588
- # "projects/*/locations/*/reservations/team1-prod".
592
+ # `projects/*/locations/*/reservations/team1-prod`.
589
593
  # @param [Google::Apis::BigqueryreservationV1beta1::Reservation] reservation_object
590
594
  # @param [String] update_mask
591
595
  # Standard field mask for the set of fields to be updated.
@@ -619,6 +623,24 @@ module Google
619
623
  execute_or_queue_command(command, &block)
620
624
  end
621
625
 
626
+ # Creates an assignment object which allows the given project to submit jobs
627
+ # of a certain type using slots from the specified reservation.
628
+ # Currently a
629
+ # resource (project, folder, organization) can only have one assignment per
630
+ # each (job_type, location) combination, and that reservation will be used
631
+ # for all jobs of the matching type.
632
+ # Different assignments can be created on different levels of the
633
+ # projects, folders or organization hierarchy. During query execution,
634
+ # the assignment is looked up at the project, folder and organization levels
635
+ # in that order. The first assignment found is applied to the query.
636
+ # When creating assignments, it does not matter if other assignments exist at
637
+ # higher levels.
638
+ # Example:
639
+ # * The organization `organizationA` contains two projects, `project1`
640
+ # and `project2`.
641
+ # * Assignments for all three entities (`organizationA`, `project1`, and
642
+ # `project2`) could all be created and mapped to the same or different
643
+ # reservations.
622
644
  # Returns `google.rpc.Code.PERMISSION_DENIED` if user does not have
623
645
  # 'bigquery.admin' permissions on the project using the reservation
624
646
  # and the project that owns this reservation.
@@ -626,7 +648,7 @@ module Google
626
648
  # does not match location of the reservation.
627
649
  # @param [String] parent
628
650
  # Required. The parent resource name of the assignment
629
- # E.g.: projects/myproject/locations/US/reservations/team1-prod
651
+ # E.g. `projects/myproject/locations/US/reservations/team1-prod`
630
652
  # @param [Google::Apis::BigqueryreservationV1beta1::Assignment] assignment_object
631
653
  # @param [String] fields
632
654
  # Selector specifying which fields to include in a partial response.
@@ -658,18 +680,20 @@ module Google
658
680
  end
659
681
 
660
682
  # Deletes a assignment. No expansion will happen.
661
- # E.g:
662
- # organizationA contains project1 and project2. Reservation res1 exists.
663
- # CreateAssignment was invoked previously and following assignments were
664
- # created explicitly:
665
- # <organizationA, res1>
666
- # <project1, res1>
667
- # Then deletion of <organizationA, res1> won't affect <project1, res1>. After
668
- # deletion of <organizationA, res1>, queries from project1 will still use
669
- # res1, while queries from project2 will use on-demand mode.
683
+ # Example:
684
+ # * Organization `organizationA` contains two projects, `project1` and
685
+ # `project2`.
686
+ # * Reservation `res1` exists and was created previously.
687
+ # * CreateAssignment was used previously to define the following
688
+ # associations between entities and reservations: `<organizationA, res1>`
689
+ # and `<project1, res1>`
690
+ # In this example, deletion of the `<organizationA, res1>` assignment won't
691
+ # affect the other assignment `<project1, res1>`. After said deletion,
692
+ # queries from `project1` will still use `res1` while queries from
693
+ # `project2` will switch to use on-demand mode.
670
694
  # @param [String] name
671
- # Required. Name of the resource, e.g.:
672
- # projects/myproject/locations/US/reservations/team1-prod/assignments/123
695
+ # Required. Name of the resource, e.g.
696
+ # `projects/myproject/locations/US/reservations/team1-prod/assignments/123`
673
697
  # @param [String] fields
674
698
  # Selector specifying which fields to include in a partial response.
675
699
  # @param [String] quota_user
@@ -698,22 +722,25 @@ module Google
698
722
  end
699
723
 
700
724
  # Lists assignments.
701
- # Only explicitly created assignments will be returned. E.g:
702
- # organizationA contains project1 and project2. Reservation res1 exists.
703
- # CreateAssignment was invoked previously and following assignments were
704
- # created explicitly:
705
- # <organizationA, res1>
706
- # <project1, res1>
707
- # Then this API will just return the above two assignments for reservation
708
- # res1, and no expansion/merge will happen. Wildcard "-" can be used for
725
+ # Only explicitly created assignments will be returned.
726
+ # Example:
727
+ # * Organization `organizationA` contains two projects, `project1` and
728
+ # `project2`.
729
+ # * Reservation `res1` exists and was created previously.
730
+ # * CreateAssignment was used previously to define the following
731
+ # associations between entities and reservations: `<organizationA, res1>`
732
+ # and `<project1, res1>`
733
+ # In this example, ListAssignments will just return the above two assignments
734
+ # for reservation `res1`, and no expansion/merge will happen.
735
+ # The wildcard "-" can be used for
709
736
  # reservations in the request. In that case all assignments belongs to the
710
- # specified project and location will be listed. Note
711
- # "-" cannot be used for projects nor locations.
737
+ # specified project and location will be listed.
738
+ # **Note** "-" cannot be used for projects nor locations.
712
739
  # @param [String] parent
713
740
  # Required. The parent resource name e.g.:
714
- # projects/myproject/locations/US/reservations/team1-prod
741
+ # `projects/myproject/locations/US/reservations/team1-prod`
715
742
  # Or:
716
- # projects/myproject/locations/US/reservations/-
743
+ # `projects/myproject/locations/US/reservations/-`
717
744
  # @param [Fixnum] page_size
718
745
  # The maximum number of items to return.
719
746
  # @param [String] page_token
@@ -747,16 +774,14 @@ module Google
747
774
  execute_or_queue_command(command, &block)
748
775
  end
749
776
 
750
- # Moves a assignment under a new reservation. Customers can do this by
751
- # deleting the existing assignment followed by creating another assignment
752
- # under the new reservation, but this method provides a transactional way to
753
- # do so, to make sure the assignee always has an associated reservation.
754
- # Without the method customers might see some queries run on-demand which
755
- # might be unexpected.
777
+ # Moves an assignment under a new reservation.
778
+ # This differs from removing an existing assignment and recreating a new one
779
+ # by providing a transactional change that ensures an assignee always has an
780
+ # associated reservation.
756
781
  # @param [String] name
757
782
  # Required. The resource name of the assignment,
758
- # e.g.:
759
- # projects/myproject/locations/US/reservations/team1-prod/assignments/123
783
+ # e.g.
784
+ # `projects/myproject/locations/US/reservations/team1-prod/assignments/123`
760
785
  # @param [Google::Apis::BigqueryreservationV1beta1::MoveAssignmentRequest] move_assignment_request_object
761
786
  # @param [String] fields
762
787
  # Selector specifying which fields to include in a partial response.