google-api-client 0.28.4 → 0.29.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (750) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/build.bat +9 -6
  3. data/.kokoro/build.sh +2 -34
  4. data/.kokoro/continuous/common.cfg +6 -1
  5. data/.kokoro/continuous/linux.cfg +1 -1
  6. data/.kokoro/continuous/windows.cfg +17 -1
  7. data/.kokoro/osx.sh +2 -33
  8. data/.kokoro/presubmit/common.cfg +6 -1
  9. data/.kokoro/presubmit/linux.cfg +1 -1
  10. data/.kokoro/presubmit/windows.cfg +17 -1
  11. data/.kokoro/trampoline.bat +10 -0
  12. data/.kokoro/trampoline.sh +3 -23
  13. data/CHANGELOG.md +460 -0
  14. data/README.md +1 -1
  15. data/Rakefile +31 -0
  16. data/bin/generate-api +4 -2
  17. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
  18. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
  19. data/generated/google/apis/accessapproval_v1beta1/classes.rb +333 -0
  20. data/generated/google/apis/accessapproval_v1beta1/representations.rb +174 -0
  21. data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
  22. data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
  23. data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
  24. data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
  25. data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
  26. data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
  27. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +47 -31
  28. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
  29. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
  30. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  31. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +95 -200
  32. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
  33. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +64 -104
  34. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  35. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
  36. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
  37. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
  38. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
  39. data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
  40. data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
  41. data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
  42. data/generated/google/apis/admin_directory_v1/service.rb +113 -113
  43. data/generated/google/apis/admin_directory_v1.rb +1 -1
  44. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  45. data/generated/google/apis/admin_reports_v1.rb +1 -1
  46. data/generated/google/apis/adsense_v1_4/service.rb +39 -39
  47. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
  48. data/generated/google/apis/alertcenter_v1beta1/classes.rb +101 -2
  49. data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
  50. data/generated/google/apis/alertcenter_v1beta1/service.rb +17 -16
  51. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  52. data/generated/google/apis/analytics_v2_4/service.rb +6 -6
  53. data/generated/google/apis/analytics_v3/service.rb +88 -88
  54. data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
  55. data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
  56. data/generated/google/apis/analyticsreporting_v4/service.rb +31 -1
  57. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  58. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +51 -11
  59. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
  60. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
  61. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  62. data/generated/google/apis/androidenterprise_v1/classes.rb +26 -30
  63. data/generated/google/apis/androidenterprise_v1/representations.rb +2 -14
  64. data/generated/google/apis/androidenterprise_v1/service.rb +85 -121
  65. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  66. data/generated/google/apis/androidmanagement_v1/classes.rb +358 -4
  67. data/generated/google/apis/androidmanagement_v1/representations.rb +163 -0
  68. data/generated/google/apis/androidmanagement_v1/service.rb +191 -21
  69. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  70. data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
  71. data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
  72. data/generated/google/apis/androidpublisher_v2/service.rb +64 -70
  73. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  74. data/generated/google/apis/androidpublisher_v3/classes.rb +113 -0
  75. data/generated/google/apis/androidpublisher_v3/representations.rb +58 -0
  76. data/generated/google/apis/androidpublisher_v3/service.rb +234 -64
  77. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  78. data/generated/google/apis/appengine_v1/classes.rb +45 -100
  79. data/generated/google/apis/appengine_v1/representations.rb +17 -35
  80. data/generated/google/apis/appengine_v1/service.rb +45 -39
  81. data/generated/google/apis/appengine_v1.rb +1 -1
  82. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -99
  83. data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
  84. data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
  85. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  86. data/generated/google/apis/appengine_v1beta/classes.rb +7 -102
  87. data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
  88. data/generated/google/apis/appengine_v1beta/service.rb +45 -39
  89. data/generated/google/apis/appengine_v1beta.rb +1 -1
  90. data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
  91. data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
  92. data/generated/google/apis/appsactivity_v1/service.rb +5 -4
  93. data/generated/google/apis/appsactivity_v1.rb +1 -1
  94. data/generated/google/apis/appsmarket_v2/service.rb +3 -3
  95. data/generated/google/apis/appstate_v1/service.rb +5 -5
  96. data/generated/google/apis/bigquery_v2/classes.rb +1121 -114
  97. data/generated/google/apis/bigquery_v2/representations.rb +414 -26
  98. data/generated/google/apis/bigquery_v2/service.rb +184 -22
  99. data/generated/google/apis/bigquery_v2.rb +1 -1
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +88 -10
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +142 -34
  103. data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
  104. data/generated/google/apis/bigtableadmin_v1/service.rb +3 -3
  105. data/generated/google/apis/bigtableadmin_v1.rb +2 -2
  106. data/generated/google/apis/bigtableadmin_v2/classes.rb +14 -14
  107. data/generated/google/apis/bigtableadmin_v2/service.rb +142 -33
  108. data/generated/google/apis/bigtableadmin_v2.rb +2 -2
  109. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
  110. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
  111. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
  112. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  113. data/generated/google/apis/blogger_v2/service.rb +9 -9
  114. data/generated/google/apis/blogger_v3/service.rb +33 -33
  115. data/generated/google/apis/books_v1/service.rb +51 -51
  116. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  117. data/generated/google/apis/calendar_v3/service.rb +47 -47
  118. data/generated/google/apis/calendar_v3.rb +1 -1
  119. data/generated/google/apis/chat_v1/service.rb +8 -8
  120. data/generated/google/apis/civicinfo_v2/service.rb +5 -5
  121. data/generated/google/apis/classroom_v1/classes.rb +77 -0
  122. data/generated/google/apis/classroom_v1/representations.rb +32 -0
  123. data/generated/google/apis/classroom_v1/service.rb +276 -51
  124. data/generated/google/apis/classroom_v1.rb +7 -1
  125. data/generated/google/apis/cloudasset_v1/classes.rb +818 -0
  126. data/generated/google/apis/cloudasset_v1/representations.rb +264 -0
  127. data/generated/google/apis/cloudasset_v1/service.rb +191 -0
  128. data/generated/google/apis/cloudasset_v1.rb +34 -0
  129. data/generated/google/apis/cloudasset_v1beta1/classes.rb +33 -18
  130. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  131. data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -13
  132. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  133. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  134. data/generated/google/apis/cloudbilling_v1/service.rb +14 -14
  135. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  136. data/generated/google/apis/cloudbuild_v1/classes.rb +162 -11
  137. data/generated/google/apis/cloudbuild_v1/representations.rb +67 -0
  138. data/generated/google/apis/cloudbuild_v1/service.rb +21 -15
  139. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  140. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +7 -1
  141. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  142. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +6 -6
  143. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  144. data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
  145. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
  146. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -11
  147. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  148. data/generated/google/apis/cloudfunctions_v1/classes.rb +21 -17
  149. data/generated/google/apis/cloudfunctions_v1/service.rb +22 -16
  150. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  151. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +20 -16
  152. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +17 -11
  153. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  154. data/generated/google/apis/cloudidentity_v1/classes.rb +14 -14
  155. data/generated/google/apis/cloudidentity_v1/service.rb +18 -27
  156. data/generated/google/apis/cloudidentity_v1.rb +7 -1
  157. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -11
  158. data/generated/google/apis/cloudidentity_v1beta1/service.rb +15 -21
  159. data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
  160. data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
  161. data/generated/google/apis/cloudiot_v1/service.rb +23 -330
  162. data/generated/google/apis/cloudiot_v1.rb +1 -1
  163. data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
  164. data/generated/google/apis/cloudkms_v1/service.rb +30 -30
  165. data/generated/google/apis/cloudkms_v1.rb +1 -1
  166. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
  167. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
  168. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
  169. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
  170. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
  171. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
  172. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
  173. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
  174. data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
  175. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +24 -22
  176. data/generated/google/apis/cloudresourcemanager_v1/service.rb +68 -59
  177. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  178. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
  179. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +53 -42
  180. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  181. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +15 -16
  182. data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
  183. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  184. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +15 -16
  185. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
  186. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  187. data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
  188. data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
  189. data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
  190. data/generated/google/apis/cloudscheduler_v1.rb +34 -0
  191. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +160 -44
  192. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
  193. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +15 -12
  194. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  195. data/generated/google/apis/cloudsearch_v1/classes.rb +245 -59
  196. data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
  197. data/generated/google/apis/cloudsearch_v1/service.rb +86 -80
  198. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  199. data/generated/google/apis/cloudshell_v1/classes.rb +11 -11
  200. data/generated/google/apis/cloudshell_v1/service.rb +4 -4
  201. data/generated/google/apis/cloudshell_v1.rb +1 -1
  202. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -11
  203. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
  204. data/generated/google/apis/cloudshell_v1alpha1/service.rb +11 -10
  205. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  206. data/generated/google/apis/cloudtasks_v2/classes.rb +1436 -0
  207. data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
  208. data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
  209. data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
  210. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +141 -102
  211. data/generated/google/apis/cloudtasks_v2beta2/service.rb +44 -43
  212. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  213. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +388 -108
  214. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
  215. data/generated/google/apis/cloudtasks_v2beta3/service.rb +40 -39
  216. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  217. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  218. data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
  219. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  220. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  221. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
  222. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
  223. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
  224. data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
  225. data/generated/google/apis/composer_v1/classes.rb +21 -15
  226. data/generated/google/apis/composer_v1/service.rb +9 -9
  227. data/generated/google/apis/composer_v1.rb +1 -1
  228. data/generated/google/apis/composer_v1beta1/classes.rb +175 -36
  229. data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
  230. data/generated/google/apis/composer_v1beta1/service.rb +9 -9
  231. data/generated/google/apis/composer_v1beta1.rb +1 -1
  232. data/generated/google/apis/compute_alpha/classes.rb +10112 -7289
  233. data/generated/google/apis/compute_alpha/representations.rb +1337 -219
  234. data/generated/google/apis/compute_alpha/service.rb +4259 -2728
  235. data/generated/google/apis/compute_alpha.rb +1 -1
  236. data/generated/google/apis/compute_beta/classes.rb +4254 -2781
  237. data/generated/google/apis/compute_beta/representations.rb +853 -283
  238. data/generated/google/apis/compute_beta/service.rb +7077 -5955
  239. data/generated/google/apis/compute_beta.rb +1 -1
  240. data/generated/google/apis/compute_v1/classes.rb +1259 -93
  241. data/generated/google/apis/compute_v1/representations.rb +450 -1
  242. data/generated/google/apis/compute_v1/service.rb +1085 -400
  243. data/generated/google/apis/compute_v1.rb +1 -1
  244. data/generated/google/apis/container_v1/classes.rb +201 -22
  245. data/generated/google/apis/container_v1/representations.rb +69 -0
  246. data/generated/google/apis/container_v1/service.rb +151 -102
  247. data/generated/google/apis/container_v1.rb +1 -1
  248. data/generated/google/apis/container_v1beta1/classes.rb +215 -25
  249. data/generated/google/apis/container_v1beta1/representations.rb +86 -0
  250. data/generated/google/apis/container_v1beta1/service.rb +106 -106
  251. data/generated/google/apis/container_v1beta1.rb +1 -1
  252. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -18
  253. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  254. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
  255. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  256. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +226 -12
  257. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +58 -0
  258. data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
  259. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  260. data/generated/google/apis/content_v2/classes.rb +218 -101
  261. data/generated/google/apis/content_v2/representations.rb +49 -0
  262. data/generated/google/apis/content_v2/service.rb +189 -152
  263. data/generated/google/apis/content_v2.rb +1 -1
  264. data/generated/google/apis/content_v2_1/classes.rb +387 -216
  265. data/generated/google/apis/content_v2_1/representations.rb +131 -56
  266. data/generated/google/apis/content_v2_1/service.rb +190 -107
  267. data/generated/google/apis/content_v2_1.rb +1 -1
  268. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  269. data/generated/google/apis/dataflow_v1b3/classes.rb +148 -31
  270. data/generated/google/apis/dataflow_v1b3/representations.rb +45 -0
  271. data/generated/google/apis/dataflow_v1b3/service.rb +415 -56
  272. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  273. data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
  274. data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
  275. data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
  276. data/generated/google/apis/datafusion_v1beta1.rb +43 -0
  277. data/generated/google/apis/dataproc_v1/classes.rb +27 -22
  278. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  279. data/generated/google/apis/dataproc_v1/service.rb +261 -45
  280. data/generated/google/apis/dataproc_v1.rb +1 -1
  281. data/generated/google/apis/dataproc_v1beta2/classes.rb +534 -50
  282. data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
  283. data/generated/google/apis/dataproc_v1beta2/service.rb +617 -51
  284. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  285. data/generated/google/apis/datastore_v1/classes.rb +20 -16
  286. data/generated/google/apis/datastore_v1/service.rb +15 -15
  287. data/generated/google/apis/datastore_v1.rb +1 -1
  288. data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
  289. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  290. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  291. data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
  292. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  293. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  294. data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
  295. data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
  296. data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
  297. data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
  298. data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
  299. data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
  300. data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
  301. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  302. data/generated/google/apis/dialogflow_v2/classes.rb +367 -82
  303. data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
  304. data/generated/google/apis/dialogflow_v2/service.rb +76 -60
  305. data/generated/google/apis/dialogflow_v2.rb +1 -1
  306. data/generated/google/apis/dialogflow_v2beta1/classes.rb +199 -88
  307. data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
  308. data/generated/google/apis/dialogflow_v2beta1/service.rb +154 -94
  309. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  310. data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
  311. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  312. data/generated/google/apis/discovery_v1/service.rb +2 -2
  313. data/generated/google/apis/dlp_v2/classes.rb +116 -45
  314. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  315. data/generated/google/apis/dlp_v2/service.rb +85 -45
  316. data/generated/google/apis/dlp_v2.rb +1 -1
  317. data/generated/google/apis/dns_v1/classes.rb +83 -1
  318. data/generated/google/apis/dns_v1/representations.rb +34 -0
  319. data/generated/google/apis/dns_v1/service.rb +15 -15
  320. data/generated/google/apis/dns_v1.rb +1 -1
  321. data/generated/google/apis/dns_v1beta2/classes.rb +81 -1
  322. data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
  323. data/generated/google/apis/dns_v1beta2/service.rb +21 -21
  324. data/generated/google/apis/dns_v1beta2.rb +1 -1
  325. data/generated/google/apis/dns_v2beta1/classes.rb +83 -1
  326. data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
  327. data/generated/google/apis/dns_v2beta1/service.rb +16 -16
  328. data/generated/google/apis/dns_v2beta1.rb +1 -1
  329. data/generated/google/apis/docs_v1/classes.rb +265 -47
  330. data/generated/google/apis/docs_v1/representations.rb +96 -0
  331. data/generated/google/apis/docs_v1/service.rb +3 -3
  332. data/generated/google/apis/docs_v1.rb +1 -1
  333. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
  334. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
  335. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  336. data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
  337. data/generated/google/apis/drive_v2/classes.rb +601 -80
  338. data/generated/google/apis/drive_v2/representations.rb +152 -0
  339. data/generated/google/apis/drive_v2/service.rb +574 -164
  340. data/generated/google/apis/drive_v2.rb +1 -1
  341. data/generated/google/apis/drive_v3/classes.rb +591 -75
  342. data/generated/google/apis/drive_v3/representations.rb +151 -0
  343. data/generated/google/apis/drive_v3/service.rb +483 -116
  344. data/generated/google/apis/drive_v3.rb +1 -1
  345. data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
  346. data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
  347. data/generated/google/apis/driveactivity_v2/service.rb +1 -1
  348. data/generated/google/apis/driveactivity_v2.rb +1 -1
  349. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
  350. data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
  351. data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
  352. data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
  353. data/generated/google/apis/fcm_v1/classes.rb +424 -0
  354. data/generated/google/apis/fcm_v1/representations.rb +167 -0
  355. data/generated/google/apis/fcm_v1/service.rb +97 -0
  356. data/generated/google/apis/fcm_v1.rb +35 -0
  357. data/generated/google/apis/file_v1/classes.rb +646 -11
  358. data/generated/google/apis/file_v1/representations.rb +207 -0
  359. data/generated/google/apis/file_v1/service.rb +196 -6
  360. data/generated/google/apis/file_v1.rb +1 -1
  361. data/generated/google/apis/file_v1beta1/classes.rb +461 -19
  362. data/generated/google/apis/file_v1beta1/representations.rb +137 -0
  363. data/generated/google/apis/file_v1beta1/service.rb +11 -11
  364. data/generated/google/apis/file_v1beta1.rb +1 -1
  365. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +41 -14
  366. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
  367. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
  368. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  369. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
  370. data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
  371. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  372. data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
  373. data/generated/google/apis/firebaserules_v1/service.rb +12 -12
  374. data/generated/google/apis/firebaserules_v1.rb +1 -1
  375. data/generated/google/apis/firestore_v1/classes.rb +15 -15
  376. data/generated/google/apis/firestore_v1/service.rb +28 -28
  377. data/generated/google/apis/firestore_v1.rb +1 -1
  378. data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
  379. data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
  380. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  381. data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
  382. data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
  383. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  384. data/generated/google/apis/fitness_v1/classes.rb +4 -1
  385. data/generated/google/apis/fitness_v1/service.rb +14 -58
  386. data/generated/google/apis/fitness_v1.rb +1 -1
  387. data/generated/google/apis/fusiontables_v1/service.rb +32 -32
  388. data/generated/google/apis/fusiontables_v2/service.rb +34 -34
  389. data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
  390. data/generated/google/apis/games_management_v1management/service.rb +27 -27
  391. data/generated/google/apis/games_management_v1management.rb +2 -2
  392. data/generated/google/apis/games_v1/service.rb +53 -53
  393. data/generated/google/apis/games_v1.rb +3 -3
  394. data/generated/google/apis/genomics_v1/classes.rb +190 -3321
  395. data/generated/google/apis/genomics_v1/representations.rb +128 -1265
  396. data/generated/google/apis/genomics_v1/service.rb +75 -1982
  397. data/generated/google/apis/genomics_v1.rb +1 -10
  398. data/generated/google/apis/genomics_v1alpha2/classes.rb +13 -53
  399. data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
  400. data/generated/google/apis/genomics_v1alpha2/service.rb +11 -12
  401. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  402. data/generated/google/apis/genomics_v2alpha1/classes.rb +26 -58
  403. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -26
  404. data/generated/google/apis/genomics_v2alpha1/service.rb +6 -7
  405. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  406. data/generated/google/apis/gmail_v1/classes.rb +29 -0
  407. data/generated/google/apis/gmail_v1/representations.rb +13 -0
  408. data/generated/google/apis/gmail_v1/service.rb +142 -66
  409. data/generated/google/apis/gmail_v1.rb +1 -1
  410. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  411. data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
  412. data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
  413. data/generated/google/apis/groupssettings_v1/service.rb +4 -4
  414. data/generated/google/apis/groupssettings_v1.rb +2 -2
  415. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
  416. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
  417. data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
  418. data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
  419. data/generated/google/apis/healthcare_v1beta1/classes.rb +2464 -0
  420. data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
  421. data/generated/google/apis/healthcare_v1beta1/service.rb +3413 -0
  422. data/generated/google/apis/healthcare_v1beta1.rb +34 -0
  423. data/generated/google/apis/iam_v1/classes.rb +171 -1
  424. data/generated/google/apis/iam_v1/representations.rb +95 -0
  425. data/generated/google/apis/iam_v1/service.rb +249 -39
  426. data/generated/google/apis/iam_v1.rb +1 -1
  427. data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
  428. data/generated/google/apis/iamcredentials_v1/service.rb +15 -10
  429. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  430. data/generated/google/apis/iap_v1/classes.rb +1 -1
  431. data/generated/google/apis/iap_v1/service.rb +3 -3
  432. data/generated/google/apis/iap_v1.rb +1 -1
  433. data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
  434. data/generated/google/apis/iap_v1beta1/service.rb +3 -3
  435. data/generated/google/apis/iap_v1beta1.rb +1 -1
  436. data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
  437. data/generated/google/apis/indexing_v3/service.rb +2 -2
  438. data/generated/google/apis/jobs_v2/classes.rb +16 -17
  439. data/generated/google/apis/jobs_v2/service.rb +17 -17
  440. data/generated/google/apis/jobs_v2.rb +1 -1
  441. data/generated/google/apis/jobs_v3/classes.rb +14 -8
  442. data/generated/google/apis/jobs_v3/service.rb +16 -17
  443. data/generated/google/apis/jobs_v3.rb +1 -1
  444. data/generated/google/apis/jobs_v3p1beta1/classes.rb +26 -20
  445. data/generated/google/apis/jobs_v3p1beta1/service.rb +17 -18
  446. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  447. data/generated/google/apis/kgsearch_v1/service.rb +1 -1
  448. data/generated/google/apis/language_v1/classes.rb +8 -7
  449. data/generated/google/apis/language_v1/service.rb +6 -6
  450. data/generated/google/apis/language_v1.rb +1 -1
  451. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  452. data/generated/google/apis/language_v1beta1/service.rb +4 -4
  453. data/generated/google/apis/language_v1beta1.rb +1 -1
  454. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  455. data/generated/google/apis/language_v1beta2/service.rb +6 -6
  456. data/generated/google/apis/language_v1beta2.rb +1 -1
  457. data/generated/google/apis/libraryagent_v1/service.rb +6 -6
  458. data/generated/google/apis/licensing_v1/service.rb +7 -7
  459. data/generated/google/apis/logging_v2/classes.rb +8 -3
  460. data/generated/google/apis/logging_v2/representations.rb +1 -0
  461. data/generated/google/apis/logging_v2/service.rb +72 -72
  462. data/generated/google/apis/logging_v2.rb +1 -1
  463. data/generated/google/apis/manufacturers_v1/service.rb +4 -4
  464. data/generated/google/apis/mirror_v1/service.rb +24 -24
  465. data/generated/google/apis/ml_v1/classes.rb +240 -52
  466. data/generated/google/apis/ml_v1/representations.rb +25 -2
  467. data/generated/google/apis/ml_v1/service.rb +36 -36
  468. data/generated/google/apis/ml_v1.rb +1 -1
  469. data/generated/google/apis/monitoring_v3/classes.rb +22 -18
  470. data/generated/google/apis/monitoring_v3/representations.rb +2 -1
  471. data/generated/google/apis/monitoring_v3/service.rb +42 -37
  472. data/generated/google/apis/monitoring_v3.rb +1 -1
  473. data/generated/google/apis/oauth2_v1/classes.rb +0 -124
  474. data/generated/google/apis/oauth2_v1/representations.rb +0 -62
  475. data/generated/google/apis/oauth2_v1/service.rb +3 -162
  476. data/generated/google/apis/oauth2_v1.rb +3 -6
  477. data/generated/google/apis/oauth2_v2/service.rb +4 -4
  478. data/generated/google/apis/oauth2_v2.rb +3 -6
  479. data/generated/google/apis/oslogin_v1/service.rb +8 -7
  480. data/generated/google/apis/oslogin_v1.rb +3 -2
  481. data/generated/google/apis/oslogin_v1alpha/service.rb +8 -7
  482. data/generated/google/apis/oslogin_v1alpha.rb +3 -2
  483. data/generated/google/apis/oslogin_v1beta/service.rb +8 -7
  484. data/generated/google/apis/oslogin_v1beta.rb +3 -2
  485. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  486. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  487. data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
  488. data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
  489. data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
  490. data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
  491. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  492. data/generated/google/apis/people_v1/classes.rb +38 -29
  493. data/generated/google/apis/people_v1/representations.rb +1 -0
  494. data/generated/google/apis/people_v1/service.rb +18 -13
  495. data/generated/google/apis/people_v1.rb +2 -5
  496. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  497. data/generated/google/apis/plus_domains_v1/service.rb +18 -392
  498. data/generated/google/apis/plus_domains_v1.rb +4 -10
  499. data/generated/google/apis/plus_v1/service.rb +16 -16
  500. data/generated/google/apis/plus_v1.rb +4 -4
  501. data/generated/google/apis/poly_v1/classes.rb +8 -6
  502. data/generated/google/apis/poly_v1/service.rb +15 -12
  503. data/generated/google/apis/poly_v1.rb +1 -1
  504. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
  505. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
  506. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  507. data/generated/google/apis/pubsub_v1/classes.rb +55 -39
  508. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  509. data/generated/google/apis/pubsub_v1/service.rb +46 -69
  510. data/generated/google/apis/pubsub_v1.rb +1 -1
  511. data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
  512. data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
  513. data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
  514. data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
  515. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  516. data/generated/google/apis/redis_v1/classes.rb +30 -10
  517. data/generated/google/apis/redis_v1/representations.rb +13 -0
  518. data/generated/google/apis/redis_v1/service.rb +51 -15
  519. data/generated/google/apis/redis_v1.rb +1 -1
  520. data/generated/google/apis/redis_v1beta1/classes.rb +18 -21
  521. data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
  522. data/generated/google/apis/redis_v1beta1/service.rb +15 -15
  523. data/generated/google/apis/redis_v1beta1.rb +1 -1
  524. data/generated/google/apis/remotebuildexecution_v1/classes.rb +50 -35
  525. data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
  526. data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
  527. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  528. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +48 -33
  529. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
  530. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
  531. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  532. data/generated/google/apis/remotebuildexecution_v2/classes.rb +58 -43
  533. data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
  534. data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
  535. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  536. data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
  537. data/generated/google/apis/reseller_v1/classes.rb +32 -39
  538. data/generated/google/apis/reseller_v1/service.rb +18 -18
  539. data/generated/google/apis/reseller_v1.rb +1 -1
  540. data/generated/google/apis/run_v1/classes.rb +73 -0
  541. data/generated/google/apis/run_v1/representations.rb +43 -0
  542. data/generated/google/apis/run_v1/service.rb +90 -0
  543. data/generated/google/apis/run_v1.rb +35 -0
  544. data/generated/google/apis/run_v1alpha1/classes.rb +3882 -0
  545. data/generated/google/apis/run_v1alpha1/representations.rb +1425 -0
  546. data/generated/google/apis/run_v1alpha1/service.rb +2071 -0
  547. data/generated/google/apis/run_v1alpha1.rb +35 -0
  548. data/generated/google/apis/runtimeconfig_v1/classes.rb +11 -11
  549. data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
  550. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  551. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +26 -25
  552. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
  553. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  554. data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
  555. data/generated/google/apis/script_v1/classes.rb +167 -6
  556. data/generated/google/apis/script_v1/representations.rb +79 -1
  557. data/generated/google/apis/script_v1/service.rb +16 -16
  558. data/generated/google/apis/script_v1.rb +1 -1
  559. data/generated/google/apis/searchconsole_v1/service.rb +1 -1
  560. data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
  561. data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
  562. data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
  563. data/generated/google/apis/securitycenter_v1.rb +35 -0
  564. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
  565. data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
  566. data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
  567. data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
  568. data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
  569. data/generated/google/apis/servicebroker_v1/service.rb +3 -3
  570. data/generated/google/apis/servicebroker_v1.rb +1 -1
  571. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
  572. data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
  573. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  574. data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
  575. data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
  576. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  577. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +453 -149
  578. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +202 -29
  579. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +148 -62
  580. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  581. data/generated/google/apis/servicecontrol_v1/classes.rb +122 -25
  582. data/generated/google/apis/servicecontrol_v1/representations.rb +47 -0
  583. data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
  584. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  585. data/generated/google/apis/servicemanagement_v1/classes.rb +93 -110
  586. data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
  587. data/generated/google/apis/servicemanagement_v1/service.rb +30 -27
  588. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  589. data/generated/google/apis/servicenetworking_v1/classes.rb +3626 -0
  590. data/generated/google/apis/servicenetworking_v1/representations.rb +1055 -0
  591. data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
  592. data/generated/google/apis/servicenetworking_v1.rb +38 -0
  593. data/generated/google/apis/servicenetworking_v1beta/classes.rb +65 -108
  594. data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
  595. data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
  596. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  597. data/generated/google/apis/serviceusage_v1/classes.rb +160 -109
  598. data/generated/google/apis/serviceusage_v1/representations.rb +42 -26
  599. data/generated/google/apis/serviceusage_v1/service.rb +17 -19
  600. data/generated/google/apis/serviceusage_v1.rb +1 -1
  601. data/generated/google/apis/serviceusage_v1beta1/classes.rb +161 -110
  602. data/generated/google/apis/serviceusage_v1beta1/representations.rb +42 -26
  603. data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
  604. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  605. data/generated/google/apis/sheets_v4/classes.rb +115 -26
  606. data/generated/google/apis/sheets_v4/service.rb +17 -17
  607. data/generated/google/apis/sheets_v4.rb +1 -1
  608. data/generated/google/apis/site_verification_v1/service.rb +7 -7
  609. data/generated/google/apis/slides_v1/classes.rb +2 -2
  610. data/generated/google/apis/slides_v1/service.rb +5 -5
  611. data/generated/google/apis/slides_v1.rb +1 -1
  612. data/generated/google/apis/sourcerepo_v1/classes.rb +183 -1
  613. data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
  614. data/generated/google/apis/sourcerepo_v1/service.rb +45 -10
  615. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  616. data/generated/google/apis/spanner_v1/classes.rb +231 -17
  617. data/generated/google/apis/spanner_v1/representations.rb +66 -0
  618. data/generated/google/apis/spanner_v1/service.rb +92 -42
  619. data/generated/google/apis/spanner_v1.rb +1 -1
  620. data/generated/google/apis/speech_v1/classes.rb +110 -13
  621. data/generated/google/apis/speech_v1/representations.rb +24 -0
  622. data/generated/google/apis/speech_v1/service.rb +9 -7
  623. data/generated/google/apis/speech_v1.rb +1 -1
  624. data/generated/google/apis/speech_v1p1beta1/classes.rb +19 -13
  625. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  626. data/generated/google/apis/speech_v1p1beta1/service.rb +9 -7
  627. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  628. data/generated/google/apis/sqladmin_v1beta4/classes.rb +94 -17
  629. data/generated/google/apis/sqladmin_v1beta4/representations.rb +36 -0
  630. data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
  631. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  632. data/generated/google/apis/storage_v1/classes.rb +201 -4
  633. data/generated/google/apis/storage_v1/representations.rb +76 -1
  634. data/generated/google/apis/storage_v1/service.rb +488 -93
  635. data/generated/google/apis/storage_v1.rb +1 -1
  636. data/generated/google/apis/storage_v1beta1/service.rb +24 -24
  637. data/generated/google/apis/storage_v1beta2/service.rb +34 -34
  638. data/generated/google/apis/storagetransfer_v1/classes.rb +44 -44
  639. data/generated/google/apis/storagetransfer_v1/service.rb +35 -36
  640. data/generated/google/apis/storagetransfer_v1.rb +2 -2
  641. data/generated/google/apis/streetviewpublish_v1/classes.rb +27 -27
  642. data/generated/google/apis/streetviewpublish_v1/service.rb +36 -40
  643. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  644. data/generated/google/apis/surveys_v2/service.rb +8 -8
  645. data/generated/google/apis/tagmanager_v1/service.rb +49 -95
  646. data/generated/google/apis/tagmanager_v1.rb +1 -1
  647. data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
  648. data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
  649. data/generated/google/apis/tagmanager_v2/service.rb +287 -249
  650. data/generated/google/apis/tagmanager_v2.rb +1 -1
  651. data/generated/google/apis/tasks_v1/service.rb +19 -19
  652. data/generated/google/apis/tasks_v1.rb +2 -2
  653. data/generated/google/apis/testing_v1/classes.rb +44 -39
  654. data/generated/google/apis/testing_v1/representations.rb +3 -1
  655. data/generated/google/apis/testing_v1/service.rb +5 -5
  656. data/generated/google/apis/testing_v1.rb +1 -1
  657. data/generated/google/apis/texttospeech_v1/service.rb +2 -2
  658. data/generated/google/apis/texttospeech_v1.rb +1 -1
  659. data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
  660. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  661. data/generated/google/apis/toolresults_v1beta3/classes.rb +340 -17
  662. data/generated/google/apis/toolresults_v1beta3/representations.rb +90 -0
  663. data/generated/google/apis/toolresults_v1beta3/service.rb +140 -24
  664. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  665. data/generated/google/apis/tpu_v1/classes.rb +21 -15
  666. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  667. data/generated/google/apis/tpu_v1/service.rb +17 -17
  668. data/generated/google/apis/tpu_v1.rb +1 -1
  669. data/generated/google/apis/tpu_v1alpha1/classes.rb +21 -15
  670. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  671. data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
  672. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  673. data/generated/google/apis/translate_v2/service.rb +5 -5
  674. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  675. data/generated/google/apis/vault_v1/classes.rb +44 -18
  676. data/generated/google/apis/vault_v1/representations.rb +4 -0
  677. data/generated/google/apis/vault_v1/service.rb +28 -28
  678. data/generated/google/apis/vault_v1.rb +1 -1
  679. data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
  680. data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
  681. data/generated/google/apis/videointelligence_v1/service.rb +7 -6
  682. data/generated/google/apis/videointelligence_v1.rb +3 -2
  683. data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
  684. data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
  685. data/generated/google/apis/videointelligence_v1beta2/service.rb +3 -2
  686. data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
  687. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
  688. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
  689. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +3 -2
  690. data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
  691. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
  692. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
  693. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +3 -2
  694. data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
  695. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
  696. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
  697. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
  698. data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
  699. data/generated/google/apis/vision_v1/classes.rb +4397 -124
  700. data/generated/google/apis/vision_v1/representations.rb +2366 -541
  701. data/generated/google/apis/vision_v1/service.rb +160 -33
  702. data/generated/google/apis/vision_v1.rb +1 -1
  703. data/generated/google/apis/vision_v1p1beta1/classes.rb +4451 -158
  704. data/generated/google/apis/vision_v1p1beta1/representations.rb +2415 -576
  705. data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
  706. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  707. data/generated/google/apis/vision_v1p2beta1/classes.rb +4451 -158
  708. data/generated/google/apis/vision_v1p2beta1/representations.rb +2443 -604
  709. data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
  710. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  711. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  712. data/generated/google/apis/webmasters_v3/classes.rb +0 -166
  713. data/generated/google/apis/webmasters_v3/representations.rb +0 -93
  714. data/generated/google/apis/webmasters_v3/service.rb +9 -180
  715. data/generated/google/apis/webmasters_v3.rb +1 -1
  716. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
  717. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
  718. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
  719. data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
  720. data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
  721. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  722. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
  723. data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
  724. data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
  725. data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
  726. data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
  727. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  728. data/generated/google/apis/youtube_v3/service.rb +71 -71
  729. data/generated/google/apis/youtube_v3.rb +1 -1
  730. data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
  731. data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
  732. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  733. data/google-api-client.gemspec +2 -2
  734. data/lib/google/apis/core/http_command.rb +1 -0
  735. data/lib/google/apis/core/json_representation.rb +4 -0
  736. data/lib/google/apis/core/upload.rb +3 -3
  737. data/lib/google/apis/generator/model.rb +1 -1
  738. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  739. data/lib/google/apis/version.rb +1 -1
  740. metadata +86 -17
  741. data/.kokoro/common.cfg +0 -22
  742. data/.kokoro/windows.sh +0 -32
  743. data/generated/google/apis/logging_v2beta1/classes.rb +0 -1765
  744. data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
  745. data/generated/google/apis/logging_v2beta1/service.rb +0 -570
  746. data/generated/google/apis/logging_v2beta1.rb +0 -46
  747. data/generated/google/apis/partners_v2/classes.rb +0 -2260
  748. data/generated/google/apis/partners_v2/representations.rb +0 -905
  749. data/generated/google/apis/partners_v2/service.rb +0 -1077
  750. data/samples/web/.env +0 -2
