google-api-client 0.43.0 → 0.44.0

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 (696) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +218 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
  6. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  7. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  9. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  10. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  12. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  16. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  19. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  20. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  21. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  22. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  23. data/generated/google/apis/admin_directory_v1.rb +6 -8
  24. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  25. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  26. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  27. data/generated/google/apis/admin_reports_v1.rb +6 -5
  28. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  29. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  30. data/generated/google/apis/admob_v1.rb +1 -1
  31. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  34. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  35. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  36. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  38. data/generated/google/apis/apigee_v1.rb +6 -7
  39. data/generated/google/apis/apigee_v1/classes.rb +205 -75
  40. data/generated/google/apis/apigee_v1/representations.rb +51 -0
  41. data/generated/google/apis/apigee_v1/service.rb +133 -34
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  44. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  45. data/generated/google/apis/appengine_v1/service.rb +38 -47
  46. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  47. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  48. data/generated/google/apis/appengine_v1beta.rb +1 -1
  49. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  50. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  51. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  52. data/generated/google/apis/appsmarket_v2.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  54. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  55. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  56. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  57. data/generated/google/apis/bigquery_v2.rb +1 -1
  58. data/generated/google/apis/bigquery_v2/classes.rb +355 -553
  59. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  60. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  61. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  62. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  63. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  64. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  65. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  66. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  67. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  68. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  69. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  70. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  71. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  72. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  73. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  74. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  75. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  76. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  77. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  78. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  79. data/generated/google/apis/bigtableadmin_v1/classes.rb +50 -0
  80. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  81. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  82. data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
  83. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  84. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  85. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  86. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  87. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  88. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  89. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  90. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  91. data/generated/google/apis/calendar_v3.rb +1 -1
  92. data/generated/google/apis/chat_v1.rb +1 -1
  93. data/generated/google/apis/chat_v1/classes.rb +90 -115
  94. data/generated/google/apis/chat_v1/service.rb +30 -42
  95. data/generated/google/apis/civicinfo_v2.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
  98. data/generated/google/apis/cloudasset_v1/service.rb +125 -167
  99. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  100. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  101. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  102. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  103. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  104. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  105. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  106. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  107. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  108. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  109. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  110. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  111. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  112. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  113. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  114. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  115. data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
  116. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  117. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  118. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  119. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  120. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  121. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  122. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  123. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  124. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  125. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  126. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  127. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  128. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  129. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  130. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  131. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  132. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  133. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  135. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  136. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  137. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  138. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  139. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  140. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
  141. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
  142. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  143. data/generated/google/apis/cloudiot_v1.rb +1 -1
  144. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  145. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  146. data/generated/google/apis/cloudkms_v1.rb +1 -1
  147. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  148. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  149. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  150. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  151. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  152. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  153. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  154. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
  155. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  156. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  157. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  158. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  159. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  160. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  161. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  162. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  163. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  164. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  165. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  166. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
  167. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  168. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  169. data/generated/google/apis/cloudshell_v1.rb +1 -1
  170. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  171. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  172. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  173. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  174. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  175. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  176. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  177. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  178. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  179. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  180. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  181. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  182. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  183. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  184. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  185. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  186. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  187. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  188. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  189. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  190. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  191. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  192. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  193. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  194. data/generated/google/apis/composer_v1.rb +1 -1
  195. data/generated/google/apis/composer_v1/classes.rb +190 -242
  196. data/generated/google/apis/composer_v1/service.rb +79 -150
  197. data/generated/google/apis/composer_v1beta1.rb +1 -1
  198. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  199. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  200. data/generated/google/apis/compute_alpha.rb +1 -1
  201. data/generated/google/apis/compute_alpha/classes.rb +681 -127
  202. data/generated/google/apis/compute_alpha/representations.rb +110 -6
  203. data/generated/google/apis/compute_alpha/service.rb +695 -692
  204. data/generated/google/apis/compute_beta.rb +1 -1
  205. data/generated/google/apis/compute_beta/classes.rb +570 -70
  206. data/generated/google/apis/compute_beta/representations.rb +112 -1
  207. data/generated/google/apis/compute_beta/service.rb +608 -605
  208. data/generated/google/apis/compute_v1.rb +1 -1
  209. data/generated/google/apis/compute_v1/classes.rb +977 -85
  210. data/generated/google/apis/compute_v1/representations.rb +372 -0
  211. data/generated/google/apis/compute_v1/service.rb +747 -15
  212. data/generated/google/apis/container_v1.rb +1 -1
  213. data/generated/google/apis/container_v1/classes.rb +915 -965
  214. data/generated/google/apis/container_v1/representations.rb +53 -0
  215. data/generated/google/apis/container_v1/service.rb +435 -502
  216. data/generated/google/apis/container_v1beta1.rb +1 -1
  217. data/generated/google/apis/container_v1beta1/classes.rb +1021 -1043
  218. data/generated/google/apis/container_v1beta1/representations.rb +70 -0
  219. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  220. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  221. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  222. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  223. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  224. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  225. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  226. data/generated/google/apis/content_v2.rb +1 -1
  227. data/generated/google/apis/content_v2/classes.rb +3 -1
  228. data/generated/google/apis/content_v2_1.rb +1 -1
  229. data/generated/google/apis/content_v2_1/classes.rb +93 -2
  230. data/generated/google/apis/content_v2_1/representations.rb +34 -0
  231. data/generated/google/apis/content_v2_1/service.rb +53 -2
  232. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  233. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
  234. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  235. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  236. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
  237. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  238. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  239. data/generated/google/apis/datafusion_v1.rb +5 -8
  240. data/generated/google/apis/datafusion_v1/classes.rb +268 -397
  241. data/generated/google/apis/datafusion_v1/representations.rb +3 -0
  242. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  243. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  244. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  245. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  246. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  247. data/generated/google/apis/dataproc_v1.rb +1 -1
  248. data/generated/google/apis/dataproc_v1/classes.rb +37 -4
  249. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  250. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  251. data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
  252. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  253. data/generated/google/apis/datastore_v1.rb +1 -1
  254. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  255. data/generated/google/apis/datastore_v1/service.rb +52 -63
  256. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  257. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  258. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  259. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  260. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  261. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  262. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  263. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  264. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  265. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  266. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  267. data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
  268. data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
  269. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  270. data/generated/google/apis/dialogflow_v2.rb +1 -1
  271. data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
  272. data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
  273. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  274. data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
  275. data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
  276. data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
  277. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
  278. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  279. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  280. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  281. data/generated/google/apis/displayvideo_v1.rb +1 -1
  282. data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
  283. data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
  284. data/generated/google/apis/displayvideo_v1/service.rb +48 -36
  285. data/generated/google/apis/dlp_v2.rb +1 -1
  286. data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
  287. data/generated/google/apis/dlp_v2/service.rb +962 -905
  288. data/generated/google/apis/dns_v1.rb +1 -1
  289. data/generated/google/apis/dns_v1/classes.rb +175 -198
  290. data/generated/google/apis/dns_v1/service.rb +82 -97
  291. data/generated/google/apis/dns_v1beta2.rb +1 -1
  292. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  293. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  294. data/generated/google/apis/docs_v1.rb +1 -1
  295. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  296. data/generated/google/apis/docs_v1/service.rb +17 -22
  297. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  298. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  299. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  300. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  301. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  302. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  303. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  304. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  305. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
  306. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  307. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  308. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  309. data/generated/google/apis/drive_v2.rb +1 -1
  310. data/generated/google/apis/drive_v2/classes.rb +14 -6
  311. data/generated/google/apis/drive_v2/representations.rb +1 -0
  312. data/generated/google/apis/drive_v2/service.rb +79 -15
  313. data/generated/google/apis/drive_v3.rb +1 -1
  314. data/generated/google/apis/drive_v3/classes.rb +14 -6
  315. data/generated/google/apis/drive_v3/representations.rb +1 -0
  316. data/generated/google/apis/drive_v3/service.rb +59 -11
  317. data/generated/google/apis/file_v1.rb +1 -1
  318. data/generated/google/apis/file_v1/classes.rb +154 -173
  319. data/generated/google/apis/file_v1/service.rb +43 -52
  320. data/generated/google/apis/file_v1beta1.rb +1 -1
  321. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  322. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  323. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  324. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  325. data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
  326. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  327. data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
  328. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  329. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
  330. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  331. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  332. data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
  333. data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
  334. data/generated/google/apis/firebaserules_v1.rb +1 -1
  335. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  336. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  337. data/generated/google/apis/firestore_v1.rb +1 -1
  338. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  339. data/generated/google/apis/firestore_v1/service.rb +165 -201
  340. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  341. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  342. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  343. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  344. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  345. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  346. data/generated/google/apis/fitness_v1.rb +85 -0
  347. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  348. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  349. data/generated/google/apis/fitness_v1/service.rb +626 -0
  350. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  351. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  352. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  353. data/generated/google/apis/games_management_v1management.rb +2 -3
  354. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  355. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  356. data/generated/google/apis/games_v1.rb +2 -3
  357. data/generated/google/apis/games_v1/classes.rb +76 -83
  358. data/generated/google/apis/games_v1/representations.rb +2 -0
  359. data/generated/google/apis/games_v1/service.rb +84 -90
  360. data/generated/google/apis/genomics_v1.rb +1 -1
  361. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  362. data/generated/google/apis/genomics_v1/service.rb +28 -43
  363. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  364. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  365. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  366. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  367. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
  368. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  369. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  370. data/generated/google/apis/gmail_v1.rb +1 -1
  371. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  372. data/generated/google/apis/gmail_v1/service.rb +4 -3
  373. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  374. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
  375. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  376. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  377. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  378. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  379. data/generated/google/apis/healthcare_v1.rb +1 -1
  380. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  381. data/generated/google/apis/healthcare_v1/service.rb +675 -853
  382. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  383. data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
  384. data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
  385. data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
  386. data/generated/google/apis/homegraph_v1.rb +1 -1
  387. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  388. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  389. data/generated/google/apis/iam_v1.rb +5 -2
  390. data/generated/google/apis/iam_v1/classes.rb +388 -592
  391. data/generated/google/apis/iam_v1/service.rb +429 -555
  392. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  393. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  394. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  395. data/generated/google/apis/iap_v1.rb +1 -1
  396. data/generated/google/apis/iap_v1/classes.rb +246 -355
  397. data/generated/google/apis/iap_v1/service.rb +61 -71
  398. data/generated/google/apis/iap_v1beta1.rb +1 -1
  399. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  400. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  401. data/generated/google/apis/indexing_v3.rb +1 -1
  402. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  403. data/generated/google/apis/kgsearch_v1.rb +1 -1
  404. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  405. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  406. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  407. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  408. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  409. data/generated/google/apis/localservices_v1.rb +31 -0
  410. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  411. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  412. data/generated/google/apis/localservices_v1/service.rb +199 -0
  413. data/generated/google/apis/logging_v2.rb +1 -1
  414. data/generated/google/apis/logging_v2/classes.rb +174 -214
  415. data/generated/google/apis/logging_v2/representations.rb +15 -0
  416. data/generated/google/apis/logging_v2/service.rb +1017 -584
  417. data/generated/google/apis/manufacturers_v1.rb +1 -1
  418. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  419. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  420. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  421. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
  422. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  423. data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
  424. data/generated/google/apis/ml_v1.rb +1 -1
  425. data/generated/google/apis/ml_v1/classes.rb +949 -1144
  426. data/generated/google/apis/ml_v1/representations.rb +64 -0
  427. data/generated/google/apis/ml_v1/service.rb +194 -253
  428. data/generated/google/apis/monitoring_v1.rb +1 -1
  429. data/generated/google/apis/monitoring_v1/classes.rb +103 -26
  430. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  431. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  432. data/generated/google/apis/monitoring_v3.rb +1 -1
  433. data/generated/google/apis/monitoring_v3/classes.rb +220 -322
  434. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  435. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  436. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  437. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  438. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  439. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  440. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  441. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  442. data/generated/google/apis/osconfig_v1.rb +1 -1
  443. data/generated/google/apis/osconfig_v1/classes.rb +226 -270
  444. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  445. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  446. data/generated/google/apis/osconfig_v1beta/classes.rb +1031 -411
  447. data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
  448. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  449. data/generated/google/apis/oslogin_v1.rb +1 -1
  450. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  451. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  452. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  453. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  454. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  455. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  456. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  457. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  458. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  459. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  460. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  461. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  462. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  463. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  464. data/generated/google/apis/people_v1.rb +1 -1
  465. data/generated/google/apis/people_v1/classes.rb +121 -12
  466. data/generated/google/apis/people_v1/representations.rb +41 -0
  467. data/generated/google/apis/people_v1/service.rb +39 -39
  468. data/generated/google/apis/playablelocations_v3.rb +1 -1
  469. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  470. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  471. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  472. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
  473. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
  474. data/generated/google/apis/pubsub_v1.rb +1 -1
  475. data/generated/google/apis/pubsub_v1/classes.rb +392 -518
  476. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  477. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  478. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  479. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  480. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  481. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  482. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  483. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  484. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  485. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  486. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  487. data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
  488. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  489. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  490. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
  491. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  492. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  493. data/generated/google/apis/redis_v1.rb +1 -1
  494. data/generated/google/apis/redis_v1/classes.rb +172 -208
  495. data/generated/google/apis/redis_v1/service.rb +93 -110
  496. data/generated/google/apis/redis_v1beta1.rb +1 -1
  497. data/generated/google/apis/redis_v1beta1/classes.rb +176 -212
  498. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  499. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  500. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  501. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  502. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  503. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  504. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  505. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  506. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  507. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  508. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  509. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  510. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  511. data/generated/google/apis/run_v1.rb +1 -1
  512. data/generated/google/apis/run_v1/classes.rb +4 -3
  513. data/generated/google/apis/run_v1/representations.rb +1 -1
  514. data/generated/google/apis/run_v1alpha1.rb +1 -1
  515. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  516. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  517. data/generated/google/apis/run_v1beta1.rb +1 -1
  518. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  519. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  520. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  521. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  522. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  523. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  524. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  525. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  526. data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
  527. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
  528. data/generated/google/apis/script_v1.rb +1 -1
  529. data/generated/google/apis/script_v1/classes.rb +88 -111
  530. data/generated/google/apis/script_v1/service.rb +63 -69
  531. data/generated/google/apis/secretmanager_v1.rb +1 -1
  532. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  533. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  534. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  535. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  536. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  537. data/generated/google/apis/securitycenter_v1.rb +1 -1
  538. data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
  539. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  540. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  541. data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
  542. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  543. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  544. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
  545. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  546. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  547. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  548. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
  549. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  550. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
  551. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  552. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  553. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  554. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  555. data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
  556. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  557. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  558. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  559. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  560. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  561. data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
  562. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  563. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  564. data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
  565. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  566. data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
  567. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  568. data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
  569. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  570. data/generated/google/apis/serviceusage_v1.rb +1 -1
  571. data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
  572. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  573. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  574. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  575. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
  576. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  577. data/generated/google/apis/sheets_v4.rb +1 -1
  578. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  579. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  580. data/generated/google/apis/sheets_v4/service.rb +113 -149
  581. data/generated/google/apis/site_verification_v1.rb +1 -1
  582. data/generated/google/apis/slides_v1.rb +1 -1
  583. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  584. data/generated/google/apis/slides_v1/service.rb +23 -30
  585. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  586. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  587. data/generated/google/apis/spanner_v1.rb +1 -1
  588. data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
  589. data/generated/google/apis/spanner_v1/service.rb +443 -618
  590. data/generated/google/apis/speech_v1.rb +1 -1
  591. data/generated/google/apis/speech_v1/classes.rb +174 -220
  592. data/generated/google/apis/speech_v1/service.rb +27 -32
  593. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  594. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  595. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  596. data/generated/google/apis/speech_v2beta1.rb +1 -1
  597. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  598. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  599. data/generated/google/apis/sql_v1beta4.rb +1 -1
  600. data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
  601. data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
  602. data/generated/google/apis/sql_v1beta4/service.rb +51 -56
  603. data/generated/google/apis/storage_v1.rb +1 -1
  604. data/generated/google/apis/storage_v1/classes.rb +8 -7
  605. data/generated/google/apis/storage_v1/representations.rb +2 -2
  606. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  607. data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
  608. data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
  609. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  610. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  611. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  612. data/generated/google/apis/tagmanager_v1.rb +1 -1
  613. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  614. data/generated/google/apis/tagmanager_v2.rb +1 -1
  615. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  616. data/generated/google/apis/tasks_v1.rb +1 -1
  617. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  618. data/generated/google/apis/tasks_v1/service.rb +16 -17
  619. data/generated/google/apis/testing_v1.rb +1 -1
  620. data/generated/google/apis/testing_v1/classes.rb +317 -382
  621. data/generated/google/apis/testing_v1/representations.rb +2 -0
  622. data/generated/google/apis/testing_v1/service.rb +22 -28
  623. data/generated/google/apis/texttospeech_v1.rb +1 -1
  624. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  625. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  626. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  627. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  628. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  629. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  630. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  631. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
  632. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  633. data/generated/google/apis/tpu_v1.rb +1 -1
  634. data/generated/google/apis/tpu_v1/classes.rb +11 -0
  635. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  636. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  637. data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
  638. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  639. data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
  640. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  641. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  642. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  643. data/generated/google/apis/translate_v3.rb +1 -1
  644. data/generated/google/apis/translate_v3/classes.rb +148 -175
  645. data/generated/google/apis/translate_v3/service.rb +122 -151
  646. data/generated/google/apis/translate_v3beta1.rb +1 -1
  647. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  648. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  649. data/generated/google/apis/vectortile_v1.rb +1 -1
  650. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  651. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  652. data/generated/google/apis/videointelligence_v1.rb +1 -1
  653. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  654. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  655. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  656. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  657. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  658. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  659. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  660. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  661. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  662. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  663. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  664. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  665. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  666. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  667. data/generated/google/apis/webfonts_v1.rb +2 -3
  668. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  669. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  670. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  671. data/generated/google/apis/youtube_v3.rb +1 -1
  672. data/generated/google/apis/youtube_v3/classes.rb +347 -0
  673. data/generated/google/apis/youtube_v3/representations.rb +176 -0
  674. data/generated/google/apis/youtube_v3/service.rb +78 -0
  675. data/lib/google/apis/version.rb +1 -1
  676. metadata +31 -31
  677. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  678. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  679. data/generated/google/apis/dns_v2beta1.rb +0 -43
  680. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  681. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  682. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  683. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  684. data/generated/google/apis/memcache_v1/representations.rb +0 -471
  685. data/generated/google/apis/oauth2_v2.rb +0 -40
  686. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  687. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  688. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  689. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
  690. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  691. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  692. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  693. data/generated/google/apis/storage_v1beta2.rb +0 -40
  694. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  695. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  696. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -50,8 +50,8 @@ module Google
