google-api-client 0.42.2 → 0.45.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (959) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +535 -0
  3. data/api_names.yaml +1 -0
  4. data/docs/oauth-server.md +4 -6
  5. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  6. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  7. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  8. data/generated/google/apis/accessapproval_v1.rb +1 -1
  9. data/generated/google/apis/accessapproval_v1/classes.rb +59 -83
  10. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  11. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  12. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  13. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  14. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  15. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  16. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  17. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  18. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  21. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  22. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  23. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  24. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  25. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  26. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  27. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  28. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  29. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  30. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  31. data/generated/google/apis/admin_directory_v1.rb +6 -8
  32. data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
  33. data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
  34. data/generated/google/apis/admin_directory_v1/service.rb +535 -998
  35. data/generated/google/apis/admin_reports_v1.rb +6 -5
  36. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  37. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  38. data/generated/google/apis/admob_v1.rb +4 -1
  39. data/generated/google/apis/admob_v1/classes.rb +139 -270
  40. data/generated/google/apis/admob_v1/service.rb +11 -13
  41. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  42. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  43. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  44. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  45. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  46. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  47. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  48. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  49. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  52. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  53. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  54. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  55. data/generated/google/apis/androidenterprise_v1/service.rb +183 -242
  56. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  57. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
  58. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  59. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  60. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  61. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  62. data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
  63. data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
  64. data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
  65. data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
  66. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  67. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  68. data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
  69. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  70. data/generated/google/apis/apigee_v1.rb +6 -8
  71. data/generated/google/apis/apigee_v1/classes.rb +1123 -1214
  72. data/generated/google/apis/apigee_v1/representations.rb +139 -0
  73. data/generated/google/apis/apigee_v1/service.rb +1018 -1151
  74. data/generated/google/apis/appengine_v1.rb +1 -1
  75. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  76. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  77. data/generated/google/apis/appengine_v1/service.rb +38 -47
  78. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  80. data/generated/google/apis/appengine_v1beta.rb +1 -1
  81. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  82. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  83. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  84. data/generated/google/apis/appsmarket_v2.rb +1 -1
  85. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  86. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  87. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +242 -337
  88. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  89. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  90. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  91. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
  92. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
  93. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  94. data/generated/google/apis/bigquery_v2.rb +1 -1
  95. data/generated/google/apis/bigquery_v2/classes.rb +381 -553
  96. data/generated/google/apis/bigquery_v2/representations.rb +16 -0
  97. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  98. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  99. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  100. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  101. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  102. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  103. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  104. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  105. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  106. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  107. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  108. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  109. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  110. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  111. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  112. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  113. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  114. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  115. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  116. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  117. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  118. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  119. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  120. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  121. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  122. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  123. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +107 -118
  124. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  125. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  126. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  127. data/generated/google/apis/binaryauthorization_v1/classes.rb +246 -354
  128. data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
  129. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  130. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  131. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +246 -354
  132. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  134. data/generated/google/apis/blogger_v2.rb +2 -3
  135. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  136. data/generated/google/apis/blogger_v2/service.rb +1 -2
  137. data/generated/google/apis/blogger_v3.rb +2 -3
  138. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  139. data/generated/google/apis/blogger_v3/service.rb +1 -2
  140. data/generated/google/apis/calendar_v3.rb +1 -1
  141. data/generated/google/apis/calendar_v3/classes.rb +11 -9
  142. data/generated/google/apis/chat_v1.rb +1 -1
  143. data/generated/google/apis/chat_v1/classes.rb +91 -116
  144. data/generated/google/apis/chat_v1/service.rb +30 -42
  145. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  146. data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
  147. data/generated/google/apis/civicinfo_v2.rb +1 -1
  148. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  149. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  150. data/generated/google/apis/classroom_v1.rb +7 -1
  151. data/generated/google/apis/classroom_v1/classes.rb +382 -365
  152. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  153. data/generated/google/apis/classroom_v1/service.rb +883 -902
  154. data/generated/google/apis/cloudasset_v1.rb +1 -1
  155. data/generated/google/apis/cloudasset_v1/classes.rb +765 -1036
  156. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  157. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  158. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  159. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  160. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  161. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  162. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  163. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  164. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  165. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  166. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  167. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  168. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -718
  169. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  170. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  171. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  172. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  173. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  174. data/generated/google/apis/cloudbuild_v1/classes.rb +371 -343
  175. data/generated/google/apis/cloudbuild_v1/representations.rb +23 -0
  176. data/generated/google/apis/cloudbuild_v1/service.rb +265 -66
  177. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  178. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  179. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  180. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  181. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  182. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  183. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  184. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  185. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  186. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  187. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  188. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  189. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  190. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  191. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  192. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  193. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
  194. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  195. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  196. data/generated/google/apis/cloudidentity_v1/classes.rb +977 -75
  197. data/generated/google/apis/cloudidentity_v1/representations.rb +388 -0
  198. data/generated/google/apis/cloudidentity_v1/service.rb +841 -62
  199. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  200. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1059 -318
  201. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
  202. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  203. data/generated/google/apis/cloudiot_v1.rb +1 -1
  204. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  205. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  206. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  207. data/generated/google/apis/cloudkms_v1.rb +1 -1
  208. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  209. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  210. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  211. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  212. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  213. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  214. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  215. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  216. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  217. data/generated/google/apis/cloudresourcemanager_v1/service.rb +60 -58
  218. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  219. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  220. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  221. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +24 -23
  222. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  223. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  224. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  225. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  226. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  227. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  228. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  229. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  230. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  231. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  232. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  233. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  234. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  235. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  236. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  237. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  238. data/generated/google/apis/cloudshell_v1.rb +1 -1
  239. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  240. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  241. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  242. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  243. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  244. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  245. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  246. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  247. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  248. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  249. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  250. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  251. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  252. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  253. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  254. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  255. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  256. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  257. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  258. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  259. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  260. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  261. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  262. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  263. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  264. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  265. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  266. data/generated/google/apis/composer_v1.rb +1 -1
  267. data/generated/google/apis/composer_v1/classes.rb +190 -242
  268. data/generated/google/apis/composer_v1/service.rb +79 -150
  269. data/generated/google/apis/composer_v1beta1.rb +1 -1
  270. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  271. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  272. data/generated/google/apis/compute_alpha.rb +1 -1
  273. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  274. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  275. data/generated/google/apis/compute_alpha/service.rb +710 -699
  276. data/generated/google/apis/compute_beta.rb +1 -1
  277. data/generated/google/apis/compute_beta/classes.rb +607 -82
  278. data/generated/google/apis/compute_beta/representations.rb +114 -1
  279. data/generated/google/apis/compute_beta/service.rb +623 -612
  280. data/generated/google/apis/compute_v1.rb +1 -1
  281. data/generated/google/apis/compute_v1/classes.rb +1014 -99
  282. data/generated/google/apis/compute_v1/representations.rb +390 -15
  283. data/generated/google/apis/compute_v1/service.rb +809 -33
  284. data/generated/google/apis/container_v1.rb +1 -1
  285. data/generated/google/apis/container_v1/classes.rb +996 -965
  286. data/generated/google/apis/container_v1/representations.rb +75 -0
  287. data/generated/google/apis/container_v1/service.rb +435 -502
  288. data/generated/google/apis/container_v1beta1.rb +1 -1
  289. data/generated/google/apis/container_v1beta1/classes.rb +1094 -1044
  290. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  291. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  292. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  293. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  294. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  295. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  296. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  297. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  298. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  299. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  300. data/generated/google/apis/content_v2.rb +1 -1
  301. data/generated/google/apis/content_v2/classes.rb +14 -2
  302. data/generated/google/apis/content_v2_1.rb +1 -1
  303. data/generated/google/apis/content_v2_1/classes.rb +116 -5
  304. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  305. data/generated/google/apis/content_v2_1/service.rb +53 -2
  306. data/generated/google/apis/customsearch_v1.rb +1 -1
  307. data/generated/google/apis/customsearch_v1/classes.rb +303 -492
  308. data/generated/google/apis/customsearch_v1/service.rb +186 -343
  309. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  310. data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -1
  311. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  312. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  313. data/generated/google/apis/dataflow_v1b3/classes.rb +1150 -973
  314. data/generated/google/apis/dataflow_v1b3/representations.rb +145 -0
  315. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  316. data/generated/google/apis/datafusion_v1.rb +40 -0
  317. data/generated/google/apis/datafusion_v1/classes.rb +1040 -0
  318. data/generated/google/apis/datafusion_v1/representations.rb +395 -0
  319. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  320. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  321. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  322. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  323. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  324. data/generated/google/apis/dataproc_v1.rb +1 -1
  325. data/generated/google/apis/dataproc_v1/classes.rb +250 -328
  326. data/generated/google/apis/dataproc_v1/representations.rb +18 -0
  327. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  328. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  329. data/generated/google/apis/dataproc_v1beta2/classes.rb +274 -323
  330. data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
  331. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  332. data/generated/google/apis/datastore_v1.rb +1 -1
  333. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  334. data/generated/google/apis/datastore_v1/service.rb +52 -63
  335. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  336. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  337. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  338. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  339. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  340. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  341. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  342. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  343. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  344. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  345. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  346. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  347. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  348. data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
  349. data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
  350. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  351. data/generated/google/apis/dialogflow_v2.rb +1 -1
  352. data/generated/google/apis/dialogflow_v2/classes.rb +1318 -1613
  353. data/generated/google/apis/dialogflow_v2/representations.rb +53 -15
  354. data/generated/google/apis/dialogflow_v2/service.rb +324 -448
  355. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  356. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1396 -1705
  357. data/generated/google/apis/dialogflow_v2beta1/representations.rb +53 -15
  358. data/generated/google/apis/dialogflow_v2beta1/service.rb +915 -996
  359. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  360. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8210 -0
  361. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3461 -0
  362. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  363. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  364. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  365. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  366. data/generated/google/apis/displayvideo_v1.rb +1 -1
  367. data/generated/google/apis/displayvideo_v1/classes.rb +158 -7
  368. data/generated/google/apis/displayvideo_v1/representations.rb +41 -0
  369. data/generated/google/apis/displayvideo_v1/service.rb +147 -31
  370. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  371. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  372. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  373. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  374. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  375. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  376. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  377. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  378. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  379. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  380. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  381. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  382. data/generated/google/apis/dlp_v2.rb +1 -1
  383. data/generated/google/apis/dlp_v2/classes.rb +1076 -1301
  384. data/generated/google/apis/dlp_v2/service.rb +962 -905
  385. data/generated/google/apis/dns_v1.rb +1 -1
  386. data/generated/google/apis/dns_v1/classes.rb +175 -198
  387. data/generated/google/apis/dns_v1/service.rb +82 -97
  388. data/generated/google/apis/dns_v1beta2.rb +1 -1
  389. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  390. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  391. data/generated/google/apis/docs_v1.rb +1 -1
  392. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  393. data/generated/google/apis/docs_v1/service.rb +17 -22
  394. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  395. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  396. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  397. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  398. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  399. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  400. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  401. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  402. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +8 -15
  403. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  404. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  405. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +202 -15
  406. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  407. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  408. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  409. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  410. data/generated/google/apis/drive_v2.rb +1 -1
  411. data/generated/google/apis/drive_v2/classes.rb +17 -7
  412. data/generated/google/apis/drive_v2/representations.rb +1 -0
  413. data/generated/google/apis/drive_v2/service.rb +79 -15
  414. data/generated/google/apis/drive_v3.rb +1 -1
  415. data/generated/google/apis/drive_v3/classes.rb +23 -7
  416. data/generated/google/apis/drive_v3/representations.rb +2 -0
  417. data/generated/google/apis/drive_v3/service.rb +59 -11
  418. data/generated/google/apis/driveactivity_v2.rb +1 -1
  419. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  420. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  421. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  422. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  423. data/generated/google/apis/file_v1.rb +1 -1
  424. data/generated/google/apis/file_v1/classes.rb +154 -173
  425. data/generated/google/apis/file_v1/service.rb +43 -52
  426. data/generated/google/apis/file_v1beta1.rb +1 -1
  427. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  428. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  429. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  430. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  431. data/generated/google/apis/firebase_v1beta1/classes.rb +325 -375
  432. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  433. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  434. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  435. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  436. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  437. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  438. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  439. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  440. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  441. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +334 -177
  442. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  443. data/generated/google/apis/firebasehosting_v1beta1/service.rb +530 -149
  444. data/generated/google/apis/firebaseml_v1.rb +1 -1
  445. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  446. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  447. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  448. data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -77
  449. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  450. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  451. data/generated/google/apis/firebaserules_v1.rb +1 -1
  452. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  453. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  454. data/generated/google/apis/firestore_v1.rb +1 -1
  455. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  456. data/generated/google/apis/firestore_v1/service.rb +165 -201
  457. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  458. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  459. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  460. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  461. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  462. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  463. data/generated/google/apis/fitness_v1.rb +3 -3
  464. data/generated/google/apis/fitness_v1/classes.rb +172 -210
  465. data/generated/google/apis/fitness_v1/service.rb +125 -146
  466. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  467. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  468. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  469. data/generated/google/apis/games_management_v1management.rb +2 -3
  470. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  471. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  472. data/generated/google/apis/games_v1.rb +2 -3
  473. data/generated/google/apis/games_v1/classes.rb +76 -83
  474. data/generated/google/apis/games_v1/representations.rb +2 -0
  475. data/generated/google/apis/games_v1/service.rb +84 -90
  476. data/generated/google/apis/gameservices_v1.rb +1 -1
  477. data/generated/google/apis/gameservices_v1/classes.rb +351 -523
  478. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  479. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  480. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  481. data/generated/google/apis/gameservices_v1beta/classes.rb +351 -523
  482. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  483. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  484. data/generated/google/apis/genomics_v1.rb +1 -1
  485. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  486. data/generated/google/apis/genomics_v1/service.rb +28 -43
  487. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  488. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  489. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  490. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  491. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  492. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  493. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  494. data/generated/google/apis/gmail_v1.rb +3 -3
  495. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  496. data/generated/google/apis/gmail_v1/service.rb +260 -288
  497. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  498. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  499. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  500. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  501. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  502. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  503. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  504. data/generated/google/apis/healthcare_v1.rb +1 -1
  505. data/generated/google/apis/healthcare_v1/classes.rb +635 -826
  506. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  507. data/generated/google/apis/healthcare_v1/service.rb +842 -844
  508. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  509. data/generated/google/apis/healthcare_v1beta1/classes.rb +887 -1086
  510. data/generated/google/apis/healthcare_v1beta1/representations.rb +60 -0
  511. data/generated/google/apis/healthcare_v1beta1/service.rb +1149 -1109
  512. data/generated/google/apis/homegraph_v1.rb +4 -1
  513. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  514. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  515. data/generated/google/apis/iam_v1.rb +5 -2
  516. data/generated/google/apis/iam_v1/classes.rb +395 -592
  517. data/generated/google/apis/iam_v1/representations.rb +1 -0
  518. data/generated/google/apis/iam_v1/service.rb +431 -556
  519. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  520. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  521. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  522. data/generated/google/apis/iap_v1.rb +1 -1
  523. data/generated/google/apis/iap_v1/classes.rb +253 -355
  524. data/generated/google/apis/iap_v1/representations.rb +1 -0
  525. data/generated/google/apis/iap_v1/service.rb +61 -71
  526. data/generated/google/apis/iap_v1beta1.rb +1 -1
  527. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  528. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  529. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  530. data/generated/google/apis/indexing_v3.rb +1 -1
  531. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  532. data/generated/google/apis/jobs_v2.rb +1 -1
  533. data/generated/google/apis/jobs_v2/classes.rb +786 -1086
  534. data/generated/google/apis/jobs_v2/service.rb +85 -126
  535. data/generated/google/apis/jobs_v3.rb +1 -1
  536. data/generated/google/apis/jobs_v3/classes.rb +637 -856
  537. data/generated/google/apis/jobs_v3/service.rb +101 -139
  538. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  539. data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
  540. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  541. data/generated/google/apis/kgsearch_v1.rb +1 -1
  542. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  543. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  544. data/generated/google/apis/language_v1.rb +1 -1
  545. data/generated/google/apis/language_v1/classes.rb +93 -111
  546. data/generated/google/apis/language_v1/service.rb +4 -4
  547. data/generated/google/apis/language_v1beta1.rb +1 -1
  548. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  549. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  550. data/generated/google/apis/language_v1beta2.rb +1 -1
  551. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  552. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  553. data/generated/google/apis/libraryagent_v1.rb +1 -1
  554. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  555. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  556. data/generated/google/apis/licensing_v1.rb +4 -3
  557. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  558. data/generated/google/apis/licensing_v1/service.rb +55 -85
  559. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  560. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  561. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  562. data/generated/google/apis/localservices_v1.rb +31 -0
  563. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  564. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  565. data/generated/google/apis/localservices_v1/service.rb +199 -0
  566. data/generated/google/apis/logging_v2.rb +1 -1
  567. data/generated/google/apis/logging_v2/classes.rb +174 -214
  568. data/generated/google/apis/logging_v2/representations.rb +15 -0
  569. data/generated/google/apis/logging_v2/service.rb +1017 -584
  570. data/generated/google/apis/managedidentities_v1.rb +1 -1
  571. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  572. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  573. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  574. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +344 -457
  575. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  576. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  577. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  578. data/generated/google/apis/managedidentities_v1beta1/classes.rb +340 -456
  579. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  580. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  581. data/generated/google/apis/manufacturers_v1.rb +1 -1
  582. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  583. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  584. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  585. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  586. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  587. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  588. data/generated/google/apis/ml_v1.rb +1 -1
  589. data/generated/google/apis/ml_v1/classes.rb +956 -1144
  590. data/generated/google/apis/ml_v1/representations.rb +65 -0
  591. data/generated/google/apis/ml_v1/service.rb +194 -253
  592. data/generated/google/apis/monitoring_v1.rb +1 -1
  593. data/generated/google/apis/monitoring_v1/classes.rb +119 -37
  594. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  595. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  596. data/generated/google/apis/monitoring_v3.rb +1 -1
  597. data/generated/google/apis/monitoring_v3/classes.rb +260 -339
  598. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  599. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  600. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  601. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  602. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  603. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  604. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  605. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  606. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  607. data/generated/google/apis/osconfig_v1.rb +1 -1
  608. data/generated/google/apis/osconfig_v1/classes.rb +154 -181
  609. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  610. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  611. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  612. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  613. data/generated/google/apis/oslogin_v1.rb +1 -1
  614. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  615. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  616. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  617. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  618. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  619. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  620. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  621. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  622. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  623. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  624. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  625. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  626. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  627. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  628. data/generated/google/apis/people_v1.rb +1 -1
  629. data/generated/google/apis/people_v1/classes.rb +258 -14
  630. data/generated/google/apis/people_v1/representations.rb +98 -0
  631. data/generated/google/apis/people_v1/service.rb +59 -47
  632. data/generated/google/apis/playablelocations_v3.rb +1 -1
  633. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  634. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  635. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  636. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  637. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  638. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  639. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  640. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  641. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  642. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  643. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  644. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  645. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +148 -146
  646. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  647. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +517 -49
  648. data/generated/google/apis/pubsub_v1.rb +1 -1
  649. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  650. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  651. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  652. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  653. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  654. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  655. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  656. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  657. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  658. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  659. data/generated/google/apis/pubsublite_v1.rb +34 -0
  660. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  661. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  662. data/generated/google/apis/pubsublite_v1/service.rb +558 -0
  663. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  664. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  665. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  666. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  667. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +337 -456
  668. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  669. data/generated/google/apis/recommendationengine_v1beta1/service.rb +141 -207
  670. data/generated/google/apis/recommender_v1.rb +1 -1
  671. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  672. data/generated/google/apis/recommender_v1/service.rb +43 -58
  673. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  674. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  675. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  676. data/generated/google/apis/redis_v1.rb +1 -1
  677. data/generated/google/apis/redis_v1/classes.rb +91 -513
  678. data/generated/google/apis/redis_v1/representations.rb +0 -139
  679. data/generated/google/apis/redis_v1/service.rb +93 -110
  680. data/generated/google/apis/redis_v1beta1.rb +1 -1
  681. data/generated/google/apis/redis_v1beta1/classes.rb +95 -517
  682. data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
  683. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  684. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  685. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  686. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  687. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  688. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  689. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  690. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  691. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  692. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  693. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  694. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  695. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  696. data/generated/google/apis/reseller_v1.rb +2 -2
  697. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  698. data/generated/google/apis/reseller_v1/service.rb +122 -173
  699. data/generated/google/apis/run_v1.rb +1 -1
  700. data/generated/google/apis/run_v1/classes.rb +14 -13
  701. data/generated/google/apis/run_v1/representations.rb +1 -1
  702. data/generated/google/apis/run_v1/service.rb +38 -2
  703. data/generated/google/apis/run_v1alpha1.rb +1 -1
  704. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  705. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  706. data/generated/google/apis/run_v1beta1.rb +1 -1
  707. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  708. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  709. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  710. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  711. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  712. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
  713. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  714. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  715. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  716. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  717. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  718. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  719. data/generated/google/apis/sasportal_v1alpha1/classes.rb +148 -146
  720. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  721. data/generated/google/apis/sasportal_v1alpha1/service.rb +517 -49
  722. data/generated/google/apis/script_v1.rb +1 -1
  723. data/generated/google/apis/script_v1/classes.rb +88 -111
  724. data/generated/google/apis/script_v1/service.rb +63 -69
  725. data/generated/google/apis/searchconsole_v1.rb +1 -1
  726. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  727. data/generated/google/apis/secretmanager_v1.rb +1 -1
  728. data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
  729. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  730. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  731. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  732. data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -363
  733. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  734. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  735. data/generated/google/apis/securitycenter_v1.rb +1 -1
  736. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  737. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  738. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  739. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  740. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  741. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  742. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  743. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  744. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  745. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  746. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  747. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  748. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1124 -1788
  749. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +116 -141
  750. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  751. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  752. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  753. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  754. data/generated/google/apis/servicecontrol_v1/classes.rb +526 -641
  755. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  756. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  757. data/generated/google/apis/servicecontrol_v2/classes.rb +1078 -0
  758. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  759. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  760. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  761. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  762. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  763. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  764. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  765. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  766. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  767. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  768. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  769. data/generated/google/apis/servicenetworking_v1/classes.rb +1160 -1763
  770. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
  771. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  772. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  773. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  774. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  775. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  776. data/generated/google/apis/serviceusage_v1.rb +1 -1
  777. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  778. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  779. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  780. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  781. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  782. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  783. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  784. data/generated/google/apis/sheets_v4.rb +1 -1
  785. data/generated/google/apis/sheets_v4/classes.rb +3933 -5008
  786. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  787. data/generated/google/apis/sheets_v4/service.rb +113 -149
  788. data/generated/google/apis/site_verification_v1.rb +1 -1
  789. data/generated/google/apis/slides_v1.rb +1 -1
  790. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  791. data/generated/google/apis/slides_v1/service.rb +23 -30
  792. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  793. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  794. data/generated/google/apis/spanner_v1.rb +1 -1
  795. data/generated/google/apis/spanner_v1/classes.rb +1553 -2156
  796. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  797. data/generated/google/apis/spanner_v1/service.rb +443 -618
  798. data/generated/google/apis/speech_v1.rb +1 -1
  799. data/generated/google/apis/speech_v1/classes.rb +174 -220
  800. data/generated/google/apis/speech_v1/service.rb +27 -32
  801. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  802. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  803. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  804. data/generated/google/apis/speech_v2beta1.rb +1 -1
  805. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  806. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  807. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  808. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +438 -452
  809. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +106 -87
  810. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  811. data/generated/google/apis/storage_v1.rb +1 -1
  812. data/generated/google/apis/storage_v1/classes.rb +8 -7
  813. data/generated/google/apis/storage_v1/representations.rb +2 -2
  814. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  815. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  816. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  817. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  818. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  819. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  820. data/generated/google/apis/sts_v1.rb +32 -0
  821. data/generated/google/apis/sts_v1/classes.rb +120 -0
  822. data/generated/google/apis/sts_v1/representations.rb +59 -0
  823. data/generated/google/apis/sts_v1/service.rb +90 -0
  824. data/generated/google/apis/sts_v1beta.rb +32 -0
  825. data/generated/google/apis/sts_v1beta/classes.rb +191 -0
  826. data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
  827. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  828. data/generated/google/apis/tagmanager_v1.rb +2 -3
  829. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  830. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  831. data/generated/google/apis/tagmanager_v2.rb +2 -3
  832. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  833. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  834. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  835. data/generated/google/apis/tasks_v1.rb +1 -1
  836. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  837. data/generated/google/apis/tasks_v1/service.rb +19 -19
  838. data/generated/google/apis/testing_v1.rb +1 -1
  839. data/generated/google/apis/testing_v1/classes.rb +317 -382
  840. data/generated/google/apis/testing_v1/representations.rb +2 -0
  841. data/generated/google/apis/testing_v1/service.rb +22 -28
  842. data/generated/google/apis/texttospeech_v1.rb +1 -1
  843. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  844. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  845. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  846. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  847. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  848. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  849. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  850. data/generated/google/apis/toolresults_v1beta3/classes.rb +672 -931
  851. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  852. data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
  853. data/generated/google/apis/tpu_v1.rb +1 -1
  854. data/generated/google/apis/tpu_v1/classes.rb +122 -78
  855. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  856. data/generated/google/apis/tpu_v1/service.rb +21 -25
  857. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  858. data/generated/google/apis/tpu_v1alpha1/classes.rb +122 -78
  859. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  860. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  861. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  862. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  863. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  864. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  865. data/generated/google/apis/translate_v3.rb +1 -1
  866. data/generated/google/apis/translate_v3/classes.rb +148 -175
  867. data/generated/google/apis/translate_v3/service.rb +122 -138
  868. data/generated/google/apis/translate_v3beta1.rb +1 -1
  869. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  870. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  871. data/generated/google/apis/vault_v1.rb +1 -1
  872. data/generated/google/apis/vault_v1/classes.rb +80 -103
  873. data/generated/google/apis/vault_v1/service.rb +31 -37
  874. data/generated/google/apis/vectortile_v1.rb +1 -1
  875. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  876. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  877. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  878. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  879. data/generated/google/apis/videointelligence_v1.rb +1 -1
  880. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  881. data/generated/google/apis/videointelligence_v1/service.rb +71 -48
  882. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  883. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  884. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  885. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  886. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  887. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  888. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  889. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  890. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  891. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  892. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  893. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  894. data/generated/google/apis/vision_v1.rb +1 -1
  895. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  896. data/generated/google/apis/vision_v1/service.rb +254 -340
  897. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  898. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  899. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  900. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  901. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  902. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  903. data/generated/google/apis/webfonts_v1.rb +2 -3
  904. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  905. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  906. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  907. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  908. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  909. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  910. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  911. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  912. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  913. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  914. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  915. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → workflowexecutions_v1beta.rb} +9 -10
  916. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  917. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  918. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -73
  919. data/generated/google/apis/workflows_v1beta.rb +34 -0
  920. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  921. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  922. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  923. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  924. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  925. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  926. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  927. data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
  928. data/generated/google/apis/youtube_v3.rb +1 -1
  929. data/generated/google/apis/youtube_v3/classes.rb +904 -1594
  930. data/generated/google/apis/youtube_v3/representations.rb +0 -214
  931. data/generated/google/apis/youtube_v3/service.rb +971 -1397
  932. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  933. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  934. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  935. data/google-api-client.gemspec +2 -1
  936. data/lib/google/apis/core/base_service.rb +7 -1
  937. data/lib/google/apis/version.rb +1 -1
  938. metadata +98 -36
  939. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  940. data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
  941. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  942. data/generated/google/apis/dns_v2beta1.rb +0 -43
  943. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  944. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  945. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  946. data/generated/google/apis/oauth2_v2.rb +0 -40
  947. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  948. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  949. data/generated/google/apis/plus_v1.rb +0 -43
  950. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  951. data/generated/google/apis/plus_v1/representations.rb +0 -907
  952. data/generated/google/apis/plus_v1/service.rb +0 -451
  953. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  954. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  955. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  956. data/generated/google/apis/storage_v1beta2.rb +0 -40
  957. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  958. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  959. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -0,0 +1,1172 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module ApigatewayV1beta