@@ -58,6 +58,9 @@ module Google
58
58
  # @param [String] entity
59
59
  # The entity holding the permission. Can be user-userId, user-emailAddress,
60
60
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
61
+ # @param [String] provisional_user_project
62
+ # The project to be billed for this request if the target bucket is requester-
63
+ # pays bucket.
61
64
  # @param [String] user_project
62
65
  # The project to be billed for this request. Required for Requester Pays buckets.
63
66
  # @param [String] fields
@@ -79,10 +82,11 @@ module Google
79
82
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
80
83
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
84
  # @raise [Google::Apis::AuthorizationError] Authorization is required
82
- def delete_bucket_access_control(bucket, entity, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
83
- command = make_simple_command(:delete, 'b/{bucket}/acl/{entity}', options)
85
+ def delete_bucket_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
86
+ command = make_simple_command(:delete, 'b/{bucket}/acl/{entity}', options)
84
87
  command.params['bucket'] = bucket unless bucket.nil?
85
88
  command.params['entity'] = entity unless entity.nil?
89
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
86
90
  command.query['userProject'] = user_project unless user_project.nil?
87
91
  command.query['fields'] = fields unless fields.nil?
88
92
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -96,6 +100,9 @@ module Google
96
100
  # @param [String] entity
97
101
  # The entity holding the permission. Can be user-userId, user-emailAddress,
98
102
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
103
+ # @param [String] provisional_user_project
104
+ # The project to be billed for this request if the target bucket is requester-
105
+ # pays bucket.
99
106
  # @param [String] user_project
100
107
  # The project to be billed for this request. Required for Requester Pays buckets.
101
108
  # @param [String] fields
@@ -117,12 +124,13 @@ module Google
117
124
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
118
125
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
119
126
  # @raise [Google::Apis::AuthorizationError] Authorization is required
120
- def get_bucket_access_control(bucket, entity, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
121
- command = make_simple_command(:get, 'b/{bucket}/acl/{entity}', options)
127
+ def get_bucket_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
128
+ command = make_simple_command(:get, 'b/{bucket}/acl/{entity}', options)
122
129
  command.response_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
123
130
  command.response_class = Google::Apis::StorageV1::BucketAccessControl
124
131
  command.params['bucket'] = bucket unless bucket.nil?
125
132
  command.params['entity'] = entity unless entity.nil?
133
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
126
134
  command.query['userProject'] = user_project unless user_project.nil?
127
135
  command.query['fields'] = fields unless fields.nil?
128
136
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -134,6 +142,9 @@ module Google
134
142
  # @param [String] bucket
135
143
  # Name of a bucket.
136
144
  # @param [Google::Apis::StorageV1::BucketAccessControl] bucket_access_control_object
145
+ # @param [String] provisional_user_project
146
+ # The project to be billed for this request if the target bucket is requester-
147
+ # pays bucket.
137
148
  # @param [String] user_project
138
149
  # The project to be billed for this request. Required for Requester Pays buckets.
139
150
  # @param [String] fields
@@ -155,13 +166,14 @@ module Google
155
166
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
156
167
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
168
  # @raise [Google::Apis::AuthorizationError] Authorization is required
158
- def insert_bucket_access_control(bucket, bucket_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
159
- command = make_simple_command(:post, 'b/{bucket}/acl', options)
169
+ def insert_bucket_access_control(bucket, bucket_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
170
+ command = make_simple_command(:post, 'b/{bucket}/acl', options)
160
171
  command.request_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
161
172
  command.request_object = bucket_access_control_object
162
173
  command.response_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
163
174
  command.response_class = Google::Apis::StorageV1::BucketAccessControl
164
175
  command.params['bucket'] = bucket unless bucket.nil?
176
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
165
177
  command.query['userProject'] = user_project unless user_project.nil?
166
178
  command.query['fields'] = fields unless fields.nil?
167
179
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -172,6 +184,9 @@ module Google
172
184
  # Retrieves ACL entries on the specified bucket.
173
185
  # @param [String] bucket
174
186
  # Name of a bucket.
187
+ # @param [String] provisional_user_project
188
+ # The project to be billed for this request if the target bucket is requester-
189
+ # pays bucket.
175
190
  # @param [String] user_project
176
191
  # The project to be billed for this request. Required for Requester Pays buckets.
177
192
  # @param [String] fields
@@ -193,11 +208,12 @@ module Google
193
208
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
194
209
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
195
210
  # @raise [Google::Apis::AuthorizationError] Authorization is required
196
- def list_bucket_access_controls(bucket, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
197
- command = make_simple_command(:get, 'b/{bucket}/acl', options)
211
+ def list_bucket_access_controls(bucket, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
212
+ command = make_simple_command(:get, 'b/{bucket}/acl', options)
198
213
  command.response_representation = Google::Apis::StorageV1::BucketAccessControls::Representation
199
214
  command.response_class = Google::Apis::StorageV1::BucketAccessControls
200
215
  command.params['bucket'] = bucket unless bucket.nil?
216
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
201
217
  command.query['userProject'] = user_project unless user_project.nil?
202
218
  command.query['fields'] = fields unless fields.nil?
203
219
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -212,6 +228,9 @@ module Google
212
228
  # The entity holding the permission. Can be user-userId, user-emailAddress,
213
229
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
214
230
  # @param [Google::Apis::StorageV1::BucketAccessControl] bucket_access_control_object
231
+ # @param [String] provisional_user_project
232
+ # The project to be billed for this request if the target bucket is requester-
233
+ # pays bucket.
215
234
  # @param [String] user_project
216
235
  # The project to be billed for this request. Required for Requester Pays buckets.
217
236
  # @param [String] fields
@@ -233,14 +252,15 @@ module Google
233
252
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
234
253
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
235
254
  # @raise [Google::Apis::AuthorizationError] Authorization is required
236
- def patch_bucket_access_control(bucket, entity, bucket_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
237
- command = make_simple_command(:patch, 'b/{bucket}/acl/{entity}', options)
255
+ def patch_bucket_access_control(bucket, entity, bucket_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
256
+ command = make_simple_command(:patch, 'b/{bucket}/acl/{entity}', options)
238
257
  command.request_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
239
258
  command.request_object = bucket_access_control_object
240
259
  command.response_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
241
260
  command.response_class = Google::Apis::StorageV1::BucketAccessControl
242
261
  command.params['bucket'] = bucket unless bucket.nil?
243
262
  command.params['entity'] = entity unless entity.nil?
263
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
244
264
  command.query['userProject'] = user_project unless user_project.nil?
245
265
  command.query['fields'] = fields unless fields.nil?
246
266
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -255,6 +275,9 @@ module Google
255
275
  # The entity holding the permission. Can be user-userId, user-emailAddress,
256
276
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
257
277
  # @param [Google::Apis::StorageV1::BucketAccessControl] bucket_access_control_object
278
+ # @param [String] provisional_user_project
279
+ # The project to be billed for this request if the target bucket is requester-
280
+ # pays bucket.
258
281
  # @param [String] user_project
259
282
  # The project to be billed for this request. Required for Requester Pays buckets.
260
283
  # @param [String] fields
@@ -276,14 +299,15 @@ module Google
276
299
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
277
300
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
278
301
  # @raise [Google::Apis::AuthorizationError] Authorization is required
279
- def update_bucket_access_control(bucket, entity, bucket_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
280
- command = make_simple_command(:put, 'b/{bucket}/acl/{entity}', options)
302
+ def update_bucket_access_control(bucket, entity, bucket_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
303
+ command = make_simple_command(:put, 'b/{bucket}/acl/{entity}', options)
281
304
  command.request_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
282
305
  command.request_object = bucket_access_control_object
283
306
  command.response_representation = Google::Apis::StorageV1::BucketAccessControl::Representation
284
307
  command.response_class = Google::Apis::StorageV1::BucketAccessControl
285
308
  command.params['bucket'] = bucket unless bucket.nil?
286
309
  command.params['entity'] = entity unless entity.nil?
310
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
287
311
  command.query['userProject'] = user_project unless user_project.nil?
288
312
  command.query['fields'] = fields unless fields.nil?
289
313
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -299,6 +323,9 @@ module Google
299
323
  # @param [Fixnum] if_metageneration_not_match
300
324
  # If set, only deletes the bucket if its metageneration does not match this
301
325
  # value.
326
+ # @param [String] provisional_user_project
327
+ # The project to be billed for this request if the target bucket is requester-
328
+ # pays bucket.
302
329
  # @param [String] user_project
303
330
  # The project to be billed for this request. Required for Requester Pays buckets.
304
331
  # @param [String] fields
@@ -320,11 +347,12 @@ module Google
320
347
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
321
348
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
322
349
  # @raise [Google::Apis::AuthorizationError] Authorization is required
323
- def delete_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
324
- command = make_simple_command(:delete, 'b/{bucket}', options)
350
+ def delete_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
351
+ command = make_simple_command(:delete, 'b/{bucket}', options)
325
352
  command.params['bucket'] = bucket unless bucket.nil?
326
353
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
327
354
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
355
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
328
356
  command.query['userProject'] = user_project unless user_project.nil?
329
357
  command.query['fields'] = fields unless fields.nil?
330
358
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -343,6 +371,9 @@ module Google
343
371
  # current metageneration does not match the given value.
344
372
  # @param [String] projection
345
373
  # Set of properties to return. Defaults to noAcl.
374
+ # @param [String] provisional_user_project
375
+ # The project to be billed for this request if the target bucket is requester-
376
+ # pays bucket.
346
377
  # @param [String] user_project
347
378
  # The project to be billed for this request. Required for Requester Pays buckets.
348
379
  # @param [String] fields
@@ -364,14 +395,15 @@ module Google
364
395
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
365
396
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
366
397
  # @raise [Google::Apis::AuthorizationError] Authorization is required
367
- def get_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
368
- command = make_simple_command(:get, 'b/{bucket}', options)
398
+ def get_bucket(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
399
+ command = make_simple_command(:get, 'b/{bucket}', options)
369
400
  command.response_representation = Google::Apis::StorageV1::Bucket::Representation
370
401
  command.response_class = Google::Apis::StorageV1::Bucket
371
402
  command.params['bucket'] = bucket unless bucket.nil?
372
403
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
373
404
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
374
405
  command.query['projection'] = projection unless projection.nil?
406
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
375
407
  command.query['userProject'] = user_project unless user_project.nil?
376
408
  command.query['fields'] = fields unless fields.nil?
377
409
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -382,6 +414,9 @@ module Google
382
414
  # Returns an IAM policy for the specified bucket.
383
415
  # @param [String] bucket
384
416
  # Name of a bucket.
417
+ # @param [String] provisional_user_project
418
+ # The project to be billed for this request if the target bucket is requester-
419
+ # pays bucket.
385
420
  # @param [String] user_project
386
421
  # The project to be billed for this request. Required for Requester Pays buckets.
387
422
  # @param [String] fields
@@ -403,11 +438,12 @@ module Google
403
438
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
404
439
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
405
440
  # @raise [Google::Apis::AuthorizationError] Authorization is required
406
- def get_bucket_iam_policy(bucket, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
407
- command = make_simple_command(:get, 'b/{bucket}/iam', options)
441
+ def get_bucket_iam_policy(bucket, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
442
+ command = make_simple_command(:get, 'b/{bucket}/iam', options)
408
443
  command.response_representation = Google::Apis::StorageV1::Policy::Representation
409
444
  command.response_class = Google::Apis::StorageV1::Policy
410
445
  command.params['bucket'] = bucket unless bucket.nil?
446
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
411
447
  command.query['userProject'] = user_project unless user_project.nil?
412
448
  command.query['fields'] = fields unless fields.nil?
413
449
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -426,6 +462,9 @@ module Google
426
462
  # @param [String] projection
427
463
  # Set of properties to return. Defaults to noAcl, unless the bucket resource
428
464
  # specifies acl or defaultObjectAcl properties, when it defaults to full.
465
+ # @param [String] provisional_user_project
466
+ # The project to be billed for this request if the target bucket is requester-
467
+ # pays bucket.
429
468
  # @param [String] user_project
430
469
  # The project to be billed for this request.
431
470
  # @param [String] fields
@@ -447,8 +486,8 @@ module Google
447
486
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
448
487
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
449
488
  # @raise [Google::Apis::AuthorizationError] Authorization is required
450
- def insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
451
- command = make_simple_command(:post, 'b', options)
489
+ def insert_bucket(project, bucket_object = nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
490
+ command = make_simple_command(:post, 'b', options)
452
491
  command.request_representation = Google::Apis::StorageV1::Bucket::Representation
453
492
  command.request_object = bucket_object
454
493
  command.response_representation = Google::Apis::StorageV1::Bucket::Representation
@@ -457,6 +496,7 @@ module Google
457
496
  command.query['predefinedDefaultObjectAcl'] = predefined_default_object_acl unless predefined_default_object_acl.nil?
458
497
  command.query['project'] = project unless project.nil?
459
498
  command.query['projection'] = projection unless projection.nil?
499
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
460
500
  command.query['userProject'] = user_project unless user_project.nil?
461
501
  command.query['fields'] = fields unless fields.nil?
462
502
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -477,6 +517,9 @@ module Google
477
517
  # Filter results to buckets whose names begin with this prefix.
478
518
  # @param [String] projection
479
519
  # Set of properties to return. Defaults to noAcl.
520
+ # @param [String] provisional_user_project
521
+ # The project to be billed for this request if the target bucket is requester-
522
+ # pays bucket.
480
523
  # @param [String] user_project
481
524
  # The project to be billed for this request.
482
525
  # @param [String] fields
@@ -498,8 +541,8 @@ module Google
498
541
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
499
542
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
500
543
  # @raise [Google::Apis::AuthorizationError] Authorization is required
501
- def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
502
- command = make_simple_command(:get, 'b', options)
544
+ def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
545
+ command = make_simple_command(:get, 'b', options)
503
546
  command.response_representation = Google::Apis::StorageV1::Buckets::Representation
504
547
  command.response_class = Google::Apis::StorageV1::Buckets
505
548
  command.query['maxResults'] = max_results unless max_results.nil?
@@ -507,6 +550,7 @@ module Google
507
550
  command.query['prefix'] = prefix unless prefix.nil?
508
551
  command.query['project'] = project unless project.nil?
509
552
  command.query['projection'] = projection unless projection.nil?
553
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
510
554
  command.query['userProject'] = user_project unless user_project.nil?
511
555
  command.query['fields'] = fields unless fields.nil?
512
556
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -520,6 +564,9 @@ module Google
520
564
  # @param [Fixnum] if_metageneration_match
521
565
  # Makes the operation conditional on whether bucket's current metageneration
522
566
  # matches the given value.
567
+ # @param [String] provisional_user_project
568
+ # The project to be billed for this request if the target bucket is requester-
569
+ # pays bucket.
523
570
  # @param [String] user_project
524
571
  # The project to be billed for this request. Required for Requester Pays buckets.
525
572
  # @param [String] fields
@@ -541,12 +588,13 @@ module Google
541
588
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
542
589
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
543
590
  # @raise [Google::Apis::AuthorizationError] Authorization is required
544
- def lock_bucket_retention_policy(bucket, if_metageneration_match, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
545
- command = make_simple_command(:post, 'b/{bucket}/lockRetentionPolicy', options)
591
+ def lock_bucket_retention_policy(bucket, if_metageneration_match, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
592
+ command = make_simple_command(:post, 'b/{bucket}/lockRetentionPolicy', options)
546
593
  command.response_representation = Google::Apis::StorageV1::Bucket::Representation
547
594
  command.response_class = Google::Apis::StorageV1::Bucket
548
595
  command.params['bucket'] = bucket unless bucket.nil?
549
596
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
597
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
550
598
  command.query['userProject'] = user_project unless user_project.nil?
551
599
  command.query['fields'] = fields unless fields.nil?
552
600
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -571,6 +619,9 @@ module Google
571
619
  # Apply a predefined set of default object access controls to this bucket.
572
620
  # @param [String] projection
573
621
  # Set of properties to return. Defaults to full.
622
+ # @param [String] provisional_user_project
623
+ # The project to be billed for this request if the target bucket is requester-
624
+ # pays bucket.
574
625
  # @param [String] user_project
575
626
  # The project to be billed for this request. Required for Requester Pays buckets.
576
627
  # @param [String] fields
@@ -592,8 +643,8 @@ module Google
592
643
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
593
644
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
594
645
  # @raise [Google::Apis::AuthorizationError] Authorization is required
595
- def patch_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
596
- command = make_simple_command(:patch, 'b/{bucket}', options)
646
+ def patch_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
647
+ command = make_simple_command(:patch, 'b/{bucket}', options)
597
648
  command.request_representation = Google::Apis::StorageV1::Bucket::Representation
598
649
  command.request_object = bucket_object
599
650
  command.response_representation = Google::Apis::StorageV1::Bucket::Representation
@@ -604,6 +655,7 @@ module Google
604
655
  command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
605
656
  command.query['predefinedDefaultObjectAcl'] = predefined_default_object_acl unless predefined_default_object_acl.nil?
606
657
  command.query['projection'] = projection unless projection.nil?
658
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
607
659
  command.query['userProject'] = user_project unless user_project.nil?
608
660
  command.query['fields'] = fields unless fields.nil?
609
661
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -615,6 +667,9 @@ module Google
615
667
  # @param [String] bucket
616
668
  # Name of a bucket.
617
669
  # @param [Google::Apis::StorageV1::Policy] policy_object
670
+ # @param [String] provisional_user_project
671
+ # The project to be billed for this request if the target bucket is requester-
672
+ # pays bucket.
618
673
  # @param [String] user_project
619
674
  # The project to be billed for this request. Required for Requester Pays buckets.
620
675
  # @param [String] fields
@@ -636,13 +691,14 @@ module Google
636
691
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
637
692
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
638
693
  # @raise [Google::Apis::AuthorizationError] Authorization is required
639
- def set_bucket_iam_policy(bucket, policy_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
640
- command = make_simple_command(:put, 'b/{bucket}/iam', options)
694
+ def set_bucket_iam_policy(bucket, policy_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
695
+ command = make_simple_command(:put, 'b/{bucket}/iam', options)
641
696
  command.request_representation = Google::Apis::StorageV1::Policy::Representation
642
697
  command.request_object = policy_object
643
698
  command.response_representation = Google::Apis::StorageV1::Policy::Representation
644
699
  command.response_class = Google::Apis::StorageV1::Policy
645
700
  command.params['bucket'] = bucket unless bucket.nil?
701
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
646
702
  command.query['userProject'] = user_project unless user_project.nil?
647
703
  command.query['fields'] = fields unless fields.nil?
648
704
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -656,6 +712,9 @@ module Google
656
712
  # Name of a bucket.
657
713
  # @param [Array<String>, String] permissions
658
714
  # Permissions to test.
715
+ # @param [String] provisional_user_project
716
+ # The project to be billed for this request if the target bucket is requester-
717
+ # pays bucket.
659
718
  # @param [String] user_project
660
719
  # The project to be billed for this request. Required for Requester Pays buckets.
661
720
  # @param [String] fields
@@ -677,12 +736,13 @@ module Google
677
736
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
678
737
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
679
738
  # @raise [Google::Apis::AuthorizationError] Authorization is required
680
- def test_bucket_iam_permissions(bucket, permissions, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
681
- command = make_simple_command(:get, 'b/{bucket}/iam/testPermissions', options)
739
+ def test_bucket_iam_permissions(bucket, permissions, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
740
+ command = make_simple_command(:get, 'b/{bucket}/iam/testPermissions', options)
682
741
  command.response_representation = Google::Apis::StorageV1::TestIamPermissionsResponse::Representation
683
742
  command.response_class = Google::Apis::StorageV1::TestIamPermissionsResponse
684
743
  command.params['bucket'] = bucket unless bucket.nil?
685
744
  command.query['permissions'] = permissions unless permissions.nil?
745
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
686
746
  command.query['userProject'] = user_project unless user_project.nil?
687
747
  command.query['fields'] = fields unless fields.nil?
688
748
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -707,6 +767,9 @@ module Google
707
767
  # Apply a predefined set of default object access controls to this bucket.
708
768
  # @param [String] projection
709
769
  # Set of properties to return. Defaults to full.
770
+ # @param [String] provisional_user_project
771
+ # The project to be billed for this request if the target bucket is requester-
772
+ # pays bucket.
710
773
  # @param [String] user_project
711
774
  # The project to be billed for this request. Required for Requester Pays buckets.
712
775
  # @param [String] fields
@@ -728,8 +791,8 @@ module Google
728
791
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
729
792
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
730
793
  # @raise [Google::Apis::AuthorizationError] Authorization is required
731
- def update_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
732
- command = make_simple_command(:put, 'b/{bucket}', options)
794
+ def update_bucket(bucket, bucket_object = nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, predefined_default_object_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
795
+ command = make_simple_command(:put, 'b/{bucket}', options)
733
796
  command.request_representation = Google::Apis::StorageV1::Bucket::Representation
734
797
  command.request_object = bucket_object
735
798
  command.response_representation = Google::Apis::StorageV1::Bucket::Representation
@@ -740,6 +803,7 @@ module Google
740
803
  command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
741
804
  command.query['predefinedDefaultObjectAcl'] = predefined_default_object_acl unless predefined_default_object_acl.nil?
742
805
  command.query['projection'] = projection unless projection.nil?
806
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
743
807
  command.query['userProject'] = user_project unless user_project.nil?
744
808
  command.query['fields'] = fields unless fields.nil?
745
809
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -769,7 +833,7 @@ module Google
769
833
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
770
834
  # @raise [Google::Apis::AuthorizationError] Authorization is required
771
835
  def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
772
- command = make_simple_command(:post, 'channels/stop', options)
836
+ command = make_simple_command(:post, 'channels/stop', options)
773
837
  command.request_representation = Google::Apis::StorageV1::Channel::Representation
774
838
  command.request_object = channel_object
775
839
  command.query['fields'] = fields unless fields.nil?
@@ -785,6 +849,9 @@ module Google
785
849
  # @param [String] entity
786
850
  # The entity holding the permission. Can be user-userId, user-emailAddress,
787
851
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
852
+ # @param [String] provisional_user_project
853
+ # The project to be billed for this request if the target bucket is requester-
854
+ # pays bucket.
788
855
  # @param [String] user_project
789
856
  # The project to be billed for this request. Required for Requester Pays buckets.
790
857
  # @param [String] fields
@@ -806,10 +873,11 @@ module Google
806
873
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
807
874
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
808
875
  # @raise [Google::Apis::AuthorizationError] Authorization is required
809
- def delete_default_object_access_control(bucket, entity, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
810
- command = make_simple_command(:delete, 'b/{bucket}/defaultObjectAcl/{entity}', options)
876
+ def delete_default_object_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
877
+ command = make_simple_command(:delete, 'b/{bucket}/defaultObjectAcl/{entity}', options)
811
878
  command.params['bucket'] = bucket unless bucket.nil?
812
879
  command.params['entity'] = entity unless entity.nil?
880
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
813
881
  command.query['userProject'] = user_project unless user_project.nil?
814
882
  command.query['fields'] = fields unless fields.nil?
815
883
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -824,6 +892,9 @@ module Google
824
892
  # @param [String] entity
825
893
  # The entity holding the permission. Can be user-userId, user-emailAddress,
826
894
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
895
+ # @param [String] provisional_user_project
896
+ # The project to be billed for this request if the target bucket is requester-
897
+ # pays bucket.
827
898
  # @param [String] user_project
828
899
  # The project to be billed for this request. Required for Requester Pays buckets.
829
900
  # @param [String] fields
@@ -845,12 +916,13 @@ module Google
845
916
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
846
917
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
847
918
  # @raise [Google::Apis::AuthorizationError] Authorization is required
848
- def get_default_object_access_control(bucket, entity, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
849
- command = make_simple_command(:get, 'b/{bucket}/defaultObjectAcl/{entity}', options)
919
+ def get_default_object_access_control(bucket, entity, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
920
+ command = make_simple_command(:get, 'b/{bucket}/defaultObjectAcl/{entity}', options)
850
921
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
851
922
  command.response_class = Google::Apis::StorageV1::ObjectAccessControl
852
923
  command.params['bucket'] = bucket unless bucket.nil?
853
924
  command.params['entity'] = entity unless entity.nil?
925
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
854
926
  command.query['userProject'] = user_project unless user_project.nil?
855
927
  command.query['fields'] = fields unless fields.nil?
856
928
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -862,6 +934,9 @@ module Google
862
934
  # @param [String] bucket
863
935
  # Name of a bucket.
864
936
  # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object
937
+ # @param [String] provisional_user_project
938
+ # The project to be billed for this request if the target bucket is requester-
939
+ # pays bucket.
865
940
  # @param [String] user_project
866
941
  # The project to be billed for this request. Required for Requester Pays buckets.
867
942
  # @param [String] fields
@@ -883,13 +958,14 @@ module Google
883
958
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
884
959
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
885
960
  # @raise [Google::Apis::AuthorizationError] Authorization is required
886
- def insert_default_object_access_control(bucket, object_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
887
- command = make_simple_command(:post, 'b/{bucket}/defaultObjectAcl', options)
961
+ def insert_default_object_access_control(bucket, object_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
962
+ command = make_simple_command(:post, 'b/{bucket}/defaultObjectAcl', options)
888
963
  command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
889
964
  command.request_object = object_access_control_object
890
965
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
891
966
  command.response_class = Google::Apis::StorageV1::ObjectAccessControl
892
967
  command.params['bucket'] = bucket unless bucket.nil?
968
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
893
969
  command.query['userProject'] = user_project unless user_project.nil?
894
970
  command.query['fields'] = fields unless fields.nil?
895
971
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -906,6 +982,9 @@ module Google
906
982
  # @param [Fixnum] if_metageneration_not_match
907
983
  # If present, only return default ACL listing if the bucket's current
908
984
  # metageneration does not match the given value.
985
+ # @param [String] provisional_user_project
986
+ # The project to be billed for this request if the target bucket is requester-
987
+ # pays bucket.
909
988
  # @param [String] user_project
910
989
  # The project to be billed for this request. Required for Requester Pays buckets.
911
990
  # @param [String] fields
@@ -927,13 +1006,14 @@ module Google
927
1006
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
928
1007
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
929
1008
  # @raise [Google::Apis::AuthorizationError] Authorization is required
930
- def list_default_object_access_controls(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
931
- command = make_simple_command(:get, 'b/{bucket}/defaultObjectAcl', options)
1009
+ def list_default_object_access_controls(bucket, if_metageneration_match: nil, if_metageneration_not_match: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1010
+ command = make_simple_command(:get, 'b/{bucket}/defaultObjectAcl', options)
932
1011
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControls::Representation
933
1012
  command.response_class = Google::Apis::StorageV1::ObjectAccessControls
934
1013
  command.params['bucket'] = bucket unless bucket.nil?
935
1014
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
936
1015
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
1016
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
937
1017
  command.query['userProject'] = user_project unless user_project.nil?
938
1018
  command.query['fields'] = fields unless fields.nil?
939
1019
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -948,6 +1028,9 @@ module Google
948
1028
  # The entity holding the permission. Can be user-userId, user-emailAddress,
949
1029
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
950
1030
  # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object
1031
+ # @param [String] provisional_user_project
1032
+ # The project to be billed for this request if the target bucket is requester-
1033
+ # pays bucket.
951
1034
  # @param [String] user_project
952
1035
  # The project to be billed for this request. Required for Requester Pays buckets.
953
1036
  # @param [String] fields
@@ -969,14 +1052,15 @@ module Google
969
1052
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
970
1053
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
971
1054
  # @raise [Google::Apis::AuthorizationError] Authorization is required
972
- def patch_default_object_access_control(bucket, entity, object_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
973
- command = make_simple_command(:patch, 'b/{bucket}/defaultObjectAcl/{entity}', options)
1055
+ def patch_default_object_access_control(bucket, entity, object_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1056
+ command = make_simple_command(:patch, 'b/{bucket}/defaultObjectAcl/{entity}', options)
974
1057
  command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
975
1058
  command.request_object = object_access_control_object
976
1059
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
977
1060
  command.response_class = Google::Apis::StorageV1::ObjectAccessControl
978
1061
  command.params['bucket'] = bucket unless bucket.nil?
979
1062
  command.params['entity'] = entity unless entity.nil?
1063
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
980
1064
  command.query['userProject'] = user_project unless user_project.nil?
981
1065
  command.query['fields'] = fields unless fields.nil?
982
1066
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -991,6 +1075,9 @@ module Google
991
1075
  # The entity holding the permission. Can be user-userId, user-emailAddress,
992
1076
  # group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
993
1077
  # @param [Google::Apis::StorageV1::ObjectAccessControl] object_access_control_object
1078
+ # @param [String] provisional_user_project
1079
+ # The project to be billed for this request if the target bucket is requester-
1080
+ # pays bucket.
994
1081
  # @param [String] user_project
995
1082
  # The project to be billed for this request. Required for Requester Pays buckets.
996
1083
  # @param [String] fields
@@ -1012,14 +1099,15 @@ module Google
1012
1099
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1013
1100
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1014
1101
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1015
- def update_default_object_access_control(bucket, entity, object_access_control_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1016
- command = make_simple_command(:put, 'b/{bucket}/defaultObjectAcl/{entity}', options)
1102
+ def update_default_object_access_control(bucket, entity, object_access_control_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1103
+ command = make_simple_command(:put, 'b/{bucket}/defaultObjectAcl/{entity}', options)
1017
1104
  command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
1018
1105
  command.request_object = object_access_control_object
1019
1106
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
1020
1107
  command.response_class = Google::Apis::StorageV1::ObjectAccessControl
1021
1108
  command.params['bucket'] = bucket unless bucket.nil?
1022
1109
  command.params['entity'] = entity unless entity.nil?
1110
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1023
1111
  command.query['userProject'] = user_project unless user_project.nil?
1024
1112
  command.query['fields'] = fields unless fields.nil?
1025
1113
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1032,6 +1120,9 @@ module Google
1032
1120
  # The parent bucket of the notification.
1033
1121
  # @param [String] notification
1034
1122
  # ID of the notification to delete.
1123
+ # @param [String] provisional_user_project
1124
+ # The project to be billed for this request if the target bucket is requester-
1125
+ # pays bucket.
1035
1126
  # @param [String] user_project
1036
1127
  # The project to be billed for this request. Required for Requester Pays buckets.
1037
1128
  # @param [String] fields
@@ -1053,10 +1144,11 @@ module Google
1053
1144
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1054
1145
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1055
1146
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1056
- def delete_notification(bucket, notification, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1057
- command = make_simple_command(:delete, 'b/{bucket}/notificationConfigs/{notification}', options)
1147
+ def delete_notification(bucket, notification, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1148
+ command = make_simple_command(:delete, 'b/{bucket}/notificationConfigs/{notification}', options)
1058
1149
  command.params['bucket'] = bucket unless bucket.nil?
1059
1150
  command.params['notification'] = notification unless notification.nil?
1151
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1060
1152
  command.query['userProject'] = user_project unless user_project.nil?
1061
1153
  command.query['fields'] = fields unless fields.nil?
1062
1154
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1069,6 +1161,9 @@ module Google
1069
1161
  # The parent bucket of the notification.
1070
1162
  # @param [String] notification
1071
1163
  # Notification ID
1164
+ # @param [String] provisional_user_project
1165
+ # The project to be billed for this request if the target bucket is requester-
1166
+ # pays bucket.
1072
1167
  # @param [String] user_project
1073
1168
  # The project to be billed for this request. Required for Requester Pays buckets.
1074
1169
  # @param [String] fields
@@ -1090,12 +1185,13 @@ module Google
1090
1185
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1091
1186
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1092
1187
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1093
- def get_notification(bucket, notification, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1094
- command = make_simple_command(:get, 'b/{bucket}/notificationConfigs/{notification}', options)
1188
+ def get_notification(bucket, notification, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1189
+ command = make_simple_command(:get, 'b/{bucket}/notificationConfigs/{notification}', options)
1095
1190
  command.response_representation = Google::Apis::StorageV1::Notification::Representation
1096
1191
  command.response_class = Google::Apis::StorageV1::Notification
1097
1192
  command.params['bucket'] = bucket unless bucket.nil?
1098
1193
  command.params['notification'] = notification unless notification.nil?
1194
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1099
1195
  command.query['userProject'] = user_project unless user_project.nil?
1100
1196
  command.query['fields'] = fields unless fields.nil?
1101
1197
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1107,6 +1203,9 @@ module Google
1107
1203
  # @param [String] bucket
1108
1204
  # The parent bucket of the notification.
1109
1205
  # @param [Google::Apis::StorageV1::Notification] notification_object
1206
+ # @param [String] provisional_user_project
1207
+ # The project to be billed for this request if the target bucket is requester-
1208
+ # pays bucket.
1110
1209
  # @param [String] user_project
1111
1210
  # The project to be billed for this request. Required for Requester Pays buckets.
1112
1211
  # @param [String] fields
@@ -1128,13 +1227,14 @@ module Google
1128
1227
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1129
1228
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1130
1229
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1131
- def insert_notification(bucket, notification_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1132
- command = make_simple_command(:post, 'b/{bucket}/notificationConfigs', options)
1230
+ def insert_notification(bucket, notification_object = nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1231
+ command = make_simple_command(:post, 'b/{bucket}/notificationConfigs', options)
1133
1232
  command.request_representation = Google::Apis::StorageV1::Notification::Representation
1134
1233
  command.request_object = notification_object
1135
1234
  command.response_representation = Google::Apis::StorageV1::Notification::Representation
1136
1235
  command.response_class = Google::Apis::StorageV1::Notification
1137
1236
  command.params['bucket'] = bucket unless bucket.nil?
1237
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1138
1238
  command.query['userProject'] = user_project unless user_project.nil?
1139
1239
  command.query['fields'] = fields unless fields.nil?
1140
1240
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1145,6 +1245,9 @@ module Google
1145
1245
  # Retrieves a list of notification subscriptions for a given bucket.
1146
1246
  # @param [String] bucket
1147
1247
  # Name of a Google Cloud Storage bucket.
1248
+ # @param [String] provisional_user_project
1249
+ # The project to be billed for this request if the target bucket is requester-
1250
+ # pays bucket.
1148
1251
  # @param [String] user_project
1149
1252
  # The project to be billed for this request. Required for Requester Pays buckets.
1150
1253
  # @param [String] fields
@@ -1166,11 +1269,12 @@ module Google
1166
1269
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1167
1270
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1168
1271
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1169
- def list_notifications(bucket, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1170
- command = make_simple_command(:get, 'b/{bucket}/notificationConfigs', options)
1272
+ def list_notifications(bucket, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1273
+ command = make_simple_command(:get, 'b/{bucket}/notificationConfigs', options)
1171
1274
  command.response_representation = Google::Apis::StorageV1::Notifications::Representation
1172
1275
  command.response_class = Google::Apis::StorageV1::Notifications
1173
1276
  command.params['bucket'] = bucket unless bucket.nil?
1277
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1174
1278
  command.query['userProject'] = user_project unless user_project.nil?
1175
1279
  command.query['fields'] = fields unless fields.nil?
1176
1280
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1191,6 +1295,9 @@ module Google
1191
1295
  # @param [Fixnum] generation
1192
1296
  # If present, selects a specific revision of this object (as opposed to the
1193
1297
  # latest version, the default).
1298
+ # @param [String] provisional_user_project
1299
+ # The project to be billed for this request if the target bucket is requester-
1300
+ # pays bucket.
1194
1301
  # @param [String] user_project
1195
1302
  # The project to be billed for this request. Required for Requester Pays buckets.
1196
1303
  # @param [String] fields
@@ -1212,12 +1319,13 @@ module Google
1212
1319
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1213
1320
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1214
1321
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1215
- def delete_object_access_control(bucket, object, entity, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1216
- command = make_simple_command(:delete, 'b/{bucket}/o/{object}/acl/{entity}', options)
1322
+ def delete_object_access_control(bucket, object, entity, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1323
+ command = make_simple_command(:delete, 'b/{bucket}/o/{object}/acl/{entity}', options)
1217
1324
  command.params['bucket'] = bucket unless bucket.nil?
1218
1325
  command.params['object'] = object unless object.nil?
1219
1326
  command.params['entity'] = entity unless entity.nil?
1220
1327
  command.query['generation'] = generation unless generation.nil?
1328
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1221
1329
  command.query['userProject'] = user_project unless user_project.nil?
1222
1330
  command.query['fields'] = fields unless fields.nil?
1223
1331
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1237,6 +1345,9 @@ module Google
1237
1345
  # @param [Fixnum] generation
1238
1346
  # If present, selects a specific revision of this object (as opposed to the
1239
1347
  # latest version, the default).
1348
+ # @param [String] provisional_user_project
1349
+ # The project to be billed for this request if the target bucket is requester-
1350
+ # pays bucket.
1240
1351
  # @param [String] user_project
1241
1352
  # The project to be billed for this request. Required for Requester Pays buckets.
1242
1353
  # @param [String] fields
@@ -1258,14 +1369,15 @@ module Google
1258
1369
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1259
1370
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1260
1371
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1261
- def get_object_access_control(bucket, object, entity, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1262
- command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl/{entity}', options)
1372
+ def get_object_access_control(bucket, object, entity, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1373
+ command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl/{entity}', options)
1263
1374
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
1264
1375
  command.response_class = Google::Apis::StorageV1::ObjectAccessControl
1265
1376
  command.params['bucket'] = bucket unless bucket.nil?
1266
1377
  command.params['object'] = object unless object.nil?
1267
1378
  command.params['entity'] = entity unless entity.nil?
1268
1379
  command.query['generation'] = generation unless generation.nil?
1380
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1269
1381
  command.query['userProject'] = user_project unless user_project.nil?
1270
1382
  command.query['fields'] = fields unless fields.nil?
1271
1383
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1283,6 +1395,9 @@ module Google
1283
1395
  # @param [Fixnum] generation
1284
1396
  # If present, selects a specific revision of this object (as opposed to the
1285
1397
  # latest version, the default).
1398
+ # @param [String] provisional_user_project
1399
+ # The project to be billed for this request if the target bucket is requester-
1400
+ # pays bucket.
1286
1401
  # @param [String] user_project
1287
1402
  # The project to be billed for this request. Required for Requester Pays buckets.
1288
1403
  # @param [String] fields
@@ -1304,8 +1419,8 @@ module Google
1304
1419
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1305
1420
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1306
1421
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1307
- def insert_object_access_control(bucket, object, object_access_control_object = nil, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1308
- command = make_simple_command(:post, 'b/{bucket}/o/{object}/acl', options)
1422
+ def insert_object_access_control(bucket, object, object_access_control_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1423
+ command = make_simple_command(:post, 'b/{bucket}/o/{object}/acl', options)
1309
1424
  command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
1310
1425
  command.request_object = object_access_control_object
1311
1426
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
@@ -1313,6 +1428,7 @@ module Google
1313
1428
  command.params['bucket'] = bucket unless bucket.nil?
1314
1429
  command.params['object'] = object unless object.nil?
1315
1430
  command.query['generation'] = generation unless generation.nil?
1431
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1316
1432
  command.query['userProject'] = user_project unless user_project.nil?
1317
1433
  command.query['fields'] = fields unless fields.nil?
1318
1434
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1329,6 +1445,9 @@ module Google
1329
1445
  # @param [Fixnum] generation
1330
1446
  # If present, selects a specific revision of this object (as opposed to the
1331
1447
  # latest version, the default).
1448
+ # @param [String] provisional_user_project
1449
+ # The project to be billed for this request if the target bucket is requester-
1450
+ # pays bucket.
1332
1451
  # @param [String] user_project
1333
1452
  # The project to be billed for this request. Required for Requester Pays buckets.
1334
1453
  # @param [String] fields
@@ -1350,13 +1469,14 @@ module Google
1350
1469
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1351
1470
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1352
1471
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1353
- def list_object_access_controls(bucket, object, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1354
- command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl', options)
1472
+ def list_object_access_controls(bucket, object, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1473
+ command = make_simple_command(:get, 'b/{bucket}/o/{object}/acl', options)
1355
1474
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControls::Representation
1356
1475
  command.response_class = Google::Apis::StorageV1::ObjectAccessControls
1357
1476
  command.params['bucket'] = bucket unless bucket.nil?
1358
1477
  command.params['object'] = object unless object.nil?
1359
1478
  command.query['generation'] = generation unless generation.nil?
1479
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1360
1480
  command.query['userProject'] = user_project unless user_project.nil?
1361
1481
  command.query['fields'] = fields unless fields.nil?
1362
1482
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1377,6 +1497,9 @@ module Google
1377
1497
  # @param [Fixnum] generation
1378
1498
  # If present, selects a specific revision of this object (as opposed to the
1379
1499
  # latest version, the default).
1500
+ # @param [String] provisional_user_project
1501
+ # The project to be billed for this request if the target bucket is requester-
1502
+ # pays bucket.
1380
1503
  # @param [String] user_project
1381
1504
  # The project to be billed for this request. Required for Requester Pays buckets.
1382
1505
  # @param [String] fields
@@ -1398,8 +1521,8 @@ module Google
1398
1521
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1399
1522
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1400
1523
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1401
- def patch_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1402
- command = make_simple_command(:patch, 'b/{bucket}/o/{object}/acl/{entity}', options)
1524
+ def patch_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1525
+ command = make_simple_command(:patch, 'b/{bucket}/o/{object}/acl/{entity}', options)
1403
1526
  command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
1404
1527
  command.request_object = object_access_control_object
1405
1528
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
@@ -1408,6 +1531,7 @@ module Google
1408
1531
  command.params['object'] = object unless object.nil?
1409
1532
  command.params['entity'] = entity unless entity.nil?
1410
1533
  command.query['generation'] = generation unless generation.nil?
1534
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1411
1535
  command.query['userProject'] = user_project unless user_project.nil?
1412
1536
  command.query['fields'] = fields unless fields.nil?
1413
1537
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1428,6 +1552,9 @@ module Google
1428
1552
  # @param [Fixnum] generation
1429
1553
  # If present, selects a specific revision of this object (as opposed to the
1430
1554
  # latest version, the default).
1555
+ # @param [String] provisional_user_project
1556
+ # The project to be billed for this request if the target bucket is requester-
1557
+ # pays bucket.
1431
1558
  # @param [String] user_project
1432
1559
  # The project to be billed for this request. Required for Requester Pays buckets.
1433
1560
  # @param [String] fields
@@ -1449,8 +1576,8 @@ module Google
1449
1576
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1450
1577
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1451
1578
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1452
- def update_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1453
- command = make_simple_command(:put, 'b/{bucket}/o/{object}/acl/{entity}', options)
1579
+ def update_object_access_control(bucket, object, entity, object_access_control_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1580
+ command = make_simple_command(:put, 'b/{bucket}/o/{object}/acl/{entity}', options)
1454
1581
  command.request_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
1455
1582
  command.request_object = object_access_control_object
1456
1583
  command.response_representation = Google::Apis::StorageV1::ObjectAccessControl::Representation
@@ -1459,6 +1586,7 @@ module Google
1459
1586
  command.params['object'] = object unless object.nil?
1460
1587
  command.params['entity'] = entity unless entity.nil?
1461
1588
  command.query['generation'] = generation unless generation.nil?
1589
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1462
1590
  command.query['userProject'] = user_project unless user_project.nil?
1463
1591
  command.query['fields'] = fields unless fields.nil?
1464
1592
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1487,6 +1615,9 @@ module Google
1487
1615
  # Resource name of the Cloud KMS key, of the form projects/my-project/locations/
1488
1616
  # global/keyRings/my-kr/cryptoKeys/my-key, that will be used to encrypt the
1489
1617
  # object. Overrides the object metadata's kms_key_name value, if any.
1618
+ # @param [String] provisional_user_project
1619
+ # The project to be billed for this request if the target bucket is requester-
1620
+ # pays bucket.
1490
1621
  # @param [String] user_project
1491
1622
  # The project to be billed for this request. Required for Requester Pays buckets.
1492
1623
  # @param [String] fields
@@ -1508,8 +1639,8 @@ module Google
1508
1639
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1509
1640
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1510
1641
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1511
- def compose_object(destination_bucket, destination_object, compose_request_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_metageneration_match: nil, kms_key_name: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1512
- command = make_simple_command(:post, 'b/{destinationBucket}/o/{destinationObject}/compose', options)
1642
+ def compose_object(destination_bucket, destination_object, compose_request_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_metageneration_match: nil, kms_key_name: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1643
+ command = make_simple_command(:post, 'b/{destinationBucket}/o/{destinationObject}/compose', options)
1513
1644
  command.request_representation = Google::Apis::StorageV1::ComposeRequest::Representation
1514
1645
  command.request_object = compose_request_object
1515
1646
  command.response_representation = Google::Apis::StorageV1::Object::Representation
@@ -1520,6 +1651,7 @@ module Google
1520
1651
  command.query['ifGenerationMatch'] = if_generation_match unless if_generation_match.nil?
1521
1652
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
1522
1653
  command.query['kmsKeyName'] = kms_key_name unless kms_key_name.nil?
1654
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1523
1655
  command.query['userProject'] = user_project unless user_project.nil?
1524
1656
  command.query['fields'] = fields unless fields.nil?
1525
1657
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1573,6 +1705,9 @@ module Google
1573
1705
  # @param [String] projection
1574
1706
  # Set of properties to return. Defaults to noAcl, unless the object resource
1575
1707
  # specifies the acl property, when it defaults to full.
1708
+ # @param [String] provisional_user_project
1709
+ # The project to be billed for this request if the target bucket is requester-
1710
+ # pays bucket.
1576
1711
  # @param [Fixnum] source_generation
1577
1712
  # If present, selects a specific revision of the source object (as opposed to
1578
1713
  # the latest version, the default).
@@ -1597,8 +1732,8 @@ module Google
1597
1732
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1598
1733
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1599
1734
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1600
- def copy_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, projection: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1601
- command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}', options)
1735
+ def copy_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, projection: nil, provisional_user_project: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1736
+ command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}', options)
1602
1737
  command.request_representation = Google::Apis::StorageV1::Object::Representation
1603
1738
  command.request_object = object_object
1604
1739
  command.response_representation = Google::Apis::StorageV1::Object::Representation
@@ -1617,6 +1752,7 @@ module Google
1617
1752
  command.query['ifSourceMetagenerationMatch'] = if_source_metageneration_match unless if_source_metageneration_match.nil?
1618
1753
  command.query['ifSourceMetagenerationNotMatch'] = if_source_metageneration_not_match unless if_source_metageneration_not_match.nil?
1619
1754
  command.query['projection'] = projection unless projection.nil?
1755
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1620
1756
  command.query['sourceGeneration'] = source_generation unless source_generation.nil?
1621
1757
  command.query['userProject'] = user_project unless user_project.nil?
1622
1758
  command.query['fields'] = fields unless fields.nil?
@@ -1650,6 +1786,9 @@ module Google
1650
1786
  # @param [Fixnum] if_metageneration_not_match
1651
1787
  # Makes the operation conditional on whether the object's current metageneration
1652
1788
  # does not match the given value.
1789
+ # @param [String] provisional_user_project
1790
+ # The project to be billed for this request if the target bucket is requester-
1791
+ # pays bucket.
1653
1792
  # @param [String] user_project
1654
1793
  # The project to be billed for this request. Required for Requester Pays buckets.
1655
1794
  # @param [String] fields
@@ -1671,8 +1810,8 @@ module Google
1671
1810
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1672
1811
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1673
1812
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1674
- def delete_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1675
- command = make_simple_command(:delete, 'b/{bucket}/o/{object}', options)
1813
+ def delete_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1814
+ command = make_simple_command(:delete, 'b/{bucket}/o/{object}', options)
1676
1815
  command.params['bucket'] = bucket unless bucket.nil?
1677
1816
  command.params['object'] = object unless object.nil?
1678
1817
  command.query['generation'] = generation unless generation.nil?
@@ -1680,6 +1819,7 @@ module Google
1680
1819
  command.query['ifGenerationNotMatch'] = if_generation_not_match unless if_generation_not_match.nil?
1681
1820
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
1682
1821
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
1822
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1683
1823
  command.query['userProject'] = user_project unless user_project.nil?
1684
1824
  command.query['fields'] = fields unless fields.nil?
1685
1825
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1713,6 +1853,9 @@ module Google
1713
1853
  # does not match the given value.
1714
1854
  # @param [String] projection
1715
1855
  # Set of properties to return. Defaults to noAcl.
1856
+ # @param [String] provisional_user_project
1857
+ # The project to be billed for this request if the target bucket is requester-
1858
+ # pays bucket.
1716
1859
  # @param [String] user_project
1717
1860
  # The project to be billed for this request. Required for Requester Pays buckets.
1718
1861
  # @param [String] fields
@@ -1736,9 +1879,9 @@ module Google
1736
1879
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1737
1880
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1738
1881
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1739
- def get_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
1882
+ def get_object(bucket, object, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
1740
1883
  if download_dest.nil?
1741
- command = make_simple_command(:get, 'b/{bucket}/o/{object}', options)
1884
+ command = make_simple_command(:get, 'b/{bucket}/o/{object}', options)
1742
1885
  else
1743
1886
  command = make_download_command(:get, 'b/{bucket}/o/{object}', options)
1744
1887
  command.download_dest = download_dest
@@ -1753,6 +1896,7 @@ module Google
1753
1896
  command.query['ifMetagenerationMatch'] = if_metageneration_match unless if_metageneration_match.nil?
1754
1897
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
1755
1898
  command.query['projection'] = projection unless projection.nil?
1899
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1756
1900
  command.query['userProject'] = user_project unless user_project.nil?
1757
1901
  command.query['fields'] = fields unless fields.nil?
1758
1902
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1769,6 +1913,9 @@ module Google
1769
1913
  # @param [Fixnum] generation
1770
1914
  # If present, selects a specific revision of this object (as opposed to the
1771
1915
  # latest version, the default).
1916
+ # @param [String] provisional_user_project
1917
+ # The project to be billed for this request if the target bucket is requester-
1918
+ # pays bucket.
1772
1919
  # @param [String] user_project
1773
1920
  # The project to be billed for this request. Required for Requester Pays buckets.
1774
1921
  # @param [String] fields
@@ -1790,13 +1937,14 @@ module Google
1790
1937
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1791
1938
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1792
1939
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1793
- def get_object_iam_policy(bucket, object, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1794
- command = make_simple_command(:get, 'b/{bucket}/o/{object}/iam', options)
1940
+ def get_object_iam_policy(bucket, object, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1941
+ command = make_simple_command(:get, 'b/{bucket}/o/{object}/iam', options)
1795
1942
  command.response_representation = Google::Apis::StorageV1::Policy::Representation
1796
1943
  command.response_class = Google::Apis::StorageV1::Policy
1797
1944
  command.params['bucket'] = bucket unless bucket.nil?
1798
1945
  command.params['object'] = object unless object.nil?
1799
1946
  command.query['generation'] = generation unless generation.nil?
1947
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1800
1948
  command.query['userProject'] = user_project unless user_project.nil?
1801
1949
  command.query['fields'] = fields unless fields.nil?
1802
1950
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1843,6 +1991,9 @@ module Google
1843
1991
  # @param [String] projection
1844
1992
  # Set of properties to return. Defaults to noAcl, unless the object resource
1845
1993
  # specifies the acl property, when it defaults to full.
1994
+ # @param [String] provisional_user_project
1995
+ # The project to be billed for this request if the target bucket is requester-
1996
+ # pays bucket.
1846
1997
  # @param [String] user_project
1847
1998
  # The project to be billed for this request. Required for Requester Pays buckets.
1848
1999
  # @param [String] fields
@@ -1868,9 +2019,9 @@ module Google
1868
2019
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1869
2020
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1870
2021
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1871
- def insert_object(bucket, object_object = nil, content_encoding: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, kms_key_name: nil, name: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
2022
+ def insert_object(bucket, object_object = nil, content_encoding: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, kms_key_name: nil, name: nil, predefined_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
1872
2023
  if upload_source.nil?
1873
- command = make_simple_command(:post, 'b/{bucket}/o', options)
2024
+ command = make_simple_command(:post, 'b/{bucket}/o', options)
1874
2025
  else
1875
2026
  command = make_upload_command(:post, 'b/{bucket}/o', options)
1876
2027
  command.upload_source = upload_source
@@ -1890,6 +2041,7 @@ module Google
1890
2041
  command.query['name'] = name unless name.nil?
1891
2042
  command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
1892
2043
  command.query['projection'] = projection unless projection.nil?
2044
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1893
2045
  command.query['userProject'] = user_project unless user_project.nil?
1894
2046
  command.query['fields'] = fields unless fields.nil?
1895
2047
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -1921,6 +2073,9 @@ module Google
1921
2073
  # Filter results to objects whose names begin with this prefix.
1922
2074
  # @param [String] projection
1923
2075
  # Set of properties to return. Defaults to noAcl.
2076
+ # @param [String] provisional_user_project
2077
+ # The project to be billed for this request if the target bucket is requester-
2078
+ # pays bucket.
1924
2079
  # @param [String] user_project
1925
2080
  # The project to be billed for this request. Required for Requester Pays buckets.
1926
2081
  # @param [Boolean] versions
@@ -1945,8 +2100,8 @@ module Google
1945
2100
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1946
2101
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1947
2102
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1948
- def list_objects(bucket, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1949
- command = make_simple_command(:get, 'b/{bucket}/o', options)
2103
+ def list_objects(bucket, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2104
+ command = make_simple_command(:get, 'b/{bucket}/o', options)
1950
2105
  command.response_representation = Google::Apis::StorageV1::Objects::Representation
1951
2106
  command.response_class = Google::Apis::StorageV1::Objects
1952
2107
  command.params['bucket'] = bucket unless bucket.nil?
@@ -1956,6 +2111,7 @@ module Google
1956
2111
  command.query['pageToken'] = page_token unless page_token.nil?
1957
2112
  command.query['prefix'] = prefix unless prefix.nil?
1958
2113
  command.query['projection'] = projection unless projection.nil?
2114
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
1959
2115
  command.query['userProject'] = user_project unless user_project.nil?
1960
2116
  command.query['versions'] = versions unless versions.nil?
1961
2117
  command.query['fields'] = fields unless fields.nil?
@@ -1993,6 +2149,9 @@ module Google
1993
2149
  # Apply a predefined set of access controls to this object.
1994
2150
  # @param [String] projection
1995
2151
  # Set of properties to return. Defaults to full.
2152
+ # @param [String] provisional_user_project
2153
+ # The project to be billed for this request if the target bucket is requester-
2154
+ # pays bucket.
1996
2155
  # @param [String] user_project
1997
2156
  # The project to be billed for this request, for Requester Pays buckets.
1998
2157
  # @param [String] fields
@@ -2014,8 +2173,8 @@ module Google
2014
2173
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2015
2174
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2016
2175
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2017
- def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2018
- command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options)
2176
+ def patch_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2177
+ command = make_simple_command(:patch, 'b/{bucket}/o/{object}', options)
2019
2178
  command.request_representation = Google::Apis::StorageV1::Object::Representation
2020
2179
  command.request_object = object_object
2021
2180
  command.response_representation = Google::Apis::StorageV1::Object::Representation
@@ -2029,6 +2188,7 @@ module Google
2029
2188
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
2030
2189
  command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
2031
2190
  command.query['projection'] = projection unless projection.nil?
2191
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2032
2192
  command.query['userProject'] = user_project unless user_project.nil?
2033
2193
  command.query['fields'] = fields unless fields.nil?
2034
2194
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2095,6 +2255,9 @@ module Google
2095
2255
  # @param [String] projection
2096
2256
  # Set of properties to return. Defaults to noAcl, unless the object resource
2097
2257
  # specifies the acl property, when it defaults to full.
2258
+ # @param [String] provisional_user_project
2259
+ # The project to be billed for this request if the target bucket is requester-
2260
+ # pays bucket.
2098
2261
  # @param [String] rewrite_token
2099
2262
  # Include this field (from the previous rewrite response) on each rewrite
2100
2263
  # request after the first one, until the rewrite response 'done' flag is true.
@@ -2125,8 +2288,8 @@ module Google
2125
2288
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2126
2289
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2127
2290
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2128
- def rewrite_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_kms_key_name: nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, max_bytes_rewritten_per_call: nil, projection: nil, rewrite_token: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2129
- command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}', options)
2291
+ def rewrite_object(source_bucket, source_object, destination_bucket, destination_object, object_object = nil, destination_kms_key_name: nil, destination_predefined_acl: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, if_source_generation_match: nil, if_source_generation_not_match: nil, if_source_metageneration_match: nil, if_source_metageneration_not_match: nil, max_bytes_rewritten_per_call: nil, projection: nil, provisional_user_project: nil, rewrite_token: nil, source_generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2292
+ command = make_simple_command(:post, 'b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}', options)
2130
2293
  command.request_representation = Google::Apis::StorageV1::Object::Representation
2131
2294
  command.request_object = object_object
2132
2295
  command.response_representation = Google::Apis::StorageV1::RewriteResponse::Representation
@@ -2147,6 +2310,7 @@ module Google
2147
2310
  command.query['ifSourceMetagenerationNotMatch'] = if_source_metageneration_not_match unless if_source_metageneration_not_match.nil?
2148
2311
  command.query['maxBytesRewrittenPerCall'] = max_bytes_rewritten_per_call unless max_bytes_rewritten_per_call.nil?
2149
2312
  command.query['projection'] = projection unless projection.nil?
2313
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2150
2314
  command.query['rewriteToken'] = rewrite_token unless rewrite_token.nil?
2151
2315
  command.query['sourceGeneration'] = source_generation unless source_generation.nil?
2152
2316
  command.query['userProject'] = user_project unless user_project.nil?
@@ -2166,6 +2330,9 @@ module Google
2166
2330
  # @param [Fixnum] generation
2167
2331
  # If present, selects a specific revision of this object (as opposed to the
2168
2332
  # latest version, the default).
2333
+ # @param [String] provisional_user_project
2334
+ # The project to be billed for this request if the target bucket is requester-
2335
+ # pays bucket.
2169
2336
  # @param [String] user_project
2170
2337
  # The project to be billed for this request. Required for Requester Pays buckets.
2171
2338
  # @param [String] fields
@@ -2187,8 +2354,8 @@ module Google
2187
2354
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2188
2355
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2189
2356
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2190
- def set_object_iam_policy(bucket, object, policy_object = nil, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2191
- command = make_simple_command(:put, 'b/{bucket}/o/{object}/iam', options)
2357
+ def set_object_iam_policy(bucket, object, policy_object = nil, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2358
+ command = make_simple_command(:put, 'b/{bucket}/o/{object}/iam', options)
2192
2359
  command.request_representation = Google::Apis::StorageV1::Policy::Representation
2193
2360
  command.request_object = policy_object
2194
2361
  command.response_representation = Google::Apis::StorageV1::Policy::Representation
@@ -2196,6 +2363,7 @@ module Google
2196
2363
  command.params['bucket'] = bucket unless bucket.nil?
2197
2364
  command.params['object'] = object unless object.nil?
2198
2365
  command.query['generation'] = generation unless generation.nil?
2366
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2199
2367
  command.query['userProject'] = user_project unless user_project.nil?
2200
2368
  command.query['fields'] = fields unless fields.nil?
2201
2369
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2215,6 +2383,9 @@ module Google
2215
2383
  # @param [Fixnum] generation
2216
2384
  # If present, selects a specific revision of this object (as opposed to the
2217
2385
  # latest version, the default).
2386
+ # @param [String] provisional_user_project
2387
+ # The project to be billed for this request if the target bucket is requester-
2388
+ # pays bucket.
2218
2389
  # @param [String] user_project
2219
2390
  # The project to be billed for this request. Required for Requester Pays buckets.
2220
2391
  # @param [String] fields
@@ -2236,14 +2407,15 @@ module Google
2236
2407
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2237
2408
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2238
2409
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2239
- def test_object_iam_permissions(bucket, object, permissions, generation: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2240
- command = make_simple_command(:get, 'b/{bucket}/o/{object}/iam/testPermissions', options)
2410
+ def test_object_iam_permissions(bucket, object, permissions, generation: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2411
+ command = make_simple_command(:get, 'b/{bucket}/o/{object}/iam/testPermissions', options)
2241
2412
  command.response_representation = Google::Apis::StorageV1::TestIamPermissionsResponse::Representation
2242
2413
  command.response_class = Google::Apis::StorageV1::TestIamPermissionsResponse
2243
2414
  command.params['bucket'] = bucket unless bucket.nil?
2244
2415
  command.params['object'] = object unless object.nil?
2245
2416
  command.query['generation'] = generation unless generation.nil?
2246
2417
  command.query['permissions'] = permissions unless permissions.nil?
2418
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2247
2419
  command.query['userProject'] = user_project unless user_project.nil?
2248
2420
  command.query['fields'] = fields unless fields.nil?
2249
2421
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2280,6 +2452,9 @@ module Google
2280
2452
  # Apply a predefined set of access controls to this object.
2281
2453
  # @param [String] projection
2282
2454
  # Set of properties to return. Defaults to full.
2455
+ # @param [String] provisional_user_project
2456
+ # The project to be billed for this request if the target bucket is requester-
2457
+ # pays bucket.
2283
2458
  # @param [String] user_project
2284
2459
  # The project to be billed for this request. Required for Requester Pays buckets.
2285
2460
  # @param [String] fields
@@ -2301,8 +2476,8 @@ module Google
2301
2476
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2302
2477
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2303
2478
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2304
- def update_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2305
- command = make_simple_command(:put, 'b/{bucket}/o/{object}', options)
2479
+ def update_object(bucket, object, object_object = nil, generation: nil, if_generation_match: nil, if_generation_not_match: nil, if_metageneration_match: nil, if_metageneration_not_match: nil, predefined_acl: nil, projection: nil, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2480
+ command = make_simple_command(:put, 'b/{bucket}/o/{object}', options)
2306
2481
  command.request_representation = Google::Apis::StorageV1::Object::Representation
2307
2482
  command.request_object = object_object
2308
2483
  command.response_representation = Google::Apis::StorageV1::Object::Representation
@@ -2316,6 +2491,7 @@ module Google
2316
2491
  command.query['ifMetagenerationNotMatch'] = if_metageneration_not_match unless if_metageneration_not_match.nil?
2317
2492
  command.query['predefinedAcl'] = predefined_acl unless predefined_acl.nil?
2318
2493
  command.query['projection'] = projection unless projection.nil?
2494
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2319
2495
  command.query['userProject'] = user_project unless user_project.nil?
2320
2496
  command.query['fields'] = fields unless fields.nil?
2321
2497
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2348,6 +2524,9 @@ module Google
2348
2524
  # Filter results to objects whose names begin with this prefix.
2349
2525
  # @param [String] projection
2350
2526
  # Set of properties to return. Defaults to noAcl.
2527
+ # @param [String] provisional_user_project
2528
+ # The project to be billed for this request if the target bucket is requester-
2529
+ # pays bucket.
2351
2530
  # @param [String] user_project
2352
2531
  # The project to be billed for this request. Required for Requester Pays buckets.
2353
2532
  # @param [Boolean] versions
@@ -2372,8 +2551,8 @@ module Google
2372
2551
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2373
2552
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2374
2553
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2375
- def watch_all_objects(bucket, channel_object = nil, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2376
- command = make_simple_command(:post, 'b/{bucket}/o/watch', options)
2554
+ def watch_all_objects(bucket, channel_object = nil, delimiter: nil, include_trailing_delimiter: nil, max_results: nil, page_token: nil, prefix: nil, projection: nil, provisional_user_project: nil, user_project: nil, versions: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2555
+ command = make_simple_command(:post, 'b/{bucket}/o/watch', options)
2377
2556
  command.request_representation = Google::Apis::StorageV1::Channel::Representation
2378
2557
  command.request_object = channel_object
2379
2558
  command.response_representation = Google::Apis::StorageV1::Channel::Representation
@@ -2385,6 +2564,7 @@ module Google
2385
2564
  command.query['pageToken'] = page_token unless page_token.nil?
2386
2565
  command.query['prefix'] = prefix unless prefix.nil?
2387
2566
  command.query['projection'] = projection unless projection.nil?
2567
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2388
2568
  command.query['userProject'] = user_project unless user_project.nil?
2389
2569
  command.query['versions'] = versions unless versions.nil?
2390
2570
  command.query['fields'] = fields unless fields.nil?
@@ -2393,9 +2573,223 @@ module Google
2393
2573
  execute_or_queue_command(command, &block)
2394
2574
  end
2395
2575
 
2576
+ # Creates a new HMAC key for the specified service account.
2577
+ # @param [String] project_id
2578
+ # Project ID owning the service account.
2579
+ # @param [String] service_account_email
2580
+ # Email address of the service account.
2581
+ # @param [String] user_project
2582
+ # The project to be billed for this request.
2583
+ # @param [String] fields
2584
+ # Selector specifying which fields to include in a partial response.
2585
+ # @param [String] quota_user
2586
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
2587
+ # characters.
2588
+ # @param [String] user_ip
2589
+ # Deprecated. Please use quotaUser instead.
2590
+ # @param [Google::Apis::RequestOptions] options
2591
+ # Request-specific options
2592
+ #
2593
+ # @yield [result, err] Result & error if block supplied
2594
+ # @yieldparam result [Google::Apis::StorageV1::HmacKey] parsed result object
2595
+ # @yieldparam err [StandardError] error object if request failed
2596
+ #
2597
+ # @return [Google::Apis::StorageV1::HmacKey]
2598
+ #
2599
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2600
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2601
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2602
+ def create_project_hmac_key(project_id, service_account_email, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2603
+ command = make_simple_command(:post, 'projects/{projectId}/hmacKeys', options)
2604
+ command.response_representation = Google::Apis::StorageV1::HmacKey::Representation
2605
+ command.response_class = Google::Apis::StorageV1::HmacKey
2606
+ command.params['projectId'] = project_id unless project_id.nil?
2607
+ command.query['serviceAccountEmail'] = service_account_email unless service_account_email.nil?
2608
+ command.query['userProject'] = user_project unless user_project.nil?
2609
+ command.query['fields'] = fields unless fields.nil?
2610
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2611
+ command.query['userIp'] = user_ip unless user_ip.nil?
2612
+ execute_or_queue_command(command, &block)
2613
+ end
2614
+
2615
+ # Deletes an HMAC key.
2616
+ # @param [String] project_id
2617
+ # Project ID owning the requested key
2618
+ # @param [String] access_id
2619
+ # Name of the HMAC key to be deleted.
2620
+ # @param [String] user_project
2621
+ # The project to be billed for this request.
2622
+ # @param [String] fields
2623
+ # Selector specifying which fields to include in a partial response.
2624
+ # @param [String] quota_user
2625
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
2626
+ # characters.
2627
+ # @param [String] user_ip
2628
+ # Deprecated. Please use quotaUser instead.
2629
+ # @param [Google::Apis::RequestOptions] options
2630
+ # Request-specific options
2631
+ #
2632
+ # @yield [result, err] Result & error if block supplied
2633
+ # @yieldparam result [NilClass] No result returned for this method
2634
+ # @yieldparam err [StandardError] error object if request failed
2635
+ #
2636
+ # @return [void]
2637
+ #
2638
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2639
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2640
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2641
+ def delete_project_hmac_key(project_id, access_id, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2642
+ command = make_simple_command(:delete, 'projects/{projectId}/hmacKeys/{accessId}', options)
2643
+ command.params['projectId'] = project_id unless project_id.nil?
2644
+ command.params['accessId'] = access_id unless access_id.nil?
2645
+ command.query['userProject'] = user_project unless user_project.nil?
2646
+ command.query['fields'] = fields unless fields.nil?
2647
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2648
+ command.query['userIp'] = user_ip unless user_ip.nil?
2649
+ execute_or_queue_command(command, &block)
2650
+ end
2651
+
2652
+ # Retrieves an HMAC key's metadata
2653
+ # @param [String] project_id
2654
+ # Project ID owning the service account of the requested key.
2655
+ # @param [String] access_id
2656
+ # Name of the HMAC key.
2657
+ # @param [String] user_project
2658
+ # The project to be billed for this request.
2659
+ # @param [String] fields
2660
+ # Selector specifying which fields to include in a partial response.
2661
+ # @param [String] quota_user
2662
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
2663
+ # characters.
2664
+ # @param [String] user_ip
2665
+ # Deprecated. Please use quotaUser instead.
2666
+ # @param [Google::Apis::RequestOptions] options
2667
+ # Request-specific options
2668
+ #
2669
+ # @yield [result, err] Result & error if block supplied
2670
+ # @yieldparam result [Google::Apis::StorageV1::HmacKeyMetadata] parsed result object
2671
+ # @yieldparam err [StandardError] error object if request failed
2672
+ #
2673
+ # @return [Google::Apis::StorageV1::HmacKeyMetadata]
2674
+ #
2675
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2676
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2677
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2678
+ def get_project_hmac_key(project_id, access_id, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2679
+ command = make_simple_command(:get, 'projects/{projectId}/hmacKeys/{accessId}', options)
2680
+ command.response_representation = Google::Apis::StorageV1::HmacKeyMetadata::Representation
2681
+ command.response_class = Google::Apis::StorageV1::HmacKeyMetadata
2682
+ command.params['projectId'] = project_id unless project_id.nil?
2683
+ command.params['accessId'] = access_id unless access_id.nil?
2684
+ command.query['userProject'] = user_project unless user_project.nil?
2685
+ command.query['fields'] = fields unless fields.nil?
2686
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2687
+ command.query['userIp'] = user_ip unless user_ip.nil?
2688
+ execute_or_queue_command(command, &block)
2689
+ end
2690
+
2691
+ # Retrieves a list of HMAC keys matching the criteria.
2692
+ # @param [String] project_id
2693
+ # Name of the project in which to look for HMAC keys.
2694
+ # @param [Fixnum] max_results
2695
+ # Maximum number of items to return in a single page of responses. The service
2696
+ # uses this parameter or 250 items, whichever is smaller. The max number of
2697
+ # items per page will also be limited by the number of distinct service accounts
2698
+ # in the response. If the number of service accounts in a single response is too
2699
+ # high, the page will truncated and a next page token will be returned.
2700
+ # @param [String] page_token
2701
+ # A previously-returned page token representing part of the larger set of
2702
+ # results to view.
2703
+ # @param [String] service_account_email
2704
+ # If present, only keys for the given service account are returned.
2705
+ # @param [Boolean] show_deleted_keys
2706
+ # Whether or not to show keys in the DELETED state.
2707
+ # @param [String] user_project
2708
+ # The project to be billed for this request.
2709
+ # @param [String] fields
2710
+ # Selector specifying which fields to include in a partial response.
2711
+ # @param [String] quota_user
2712
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
2713
+ # characters.
2714
+ # @param [String] user_ip
2715
+ # Deprecated. Please use quotaUser instead.
2716
+ # @param [Google::Apis::RequestOptions] options
2717
+ # Request-specific options
2718
+ #
2719
+ # @yield [result, err] Result & error if block supplied
2720
+ # @yieldparam result [Google::Apis::StorageV1::HmacKeysMetadata] parsed result object
2721
+ # @yieldparam err [StandardError] error object if request failed
2722
+ #
2723
+ # @return [Google::Apis::StorageV1::HmacKeysMetadata]
2724
+ #
2725
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2726
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2727
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2728
+ def list_project_hmac_keys(project_id, max_results: nil, page_token: nil, service_account_email: nil, show_deleted_keys: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2729
+ command = make_simple_command(:get, 'projects/{projectId}/hmacKeys', options)
2730
+ command.response_representation = Google::Apis::StorageV1::HmacKeysMetadata::Representation
2731
+ command.response_class = Google::Apis::StorageV1::HmacKeysMetadata
2732
+ command.params['projectId'] = project_id unless project_id.nil?
2733
+ command.query['maxResults'] = max_results unless max_results.nil?
2734
+ command.query['pageToken'] = page_token unless page_token.nil?
2735
+ command.query['serviceAccountEmail'] = service_account_email unless service_account_email.nil?
2736
+ command.query['showDeletedKeys'] = show_deleted_keys unless show_deleted_keys.nil?
2737
+ command.query['userProject'] = user_project unless user_project.nil?
2738
+ command.query['fields'] = fields unless fields.nil?
2739
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2740
+ command.query['userIp'] = user_ip unless user_ip.nil?
2741
+ execute_or_queue_command(command, &block)
2742
+ end
2743
+
2744
+ # Updates the state of an HMAC key. See the HMAC Key resource descriptor for
2745
+ # valid states.
2746
+ # @param [String] project_id
2747
+ # Project ID owning the service account of the updated key.
2748
+ # @param [String] access_id
2749
+ # Name of the HMAC key being updated.
2750
+ # @param [Google::Apis::StorageV1::HmacKeyMetadata] hmac_key_metadata_object
2751
+ # @param [String] user_project
2752
+ # The project to be billed for this request.
2753
+ # @param [String] fields
2754
+ # Selector specifying which fields to include in a partial response.
2755
+ # @param [String] quota_user
2756
+ # An opaque string that represents a user for quota purposes. Must not exceed 40
2757
+ # characters.
2758
+ # @param [String] user_ip
2759
+ # Deprecated. Please use quotaUser instead.
2760
+ # @param [Google::Apis::RequestOptions] options
2761
+ # Request-specific options
2762
+ #
2763
+ # @yield [result, err] Result & error if block supplied
2764
+ # @yieldparam result [Google::Apis::StorageV1::HmacKeyMetadata] parsed result object
2765
+ # @yieldparam err [StandardError] error object if request failed
2766
+ #
2767
+ # @return [Google::Apis::StorageV1::HmacKeyMetadata]
2768
+ #
2769
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2770
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2771
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2772
+ def update_project_hmac_key(project_id, access_id, hmac_key_metadata_object = nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2773
+ command = make_simple_command(:put, 'projects/{projectId}/hmacKeys/{accessId}', options)
2774
+ command.request_representation = Google::Apis::StorageV1::HmacKeyMetadata::Representation
2775
+ command.request_object = hmac_key_metadata_object
2776
+ command.response_representation = Google::Apis::StorageV1::HmacKeyMetadata::Representation
2777
+ command.response_class = Google::Apis::StorageV1::HmacKeyMetadata
2778
+ command.params['projectId'] = project_id unless project_id.nil?
2779
+ command.params['accessId'] = access_id unless access_id.nil?
2780
+ command.query['userProject'] = user_project unless user_project.nil?
2781
+ command.query['fields'] = fields unless fields.nil?
2782
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2783
+ command.query['userIp'] = user_ip unless user_ip.nil?
2784
+ execute_or_queue_command(command, &block)
2785
+ end
2786
+
2396
2787
  # Get the email address of this project's Google Cloud Storage service account.
2397
2788
  # @param [String] project_id
2398
2789
  # Project ID
2790
+ # @param [String] provisional_user_project
2791
+ # The project to be billed for this request if the target bucket is requester-
2792
+ # pays bucket.
2399
2793
  # @param [String] user_project
2400
2794
  # The project to be billed for this request.
2401
2795
  # @param [String] fields
@@ -2417,11 +2811,12 @@ module Google
2417
2811
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2418
2812
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2419
2813
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2420
- def get_project_service_account(project_id, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2421
- command = make_simple_command(:get, 'projects/{projectId}/serviceAccount', options)
2814
+ def get_project_service_account(project_id, provisional_user_project: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2815
+ command = make_simple_command(:get, 'projects/{projectId}/serviceAccount', options)
2422
2816
  command.response_representation = Google::Apis::StorageV1::ServiceAccount::Representation
2423
2817
  command.response_class = Google::Apis::StorageV1::ServiceAccount
2424
2818
  command.params['projectId'] = project_id unless project_id.nil?
2819
+ command.query['provisionalUserProject'] = provisional_user_project unless provisional_user_project.nil?
2425
2820
  command.query['userProject'] = user_project unless user_project.nil?
2426
2821
  command.query['fields'] = fields unless fields.nil?
2427
2822
  command.query['quotaUser'] = quota_user unless quota_user.nil?