50
50
 
51
51
  # Gets information about a particular instance configuration.
52
52
  # @param [String] name
53
- # Required. The name of the requested instance configuration. Values are of
54
- # the form `projects/<project>/instanceConfigs/<config>`.
53
+ # Required. The name of the requested instance configuration. Values are of the
54
+ # form `projects//instanceConfigs/`.
55
55
  # @param [String] fields
56
56
  # Selector specifying which fields to include in a partial response.
57
57
  # @param [String] quota_user
@@ -82,15 +82,13 @@ module Google
82
82
  # Lists the supported instance configurations for a given project.
83
83
  # @param [String] parent
84
84
  # Required. The name of the project for which a list of supported instance
85
- # configurations is requested. Values are of the form
86
- # `projects/<project>`.
85
+ # configurations is requested. Values are of the form `projects/`.
87
86
  # @param [Fixnum] page_size
88
- # Number of instance configurations to be returned in the response. If 0 or
89
- # less, defaults to the server's maximum allowed page size.
87
+ # Number of instance configurations to be returned in the response. If 0 or less,
88
+ # defaults to the server's maximum allowed page size.
90
89
  # @param [String] page_token
91
- # If non-empty, `page_token` should contain a
92
- # next_page_token
93
- # from a previous ListInstanceConfigsResponse.
90
+ # If non-empty, `page_token` should contain a next_page_token from a previous
91
+ # ListInstanceConfigsResponse.
94
92
  # @param [String] fields
95
93
  # Selector specifying which fields to include in a partial response.
96
94
  # @param [String] quota_user
@@ -120,36 +118,25 @@ module Google
120
118
  execute_or_queue_command(command, &block)
121
119
  end
122
120
 
123
- # Creates an instance and begins preparing it to begin serving. The
124
- # returned long-running operation
125
- # can be used to track the progress of preparing the new
126
- # instance. The instance name is assigned by the caller. If the
127
- # named instance already exists, `CreateInstance` returns
128
- # `ALREADY_EXISTS`.
129
- # Immediately upon completion of this request:
130
- # * The instance is readable via the API, with all requested attributes
131
- # but no allocated resources. Its state is `CREATING`.
132
- # Until completion of the returned operation:
133
- # * Cancelling the operation renders the instance immediately unreadable
134
- # via the API.
135
- # * The instance can be deleted.
136
- # * All other attempts to modify the instance are rejected.
137
- # Upon completion of the returned operation:
138
- # * Billing for all successfully-allocated resources begins (some types
139
- # may have lower than the requested levels).
140
- # * Databases can be created in the instance.
141
- # * The instance's allocated resource levels are readable via the API.
142
- # * The instance's state becomes `READY`.
143
- # The returned long-running operation will
144
- # have a name of the format `<instance_name>/operations/<operation_id>` and
145
- # can be used to track creation of the instance. The
146
- # metadata field type is
147
- # CreateInstanceMetadata.
148
- # The response field type is
149
- # Instance, if successful.
121
+ # Creates an instance and begins preparing it to begin serving. The returned
122
+ # long-running operation can be used to track the progress of preparing the new
123
+ # instance. The instance name is assigned by the caller. If the named instance
124
+ # already exists, `CreateInstance` returns `ALREADY_EXISTS`. Immediately upon
125
+ # completion of this request: * The instance is readable via the API, with all
126
+ # requested attributes but no allocated resources. Its state is `CREATING`.
127
+ # Until completion of the returned operation: * Cancelling the operation renders
128
+ # the instance immediately unreadable via the API. * The instance can be deleted.
129
+ # * All other attempts to modify the instance are rejected. Upon completion of
130
+ # the returned operation: * Billing for all successfully-allocated resources
131
+ # begins (some types may have lower than the requested levels). * Databases can
132
+ # be created in the instance. * The instance's allocated resource levels are
133
+ # readable via the API. * The instance's state becomes `READY`. The returned
134
+ # long-running operation will have a name of the format `/operations/` and can
135
+ # be used to track creation of the instance. The metadata field type is
136
+ # CreateInstanceMetadata. The response field type is Instance, if successful.
150
137
  # @param [String] parent
151
- # Required. The name of the project in which to create the instance. Values
152
- # are of the form `projects/<project>`.
138
+ # Required. The name of the project in which to create the instance. Values are
139
+ # of the form `projects/`.
153
140
  # @param [Google::Apis::SpannerV1::CreateInstanceRequest] create_instance_request_object
154
141
  # @param [String] fields
155
142
  # Selector specifying which fields to include in a partial response.
@@ -180,16 +167,13 @@ module Google
180
167
  execute_or_queue_command(command, &block)
181
168
  end
182
169
 
183
- # Deletes an instance.
184
- # Immediately upon completion of the request:
185
- # * Billing ceases for all of the instance's reserved resources.
186
- # Soon afterward:
187
- # * The instance and *all of its databases* immediately and
188
- # irrevocably disappear from the API. All data in the databases
189
- # is permanently deleted.
170
+ # Deletes an instance. Immediately upon completion of the request: * Billing
171
+ # ceases for all of the instance's reserved resources. Soon afterward: * The
172
+ # instance and *all of its databases* immediately and irrevocably disappear from
173
+ # the API. All data in the databases is permanently deleted.
190
174
  # @param [String] name
191
- # Required. The name of the instance to be deleted. Values are of the form
192
- # `projects/<project>/instances/<instance>`
175
+ # Required. The name of the instance to be deleted. Values are of the form `
176
+ # projects//instances/`
193
177
  # @param [String] fields
194
178
  # Selector specifying which fields to include in a partial response.
195
179
  # @param [String] quota_user
@@ -219,12 +203,11 @@ module Google
219
203
 
220
204
  # Gets information about a particular instance.
221
205
  # @param [String] name
222
- # Required. The name of the requested instance. Values are of the form
223
- # `projects/<project>/instances/<instance>`.
206
+ # Required. The name of the requested instance. Values are of the form `projects/
207
+ # /instances/`.
224
208
  # @param [String] field_mask
225
- # If field_mask is present, specifies the subset of Instance fields that
226
- # should be returned.
227
- # If absent, all Instance fields are returned.
209
+ # If field_mask is present, specifies the subset of Instance fields that should
210
+ # be returned. If absent, all Instance fields are returned.
228
211
  # @param [String] fields
229
212
  # Selector specifying which fields to include in a partial response.
230
213
  # @param [String] quota_user
@@ -254,14 +237,12 @@ module Google
254
237
  end
255
238
 
256
239
  # Gets the access control policy for an instance resource. Returns an empty