23
+ # API Gateway API
24
+ #
25
+ #
26
+ #
27
+ # @example
28
+ # require 'google/apis/apigateway_v1beta'
29
+ #
30
+ # Apigateway = Google::Apis::ApigatewayV1beta # Alias the module
31
+ # service = Apigateway::ApigatewayService.new
32
+ #
33
+ # @see https://cloud.google.com/api-gateway/docs
34
+ class ApigatewayService < Google::Apis::Core::BaseService
35
+ # @return [String]
36
+ # API key. Your API key identifies your project and provides you with API access,
37
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
38
+ attr_accessor :key
39
+
40
+ # @return [String]
41
+ # Available to use for quota purposes for server-side applications. Can be any
42
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
+ attr_accessor :quota_user
44
+
45
+ def initialize
46
+ super('https://apigateway.googleapis.com/', '')
47
+ @batch_path = 'batch'
48
+ end
49
+
50
+ # Gets information about a location.
51
+ # @param [String] name
52
+ # Resource name for the location.
53
+ # @param [String] fields
54
+ # Selector specifying which fields to include in a partial response.
55
+ # @param [String] quota_user
56
+ # Available to use for quota purposes for server-side applications. Can be any
57
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
58
+ # @param [Google::Apis::RequestOptions] options
59
+ # Request-specific options
60
+ #
61
+ # @yield [result, err] Result & error if block supplied
62
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayLocation] parsed result object
63
+ # @yieldparam err [StandardError] error object if request failed
64
+ #
65
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayLocation]
66
+ #
67
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
68
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
69
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
70
+ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
71
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
72
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayLocation::Representation
73
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayLocation
74
+ command.params['name'] = name unless name.nil?
75
+ command.query['fields'] = fields unless fields.nil?
76
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
77
+ execute_or_queue_command(command, &block)
78
+ end
79
+
80
+ # Lists information about the supported locations for this service.
81
+ # @param [String] name
82
+ # The resource that owns the locations collection, if applicable.
83
+ # @param [String] filter
84
+ # The standard list filter.
85
+ # @param [Fixnum] page_size
86
+ # The standard list page size.
87
+ # @param [String] page_token
88
+ # The standard list page token.
89
+ # @param [String] fields
90
+ # Selector specifying which fields to include in a partial response.
91
+ # @param [String] quota_user
92
+ # Available to use for quota purposes for server-side applications. Can be any
93
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
94
+ # @param [Google::Apis::RequestOptions] options
95
+ # Request-specific options
96
+ #
97
+ # @yield [result, err] Result & error if block supplied
98
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayListLocationsResponse] parsed result object
99
+ # @yieldparam err [StandardError] error object if request failed
100
+ #
101
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayListLocationsResponse]
102
+ #
103
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
104
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
105
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
106
+ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
107
+ command = make_simple_command(:get, 'v1beta/{+name}/locations', options)
108
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayListLocationsResponse::Representation
109
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayListLocationsResponse
110
+ command.params['name'] = name unless name.nil?
111
+ command.query['filter'] = filter unless filter.nil?
112
+ command.query['pageSize'] = page_size unless page_size.nil?
113
+ command.query['pageToken'] = page_token unless page_token.nil?
114
+ command.query['fields'] = fields unless fields.nil?
115
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
116
+ execute_or_queue_command(command, &block)
117
+ end
118
+
119
+ # Creates a new Api in a given project and location.
120
+ # @param [String] parent
121
+ # Required. Parent resource of the API, of the form: `projects/*/locations/
122
+ # global`
123
+ # @param [Google::Apis::ApigatewayV1beta::ApigatewayApi] apigateway_api_object
124
+ # @param [String] api_id
125
+ # Required. Identifier to assign to the API. Must be unique within scope of the
126
+ # parent resource.
127
+ # @param [String] fields
128
+ # Selector specifying which fields to include in a partial response.
129
+ # @param [String] quota_user
130
+ # Available to use for quota purposes for server-side applications. Can be any
131
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
132
+ # @param [Google::Apis::RequestOptions] options
133
+ # Request-specific options
134
+ #
135
+ # @yield [result, err] Result & error if block supplied
136
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayOperation] parsed result object
137
+ # @yieldparam err [StandardError] error object if request failed
138
+ #
139
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayOperation]
140
+ #
141
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
142
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
143
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
144
+ def create_project_location_api(parent, apigateway_api_object = nil, api_id: nil, fields: nil, quota_user: nil, options: nil, &block)
145
+ command = make_simple_command(:post, 'v1beta/{+parent}/apis', options)
146
+ command.request_representation = Google::Apis::ApigatewayV1beta::ApigatewayApi::Representation
147
+ command.request_object = apigateway_api_object
148
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayOperation::Representation
149
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayOperation
150
+ command.params['parent'] = parent unless parent.nil?
151
+ command.query['apiId'] = api_id unless api_id.nil?
152
+ command.query['fields'] = fields unless fields.nil?
153
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
154
+ execute_or_queue_command(command, &block)
155
+ end
156
+
157
+ # Deletes a single Api.
158
+ # @param [String] name
159
+ # Required. Resource name of the form: `projects/*/locations/global/apis/*`
160
+ # @param [String] fields
161
+ # Selector specifying which fields to include in a partial response.
162
+ # @param [String] quota_user
163
+ # Available to use for quota purposes for server-side applications. Can be any
164
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
165
+ # @param [Google::Apis::RequestOptions] options
166
+ # Request-specific options
167
+ #
168
+ # @yield [result, err] Result & error if block supplied
169
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayOperation] parsed result object
170
+ # @yieldparam err [StandardError] error object if request failed
171
+ #
172
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayOperation]
173
+ #
174
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
175
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
176
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
177
+ def delete_project_location_api(name, fields: nil, quota_user: nil, options: nil, &block)
178
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
179
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayOperation::Representation
180
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayOperation
181
+ command.params['name'] = name unless name.nil?
182
+ command.query['fields'] = fields unless fields.nil?
183
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
184
+ execute_or_queue_command(command, &block)
185
+ end
186
+
187
+ # Gets details of a single Api.
188
+ # @param [String] name
189
+ # Required. Resource name of the form: `projects/*/locations/global/apis/*`
190
+ # @param [String] fields
191
+ # Selector specifying which fields to include in a partial response.
192
+ # @param [String] quota_user
193
+ # Available to use for quota purposes for server-side applications. Can be any
194
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
195
+ # @param [Google::Apis::RequestOptions] options
196
+ # Request-specific options
197
+ #
198
+ # @yield [result, err] Result & error if block supplied
199
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayApi] parsed result object
200
+ # @yieldparam err [StandardError] error object if request failed
201
+ #
202
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayApi]
203
+ #
204
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
205
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
206
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
207
+ def get_project_location_api(name, fields: nil, quota_user: nil, options: nil, &block)
208
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
209
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayApi::Representation
210
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayApi
211
+ command.params['name'] = name unless name.nil?
212
+ command.query['fields'] = fields unless fields.nil?
213
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
214
+ execute_or_queue_command(command, &block)
215
+ end
216
+
217
+ # Gets the access control policy for a resource. Returns an empty policy if the
218
+ # resource exists and does not have a policy set.
219
+ # @param [String] resource
220
+ # REQUIRED: The resource for which the policy is being requested. See the
221
+ # operation documentation for the appropriate value for this field.
222
+ # @param [Fixnum] options_requested_policy_version
223
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
224
+ # 3. Requests specifying an invalid value will be rejected. Requests for
225
+ # policies with any conditional bindings must specify version 3. Policies
226
+ # without any conditional bindings may specify any valid value or leave the
227
+ # field unset. To learn which resources support conditions in their IAM policies,
228
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
229
+ # resource-policies).
230
+ # @param [String] fields
231
+ # Selector specifying which fields to include in a partial response.
232
+ # @param [String] quota_user
233
+ # Available to use for quota purposes for server-side applications. Can be any
234
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
235
+ # @param [Google::Apis::RequestOptions] options
236
+ # Request-specific options
237
+ #
238
+ # @yield [result, err] Result & error if block supplied
239
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayPolicy] parsed result object
240
+ # @yieldparam err [StandardError] error object if request failed
241
+ #
242
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayPolicy]
243
+ #
244
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
245
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
246
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
247
+ def get_project_location_api_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
248
+ command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
249
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayPolicy::Representation
250
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayPolicy
251
+ command.params['resource'] = resource unless resource.nil?
252
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
253
+ command.query['fields'] = fields unless fields.nil?
254
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
255
+ execute_or_queue_command(command, &block)
256
+ end
257
+
258
+ # Lists Apis in a given project and location.
259
+ # @param [String] parent
260
+ # Required. Parent resource of the API, of the form: `projects/*/locations/
261
+ # global`
262
+ # @param [String] filter
263
+ # Filter.
264
+ # @param [String] order_by
265
+ # Order by parameters.
266
+ # @param [Fixnum] page_size
267
+ # Page size.
268
+ # @param [String] page_token
269
+ # Page token.
270
+ # @param [String] fields
271
+ # Selector specifying which fields to include in a partial response.
272
+ # @param [String] quota_user
273
+ # Available to use for quota purposes for server-side applications. Can be any
274
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
275
+ # @param [Google::Apis::RequestOptions] options
276
+ # Request-specific options
277
+ #
278
+ # @yield [result, err] Result & error if block supplied
279
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayListApisResponse] parsed result object
280
+ # @yieldparam err [StandardError] error object if request failed
281
+ #
282
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayListApisResponse]
283
+ #
284
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
285
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
286
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
287
+ def list_project_location_apis(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
288
+ command = make_simple_command(:get, 'v1beta/{+parent}/apis', options)
289
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayListApisResponse::Representation
290
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayListApisResponse
291
+ command.params['parent'] = parent unless parent.nil?
292
+ command.query['filter'] = filter unless filter.nil?
293
+ command.query['orderBy'] = order_by unless order_by.nil?
294
+ command.query['pageSize'] = page_size unless page_size.nil?
295
+ command.query['pageToken'] = page_token unless page_token.nil?
296
+ command.query['fields'] = fields unless fields.nil?
297
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
298
+ execute_or_queue_command(command, &block)
299
+ end
300
+
301
+ # Updates the parameters of a single Api.
302
+ # @param [String] name
303
+ # Output only. Resource name of the API. Format: projects/`project`/locations/
304
+ # global/apis/`api`
305
+ # @param [Google::Apis::ApigatewayV1beta::ApigatewayApi] apigateway_api_object
306
+ # @param [String] update_mask
307
+ # Field mask is used to specify the fields to be overwritten in the Api resource
308
+ # by the update. The fields specified in the update_mask are relative to the
309
+ # resource, not the full request. A field will be overwritten if it is in the
310
+ # mask. If the user does not provide a mask then all fields will be overwritten.
311
+ # @param [String] fields
312
+ # Selector specifying which fields to include in a partial response.
313
+ # @param [String] quota_user
314
+ # Available to use for quota purposes for server-side applications. Can be any
315
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
316
+ # @param [Google::Apis::RequestOptions] options
317
+ # Request-specific options
318
+ #
319
+ # @yield [result, err] Result & error if block supplied
320
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayOperation] parsed result object
321
+ # @yieldparam err [StandardError] error object if request failed
322
+ #
323
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayOperation]
324
+ #
325
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
326
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
327
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
328
+ def patch_project_location_api(name, apigateway_api_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
329
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
330
+ command.request_representation = Google::Apis::ApigatewayV1beta::ApigatewayApi::Representation
331
+ command.request_object = apigateway_api_object
332
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayOperation::Representation
333
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayOperation
334
+ command.params['name'] = name unless name.nil?
335
+ command.query['updateMask'] = update_mask unless update_mask.nil?
336
+ command.query['fields'] = fields unless fields.nil?
337
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
338
+ execute_or_queue_command(command, &block)
339
+ end
340
+
341
+ # Sets the access control policy on the specified resource. Replaces any
342
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
343
+ # PERMISSION_DENIED` errors.
344
+ # @param [String] resource
345
+ # REQUIRED: The resource for which the policy is being specified. See the
346
+ # operation documentation for the appropriate value for this field.
347
+ # @param [Google::Apis::ApigatewayV1beta::ApigatewaySetIamPolicyRequest] apigateway_set_iam_policy_request_object
348
+ # @param [String] fields
349
+ # Selector specifying which fields to include in a partial response.
350
+ # @param [String] quota_user
351
+ # Available to use for quota purposes for server-side applications. Can be any
352
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
353
+ # @param [Google::Apis::RequestOptions] options
354
+ # Request-specific options
355
+ #
356
+ # @yield [result, err] Result & error if block supplied
357
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayPolicy] parsed result object
358
+ # @yieldparam err [StandardError] error object if request failed
359
+ #
360
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayPolicy]
361
+ #
362
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
363
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
364
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
365
+ def set_project_location_api_iam_policy(resource, apigateway_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
366
+ command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
367
+ command.request_representation = Google::Apis::ApigatewayV1beta::ApigatewaySetIamPolicyRequest::Representation
368
+ command.request_object = apigateway_set_iam_policy_request_object
369
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayPolicy::Representation
370
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayPolicy
371
+ command.params['resource'] = resource unless resource.nil?
372
+ command.query['fields'] = fields unless fields.nil?
373
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
374
+ execute_or_queue_command(command, &block)
375
+ end
376
+
377
+ # Returns permissions that a caller has on the specified resource. If the
378
+ # resource does not exist, this will return an empty set of permissions, not a `
379
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
380
+ # permission-aware UIs and command-line tools, not for authorization checking.
381
+ # This operation may "fail open" without warning.
382
+ # @param [String] resource
383
+ # REQUIRED: The resource for which the policy detail is being requested. See the
384
+ # operation documentation for the appropriate value for this field.
385
+ # @param [Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsRequest] apigateway_test_iam_permissions_request_object
386
+ # @param [String] fields
387
+ # Selector specifying which fields to include in a partial response.
388
+ # @param [String] quota_user
389
+ # Available to use for quota purposes for server-side applications. Can be any
390
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
391
+ # @param [Google::Apis::RequestOptions] options
392
+ # Request-specific options
393
+ #
394
+ # @yield [result, err] Result & error if block supplied
395
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsResponse] parsed result object
396
+ # @yieldparam err [StandardError] error object if request failed
397
+ #
398
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsResponse]
399
+ #
400
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
401
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
402
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
403
+ def test_project_location_api_iam_permissions(resource, apigateway_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
404
+ command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', options)
405
+ command.request_representation = Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsRequest::Representation
406
+ command.request_object = apigateway_test_iam_permissions_request_object
407
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsResponse::Representation
408
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsResponse
409
+ command.params['resource'] = resource unless resource.nil?
410
+ command.query['fields'] = fields unless fields.nil?
411
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
412
+ execute_or_queue_command(command, &block)
413
+ end
414
+
415
+ # Creates a new ApiConfig in a given project and location.
416
+ # @param [String] parent
417
+ # Required. Parent resource of the API Config, of the form: `projects/*/
418
+ # locations/global/apis/*`
419
+ # @param [Google::Apis::ApigatewayV1beta::ApigatewayApiConfig] apigateway_api_config_object
420
+ # @param [String] api_config_id
421
+ # Required. Identifier to assign to the API Config. Must be unique within scope
422
+ # of the parent resource.
423
+ # @param [String] fields
424
+ # Selector specifying which fields to include in a partial response.
425
+ # @param [String] quota_user
426
+ # Available to use for quota purposes for server-side applications. Can be any
427
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
428
+ # @param [Google::Apis::RequestOptions] options
429
+ # Request-specific options
430
+ #
431
+ # @yield [result, err] Result & error if block supplied
432
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayOperation] parsed result object
433
+ # @yieldparam err [StandardError] error object if request failed
434
+ #
435
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayOperation]
436
+ #
437
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
438
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
439
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
440
+ def create_project_location_api_config(parent, apigateway_api_config_object = nil, api_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
441
+ command = make_simple_command(:post, 'v1beta/{+parent}/configs', options)
442
+ command.request_representation = Google::Apis::ApigatewayV1beta::ApigatewayApiConfig::Representation
443
+ command.request_object = apigateway_api_config_object
444
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayOperation::Representation
445
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayOperation
446
+ command.params['parent'] = parent unless parent.nil?
447
+ command.query['apiConfigId'] = api_config_id unless api_config_id.nil?
448
+ command.query['fields'] = fields unless fields.nil?
449
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
450
+ execute_or_queue_command(command, &block)
451
+ end
452
+
453
+ # Deletes a single ApiConfig.
454
+ # @param [String] name
455
+ # Required. Resource name of the form: `projects/*/locations/global/apis/*/
456
+ # configs/*`
457
+ # @param [String] fields
458
+ # Selector specifying which fields to include in a partial response.
459
+ # @param [String] quota_user
460
+ # Available to use for quota purposes for server-side applications. Can be any
461
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
462
+ # @param [Google::Apis::RequestOptions] options
463
+ # Request-specific options
464
+ #
465
+ # @yield [result, err] Result & error if block supplied
466
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayOperation] parsed result object
467
+ # @yieldparam err [StandardError] error object if request failed
468
+ #
469
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayOperation]
470
+ #
471
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
472
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
473
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
474
+ def delete_project_location_api_config(name, fields: nil, quota_user: nil, options: nil, &block)
475
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
476
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayOperation::Representation
477
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayOperation
478
+ command.params['name'] = name unless name.nil?
479
+ command.query['fields'] = fields unless fields.nil?
480
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
481
+ execute_or_queue_command(command, &block)
482
+ end
483
+
484
+ # Gets details of a single ApiConfig.
485
+ # @param [String] name
486
+ # Required. Resource name of the form: `projects/*/locations/global/apis/*/
487
+ # configs/*`
488
+ # @param [String] view
489
+ # Specifies which fields of the API Config are returned in the response.
490
+ # Defaults to `BASIC` view.
491
+ # @param [String] fields
492
+ # Selector specifying which fields to include in a partial response.
493
+ # @param [String] quota_user
494
+ # Available to use for quota purposes for server-side applications. Can be any
495
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
496
+ # @param [Google::Apis::RequestOptions] options
497
+ # Request-specific options
498
+ #
499
+ # @yield [result, err] Result & error if block supplied
500
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayApiConfig] parsed result object
501
+ # @yieldparam err [StandardError] error object if request failed
502
+ #
503
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayApiConfig]
504
+ #
505
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
506
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
507
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
508
+ def get_project_location_api_config(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
509
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
510
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayApiConfig::Representation
511
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayApiConfig
512
+ command.params['name'] = name unless name.nil?
513
+ command.query['view'] = view unless view.nil?
514
+ command.query['fields'] = fields unless fields.nil?
515
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
516
+ execute_or_queue_command(command, &block)
517
+ end
518
+
519
+ # Gets the access control policy for a resource. Returns an empty policy if the
520
+ # resource exists and does not have a policy set.
521
+ # @param [String] resource
522
+ # REQUIRED: The resource for which the policy is being requested. See the
523
+ # operation documentation for the appropriate value for this field.
524
+ # @param [Fixnum] options_requested_policy_version
525
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
526
+ # 3. Requests specifying an invalid value will be rejected. Requests for
527
+ # policies with any conditional bindings must specify version 3. Policies
528
+ # without any conditional bindings may specify any valid value or leave the
529
+ # field unset. To learn which resources support conditions in their IAM policies,
530
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
531
+ # resource-policies).
532
+ # @param [String] fields
533
+ # Selector specifying which fields to include in a partial response.
534
+ # @param [String] quota_user
535
+ # Available to use for quota purposes for server-side applications. Can be any
536
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
537
+ # @param [Google::Apis::RequestOptions] options
538
+ # Request-specific options
539
+ #
540
+ # @yield [result, err] Result & error if block supplied
541
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayPolicy] parsed result object
542
+ # @yieldparam err [StandardError] error object if request failed
543
+ #
544
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayPolicy]
545
+ #
546
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
547
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
548
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
549
+ def get_project_location_api_config_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
550
+ command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
551
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayPolicy::Representation
552
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayPolicy
553
+ command.params['resource'] = resource unless resource.nil?
554
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
555
+ command.query['fields'] = fields unless fields.nil?
556
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
557
+ execute_or_queue_command(command, &block)
558
+ end
559
+
560
+ # Lists ApiConfigs in a given project and location.
561
+ # @param [String] parent
562
+ # Required. Parent resource of the API Config, of the form: `projects/*/
563
+ # locations/global/apis/*`
564
+ # @param [String] filter
565
+ # Filter.
566
+ # @param [String] order_by
567
+ # Order by parameters.
568
+ # @param [Fixnum] page_size
569
+ # Page size.
570
+ # @param [String] page_token
571
+ # Page token.
572
+ # @param [String] fields
573
+ # Selector specifying which fields to include in a partial response.
574
+ # @param [String] quota_user
575
+ # Available to use for quota purposes for server-side applications. Can be any
576
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
577
+ # @param [Google::Apis::RequestOptions] options
578
+ # Request-specific options
579
+ #
580
+ # @yield [result, err] Result & error if block supplied
581
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayListApiConfigsResponse] parsed result object
582
+ # @yieldparam err [StandardError] error object if request failed
583
+ #
584
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayListApiConfigsResponse]
585
+ #
586
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
587
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
588
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
589
+ def list_project_location_api_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
590
+ command = make_simple_command(:get, 'v1beta/{+parent}/configs', options)
591
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayListApiConfigsResponse::Representation
592
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayListApiConfigsResponse
593
+ command.params['parent'] = parent unless parent.nil?
594
+ command.query['filter'] = filter unless filter.nil?
595
+ command.query['orderBy'] = order_by unless order_by.nil?
596
+ command.query['pageSize'] = page_size unless page_size.nil?
597
+ command.query['pageToken'] = page_token unless page_token.nil?
598
+ command.query['fields'] = fields unless fields.nil?
599
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
600
+ execute_or_queue_command(command, &block)
601
+ end
602
+
603
+ # Updates the parameters of a single ApiConfig.
604
+ # @param [String] name
605
+ # Output only. Resource name of the API Config. Format: projects/`project`/
606
+ # locations/global/apis/`api`/configs/`api_config`
607
+ # @param [Google::Apis::ApigatewayV1beta::ApigatewayApiConfig] apigateway_api_config_object
608
+ # @param [String] update_mask
609
+ # Field mask is used to specify the fields to be overwritten in the ApiConfig
610
+ # resource by the update. The fields specified in the update_mask are relative
611
+ # to the resource, not the full request. A field will be overwritten if it is in
612
+ # the mask. If the user does not provide a mask then all fields will be
613
+ # overwritten.
614
+ # @param [String] fields
615
+ # Selector specifying which fields to include in a partial response.
616
+ # @param [String] quota_user
617
+ # Available to use for quota purposes for server-side applications. Can be any
618
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
619
+ # @param [Google::Apis::RequestOptions] options
620
+ # Request-specific options
621
+ #
622
+ # @yield [result, err] Result & error if block supplied
623
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayOperation] parsed result object
624
+ # @yieldparam err [StandardError] error object if request failed
625
+ #
626
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayOperation]
627
+ #
628
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
629
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
630
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
631
+ def patch_project_location_api_config(name, apigateway_api_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
632
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
633
+ command.request_representation = Google::Apis::ApigatewayV1beta::ApigatewayApiConfig::Representation
634
+ command.request_object = apigateway_api_config_object
635
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayOperation::Representation
636
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayOperation
637
+ command.params['name'] = name unless name.nil?
638
+ command.query['updateMask'] = update_mask unless update_mask.nil?
639
+ command.query['fields'] = fields unless fields.nil?
640
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
641
+ execute_or_queue_command(command, &block)
642
+ end
643
+
644
+ # Sets the access control policy on the specified resource. Replaces any
645
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
646
+ # PERMISSION_DENIED` errors.
647
+ # @param [String] resource
648
+ # REQUIRED: The resource for which the policy is being specified. See the
649
+ # operation documentation for the appropriate value for this field.
650
+ # @param [Google::Apis::ApigatewayV1beta::ApigatewaySetIamPolicyRequest] apigateway_set_iam_policy_request_object
651
+ # @param [String] fields
652
+ # Selector specifying which fields to include in a partial response.
653
+ # @param [String] quota_user
654
+ # Available to use for quota purposes for server-side applications. Can be any
655
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
656
+ # @param [Google::Apis::RequestOptions] options
657
+ # Request-specific options
658
+ #
659
+ # @yield [result, err] Result & error if block supplied
660
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayPolicy] parsed result object
661
+ # @yieldparam err [StandardError] error object if request failed
662
+ #
663
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayPolicy]
664
+ #
665
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
666
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
667
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
668
+ def set_project_location_api_config_iam_policy(resource, apigateway_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
669
+ command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
670
+ command.request_representation = Google::Apis::ApigatewayV1beta::ApigatewaySetIamPolicyRequest::Representation
671
+ command.request_object = apigateway_set_iam_policy_request_object
672
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayPolicy::Representation
673
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayPolicy
674
+ command.params['resource'] = resource unless resource.nil?
675
+ command.query['fields'] = fields unless fields.nil?
676
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
677
+ execute_or_queue_command(command, &block)
678
+ end
679
+
680
+ # Returns permissions that a caller has on the specified resource. If the
681
+ # resource does not exist, this will return an empty set of permissions, not a `
682
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
683
+ # permission-aware UIs and command-line tools, not for authorization checking.
684
+ # This operation may "fail open" without warning.
685
+ # @param [String] resource
686
+ # REQUIRED: The resource for which the policy detail is being requested. See the
687
+ # operation documentation for the appropriate value for this field.
688
+ # @param [Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsRequest] apigateway_test_iam_permissions_request_object
689
+ # @param [String] fields
690
+ # Selector specifying which fields to include in a partial response.
691
+ # @param [String] quota_user
692
+ # Available to use for quota purposes for server-side applications. Can be any
693
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
694
+ # @param [Google::Apis::RequestOptions] options
695
+ # Request-specific options
696
+ #
697
+ # @yield [result, err] Result & error if block supplied
698
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsResponse] parsed result object
699
+ # @yieldparam err [StandardError] error object if request failed
700
+ #
701
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsResponse]
702
+ #
703
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
704
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
705
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
706
+ def test_project_location_api_config_iam_permissions(resource, apigateway_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
707
+ command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', options)
708
+ command.request_representation = Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsRequest::Representation
709
+ command.request_object = apigateway_test_iam_permissions_request_object
710
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsResponse::Representation
711
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsResponse
712
+ command.params['resource'] = resource unless resource.nil?
713
+ command.query['fields'] = fields unless fields.nil?
714
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
715
+ execute_or_queue_command(command, &block)
716
+ end
717
+
718
+ # Creates a new Gateway in a given project and location.
719
+ # @param [String] parent
720
+ # Required. Parent resource of the Gateway, of the form: `projects/*/locations/*`
721
+ # @param [Google::Apis::ApigatewayV1beta::ApigatewayGateway] apigateway_gateway_object
722
+ # @param [String] gateway_id
723
+ # Required. Identifier to assign to the Gateway. Must be unique within scope of
724
+ # the parent resource.
725
+ # @param [String] fields
726
+ # Selector specifying which fields to include in a partial response.
727
+ # @param [String] quota_user
728
+ # Available to use for quota purposes for server-side applications. Can be any
729
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
730
+ # @param [Google::Apis::RequestOptions] options
731
+ # Request-specific options
732
+ #
733
+ # @yield [result, err] Result & error if block supplied
734
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayOperation] parsed result object
735
+ # @yieldparam err [StandardError] error object if request failed
736
+ #
737
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayOperation]
738
+ #
739
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
740
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
741
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
742
+ def create_project_location_gateway(parent, apigateway_gateway_object = nil, gateway_id: nil, fields: nil, quota_user: nil, options: nil, &block)
743
+ command = make_simple_command(:post, 'v1beta/{+parent}/gateways', options)
744
+ command.request_representation = Google::Apis::ApigatewayV1beta::ApigatewayGateway::Representation
745
+ command.request_object = apigateway_gateway_object
746
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayOperation::Representation
747
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayOperation
748
+ command.params['parent'] = parent unless parent.nil?
749
+ command.query['gatewayId'] = gateway_id unless gateway_id.nil?
750
+ command.query['fields'] = fields unless fields.nil?
751
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
752
+ execute_or_queue_command(command, &block)
753
+ end
754
+
755
+ # Deletes a single Gateway.
756
+ # @param [String] name
757
+ # Required. Resource name of the form: `projects/*/locations/*/gateways/*`
758
+ # @param [String] fields
759
+ # Selector specifying which fields to include in a partial response.
760
+ # @param [String] quota_user
761
+ # Available to use for quota purposes for server-side applications. Can be any
762
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
763
+ # @param [Google::Apis::RequestOptions] options
764
+ # Request-specific options
765
+ #
766
+ # @yield [result, err] Result & error if block supplied
767
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayOperation] parsed result object
768
+ # @yieldparam err [StandardError] error object if request failed
769
+ #
770
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayOperation]
771
+ #
772
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
773
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
774
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
775
+ def delete_project_location_gateway(name, fields: nil, quota_user: nil, options: nil, &block)
776
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
777
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayOperation::Representation
778
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayOperation
779
+ command.params['name'] = name unless name.nil?
780
+ command.query['fields'] = fields unless fields.nil?
781
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
782
+ execute_or_queue_command(command, &block)
783
+ end
784
+
785
+ # Gets details of a single Gateway.
786
+ # @param [String] name
787
+ # Required. Resource name of the form: `projects/*/locations/*/gateways/*`
788
+ # @param [String] fields
789
+ # Selector specifying which fields to include in a partial response.
790
+ # @param [String] quota_user
791
+ # Available to use for quota purposes for server-side applications. Can be any
792
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
793
+ # @param [Google::Apis::RequestOptions] options
794
+ # Request-specific options
795
+ #
796
+ # @yield [result, err] Result & error if block supplied
797
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayGateway] parsed result object
798
+ # @yieldparam err [StandardError] error object if request failed
799
+ #
800
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayGateway]
801
+ #
802
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
803
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
804
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
805
+ def get_project_location_gateway(name, fields: nil, quota_user: nil, options: nil, &block)
806
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
807
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayGateway::Representation
808
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayGateway
809
+ command.params['name'] = name unless name.nil?
810
+ command.query['fields'] = fields unless fields.nil?
811
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
812
+ execute_or_queue_command(command, &block)
813
+ end
814
+
815
+ # Gets the access control policy for a resource. Returns an empty policy if the
816
+ # resource exists and does not have a policy set.
817
+ # @param [String] resource
818
+ # REQUIRED: The resource for which the policy is being requested. See the
819
+ # operation documentation for the appropriate value for this field.
820
+ # @param [Fixnum] options_requested_policy_version
821
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
822
+ # 3. Requests specifying an invalid value will be rejected. Requests for
823
+ # policies with any conditional bindings must specify version 3. Policies
824
+ # without any conditional bindings may specify any valid value or leave the
825
+ # field unset. To learn which resources support conditions in their IAM policies,
826
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
827
+ # resource-policies).
828
+ # @param [String] fields
829
+ # Selector specifying which fields to include in a partial response.
830
+ # @param [String] quota_user
831
+ # Available to use for quota purposes for server-side applications. Can be any
832
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
833
+ # @param [Google::Apis::RequestOptions] options
834
+ # Request-specific options
835
+ #
836
+ # @yield [result, err] Result & error if block supplied
837
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayPolicy] parsed result object
838
+ # @yieldparam err [StandardError] error object if request failed
839
+ #
840
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayPolicy]
841
+ #
842
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
843
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
844
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
845
+ def get_project_location_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
846
+ command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
847
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayPolicy::Representation
848
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayPolicy
849
+ command.params['resource'] = resource unless resource.nil?
850
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
851
+ command.query['fields'] = fields unless fields.nil?
852
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
853
+ execute_or_queue_command(command, &block)
854
+ end
855
+
856
+ # Lists Gateways in a given project and location.
857
+ # @param [String] parent
858
+ # Required. Parent resource of the Gateway, of the form: `projects/*/locations/*`
859
+ # @param [String] filter
860
+ # Filter.
861
+ # @param [String] order_by
862
+ # Order by parameters.
863
+ # @param [Fixnum] page_size
864
+ # Page size.
865
+ # @param [String] page_token
866
+ # Page token.
867
+ # @param [String] fields
868
+ # Selector specifying which fields to include in a partial response.
869
+ # @param [String] quota_user
870
+ # Available to use for quota purposes for server-side applications. Can be any
871
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
872
+ # @param [Google::Apis::RequestOptions] options
873
+ # Request-specific options
874
+ #
875
+ # @yield [result, err] Result & error if block supplied
876
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayListGatewaysResponse] parsed result object
877
+ # @yieldparam err [StandardError] error object if request failed
878
+ #
879
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayListGatewaysResponse]
880
+ #
881
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
882
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
883
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
884
+ def list_project_location_gateways(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
885
+ command = make_simple_command(:get, 'v1beta/{+parent}/gateways', options)
886
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayListGatewaysResponse::Representation
887
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayListGatewaysResponse
888
+ command.params['parent'] = parent unless parent.nil?
889
+ command.query['filter'] = filter unless filter.nil?
890
+ command.query['orderBy'] = order_by unless order_by.nil?
891
+ command.query['pageSize'] = page_size unless page_size.nil?
892
+ command.query['pageToken'] = page_token unless page_token.nil?
893
+ command.query['fields'] = fields unless fields.nil?
894
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
895
+ execute_or_queue_command(command, &block)
896
+ end
897
+
898
+ # Updates the parameters of a single Gateway.
899
+ # @param [String] name
900
+ # Output only. Resource name of the Gateway. Format: projects/`project`/
901
+ # locations/`location`/gateways/`gateway`
902
+ # @param [Google::Apis::ApigatewayV1beta::ApigatewayGateway] apigateway_gateway_object
903
+ # @param [String] update_mask
904
+ # Field mask is used to specify the fields to be overwritten in the Gateway
905
+ # resource by the update. The fields specified in the update_mask are relative
906
+ # to the resource, not the full request. A field will be overwritten if it is in
907
+ # the mask. If the user does not provide a mask then all fields will be
908
+ # overwritten.
909
+ # @param [String] fields
910
+ # Selector specifying which fields to include in a partial response.
911
+ # @param [String] quota_user
912
+ # Available to use for quota purposes for server-side applications. Can be any
913
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
914
+ # @param [Google::Apis::RequestOptions] options
915
+ # Request-specific options
916
+ #
917
+ # @yield [result, err] Result & error if block supplied
918
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayOperation] parsed result object
919
+ # @yieldparam err [StandardError] error object if request failed
920
+ #
921
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayOperation]
922
+ #
923
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
924
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
925
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
926
+ def patch_project_location_gateway(name, apigateway_gateway_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
927
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
928
+ command.request_representation = Google::Apis::ApigatewayV1beta::ApigatewayGateway::Representation
929
+ command.request_object = apigateway_gateway_object
930
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayOperation::Representation
931
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayOperation
932
+ command.params['name'] = name unless name.nil?
933
+ command.query['updateMask'] = update_mask unless update_mask.nil?
934
+ command.query['fields'] = fields unless fields.nil?
935
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
936
+ execute_or_queue_command(command, &block)
937
+ end
938
+
939
+ # Sets the access control policy on the specified resource. Replaces any
940
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
941
+ # PERMISSION_DENIED` errors.
942
+ # @param [String] resource
943
+ # REQUIRED: The resource for which the policy is being specified. See the
944
+ # operation documentation for the appropriate value for this field.
945
+ # @param [Google::Apis::ApigatewayV1beta::ApigatewaySetIamPolicyRequest] apigateway_set_iam_policy_request_object
946
+ # @param [String] fields
947
+ # Selector specifying which fields to include in a partial response.
948
+ # @param [String] quota_user
949
+ # Available to use for quota purposes for server-side applications. Can be any
950
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
951
+ # @param [Google::Apis::RequestOptions] options
952
+ # Request-specific options
953
+ #
954
+ # @yield [result, err] Result & error if block supplied
955
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayPolicy] parsed result object
956
+ # @yieldparam err [StandardError] error object if request failed
957
+ #
958
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayPolicy]
959
+ #
960
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
961
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
962
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
963
+ def set_project_location_gateway_iam_policy(resource, apigateway_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
964
+ command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
965
+ command.request_representation = Google::Apis::ApigatewayV1beta::ApigatewaySetIamPolicyRequest::Representation
966
+ command.request_object = apigateway_set_iam_policy_request_object
967
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayPolicy::Representation
968
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayPolicy
969
+ command.params['resource'] = resource unless resource.nil?
970
+ command.query['fields'] = fields unless fields.nil?
971
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
972
+ execute_or_queue_command(command, &block)
973
+ end
974
+
975
+ # Returns permissions that a caller has on the specified resource. If the
976
+ # resource does not exist, this will return an empty set of permissions, not a `
977
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
978
+ # permission-aware UIs and command-line tools, not for authorization checking.
979
+ # This operation may "fail open" without warning.
980
+ # @param [String] resource
981
+ # REQUIRED: The resource for which the policy detail is being requested. See the
982
+ # operation documentation for the appropriate value for this field.
983
+ # @param [Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsRequest] apigateway_test_iam_permissions_request_object
984
+ # @param [String] fields
985
+ # Selector specifying which fields to include in a partial response.
986
+ # @param [String] quota_user
987
+ # Available to use for quota purposes for server-side applications. Can be any
988
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
989
+ # @param [Google::Apis::RequestOptions] options
990
+ # Request-specific options
991
+ #
992
+ # @yield [result, err] Result & error if block supplied
993
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsResponse] parsed result object
994
+ # @yieldparam err [StandardError] error object if request failed
995
+ #
996
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsResponse]
997
+ #
998
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
999
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1000
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1001
+ def test_project_location_gateway_iam_permissions(resource, apigateway_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1002
+ command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', options)
1003
+ command.request_representation = Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsRequest::Representation
1004
+ command.request_object = apigateway_test_iam_permissions_request_object
1005
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsResponse::Representation
1006
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayTestIamPermissionsResponse
1007
+ command.params['resource'] = resource unless resource.nil?
1008
+ command.query['fields'] = fields unless fields.nil?
1009
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1010
+ execute_or_queue_command(command, &block)
1011
+ end
1012
+
1013
+ # Starts asynchronous cancellation on a long-running operation. The server makes
1014
+ # a best effort to cancel the operation, but success is not guaranteed. If the
1015
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
1016
+ # Clients can use Operations.GetOperation or other methods to check whether the
1017
+ # cancellation succeeded or whether the operation completed despite cancellation.
1018
+ # On successful cancellation, the operation is not deleted; instead, it becomes
1019
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
1020
+ # corresponding to `Code.CANCELLED`.
1021
+ # @param [String] name
1022
+ # The name of the operation resource to be cancelled.
1023
+ # @param [Google::Apis::ApigatewayV1beta::ApigatewayCancelOperationRequest] apigateway_cancel_operation_request_object
1024
+ # @param [String] fields
1025
+ # Selector specifying which fields to include in a partial response.
1026
+ # @param [String] quota_user
1027
+ # Available to use for quota purposes for server-side applications. Can be any
1028
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1029
+ # @param [Google::Apis::RequestOptions] options
1030
+ # Request-specific options
1031
+ #
1032
+ # @yield [result, err] Result & error if block supplied
1033
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::Empty] parsed result object
1034
+ # @yieldparam err [StandardError] error object if request failed
1035
+ #
1036
+ # @return [Google::Apis::ApigatewayV1beta::Empty]
1037
+ #
1038
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1039
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1040
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1041
+ def cancel_project_location_operation(name, apigateway_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1042
+ command = make_simple_command(:post, 'v1beta/{+name}:cancel', options)
1043
+ command.request_representation = Google::Apis::ApigatewayV1beta::ApigatewayCancelOperationRequest::Representation
1044
+ command.request_object = apigateway_cancel_operation_request_object
1045
+ command.response_representation = Google::Apis::ApigatewayV1beta::Empty::Representation
1046
+ command.response_class = Google::Apis::ApigatewayV1beta::Empty
1047
+ command.params['name'] = name unless name.nil?
1048
+ command.query['fields'] = fields unless fields.nil?
1049
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1050
+ execute_or_queue_command(command, &block)
1051
+ end
1052
+
1053
+ # Deletes a long-running operation. This method indicates that the client is no
1054
+ # longer interested in the operation result. It does not cancel the operation.
1055
+ # If the server doesn't support this method, it returns `google.rpc.Code.
1056
+ # UNIMPLEMENTED`.
1057
+ # @param [String] name
1058
+ # The name of the operation resource to be deleted.
1059
+ # @param [String] fields
1060
+ # Selector specifying which fields to include in a partial response.
1061
+ # @param [String] quota_user
1062
+ # Available to use for quota purposes for server-side applications. Can be any
1063
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1064
+ # @param [Google::Apis::RequestOptions] options
1065
+ # Request-specific options
1066
+ #
1067
+ # @yield [result, err] Result & error if block supplied
1068
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::Empty] parsed result object
1069
+ # @yieldparam err [StandardError] error object if request failed
1070
+ #
1071
+ # @return [Google::Apis::ApigatewayV1beta::Empty]
1072
+ #
1073
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1074
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1075
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1076
+ def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1077
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
1078
+ command.response_representation = Google::Apis::ApigatewayV1beta::Empty::Representation
1079
+ command.response_class = Google::Apis::ApigatewayV1beta::Empty
1080
+ command.params['name'] = name unless name.nil?
1081
+ command.query['fields'] = fields unless fields.nil?
1082
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1083
+ execute_or_queue_command(command, &block)
1084
+ end
1085
+
1086
+ # Gets the latest state of a long-running operation. Clients can use this method
1087
+ # to poll the operation result at intervals as recommended by the API service.
1088
+ # @param [String] name
1089
+ # The name of the operation resource.
1090
+ # @param [String] fields
1091
+ # Selector specifying which fields to include in a partial response.
1092
+ # @param [String] quota_user
1093
+ # Available to use for quota purposes for server-side applications. Can be any
1094
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1095
+ # @param [Google::Apis::RequestOptions] options
1096
+ # Request-specific options
1097
+ #
1098
+ # @yield [result, err] Result & error if block supplied
1099
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayOperation] parsed result object
1100
+ # @yieldparam err [StandardError] error object if request failed
1101
+ #
1102
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayOperation]
1103
+ #
1104
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1105
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1106
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1107
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1108
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
1109
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayOperation::Representation
1110
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayOperation
1111
+ command.params['name'] = name unless name.nil?
1112
+ command.query['fields'] = fields unless fields.nil?
1113
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1114
+ execute_or_queue_command(command, &block)
1115
+ end
1116
+
1117
+ # Lists operations that match the specified filter in the request. If the server
1118
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
1119
+ # binding allows API services to override the binding to use different resource
1120
+ # name schemes, such as `users/*/operations`. To override the binding, API
1121
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
1122
+ # service configuration. For backwards compatibility, the default name includes
1123
+ # the operations collection id, however overriding users must ensure the name
1124
+ # binding is the parent resource, without the operations collection id.
1125
+ # @param [String] name
1126
+ # The name of the operation's parent resource.
1127
+ # @param [String] filter
1128
+ # The standard list filter.
1129
+ # @param [Fixnum] page_size
1130
+ # The standard list page size.
1131
+ # @param [String] page_token
1132
+ # The standard list page token.
1133
+ # @param [String] fields
1134
+ # Selector specifying which fields to include in a partial response.
1135
+ # @param [String] quota_user
1136
+ # Available to use for quota purposes for server-side applications. Can be any
1137
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1138
+ # @param [Google::Apis::RequestOptions] options
1139
+ # Request-specific options
1140
+ #
1141
+ # @yield [result, err] Result & error if block supplied
1142
+ # @yieldparam result [Google::Apis::ApigatewayV1beta::ApigatewayListOperationsResponse] parsed result object
1143
+ # @yieldparam err [StandardError] error object if request failed
1144
+ #
1145
+ # @return [Google::Apis::ApigatewayV1beta::ApigatewayListOperationsResponse]
1146
+ #
1147
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1148
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1149
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1150
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1151
+ command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
1152
+ command.response_representation = Google::Apis::ApigatewayV1beta::ApigatewayListOperationsResponse::Representation
1153
+ command.response_class = Google::Apis::ApigatewayV1beta::ApigatewayListOperationsResponse
1154
+ command.params['name'] = name unless name.nil?
1155
+ command.query['filter'] = filter unless filter.nil?
1156
+ command.query['pageSize'] = page_size unless page_size.nil?
1157
+ command.query['pageToken'] = page_token unless page_token.nil?
1158
+ command.query['fields'] = fields unless fields.nil?
1159
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1160
+ execute_or_queue_command(command, &block)
1161
+ end
1162
+
1163
+ protected
1164
+
1165
+ def apply_command_defaults(command)
1166
+ command.query['key'] = key unless key.nil?
1167
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1168
+ end
1169
+ end
1170
+ end
1171
+ end
1172
+ end