257
- # policy if an instance exists but does not have a policy set.
258
- # Authorization requires `spanner.instances.getIamPolicy` on
259
- # resource.
240
+ # policy if an instance exists but does not have a policy set. Authorization
241
+ # requires `spanner.instances.getIamPolicy` on resource.
260
242
  # @param [String] resource
261
243
  # REQUIRED: The Cloud Spanner resource for which the policy is being retrieved.
262
- # The format is `projects/<project ID>/instances/<instance ID>` for instance
263
- # resources and `projects/<project ID>/instances/<instance ID>/databases/<
264
- # database ID>` for database resources.
244
+ # The format is `projects//instances/` for instance resources and `projects//
245
+ # instances//databases/` for database resources.
265
246
  # @param [Google::Apis::SpannerV1::GetIamPolicyRequest] get_iam_policy_request_object
266
247
  # @param [String] fields
267
248
  # Selector specifying which fields to include in a partial response.
@@ -294,32 +275,25 @@ module Google
294
275
 
295
276
  # Lists all instances in the given project.
296
277
  # @param [String] parent
297
- # Required. The name of the project for which a list of instances is
298
- # requested. Values are of the form `projects/<project>`.
278
+ # Required. The name of the project for which a list of instances is requested.
279
+ # Values are of the form `projects/`.
299
280
  # @param [String] filter
300
- # An expression for filtering the results of the request. Filter rules are
301
- # case insensitive. The fields eligible for filtering are:
302
- # * `name`
303
- # * `display_name`
304
- # * `labels.key` where key is the name of a label
305
- # Some examples of using filters are:
306
- # * `name:*` --> The instance has a name.
307
- # * `name:Howl` --> The instance's name contains the string "howl".
308
- # * `name:HOWL` --> Equivalent to above.
309
- # * `NAME:howl` --> Equivalent to above.
310
- # * `labels.env:*` --> The instance has the label "env".
311
- # * `labels.env:dev` --> The instance has the label "env" and the value of
312
- # the label contains the string "dev".
313
- # * `name:howl labels.env:dev` --> The instance's name contains "howl" and
314
- # it has the label "env" with its value
281
+ # An expression for filtering the results of the request. Filter rules are case
282
+ # insensitive. The fields eligible for filtering are: * `name` * `display_name` *
283
+ # `labels.key` where key is the name of a label Some examples of using filters
284
+ # are: * `name:*` --> The instance has a name. * `name:Howl` --> The instance's
285
+ # name contains the string "howl". * `name:HOWL` --> Equivalent to above. * `
286
+ # NAME:howl` --> Equivalent to above. * `labels.env:*` --> The instance has the
287
+ # label "env". * `labels.env:dev` --> The instance has the label "env" and the
288
+ # value of the label contains the string "dev". * `name:howl labels.env:dev` -->
289
+ # The instance's name contains "howl" and it has the label "env" with its value
315
290
  # containing "dev".
316
291
  # @param [Fixnum] page_size
317
- # Number of instances to be returned in the response. If 0 or less, defaults
318
- # to the server's maximum allowed page size.
292
+ # Number of instances to be returned in the response. If 0 or less, defaults to
293
+ # the server's maximum allowed page size.
319
294
  # @param [String] page_token
320
- # If non-empty, `page_token` should contain a
321
- # next_page_token from a
322
- # previous ListInstancesResponse.
295
+ # If non-empty, `page_token` should contain a next_page_token from a previous
296
+ # ListInstancesResponse.
323
297
  # @param [String] fields
324
298
  # Selector specifying which fields to include in a partial response.
325
299
  # @param [String] quota_user
@@ -350,43 +324,31 @@ module Google
350
324
  execute_or_queue_command(command, &block)
351
325
  end
352
326
 
353
- # Updates an instance, and begins allocating or releasing resources
354
- # as requested. The returned long-running
355
- # operation can be used to track the
356
- # progress of updating the instance. If the named instance does not
357
- # exist, returns `NOT_FOUND`.
358
- # Immediately upon completion of this request:
359
- # * For resource types for which a decrease in the instance's allocation
360
- # has been requested, billing is based on the newly-requested level.
361
- # Until completion of the returned operation:
362
- # * Cancelling the operation sets its metadata's
363
- # cancel_time, and begins
364
- # restoring resources to their pre-request values. The operation
365
- # is guaranteed to succeed at undoing all resource changes,
366
- # after which point it terminates with a `CANCELLED` status.
367
- # * All other attempts to modify the instance are rejected.
368
- # * Reading the instance via the API continues to give the pre-request
369
- # resource levels.
370
- # Upon completion of the returned operation:
371
- # * Billing begins for all successfully-allocated resources (some types
372
- # may have lower than the requested levels).
373
- # * All newly-reserved resources are available for serving the instance's
374
- # tables.
375
- # * The instance's new resource levels are readable via the API.
376
- # The returned long-running operation will
377
- # have a name of the format `<instance_name>/operations/<operation_id>` and
378
- # can be used to track the instance modification. The
379
- # metadata field type is
380
- # UpdateInstanceMetadata.
381
- # The response field type is
382
- # Instance, if successful.
383
- # Authorization requires `spanner.instances.update` permission on
384
- # resource name.
327
+ # Updates an instance, and begins allocating or releasing resources as requested.
328
+ # The returned long-running operation can be used to track the progress of
329
+ # updating the instance. If the named instance does not exist, returns `
330
+ # NOT_FOUND`. Immediately upon completion of this request: * For resource types
331
+ # for which a decrease in the instance's allocation has been requested, billing
332
+ # is based on the newly-requested level. Until completion of the returned
333
+ # operation: * Cancelling the operation sets its metadata's cancel_time, and
334
+ # begins restoring resources to their pre-request values. The operation is
335
+ # guaranteed to succeed at undoing all resource changes, after which point it
336
+ # terminates with a `CANCELLED` status. * All other attempts to modify the
337
+ # instance are rejected. * Reading the instance via the API continues to give
338
+ # the pre-request resource levels. Upon completion of the returned operation: *
339
+ # Billing begins for all successfully-allocated resources (some types may have
340
+ # lower than the requested levels). * All newly-reserved resources are available
341
+ # for serving the instance's tables. * The instance's new resource levels are
342
+ # readable via the API. The returned long-running operation will have a name of
343
+ # the format `/operations/` and can be used to track the instance modification.
344
+ # The metadata field type is UpdateInstanceMetadata. The response field type is
345
+ # Instance, if successful. Authorization requires `spanner.instances.update`
346
+ # permission on resource name.
385
347
  # @param [String] name
386
- # Required. A unique identifier for the instance, which cannot be changed
387
- # after the instance is created. Values are of the form
388
- # `projects/<project>/instances/a-z*[a-z0-9]`. The final
389
- # segment of the name must be between 2 and 64 characters in length.
348
+ # Required. A unique identifier for the instance, which cannot be changed after
349
+ # the instance is created. Values are of the form `projects//instances/a-z*[a-z0-
350
+ # 9]`. The final segment of the name must be between 2 and 64 characters in
351
+ # length.
390
352
  # @param [Google::Apis::SpannerV1::UpdateInstanceRequest] update_instance_request_object
391
353
  # @param [String] fields
392
354
  # Selector specifying which fields to include in a partial response.
@@ -417,15 +379,12 @@ module Google
417
379
  execute_or_queue_command(command, &block)
418
380
  end
419
381
 
420
- # Sets the access control policy on an instance resource. Replaces any
421
- # existing policy.
422
- # Authorization requires `spanner.instances.setIamPolicy` on
423
- # resource.
382
+ # Sets the access control policy on an instance resource. Replaces any existing
383
+ # policy. Authorization requires `spanner.instances.setIamPolicy` on resource.
424
384
  # @param [String] resource
425
385
  # REQUIRED: The Cloud Spanner resource for which the policy is being set. The
426
- # format is `projects/<project ID>/instances/<instance ID>` for instance
427
- # resources and `projects/<project ID>/instances/<instance ID>/databases/<
428
- # database ID>` for databases resources.
386
+ # format is `projects//instances/` for instance resources and `projects//
387
+ # instances//databases/` for databases resources.
429
388
  # @param [Google::Apis::SpannerV1::SetIamPolicyRequest] set_iam_policy_request_object
430
389
  # @param [String] fields
431
390
  # Selector specifying which fields to include in a partial response.
@@ -459,13 +418,12 @@ module Google
459
418
  # Returns permissions that the caller has on the specified instance resource.
460
419
  # Attempting this RPC on a non-existent Cloud Spanner instance resource will
461
420
  # result in a NOT_FOUND error if the user has `spanner.instances.list`
462
- # permission on the containing Google Cloud Project. Otherwise returns an
463
- # empty set of permissions.
421
+ # permission on the containing Google Cloud Project. Otherwise returns an empty
422
+ # set of permissions.
464
423
  # @param [String] resource
465
424
  # REQUIRED: The Cloud Spanner resource for which permissions are being tested.
466
- # The format is `projects/<project ID>/instances/<instance ID>` for instance
467
- # resources and `projects/<project ID>/instances/<instance ID>/databases/<
468
- # database ID>` for database resources.
425
+ # The format is `projects//instances/` for instance resources and `projects//
426
+ # instances//databases/` for database resources.
469
427
  # @param [Google::Apis::SpannerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
470
428
  # @param [String] fields
471
429
  # Selector specifying which fields to include in a partial response.
@@ -496,63 +454,47 @@ module Google
496
454
  execute_or_queue_command(command, &block)
497
455
  end
498
456
 
499
- # Lists the backup long-running operations in
500
- # the given instance. A backup operation has a name of the form
501
- # `projects/<project>/instances/<instance>/backups/<backup>/operations/<
502
- # operation>`.
503
- # The long-running operation
504
- # metadata field type
505
- # `metadata.type_url` describes the type of the metadata. Operations returned
506
- # include those that have completed/failed/canceled within the last 7 days,
507
- # and pending operations. Operations returned are ordered by
508
- # `operation.metadata.value.progress.start_time` in descending order starting
509
- # from the most recently started operation.
457
+ # Lists the backup long-running operations in the given instance. A backup
458
+ # operation has a name of the form `projects//instances//backups//operations/`.
459
+ # The long-running operation metadata field type `metadata.type_url` describes
460
+ # the type of the metadata. Operations returned include those that have
461
+ # completed/failed/canceled within the last 7 days, and pending operations.
462
+ # Operations returned are ordered by `operation.metadata.value.progress.
463
+ # start_time` in descending order starting from the most recently started
464
+ # operation.
510
465
  # @param [String] parent
511
- # Required. The instance of the backup operations. Values are of
512
- # the form `projects/<project>/instances/<instance>`.
466
+ # Required. The instance of the backup operations. Values are of the form `
467
+ # projects//instances/`.
513
468
  # @param [String] filter
514
- # An expression that filters the list of returned backup operations.
515
- # A filter expression consists of a field name, a
516
- # comparison operator, and a value for filtering.
517
- # The value must be a string, a number, or a boolean. The comparison operator
518
- # must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
519
- # Colon `:` is the contains operator. Filter rules are not case sensitive.
520
- # The following fields in the operation
521
- # are eligible for filtering:
522
- # * `name` - The name of the long-running operation
523
- # * `done` - False if the operation is in progress, else true.
524
- # * `metadata.@type` - the type of metadata. For example, the type string
525
- # for CreateBackupMetadata is
526
- # `type.googleapis.com/google.spanner.admin.database.v1.
527
- # CreateBackupMetadata`.
528
- # * `metadata.<field_name>` - any field in metadata.value.
529
- # * `error` - Error associated with the long-running operation.
530
- # * `response.@type` - the type of response.
531
- # * `response.<field_name>` - any field in response.value.
532
- # You can combine multiple expressions by enclosing each expression in
533
- # parentheses. By default, expressions are combined with AND logic, but
534
- # you can specify AND, OR, and NOT logic explicitly.
535
- # Here are a few examples:
536
- # * `done:true` - The operation is complete.
537
- # * `metadata.database:prod` - The database the backup was taken from has
538
- # a name containing the string "prod".
539
- # * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.
540
- # CreateBackupMetadata) AND` \
541
- # `(metadata.name:howl) AND` \
542
- # `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \
543
- # `(error:*)` - Returns operations where:
544
- # * The operation's metadata type is CreateBackupMetadata.
545
- # * The backup name contains the string "howl".
546
- # * The operation started before 2018-03-28T14:50:00Z.
547
- # * The operation resulted in an error.
469
+ # An expression that filters the list of returned backup operations. A filter
470
+ # expression consists of a field name, a comparison operator, and a value for
471
+ # filtering. The value must be a string, a number, or a boolean. The comparison
472
+ # operator must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is
473
+ # the contains operator. Filter rules are not case sensitive. The following
474
+ # fields in the operation are eligible for filtering: * `name` - The name of the
475
+ # long-running operation * `done` - False if the operation is in progress, else
476
+ # true. * `metadata.@type` - the type of metadata. For example, the type string
477
+ # for CreateBackupMetadata is `type.googleapis.com/google.spanner.admin.database.
478
+ # v1.CreateBackupMetadata`. * `metadata.` - any field in metadata.value. * `
479
+ # error` - Error associated with the long-running operation. * `response.@type` -
480
+ # the type of response. * `response.` - any field in response.value. You can
481
+ # combine multiple expressions by enclosing each expression in parentheses. By
482
+ # default, expressions are combined with AND logic, but you can specify AND, OR,
483
+ # and NOT logic explicitly. Here are a few examples: * `done:true` - The
484
+ # operation is complete. * `metadata.database:prod` - The database the backup
485
+ # was taken from has a name containing the string "prod". * `(metadata.@type=
486
+ # type.googleapis.com/google.spanner.admin.database.v1.CreateBackupMetadata) AND`
487
+ # \ `(metadata.name:howl) AND` \ `(metadata.progress.start_time < \"2018-03-
488
+ # 28T14:50:00Z\") AND` \ `(error:*)` - Returns operations where: * The operation'
489
+ # s metadata type is CreateBackupMetadata. * The backup name contains the string
490
+ # "howl". * The operation started before 2018-03-28T14:50:00Z. * The operation
491
+ # resulted in an error.
548
492
  # @param [Fixnum] page_size
549
- # Number of operations to be returned in the response. If 0 or
550
- # less, defaults to the server's maximum allowed page size.
493
+ # Number of operations to be returned in the response. If 0 or less, defaults to
494
+ # the server's maximum allowed page size.
551
495
  # @param [String] page_token
552
- # If non-empty, `page_token` should contain a
553
- # next_page_token
554
- # from a previous ListBackupOperationsResponse to the
555
- # same `parent` and with the same `filter`.
496
+ # If non-empty, `page_token` should contain a next_page_token from a previous
497
+ # ListBackupOperationsResponse to the same `parent` and with the same `filter`.
556
498
  # @param [String] fields
557
499
  # Selector specifying which fields to include in a partial response.
558
500
  # @param [String] quota_user
@@ -583,31 +525,23 @@ module Google
583
525
  execute_or_queue_command(command, &block)
584
526
  end
585
527
 
586
- # Starts creating a new Cloud Spanner Backup.
587
- # The returned backup long-running operation
588
- # will have a name of the format
589
- # `projects/<project>/instances/<instance>/backups/<backup>/operations/<
590
- # operation_id>`
591
- # and can be used to track creation of the backup. The
592
- # metadata field type is
593
- # CreateBackupMetadata. The
594
- # response field type is
595
- # Backup, if successful. Cancelling the returned operation will stop the
596
- # creation and delete the backup.
597
- # There can be only one pending backup creation per database. Backup creation
598
- # of different databases can run concurrently.
528
+ # Starts creating a new Cloud Spanner Backup. The returned backup long-running
529
+ # operation will have a name of the format `projects//instances//backups//
530
+ # operations/` and can be used to track creation of the backup. The metadata
531
+ # field type is CreateBackupMetadata. The response field type is Backup, if
532
+ # successful. Cancelling the returned operation will stop the creation and
533
+ # delete the backup. There can be only one pending backup creation per database.
534
+ # Backup creation of different databases can run concurrently.
599
535
  # @param [String] parent
600
- # Required. The name of the instance in which the backup will be
601
- # created. This must be the same instance that contains the database the
602
- # backup will be created from. The backup will be stored in the
603
- # location(s) specified in the instance configuration of this
604
- # instance. Values are of the form
605
- # `projects/<project>/instances/<instance>`.
536
+ # Required. The name of the instance in which the backup will be created. This
537
+ # must be the same instance that contains the database the backup will be
538
+ # created from. The backup will be stored in the location(s) specified in the
539
+ # instance configuration of this instance. Values are of the form `projects//
540
+ # instances/`.
606
541
  # @param [Google::Apis::SpannerV1::Backup] backup_object
607
542
  # @param [String] backup_id
608
- # Required. The id of the backup to be created. The `backup_id` appended to
609
- # `parent` forms the full backup name of the form
610
- # `projects/<project>/instances/<instance>/backups/<backup_id>`.
543
+ # Required. The id of the backup to be created. The `backup_id` appended to `
544
+ # parent` forms the full backup name of the form `projects//instances//backups/`.
611
545
  # @param [String] fields
612
546
  # Selector specifying which fields to include in a partial response.
613
547
  # @param [String] quota_user
@@ -640,9 +574,8 @@ module Google
640
574
 
641
575
  # Deletes a pending or completed Backup.
642
576
  # @param [String] name
643
- # Required. Name of the backup to delete.
644
- # Values are of the form
645
- # `projects/<project>/instances/<instance>/backups/<backup>`.
577
+ # Required. Name of the backup to delete. Values are of the form `projects//
578
+ # instances//backups/`.
646
579
  # @param [String] fields
647
580
  # Selector specifying which fields to include in a partial response.
648
581
  # @param [String] quota_user
@@ -672,9 +605,8 @@ module Google
672
605
 
673
606
  # Gets metadata on a pending or completed Backup.
674
607
  # @param [String] name
675
- # Required. Name of the backup.
676
- # Values are of the form
677
- # `projects/<project>/instances/<instance>/backups/<backup>`.
608
+ # Required. Name of the backup. Values are of the form `projects//instances//
609
+ # backups/`.
678
610
  # @param [String] fields
679
611
  # Selector specifying which fields to include in a partial response.
680
612
  # @param [String] quota_user
@@ -702,18 +634,15 @@ module Google
702
634
  execute_or_queue_command(command, &block)
703
635
  end
704
636
 
705
- # Gets the access control policy for a database or backup resource.
706
- # Returns an empty policy if a database or backup exists but does not have a
707
- # policy set.
708
- # Authorization requires `spanner.databases.getIamPolicy` permission on
709
- # resource.
710
- # For backups, authorization requires `spanner.backups.getIamPolicy`
711
- # permission on resource.
637
+ # Gets the access control policy for a database or backup resource. Returns an
638
+ # empty policy if a database or backup exists but does not have a policy set.
639
+ # Authorization requires `spanner.databases.getIamPolicy` permission on resource.
640
+ # For backups, authorization requires `spanner.backups.getIamPolicy` permission
641
+ # on resource.
712
642
  # @param [String] resource
713
643
  # REQUIRED: The Cloud Spanner resource for which the policy is being retrieved.
714
- # The format is `projects/<project ID>/instances/<instance ID>` for instance
715
- # resources and `projects/<project ID>/instances/<instance ID>/databases/<
716
- # database ID>` for database resources.
644
+ # The format is `projects//instances/` for instance resources and `projects//
645
+ # instances//databases/` for database resources.
717
646
  # @param [Google::Apis::SpannerV1::GetIamPolicyRequest] get_iam_policy_request_object
718
647
  # @param [String] fields
719
648
  # Selector specifying which fields to include in a partial response.
@@ -744,49 +673,37 @@ module Google
744
673
  execute_or_queue_command(command, &block)
745
674
  end
746
675
 
747
- # Lists completed and pending backups.
748
- # Backups returned are ordered by `create_time` in descending order,
749
- # starting from the most recent `create_time`.
676
+ # Lists completed and pending backups. Backups returned are ordered by `
677
+ # create_time` in descending order, starting from the most recent `create_time`.
750
678
  # @param [String] parent
751
- # Required. The instance to list backups from. Values are of the
752
- # form `projects/<project>/instances/<instance>`.
679
+ # Required. The instance to list backups from. Values are of the form `projects//
680
+ # instances/`.
753
681
  # @param [String] filter
754
- # An expression that filters the list of returned backups.
755
- # A filter expression consists of a field name, a comparison operator, and a
756
- # value for filtering.
682
+ # An expression that filters the list of returned backups. A filter expression
683
+ # consists of a field name, a comparison operator, and a value for filtering.
757
684
  # The value must be a string, a number, or a boolean. The comparison operator
758
- # must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
759
- # Colon `:` is the contains operator. Filter rules are not case sensitive.
760
- # The following fields in the Backup are eligible for filtering:
761
- # * `name`
762
- # * `database`
763
- # * `state`
764
- # * `create_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
765
- # * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
766
- # * `size_bytes`
685
+ # must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is the
686
+ # contains operator. Filter rules are not case sensitive. The following fields
687
+ # in the Backup are eligible for filtering: * `name` * `database` * `state` * `
688
+ # create_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `
689
+ # expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) * `size_bytes`
767
690
  # You can combine multiple expressions by enclosing each expression in
768
- # parentheses. By default, expressions are combined with AND logic, but
769
- # you can specify AND, OR, and NOT logic explicitly.
770
- # Here are a few examples:
771
- # * `name:Howl` - The backup's name contains the string "howl".
772
- # * `database:prod`
773
- # - The database's name contains the string "prod".
774
- # * `state:CREATING` - The backup is pending creation.
775
- # * `state:READY` - The backup is fully created and ready for use.
776
- # * `(name:howl) AND (create_time < \"2018-03-28T14:50:00Z\")`
777
- # - The backup name contains the string "howl" and `create_time`
778
- # of the backup is before 2018-03-28T14:50:00Z.
779
- # * `expire_time < \"2018-03-28T14:50:00Z\"`
780
- # - The backup `expire_time` is before 2018-03-28T14:50:00Z.
781
- # * `size_bytes > 10000000000` - The backup's size is greater than 10GB
691
+ # parentheses. By default, expressions are combined with AND logic, but you can
692
+ # specify AND, OR, and NOT logic explicitly. Here are a few examples: * `name:
693
+ # Howl` - The backup's name contains the string "howl". * `database:prod` - The
694
+ # database's name contains the string "prod". * `state:CREATING` - The backup is
695
+ # pending creation. * `state:READY` - The backup is fully created and ready for
696
+ # use. * `(name:howl) AND (create_time < \"2018-03-28T14:50:00Z\")` - The backup
697
+ # name contains the string "howl" and `create_time` of the backup is before 2018-
698
+ # 03-28T14:50:00Z. * `expire_time < \"2018-03-28T14:50:00Z\"` - The backup `
699
+ # expire_time` is before 2018-03-28T14:50:00Z. * `size_bytes > 10000000000` -
700
+ # The backup's size is greater than 10GB
782
701
  # @param [Fixnum] page_size
783
- # Number of backups to be returned in the response. If 0 or
784
- # less, defaults to the server's maximum allowed page size.
702
+ # Number of backups to be returned in the response. If 0 or less, defaults to
703
+ # the server's maximum allowed page size.
785
704
  # @param [String] page_token
786
- # If non-empty, `page_token` should contain a
787
- # next_page_token from a
788
- # previous ListBackupsResponse to the same `parent` and with the same
789
- # `filter`.
705
+ # If non-empty, `page_token` should contain a next_page_token from a previous
706
+ # ListBackupsResponse to the same `parent` and with the same `filter`.
790
707
  # @param [String] fields
791
708
  # Selector specifying which fields to include in a partial response.
792
709
  # @param [String] quota_user
@@ -819,24 +736,20 @@ module Google
819
736
 
820
737
  # Updates a pending or completed Backup.
821
738
  # @param [String] name
822
- # Output only for the CreateBackup operation.
823
- # Required for the UpdateBackup operation.
824
- # A globally unique identifier for the backup which cannot be
825
- # changed. Values are of the form
826
- # `projects/<project>/instances/<instance>/backups/a-z*[a-z0-9]`
827
- # The final segment of the name must be between 2 and 60 characters
828
- # in length.
829
- # The backup is stored in the location(s) specified in the instance
830
- # configuration of the instance containing the backup, identified
831
- # by the prefix of the backup name of the form
832
- # `projects/<project>/instances/<instance>`.
739
+ # Output only for the CreateBackup operation. Required for the UpdateBackup
740
+ # operation. A globally unique identifier for the backup which cannot be changed.
741
+ # Values are of the form `projects//instances//backups/a-z*[a-z0-9]` The final
742
+ # segment of the name must be between 2 and 60 characters in length. The backup
743
+ # is stored in the location(s) specified in the instance configuration of the
744
+ # instance containing the backup, identified by the prefix of the backup name of
745
+ # the form `projects//instances/`.
833
746
  # @param [Google::Apis::SpannerV1::Backup] backup_object
834
747
  # @param [String] update_mask
835
- # Required. A mask specifying which fields (e.g. `expire_time`) in the
836
- # Backup resource should be updated. This mask is relative to the Backup
837
- # resource, not to the request message. The field mask must always be
838
- # specified; this prevents any future fields from being erased accidentally
839
- # by clients that do not know about them.
748
+ # Required. A mask specifying which fields (e.g. `expire_time`) in the Backup
749
+ # resource should be updated. This mask is relative to the Backup resource, not
750
+ # to the request message. The field mask must always be specified; this prevents
751
+ # any future fields from being erased accidentally by clients that do not know
752
+ # about them.
840
753
  # @param [String] fields
841
754
  # Selector specifying which fields to include in a partial response.
842
755
  # @param [String] quota_user
@@ -867,17 +780,14 @@ module Google
867
780
  execute_or_queue_command(command, &block)
868
781
  end
869
782
 
870
- # Sets the access control policy on a database or backup resource.
871
- # Replaces any existing policy.
872
- # Authorization requires `spanner.databases.setIamPolicy`
873
- # permission on resource.
874
- # For backups, authorization requires `spanner.backups.setIamPolicy`
875
- # permission on resource.
783
+ # Sets the access control policy on a database or backup resource. Replaces any
784
+ # existing policy. Authorization requires `spanner.databases.setIamPolicy`
785
+ # permission on resource. For backups, authorization requires `spanner.backups.
786
+ # setIamPolicy` permission on resource.
876
787
  # @param [String] resource
877
788
  # REQUIRED: The Cloud Spanner resource for which the policy is being set. The
878
- # format is `projects/<project ID>/instances/<instance ID>` for instance
879
- # resources and `projects/<project ID>/instances/<instance ID>/databases/<
880
- # database ID>` for databases resources.
789
+ # format is `projects//instances/` for instance resources and `projects//
790
+ # instances//databases/` for databases resources.
881
791
  # @param [Google::Apis::SpannerV1::SetIamPolicyRequest] set_iam_policy_request_object
882
792
  # @param [String] fields
883
793
  # Selector specifying which fields to include in a partial response.
@@ -909,19 +819,16 @@ module Google
909
819
  end
910
820
 
911
821
  # Returns permissions that the caller has on the specified database or backup
912
- # resource.
913
- # Attempting this RPC on a non-existent Cloud Spanner database will
914
- # result in a NOT_FOUND error if the user has
915
- # `spanner.databases.list` permission on the containing Cloud
916
- # Spanner instance. Otherwise returns an empty set of permissions.
917
- # Calling this method on a backup that does not exist will
918
- # result in a NOT_FOUND error if the user has
919
- # `spanner.backups.list` permission on the containing instance.
822
+ # resource. Attempting this RPC on a non-existent Cloud Spanner database will
823
+ # result in a NOT_FOUND error if the user has `spanner.databases.list`
824
+ # permission on the containing Cloud Spanner instance. Otherwise returns an
825
+ # empty set of permissions. Calling this method on a backup that does not exist
826
+ # will result in a NOT_FOUND error if the user has `spanner.backups.list`
827
+ # permission on the containing instance.
920
828
  # @param [String] resource
921
829
  # REQUIRED: The Cloud Spanner resource for which permissions are being tested.
922
- # The format is `projects/<project ID>/instances/<instance ID>` for instance
923
- # resources and `projects/<project ID>/instances/<instance ID>/databases/<
924
- # database ID>` for database resources.
830
+ # The format is `projects//instances/` for instance resources and `projects//
831
+ # instances//databases/` for database resources.
925
832
  # @param [Google::Apis::SpannerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
926
833
  # @param [String] fields
927
834
  # Selector specifying which fields to include in a partial response.
@@ -952,15 +859,13 @@ module Google
952
859
  execute_or_queue_command(command, &block)
953
860
  end
954
861
 
955
- # Starts asynchronous cancellation on a long-running operation. The server
956
- # makes a best effort to cancel the operation, but success is not
957
- # guaranteed. If the server doesn't support this method, it returns
958
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
959
- # Operations.GetOperation or
960
- # other methods to check whether the cancellation succeeded or whether the
961
- # operation completed despite cancellation. On successful cancellation,
962
- # the operation is not deleted; instead, it becomes an operation with
963
- # an Operation.error value with a google.rpc.Status.code of 1,
862
+ # Starts asynchronous cancellation on a long-running operation. The server makes
863
+ # a best effort to cancel the operation, but success is not guaranteed. If the
864
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
865
+ # Clients can use Operations.GetOperation or other methods to check whether the
866
+ # cancellation succeeded or whether the operation completed despite cancellation.
867
+ # On successful cancellation, the operation is not deleted; instead, it becomes
868
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
964
869
  # corresponding to `Code.CANCELLED`.
965
870
  # @param [String] name
966
871
  # The name of the operation resource to be cancelled.
@@ -991,10 +896,10 @@ module Google
991
896
  execute_or_queue_command(command, &block)
992
897
  end
993
898
 
994
- # Deletes a long-running operation. This method indicates that the client is
995
- # no longer interested in the operation result. It does not cancel the
996
- # operation. If the server doesn't support this method, it returns
997
- # `google.rpc.Code.UNIMPLEMENTED`.
899
+ # Deletes a long-running operation. This method indicates that the client is no
900
+ # longer interested in the operation result. It does not cancel the operation.
901
+ # If the server doesn't support this method, it returns `google.rpc.Code.
902
+ # UNIMPLEMENTED`.
998
903
  # @param [String] name
999
904
  # The name of the operation resource to be deleted.
1000
905
  # @param [String] fields
@@ -1024,9 +929,8 @@ module Google
1024
929
  execute_or_queue_command(command, &block)
1025
930
  end
1026
931
 
1027
- # Gets the latest state of a long-running operation. Clients can use this
1028
- # method to poll the operation result at intervals as recommended by the API
1029
- # service.
932
+ # Gets the latest state of a long-running operation. Clients can use this method
933
+ # to poll the operation result at intervals as recommended by the API service.
1030
934
  # @param [String] name
1031
935
  # The name of the operation resource.
1032
936
  # @param [String] fields
@@ -1056,15 +960,14 @@ module Google
1056
960
  execute_or_queue_command(command, &block)
1057
961
  end
1058
962
 
1059
- # Lists operations that match the specified filter in the request. If the
1060
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
1061
- # NOTE: the `name` binding allows API services to override the binding
1062
- # to use different resource name schemes, such as `users/*/operations`. To
1063
- # override the binding, API services can add a binding such as
1064
- # `"/v1/`name=users/*`/operations"` to their service configuration.
1065
- # For backwards compatibility, the default name includes the operations
1066
- # collection id, however overriding users must ensure the name binding
1067
- # is the parent resource, without the operations collection id.
963
+ # Lists operations that match the specified filter in the request. If the server
964
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
965
+ # binding allows API services to override the binding to use different resource
966
+ # name schemes, such as `users/*/operations`. To override the binding, API
967
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
968
+ # service configuration. For backwards compatibility, the default name includes
969
+ # the operations collection id, however overriding users must ensure the name
970
+ # binding is the parent resource, without the operations collection id.
1068
971
  # @param [String] name
1069
972
  # The name of the operation's parent resource.
1070
973
  # @param [String] filter
@@ -1103,63 +1006,45 @@ module Google
1103
1006
  execute_or_queue_command(command, &block)
1104
1007
  end
1105
1008
 
1106
- # Lists database longrunning-operations.
1107
- # A database operation has a name of the form
1108
- # `projects/<project>/instances/<instance>/databases/<database>/operations/<
1109
- # operation>`.
1110
- # The long-running operation
1111
- # metadata field type
1112
- # `metadata.type_url` describes the type of the metadata. Operations returned
1113
- # include those that have completed/failed/canceled within the last 7 days,
1114
- # and pending operations.
1009
+ # Lists database longrunning-operations. A database operation has a name of the
1010
+ # form `projects//instances//databases//operations/`. The long-running operation
1011
+ # metadata field type `metadata.type_url` describes the type of the metadata.
1012
+ # Operations returned include those that have completed/failed/canceled within
1013
+ # the last 7 days, and pending operations.
1115
1014
  # @param [String] parent
1116
- # Required. The instance of the database operations.
1117
- # Values are of the form `projects/<project>/instances/<instance>`.
1015
+ # Required. The instance of the database operations. Values are of the form `
1016
+ # projects//instances/`.
1118
1017
  # @param [String] filter
1119
- # An expression that filters the list of returned operations.
1120
- # A filter expression consists of a field name, a
1121
- # comparison operator, and a value for filtering.
1122
- # The value must be a string, a number, or a boolean. The comparison operator
1123
- # must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
1124
- # Colon `:` is the contains operator. Filter rules are not case sensitive.
1125
- # The following fields in the Operation
1126
- # are eligible for filtering:
1127
- # * `name` - The name of the long-running operation
1128
- # * `done` - False if the operation is in progress, else true.
1129
- # * `metadata.@type` - the type of metadata. For example, the type string
1130
- # for RestoreDatabaseMetadata is
1131
- # `type.googleapis.com/google.spanner.admin.database.v1.
1132
- # RestoreDatabaseMetadata`.
1133
- # * `metadata.<field_name>` - any field in metadata.value.
1134
- # * `error` - Error associated with the long-running operation.
1135
- # * `response.@type` - the type of response.
1136
- # * `response.<field_name>` - any field in response.value.
1137
- # You can combine multiple expressions by enclosing each expression in
1138
- # parentheses. By default, expressions are combined with AND logic. However,
1139
- # you can specify AND, OR, and NOT logic explicitly.
1140
- # Here are a few examples:
1141
- # * `done:true` - The operation is complete.
1142
- # * `(metadata.@type=type.googleapis.com/google.spanner.admin.database.v1.
1143
- # RestoreDatabaseMetadata) AND` \
1144
- # `(metadata.source_type:BACKUP) AND` \
1145
- # `(metadata.backup_info.backup:backup_howl) AND` \
1146
- # `(metadata.name:restored_howl) AND` \
1147
- # `(metadata.progress.start_time < \"2018-03-28T14:50:00Z\") AND` \
1148
- # `(error:*)` - Return operations where:
1149
- # * The operation's metadata type is RestoreDatabaseMetadata.
1150
- # * The database is restored from a backup.
1151
- # * The backup name contains "backup_howl".
1152
- # * The restored database's name contains "restored_howl".
1153
- # * The operation started before 2018-03-28T14:50:00Z.
1154
- # * The operation resulted in an error.
1018
+ # An expression that filters the list of returned operations. A filter
1019
+ # expression consists of a field name, a comparison operator, and a value for
1020
+ # filtering. The value must be a string, a number, or a boolean. The comparison
1021
+ # operator must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`. Colon `:` is
1022
+ # the contains operator. Filter rules are not case sensitive. The following
1023
+ # fields in the Operation are eligible for filtering: * `name` - The name of the
1024
+ # long-running operation * `done` - False if the operation is in progress, else
1025
+ # true. * `metadata.@type` - the type of metadata. For example, the type string
1026
+ # for RestoreDatabaseMetadata is `type.googleapis.com/google.spanner.admin.
1027
+ # database.v1.RestoreDatabaseMetadata`. * `metadata.` - any field in metadata.
1028
+ # value. * `error` - Error associated with the long-running operation. * `
1029
+ # response.@type` - the type of response. * `response.` - any field in response.
1030
+ # value. You can combine multiple expressions by enclosing each expression in
1031
+ # parentheses. By default, expressions are combined with AND logic. However, you
1032
+ # can specify AND, OR, and NOT logic explicitly. Here are a few examples: * `
1033
+ # done:true` - The operation is complete. * `(metadata.@type=type.googleapis.com/
1034
+ # google.spanner.admin.database.v1.RestoreDatabaseMetadata) AND` \ `(metadata.
1035
+ # source_type:BACKUP) AND` \ `(metadata.backup_info.backup:backup_howl) AND` \ `(
1036
+ # metadata.name:restored_howl) AND` \ `(metadata.progress.start_time < \"2018-03-
1037
+ # 28T14:50:00Z\") AND` \ `(error:*)` - Return operations where: * The operation'
1038
+ # s metadata type is RestoreDatabaseMetadata. * The database is restored from a
1039
+ # backup. * The backup name contains "backup_howl". * The restored database's
1040
+ # name contains "restored_howl". * The operation started before 2018-03-28T14:50:
1041
+ # 00Z. * The operation resulted in an error.
1155
1042
  # @param [Fixnum] page_size
1156
- # Number of operations to be returned in the response. If 0 or
1157
- # less, defaults to the server's maximum allowed page size.
1043
+ # Number of operations to be returned in the response. If 0 or less, defaults to
1044
+ # the server's maximum allowed page size.
1158
1045
  # @param [String] page_token
1159
- # If non-empty, `page_token` should contain a
1160
- # next_page_token
1161
- # from a previous ListDatabaseOperationsResponse to the
1162
- # same `parent` and with the same `filter`.
1046
+ # If non-empty, `page_token` should contain a next_page_token from a previous
1047
+ # ListDatabaseOperationsResponse to the same `parent` and with the same `filter`.
1163
1048
  # @param [String] fields
1164
1049
  # Selector specifying which fields to include in a partial response.
1165
1050
  # @param [String] quota_user
@@ -1190,17 +1075,13 @@ module Google
1190
1075
  execute_or_queue_command(command, &block)
1191
1076
  end
1192
1077
 
1193
- # Creates a new Cloud Spanner database and starts to prepare it for serving.
1194
- # The returned long-running operation will
1195
- # have a name of the format `<database_name>/operations/<operation_id>` and
1196
- # can be used to track preparation of the database. The
1197
- # metadata field type is
1198
- # CreateDatabaseMetadata. The
1199
- # response field type is
1200
- # Database, if successful.
1078
+ # Creates a new Cloud Spanner database and starts to prepare it for serving. The
1079
+ # returned long-running operation will have a name of the format `/operations/`
1080
+ # and can be used to track preparation of the database. The metadata field type
1081
+ # is CreateDatabaseMetadata. The response field type is Database, if successful.
1201
1082
  # @param [String] parent
1202
- # Required. The name of the instance that will serve the new database.
1203
- # Values are of the form `projects/<project>/instances/<instance>`.
1083
+ # Required. The name of the instance that will serve the new database. Values
1084
+ # are of the form `projects//instances/`.
1204
1085
  # @param [Google::Apis::SpannerV1::CreateDatabaseRequest] create_database_request_object
1205
1086
  # @param [String] fields
1206
1087
  # Selector specifying which fields to include in a partial response.
@@ -1231,9 +1112,8 @@ module Google
1231
1112
  execute_or_queue_command(command, &block)
1232
1113
  end
1233
1114
 
1234
- # Drops (aka deletes) a Cloud Spanner database.
1235
- # Completed backups for the database will be retained according to their
1236
- # `expire_time`.
1115
+ # Drops (aka deletes) a Cloud Spanner database. Completed backups for the
1116
+ # database will be retained according to their `expire_time`.
1237
1117
  # @param [String] database
1238
1118
  # Required. The database to be dropped.
1239
1119
  # @param [String] fields
@@ -1265,8 +1145,8 @@ module Google
1265
1145
 
1266
1146
  # Gets the state of a Cloud Spanner database.
1267
1147
  # @param [String] name
1268
- # Required. The name of the requested database. Values are of the form
1269
- # `projects/<project>/instances/<instance>/databases/<database>`.
1148
+ # Required. The name of the requested database. Values are of the form `projects/
1149
+ # /instances//databases/`.
1270
1150
  # @param [String] fields
1271
1151
  # Selector specifying which fields to include in a partial response.
1272
1152
  # @param [String] quota_user
@@ -1294,13 +1174,12 @@ module Google
1294
1174
  execute_or_queue_command(command, &block)
1295
1175
  end
1296
1176
 
1297
- # Returns the schema of a Cloud Spanner database as a list of formatted
1298
- # DDL statements. This method does not show pending schema updates, those may
1299
- # be queried using the Operations API.
1177
+ # Returns the schema of a Cloud Spanner database as a list of formatted DDL
1178
+ # statements. This method does not show pending schema updates, those may be
1179
+ # queried using the Operations API.
1300
1180
  # @param [String] database
1301
- # Required. The database whose schema we wish to get.
1302
- # Values are of the form
1303
- # `projects/<project>/instances/<instance>/databases/<database>`
1181
+ # Required. The database whose schema we wish to get. Values are of the form `
1182
+ # projects//instances//databases/`
1304
1183
  # @param [String] fields
1305
1184
  # Selector specifying which fields to include in a partial response.
1306
1185
  # @param [String] quota_user
@@ -1328,18 +1207,15 @@ module Google
1328
1207
  execute_or_queue_command(command, &block)
1329
1208
  end
1330
1209
 
1331
- # Gets the access control policy for a database or backup resource.
1332
- # Returns an empty policy if a database or backup exists but does not have a
1333
- # policy set.
1334
- # Authorization requires `spanner.databases.getIamPolicy` permission on
1335
- # resource.
1336
- # For backups, authorization requires `spanner.backups.getIamPolicy`
1337
- # permission on resource.
1210
+ # Gets the access control policy for a database or backup resource. Returns an
1211
+ # empty policy if a database or backup exists but does not have a policy set.
1212
+ # Authorization requires `spanner.databases.getIamPolicy` permission on resource.
1213
+ # For backups, authorization requires `spanner.backups.getIamPolicy` permission
1214
+ # on resource.
1338
1215
  # @param [String] resource
1339
1216
  # REQUIRED: The Cloud Spanner resource for which the policy is being retrieved.
1340
- # The format is `projects/<project ID>/instances/<instance ID>` for instance
1341
- # resources and `projects/<project ID>/instances/<instance ID>/databases/<
1342
- # database ID>` for database resources.
1217
+ # The format is `projects//instances/` for instance resources and `projects//
1218
+ # instances//databases/` for database resources.
1343
1219
  # @param [Google::Apis::SpannerV1::GetIamPolicyRequest] get_iam_policy_request_object
1344
1220
  # @param [String] fields
1345
1221
  # Selector specifying which fields to include in a partial response.
@@ -1372,15 +1248,14 @@ module Google
1372
1248
 
1373
1249
  # Lists Cloud Spanner databases.
1374
1250
  # @param [String] parent
1375
- # Required. The instance whose databases should be listed.
1376
- # Values are of the form `projects/<project>/instances/<instance>`.
1251
+ # Required. The instance whose databases should be listed. Values are of the
1252
+ # form `projects//instances/`.
1377
1253
  # @param [Fixnum] page_size
1378
- # Number of databases to be returned in the response. If 0 or less,
1379
- # defaults to the server's maximum allowed page size.
1254
+ # Number of databases to be returned in the response. If 0 or less, defaults to
1255
+ # the server's maximum allowed page size.
1380
1256
  # @param [String] page_token
1381
- # If non-empty, `page_token` should contain a
1382
- # next_page_token from a
1383
- # previous ListDatabasesResponse.
1257
+ # If non-empty, `page_token` should contain a next_page_token from a previous
1258
+ # ListDatabasesResponse.
1384
1259
  # @param [String] fields
1385
1260
  # Selector specifying which fields to include in a partial response.
1386
1261
  # @param [String] quota_user
@@ -1410,30 +1285,23 @@ module Google
1410
1285
  execute_or_queue_command(command, &block)
1411
1286
  end
1412
1287
 
1413
- # Create a new database by restoring from a completed backup. The new
1414
- # database must be in the same project and in an instance with the same
1415
- # instance configuration as the instance containing
1416
- # the backup. The returned database long-running
1417
- # operation has a name of the format
1418
- # `projects/<project>/instances/<instance>/databases/<database>/operations/<
1419
- # operation_id>`,
1420
- # and can be used to track the progress of the operation, and to cancel it.
1421
- # The metadata field type is
1422
- # RestoreDatabaseMetadata.
1423
- # The response type
1424
- # is Database, if
1425
- # successful. Cancelling the returned operation will stop the restore and
1426
- # delete the database.
1427
- # There can be only one database being restored into an instance at a time.
1428
- # Once the restore operation completes, a new restore operation can be
1288
+ # Create a new database by restoring from a completed backup. The new database
1289
+ # must be in the same project and in an instance with the same instance
1290
+ # configuration as the instance containing the backup. The returned database
1291
+ # long-running operation has a name of the format `projects//instances//
1292
+ # databases//operations/`, and can be used to track the progress of the
1293
+ # operation, and to cancel it. The metadata field type is
1294
+ # RestoreDatabaseMetadata. The response type is Database, if successful.
1295
+ # Cancelling the returned operation will stop the restore and delete the
1296
+ # database. There can be only one database being restored into an instance at a
1297
+ # time. Once the restore operation completes, a new restore operation can be
1429
1298
  # initiated, without waiting for the optimize operation associated with the
1430
1299
  # first restore to complete.
1431
1300
  # @param [String] parent
1432
- # Required. The name of the instance in which to create the
1433
- # restored database. This instance must be in the same project and
1434
- # have the same instance configuration as the instance containing
1435
- # the source backup. Values are of the form
1436
- # `projects/<project>/instances/<instance>`.
1301
+ # Required. The name of the instance in which to create the restored database.
1302
+ # This instance must be in the same project and have the same instance
1303
+ # configuration as the instance containing the source backup. Values are of the
1304
+ # form `projects//instances/`.
1437
1305
  # @param [Google::Apis::SpannerV1::RestoreDatabaseRequest] restore_database_request_object
1438
1306
  # @param [String] fields
1439
1307
  # Selector specifying which fields to include in a partial response.
@@ -1464,17 +1332,14 @@ module Google
1464
1332
  execute_or_queue_command(command, &block)
1465
1333
  end
1466
1334
 
1467
- # Sets the access control policy on a database or backup resource.
1468
- # Replaces any existing policy.
1469
- # Authorization requires `spanner.databases.setIamPolicy`
1470
- # permission on resource.
1471
- # For backups, authorization requires `spanner.backups.setIamPolicy`
1472
- # permission on resource.
1335
+ # Sets the access control policy on a database or backup resource. Replaces any
1336
+ # existing policy. Authorization requires `spanner.databases.setIamPolicy`
1337
+ # permission on resource. For backups, authorization requires `spanner.backups.
1338
+ # setIamPolicy` permission on resource.
1473
1339
  # @param [String] resource
1474
1340
  # REQUIRED: The Cloud Spanner resource for which the policy is being set. The
1475
- # format is `projects/<project ID>/instances/<instance ID>` for instance
1476
- # resources and `projects/<project ID>/instances/<instance ID>/databases/<
1477
- # database ID>` for databases resources.
1341
+ # format is `projects//instances/` for instance resources and `projects//
1342
+ # instances//databases/` for databases resources.
1478
1343
  # @param [Google::Apis::SpannerV1::SetIamPolicyRequest] set_iam_policy_request_object
1479
1344
  # @param [String] fields
1480
1345
  # Selector specifying which fields to include in a partial response.
@@ -1506,19 +1371,16 @@ module Google
1506
1371
  end
1507
1372
 
1508
1373
  # Returns permissions that the caller has on the specified database or backup
1509
- # resource.
1510
- # Attempting this RPC on a non-existent Cloud Spanner database will
1511
- # result in a NOT_FOUND error if the user has
1512
- # `spanner.databases.list` permission on the containing Cloud
1513
- # Spanner instance. Otherwise returns an empty set of permissions.
1514
- # Calling this method on a backup that does not exist will
1515
- # result in a NOT_FOUND error if the user has
1516
- # `spanner.backups.list` permission on the containing instance.
1374
+ # resource. Attempting this RPC on a non-existent Cloud Spanner database will
1375
+ # result in a NOT_FOUND error if the user has `spanner.databases.list`
1376
+ # permission on the containing Cloud Spanner instance. Otherwise returns an
1377
+ # empty set of permissions. Calling this method on a backup that does not exist
1378
+ # will result in a NOT_FOUND error if the user has `spanner.backups.list`
1379
+ # permission on the containing instance.
1517
1380
  # @param [String] resource
1518
1381
  # REQUIRED: The Cloud Spanner resource for which permissions are being tested.
1519
- # The format is `projects/<project ID>/instances/<instance ID>` for instance
1520
- # resources and `projects/<project ID>/instances/<instance ID>/databases/<
1521
- # database ID>` for database resources.
1382
+ # The format is `projects//instances/` for instance resources and `projects//
1383
+ # instances//databases/` for database resources.
1522
1384
  # @param [Google::Apis::SpannerV1::TestIamPermissionsRequest] test_iam_permissions_request_object
1523
1385
  # @param [String] fields
1524
1386
  # Selector specifying which fields to include in a partial response.
@@ -1549,13 +1411,11 @@ module Google
1549
1411
  execute_or_queue_command(command, &block)
1550
1412
  end
1551
1413
 
1552
- # Updates the schema of a Cloud Spanner database by
1553
- # creating/altering/dropping tables, columns, indexes, etc. The returned
1554
- # long-running operation will have a name of
1555
- # the format `<database_name>/operations/<operation_id>` and can be used to
1556
- # track execution of the schema change(s). The
1557
- # metadata field type is
1558
- # UpdateDatabaseDdlMetadata. The operation has no response.
1414
+ # Updates the schema of a Cloud Spanner database by creating/altering/dropping
1415
+ # tables, columns, indexes, etc. The returned long-running operation will have a
1416
+ # name of the format `/operations/` and can be used to track execution of the
1417
+ # schema change(s). The metadata field type is UpdateDatabaseDdlMetadata. The
1418
+ # operation has no response.
1559
1419
  # @param [String] database
1560
1420
  # Required. The database to update.
1561
1421
  # @param [Google::Apis::SpannerV1::UpdateDatabaseDdlRequest] update_database_ddl_request_object
@@ -1588,15 +1448,13 @@ module Google
1588
1448
  execute_or_queue_command(command, &block)
1589
1449
  end
1590
1450
 
1591
- # Starts asynchronous cancellation on a long-running operation. The server
1592
- # makes a best effort to cancel the operation, but success is not
1593
- # guaranteed. If the server doesn't support this method, it returns
1594
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
1595
- # Operations.GetOperation or
1596
- # other methods to check whether the cancellation succeeded or whether the
1597
- # operation completed despite cancellation. On successful cancellation,
1598
- # the operation is not deleted; instead, it becomes an operation with
1599
- # an Operation.error value with a google.rpc.Status.code of 1,
1451
+ # Starts asynchronous cancellation on a long-running operation. The server makes
1452
+ # a best effort to cancel the operation, but success is not guaranteed. If the
1453
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
1454
+ # Clients can use Operations.GetOperation or other methods to check whether the
1455
+ # cancellation succeeded or whether the operation completed despite cancellation.
1456
+ # On successful cancellation, the operation is not deleted; instead, it becomes
1457
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
1600
1458
  # corresponding to `Code.CANCELLED`.
1601
1459
  # @param [String] name
1602
1460
  # The name of the operation resource to be cancelled.
@@ -1627,10 +1485,10 @@ module Google
1627
1485
  execute_or_queue_command(command, &block)
1628
1486
  end
1629
1487
 
1630
- # Deletes a long-running operation. This method indicates that the client is
1631
- # no longer interested in the operation result. It does not cancel the
1632
- # operation. If the server doesn't support this method, it returns
1633
- # `google.rpc.Code.UNIMPLEMENTED`.
1488
+ # Deletes a long-running operation. This method indicates that the client is no
1489
+ # longer interested in the operation result. It does not cancel the operation.
1490
+ # If the server doesn't support this method, it returns `google.rpc.Code.
1491
+ # UNIMPLEMENTED`.
1634
1492
  # @param [String] name
1635
1493
  # The name of the operation resource to be deleted.
1636
1494
  # @param [String] fields
@@ -1660,9 +1518,8 @@ module Google
1660
1518
  execute_or_queue_command(command, &block)
1661
1519
  end
1662
1520
 
1663
- # Gets the latest state of a long-running operation. Clients can use this
1664
- # method to poll the operation result at intervals as recommended by the API
1665
- # service.
1521
+ # Gets the latest state of a long-running operation. Clients can use this method
1522
+ # to poll the operation result at intervals as recommended by the API service.
1666
1523
  # @param [String] name
1667
1524
  # The name of the operation resource.
1668
1525
  # @param [String] fields
@@ -1692,15 +1549,14 @@ module Google
1692
1549
  execute_or_queue_command(command, &block)
1693
1550
  end
1694
1551
 
1695
- # Lists operations that match the specified filter in the request. If the
1696
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
1697
- # NOTE: the `name` binding allows API services to override the binding
1698
- # to use different resource name schemes, such as `users/*/operations`. To
1699
- # override the binding, API services can add a binding such as
1700
- # `"/v1/`name=users/*`/operations"` to their service configuration.
1701
- # For backwards compatibility, the default name includes the operations
1702
- # collection id, however overriding users must ensure the name binding
1703
- # is the parent resource, without the operations collection id.
1552
+ # Lists operations that match the specified filter in the request. If the server
1553
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
1554
+ # binding allows API services to override the binding to use different resource
1555
+ # name schemes, such as `users/*/operations`. To override the binding, API
1556
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
1557
+ # service configuration. For backwards compatibility, the default name includes
1558
+ # the operations collection id, however overriding users must ensure the name
1559
+ # binding is the parent resource, without the operations collection id.
1704
1560
  # @param [String] name
1705
1561
  # The name of the operation's parent resource.
1706
1562
  # @param [String] filter
@@ -1739,9 +1595,9 @@ module Google
1739
1595
  execute_or_queue_command(command, &block)
1740
1596
  end
1741
1597
 
1742
- # Creates multiple new sessions.
1743
- # This API can be used to initialize a session cache on the clients.
1744
- # See https://goo.gl/TgSFN2 for best practices on session cache management.
1598
+ # Creates multiple new sessions. This API can be used to initialize a session
1599
+ # cache on the clients. See https://goo.gl/TgSFN2 for best practices on session
1600
+ # cache management.
1745
1601
  # @param [String] database
1746
1602
  # Required. The database in which the new sessions are created.
1747
1603
  # @param [Google::Apis::SpannerV1::BatchCreateSessionsRequest] batch_create_sessions_request_object
@@ -1774,10 +1630,8 @@ module Google
1774
1630
  execute_or_queue_command(command, &block)
1775
1631
  end
1776
1632
 
1777
- # Begins a new transaction. This step can often be skipped:
1778
- # Read, ExecuteSql and
1779
- # Commit can begin a new transaction as a
1780
- # side-effect.
1633
+ # Begins a new transaction. This step can often be skipped: Read, ExecuteSql and
1634
+ # Commit can begin a new transaction as a side-effect.
1781
1635
  # @param [String] session
1782
1636
  # Required. The session in which the transaction runs.
1783
1637
  # @param [Google::Apis::SpannerV1::BeginTransactionRequest] begin_transaction_request_object
@@ -1810,18 +1664,16 @@ module Google
1810
1664
  execute_or_queue_command(command, &block)
1811
1665
  end
1812
1666
 
1813
- # Commits a transaction. The request includes the mutations to be
1814
- # applied to rows in the database.
1815
- # `Commit` might return an `ABORTED` error. This can occur at any time;
1816
- # commonly, the cause is conflicts with concurrent
1817
- # transactions. However, it can also happen for a variety of other
1818
- # reasons. If `Commit` returns `ABORTED`, the caller should re-attempt
1819
- # the transaction from the beginning, re-using the same session.
1820
- # On very rare occasions, `Commit` might return `UNKNOWN`. This can happen,
1821
- # for example, if the client job experiences a 1+ hour networking failure.
1822
- # At that point, Cloud Spanner has lost track of the transaction outcome and
1823
- # we recommend that you perform another read from the database to see the
1824
- # state of things as they are now.
1667
+ # Commits a transaction. The request includes the mutations to be applied to
1668
+ # rows in the database. `Commit` might return an `ABORTED` error. This can occur
1669
+ # at any time; commonly, the cause is conflicts with concurrent transactions.
1670
+ # However, it can also happen for a variety of other reasons. If `Commit`
1671
+ # returns `ABORTED`, the caller should re-attempt the transaction from the
1672
+ # beginning, re-using the same session. On very rare occasions, `Commit` might
1673
+ # return `UNKNOWN`. This can happen, for example, if the client job experiences
1674
+ # a 1+ hour networking failure. At that point, Cloud Spanner has lost track of
1675
+ # the transaction outcome and we recommend that you perform another read from
1676
+ # the database to see the state of things as they are now.
1825
1677
  # @param [String] session
1826
1678
  # Required. The session in which the transaction to be committed is running.
1827
1679
  # @param [Google::Apis::SpannerV1::CommitRequest] commit_request_object
@@ -1854,22 +1706,17 @@ module Google
1854
1706
  execute_or_queue_command(command, &block)
1855
1707
  end
1856
1708
 
1857
- # Creates a new session. A session can be used to perform
1858
- # transactions that read and/or modify data in a Cloud Spanner database.
1859
- # Sessions are meant to be reused for many consecutive
1860
- # transactions.
1861
- # Sessions can only execute one transaction at a time. To execute
1862
- # multiple concurrent read-write/write-only transactions, create
1863
- # multiple sessions. Note that standalone reads and queries use a
1864
- # transaction internally, and count toward the one transaction
1865
- # limit.
1709
+ # Creates a new session. A session can be used to perform transactions that read
1710
+ # and/or modify data in a Cloud Spanner database. Sessions are meant to be
1711
+ # reused for many consecutive transactions. Sessions can only execute one
1712
+ # transaction at a time. To execute multiple concurrent read-write/write-only
1713
+ # transactions, create multiple sessions. Note that standalone reads and queries
1714
+ # use a transaction internally, and count toward the one transaction limit.
1866
1715
  # Active sessions use additional server resources, so it is a good idea to
1867
- # delete idle and unneeded sessions.
1868
- # Aside from explicit deletes, Cloud Spanner may delete sessions for which no
1869
- # operations are sent for more than an hour. If a session is deleted,
1870
- # requests to it return `NOT_FOUND`.
1871
- # Idle sessions can be kept alive by sending a trivial SQL query
1872
- # periodically, e.g., `"SELECT 1"`.
1716
+ # delete idle and unneeded sessions. Aside from explicit deletes, Cloud Spanner
1717
+ # may delete sessions for which no operations are sent for more than an hour. If
1718
+ # a session is deleted, requests to it return `NOT_FOUND`. Idle sessions can be
1719
+ # kept alive by sending a trivial SQL query periodically, e.g., `"SELECT 1"`.
1873
1720
  # @param [String] database
1874
1721
  # Required. The database in which the new session is created.
1875
1722
  # @param [Google::Apis::SpannerV1::CreateSessionRequest] create_session_request_object
@@ -1934,15 +1781,13 @@ module Google
1934
1781
  execute_or_queue_command(command, &block)
1935
1782
  end
1936
1783
 
1937
- # Executes a batch of SQL DML statements. This method allows many statements
1938
- # to be run with lower latency than submitting them sequentially with
1939
- # ExecuteSql.
1940
- # Statements are executed in sequential order. A request can succeed even if
1941
- # a statement fails. The ExecuteBatchDmlResponse.status field in the
1942
- # response provides information about the statement that failed. Clients must
1943
- # inspect this field to determine whether an error occurred.
1944
- # Execution stops after the first failed statement; the remaining statements
1945
- # are not executed.
1784
+ # Executes a batch of SQL DML statements. This method allows many statements to
1785
+ # be run with lower latency than submitting them sequentially with ExecuteSql.
1786
+ # Statements are executed in sequential order. A request can succeed even if a
1787
+ # statement fails. The ExecuteBatchDmlResponse.status field in the response
1788
+ # provides information about the statement that failed. Clients must inspect
1789
+ # this field to determine whether an error occurred. Execution stops after the
1790
+ # first failed statement; the remaining statements are not executed.
1946
1791
  # @param [String] session
1947
1792
  # Required. The session in which the DML statements should be performed.
1948
1793
  # @param [Google::Apis::SpannerV1::ExecuteBatchDmlRequest] execute_batch_dml_request_object
@@ -1976,14 +1821,12 @@ module Google
1976
1821
  end
1977
1822
 
1978
1823
  # Executes an SQL statement, returning all results in a single reply. This
1979
- # method cannot be used to return a result set larger than 10 MiB;
1980
- # if the query yields more data than that, the query fails with
1981
- # a `FAILED_PRECONDITION` error.
1982
- # Operations inside read-write transactions might return `ABORTED`. If
1983
- # this occurs, the application should restart the transaction from
1984
- # the beginning. See Transaction for more details.
1985
- # Larger result sets can be fetched in streaming fashion by calling
1986
- # ExecuteStreamingSql instead.
1824
+ # method cannot be used to return a result set larger than 10 MiB; if the query
1825
+ # yields more data than that, the query fails with a `FAILED_PRECONDITION` error.
1826
+ # Operations inside read-write transactions might return `ABORTED`. If this
1827
+ # occurs, the application should restart the transaction from the beginning. See
1828
+ # Transaction for more details. Larger result sets can be fetched in streaming
1829
+ # fashion by calling ExecuteStreamingSql instead.
1987
1830
  # @param [String] session
1988
1831
  # Required. The session in which the SQL query should be performed.
1989
1832
  # @param [Google::Apis::SpannerV1::ExecuteSqlRequest] execute_sql_request_object
@@ -2016,11 +1859,10 @@ module Google
2016
1859
  execute_or_queue_command(command, &block)
2017
1860
  end
2018
1861
 
2019
- # Like ExecuteSql, except returns the result
2020
- # set as a stream. Unlike ExecuteSql, there
2021
- # is no limit on the size of the returned result set. However, no
2022
- # individual row in the result set can exceed 100 MiB, and no
2023
- # column value can exceed 10 MiB.
1862
+ # Like ExecuteSql, except returns the result set as a stream. Unlike ExecuteSql,
1863
+ # there is no limit on the size of the returned result set. However, no
1864
+ # individual row in the result set can exceed 100 MiB, and no column value can
1865
+ # exceed 10 MiB.
2024
1866
  # @param [String] session
2025
1867
  # Required. The session in which the SQL query should be performed.
2026
1868
  # @param [Google::Apis::SpannerV1::ExecuteSqlRequest] execute_sql_request_object
@@ -2053,9 +1895,8 @@ module Google
2053
1895
  execute_or_queue_command(command, &block)
2054
1896
  end
2055
1897
 
2056
- # Gets a session. Returns `NOT_FOUND` if the session does not exist.
2057
- # This is mainly useful for determining whether a session is still
2058
- # alive.
1898
+ # Gets a session. Returns `NOT_FOUND` if the session does not exist. This is
1899
+ # mainly useful for determining whether a session is still alive.
2059
1900
  # @param [String] name
2060
1901
  # Required. The name of the session to retrieve.
2061
1902
  # @param [String] fields
@@ -2089,19 +1930,16 @@ module Google
2089
1930
  # @param [String] database
2090
1931
  # Required. The database in which to list sessions.
2091
1932
  # @param [String] filter
2092
- # An expression for filtering the results of the request. Filter rules are
2093
- # case insensitive. The fields eligible for filtering are:
2094
- # * `labels.key` where key is the name of a label
2095
- # Some examples of using filters are:
2096
- # * `labels.env:*` --> The session has the label "env".
2097
- # * `labels.env:dev` --> The session has the label "env" and the value of
2098
- # the label contains the string "dev".
1933
+ # An expression for filtering the results of the request. Filter rules are case
1934
+ # insensitive. The fields eligible for filtering are: * `labels.key` where key
1935
+ # is the name of a label Some examples of using filters are: * `labels.env:*` -->
1936
+ # The session has the label "env". * `labels.env:dev` --> The session has the
1937
+ # label "env" and the value of the label contains the string "dev".
2099
1938
  # @param [Fixnum] page_size
2100
- # Number of sessions to be returned in the response. If 0 or less, defaults
2101
- # to the server's maximum allowed page size.
1939
+ # Number of sessions to be returned in the response. If 0 or less, defaults to
1940
+ # the server's maximum allowed page size.
2102
1941
  # @param [String] page_token
2103
- # If non-empty, `page_token` should contain a
2104
- # next_page_token from a previous
1942
+ # If non-empty, `page_token` should contain a next_page_token from a previous
2105
1943
  # ListSessionsResponse.
2106
1944
  # @param [String] fields
2107
1945
  # Selector specifying which fields to include in a partial response.
@@ -2134,15 +1972,14 @@ module Google
2134
1972
  end
2135
1973
 
2136
1974
  # Creates a set of partition tokens that can be used to execute a query
2137
- # operation in parallel. Each of the returned partition tokens can be used
2138
- # by ExecuteStreamingSql to specify a subset
2139
- # of the query result to read. The same session and read-only transaction
2140
- # must be used by the PartitionQueryRequest used to create the
2141
- # partition tokens and the ExecuteSqlRequests that use the partition tokens.
2142
- # Partition tokens become invalid when the session used to create them
2143
- # is deleted, is idle for too long, begins a new transaction, or becomes too
2144
- # old. When any of these happen, it is not possible to resume the query, and
2145
- # the whole operation must be restarted from the beginning.
1975
+ # operation in parallel. Each of the returned partition tokens can be used by
1976
+ # ExecuteStreamingSql to specify a subset of the query result to read. The same
1977
+ # session and read-only transaction must be used by the PartitionQueryRequest
1978
+ # used to create the partition tokens and the ExecuteSqlRequests that use the
1979
+ # partition tokens. Partition tokens become invalid when the session used to
1980
+ # create them is deleted, is idle for too long, begins a new transaction, or
1981
+ # becomes too old. When any of these happen, it is not possible to resume the
1982
+ # query, and the whole operation must be restarted from the beginning.
2146
1983
  # @param [String] session
2147
1984
  # Required. The session used to create the partitions.
2148
1985
  # @param [Google::Apis::SpannerV1::PartitionQueryRequest] partition_query_request_object
@@ -2175,18 +2012,17 @@ module Google
2175
2012
  execute_or_queue_command(command, &block)
2176
2013
  end
2177
2014
 
2178
- # Creates a set of partition tokens that can be used to execute a read
2179
- # operation in parallel. Each of the returned partition tokens can be used
2180
- # by StreamingRead to specify a subset of the read
2181
- # result to read. The same session and read-only transaction must be used by
2182
- # the PartitionReadRequest used to create the partition tokens and the
2183
- # ReadRequests that use the partition tokens. There are no ordering
2184
- # guarantees on rows returned among the returned partition tokens, or even
2185
- # within each individual StreamingRead call issued with a partition_token.
2186
- # Partition tokens become invalid when the session used to create them
2187
- # is deleted, is idle for too long, begins a new transaction, or becomes too
2188
- # old. When any of these happen, it is not possible to resume the read, and
2189
- # the whole operation must be restarted from the beginning.
2015
+ # Creates a set of partition tokens that can be used to execute a read operation
2016
+ # in parallel. Each of the returned partition tokens can be used by
2017
+ # StreamingRead to specify a subset of the read result to read. The same session
2018
+ # and read-only transaction must be used by the PartitionReadRequest used to
2019
+ # create the partition tokens and the ReadRequests that use the partition tokens.
2020
+ # There are no ordering guarantees on rows returned among the returned
2021
+ # partition tokens, or even within each individual StreamingRead call issued
2022
+ # with a partition_token. Partition tokens become invalid when the session used
2023
+ # to create them is deleted, is idle for too long, begins a new transaction, or
2024
+ # becomes too old. When any of these happen, it is not possible to resume the
2025
+ # read, and the whole operation must be restarted from the beginning.
2190
2026
  # @param [String] session
2191
2027
  # Required. The session used to create the partitions.
2192
2028
  # @param [Google::Apis::SpannerV1::PartitionReadRequest] partition_read_request_object
@@ -2219,15 +2055,12 @@ module Google
2219
2055
  execute_or_queue_command(command, &block)
2220
2056
  end
2221
2057
 
2222
- # Reads rows from the database using key lookups and scans, as a
2223
- # simple key/value style alternative to
2224
- # ExecuteSql. This method cannot be used to
2225
- # return a result set larger than 10 MiB; if the read matches more
2226
- # data than that, the read fails with a `FAILED_PRECONDITION`
2227
- # error.
2228
- # Reads inside read-write transactions might return `ABORTED`. If
2229
- # this occurs, the application should restart the transaction from
2230
- # the beginning. See Transaction for more details.
2058
+ # Reads rows from the database using key lookups and scans, as a simple key/
2059
+ # value style alternative to ExecuteSql. This method cannot be used to return a
2060
+ # result set larger than 10 MiB; if the read matches more data than that, the
2061
+ # read fails with a `FAILED_PRECONDITION` error. Reads inside read-write
2062
+ # transactions might return `ABORTED`. If this occurs, the application should
2063
+ # restart the transaction from the beginning. See Transaction for more details.
2231
2064
  # Larger result sets can be yielded in streaming fashion by calling
2232
2065
  # StreamingRead instead.
2233
2066
  # @param [String] session
@@ -2262,13 +2095,11 @@ module Google
2262
2095
  execute_or_queue_command(command, &block)
2263
2096
  end
2264
2097
 
2265
- # Rolls back a transaction, releasing any locks it holds. It is a good
2266
- # idea to call this for any transaction that includes one or more
2267
- # Read or ExecuteSql requests and
2268
- # ultimately decides not to commit.
2269
- # `Rollback` returns `OK` if it successfully aborts the transaction, the
2270
- # transaction was already aborted, or the transaction is not
2271
- # found. `Rollback` never returns `ABORTED`.
2098
+ # Rolls back a transaction, releasing any locks it holds. It is a good idea to
2099
+ # call this for any transaction that includes one or more Read or ExecuteSql
2100
+ # requests and ultimately decides not to commit. `Rollback` returns `OK` if it
2101
+ # successfully aborts the transaction, the transaction was already aborted, or
2102
+ # the transaction is not found. `Rollback` never returns `ABORTED`.
2272
2103
  # @param [String] session
2273
2104
  # Required. The session in which the transaction to roll back is running.
2274
2105
  # @param [Google::Apis::SpannerV1::RollbackRequest] rollback_request_object
@@ -2301,11 +2132,9 @@ module Google
2301
2132
  execute_or_queue_command(command, &block)
2302
2133
  end
2303
2134
 
2304
- # Like Read, except returns the result set as a
2305
- # stream. Unlike Read, there is no limit on the
2306
- # size of the returned result set. However, no individual row in
2307
- # the result set can exceed 100 MiB, and no column value can exceed
2308
- # 10 MiB.
2135
+ # Like Read, except returns the result set as a stream. Unlike Read, there is no
2136
+ # limit on the size of the returned result set. However, no individual row in
2137
+ # the result set can exceed 100 MiB, and no column value can exceed 10 MiB.
2309
2138
  # @param [String] session
2310
2139
  # Required. The session in which the read should be performed.
2311
2140
  # @param [Google::Apis::SpannerV1::ReadRequest] read_request_object
@@ -2338,15 +2167,13 @@ module Google
2338
2167
  execute_or_queue_command(command, &block)
2339
2168
  end
2340
2169
 
2341
- # Starts asynchronous cancellation on a long-running operation. The server
2342
- # makes a best effort to cancel the operation, but success is not
2343
- # guaranteed. If the server doesn't support this method, it returns
2344
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
2345
- # Operations.GetOperation or
2346
- # other methods to check whether the cancellation succeeded or whether the
2347
- # operation completed despite cancellation. On successful cancellation,
2348
- # the operation is not deleted; instead, it becomes an operation with
2349
- # an Operation.error value with a google.rpc.Status.code of 1,
2170
+ # Starts asynchronous cancellation on a long-running operation. The server makes
2171
+ # a best effort to cancel the operation, but success is not guaranteed. If the
2172
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
2173
+ # Clients can use Operations.GetOperation or other methods to check whether the
2174
+ # cancellation succeeded or whether the operation completed despite cancellation.
2175
+ # On successful cancellation, the operation is not deleted; instead, it becomes
2176
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
2350
2177
  # corresponding to `Code.CANCELLED`.
2351
2178
  # @param [String] name
2352
2179
  # The name of the operation resource to be cancelled.
@@ -2377,10 +2204,10 @@ module Google
2377
2204
  execute_or_queue_command(command, &block)
2378
2205
  end
2379
2206
 
2380
- # Deletes a long-running operation. This method indicates that the client is
2381
- # no longer interested in the operation result. It does not cancel the
2382
- # operation. If the server doesn't support this method, it returns
2383
- # `google.rpc.Code.UNIMPLEMENTED`.
2207
+ # Deletes a long-running operation. This method indicates that the client is no
2208
+ # longer interested in the operation result. It does not cancel the operation.
2209
+ # If the server doesn't support this method, it returns `google.rpc.Code.
2210
+ # UNIMPLEMENTED`.
2384
2211
  # @param [String] name
2385
2212
  # The name of the operation resource to be deleted.
2386
2213
  # @param [String] fields
@@ -2410,9 +2237,8 @@ module Google
2410
2237
  execute_or_queue_command(command, &block)
2411
2238
  end
2412
2239
 
2413
- # Gets the latest state of a long-running operation. Clients can use this
2414
- # method to poll the operation result at intervals as recommended by the API
2415
- # service.
2240
+ # Gets the latest state of a long-running operation. Clients can use this method
2241
+ # to poll the operation result at intervals as recommended by the API service.
2416
2242
  # @param [String] name
2417
2243
  # The name of the operation resource.
2418
2244
  # @param [String] fields
@@ -2442,15 +2268,14 @@ module Google
2442
2268
  execute_or_queue_command(command, &block)
2443
2269
  end
2444
2270
 
2445
- # Lists operations that match the specified filter in the request. If the
2446
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
2447
- # NOTE: the `name` binding allows API services to override the binding
2448
- # to use different resource name schemes, such as `users/*/operations`. To
2449
- # override the binding, API services can add a binding such as
2450
- # `"/v1/`name=users/*`/operations"` to their service configuration.
2451
- # For backwards compatibility, the default name includes the operations
2452
- # collection id, however overriding users must ensure the name binding
2453
- # is the parent resource, without the operations collection id.
2271
+ # Lists operations that match the specified filter in the request. If the server
2272
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
2273
+ # binding allows API services to override the binding to use different resource
2274
+ # name schemes, such as `users/*/operations`. To override the binding, API
2275
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
2276
+ # service configuration. For backwards compatibility, the default name includes
2277
+ # the operations collection id, however overriding users must ensure the name
2278
+ # binding is the parent resource, without the operations collection id.
2454
2279
  # @param [String] name
2455
2280
  # The name of the operation's parent resource.
2456
2281
  # @param [String] filter