google-api-client 0.28.4 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (750) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/build.bat +9 -6
  3. data/.kokoro/build.sh +2 -34
  4. data/.kokoro/continuous/common.cfg +6 -1
  5. data/.kokoro/continuous/linux.cfg +1 -1
  6. data/.kokoro/continuous/windows.cfg +17 -1
  7. data/.kokoro/osx.sh +2 -33
  8. data/.kokoro/presubmit/common.cfg +6 -1
  9. data/.kokoro/presubmit/linux.cfg +1 -1
  10. data/.kokoro/presubmit/windows.cfg +17 -1
  11. data/.kokoro/trampoline.bat +10 -0
  12. data/.kokoro/trampoline.sh +3 -23
  13. data/CHANGELOG.md +460 -0
  14. data/README.md +1 -1
  15. data/Rakefile +31 -0
  16. data/bin/generate-api +4 -2
  17. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
  18. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
  19. data/generated/google/apis/accessapproval_v1beta1/classes.rb +333 -0
  20. data/generated/google/apis/accessapproval_v1beta1/representations.rb +174 -0
  21. data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
  22. data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
  23. data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
  24. data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
  25. data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
  26. data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
  27. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +47 -31
  28. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
  29. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
  30. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  31. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +95 -200
  32. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
  33. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +64 -104
  34. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  35. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
  36. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
  37. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
  38. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
  39. data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
  40. data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
  41. data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
  42. data/generated/google/apis/admin_directory_v1/service.rb +113 -113
  43. data/generated/google/apis/admin_directory_v1.rb +1 -1
  44. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  45. data/generated/google/apis/admin_reports_v1.rb +1 -1
  46. data/generated/google/apis/adsense_v1_4/service.rb +39 -39
  47. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
  48. data/generated/google/apis/alertcenter_v1beta1/classes.rb +101 -2
  49. data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
  50. data/generated/google/apis/alertcenter_v1beta1/service.rb +17 -16
  51. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  52. data/generated/google/apis/analytics_v2_4/service.rb +6 -6
  53. data/generated/google/apis/analytics_v3/service.rb +88 -88
  54. data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
  55. data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
  56. data/generated/google/apis/analyticsreporting_v4/service.rb +31 -1
  57. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  58. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +51 -11
  59. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
  60. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
  61. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  62. data/generated/google/apis/androidenterprise_v1/classes.rb +26 -30
  63. data/generated/google/apis/androidenterprise_v1/representations.rb +2 -14
  64. data/generated/google/apis/androidenterprise_v1/service.rb +85 -121
  65. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  66. data/generated/google/apis/androidmanagement_v1/classes.rb +358 -4
  67. data/generated/google/apis/androidmanagement_v1/representations.rb +163 -0
  68. data/generated/google/apis/androidmanagement_v1/service.rb +191 -21
  69. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  70. data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
  71. data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
  72. data/generated/google/apis/androidpublisher_v2/service.rb +64 -70
  73. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  74. data/generated/google/apis/androidpublisher_v3/classes.rb +113 -0
  75. data/generated/google/apis/androidpublisher_v3/representations.rb +58 -0
  76. data/generated/google/apis/androidpublisher_v3/service.rb +234 -64
  77. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  78. data/generated/google/apis/appengine_v1/classes.rb +45 -100
  79. data/generated/google/apis/appengine_v1/representations.rb +17 -35
  80. data/generated/google/apis/appengine_v1/service.rb +45 -39
  81. data/generated/google/apis/appengine_v1.rb +1 -1
  82. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -99
  83. data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
  84. data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
  85. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  86. data/generated/google/apis/appengine_v1beta/classes.rb +7 -102
  87. data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
  88. data/generated/google/apis/appengine_v1beta/service.rb +45 -39
  89. data/generated/google/apis/appengine_v1beta.rb +1 -1
  90. data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
  91. data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
  92. data/generated/google/apis/appsactivity_v1/service.rb +5 -4
  93. data/generated/google/apis/appsactivity_v1.rb +1 -1
  94. data/generated/google/apis/appsmarket_v2/service.rb +3 -3
  95. data/generated/google/apis/appstate_v1/service.rb +5 -5
  96. data/generated/google/apis/bigquery_v2/classes.rb +1121 -114
  97. data/generated/google/apis/bigquery_v2/representations.rb +414 -26
  98. data/generated/google/apis/bigquery_v2/service.rb +184 -22
  99. data/generated/google/apis/bigquery_v2.rb +1 -1
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +88 -10
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +142 -34
  103. data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
  104. data/generated/google/apis/bigtableadmin_v1/service.rb +3 -3
  105. data/generated/google/apis/bigtableadmin_v1.rb +2 -2
  106. data/generated/google/apis/bigtableadmin_v2/classes.rb +14 -14
  107. data/generated/google/apis/bigtableadmin_v2/service.rb +142 -33
  108. data/generated/google/apis/bigtableadmin_v2.rb +2 -2
  109. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
  110. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
  111. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
  112. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  113. data/generated/google/apis/blogger_v2/service.rb +9 -9
  114. data/generated/google/apis/blogger_v3/service.rb +33 -33
  115. data/generated/google/apis/books_v1/service.rb +51 -51
  116. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  117. data/generated/google/apis/calendar_v3/service.rb +47 -47
  118. data/generated/google/apis/calendar_v3.rb +1 -1
  119. data/generated/google/apis/chat_v1/service.rb +8 -8
  120. data/generated/google/apis/civicinfo_v2/service.rb +5 -5
  121. data/generated/google/apis/classroom_v1/classes.rb +77 -0
  122. data/generated/google/apis/classroom_v1/representations.rb +32 -0
  123. data/generated/google/apis/classroom_v1/service.rb +276 -51
  124. data/generated/google/apis/classroom_v1.rb +7 -1
  125. data/generated/google/apis/cloudasset_v1/classes.rb +818 -0
  126. data/generated/google/apis/cloudasset_v1/representations.rb +264 -0
  127. data/generated/google/apis/cloudasset_v1/service.rb +191 -0
  128. data/generated/google/apis/cloudasset_v1.rb +34 -0
  129. data/generated/google/apis/cloudasset_v1beta1/classes.rb +33 -18
  130. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  131. data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -13
  132. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  133. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  134. data/generated/google/apis/cloudbilling_v1/service.rb +14 -14
  135. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  136. data/generated/google/apis/cloudbuild_v1/classes.rb +162 -11
  137. data/generated/google/apis/cloudbuild_v1/representations.rb +67 -0
  138. data/generated/google/apis/cloudbuild_v1/service.rb +21 -15
  139. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  140. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +7 -1
  141. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  142. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +6 -6
  143. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  144. data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
  145. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
  146. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -11
  147. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  148. data/generated/google/apis/cloudfunctions_v1/classes.rb +21 -17
  149. data/generated/google/apis/cloudfunctions_v1/service.rb +22 -16
  150. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  151. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +20 -16
  152. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +17 -11
  153. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  154. data/generated/google/apis/cloudidentity_v1/classes.rb +14 -14
  155. data/generated/google/apis/cloudidentity_v1/service.rb +18 -27
  156. data/generated/google/apis/cloudidentity_v1.rb +7 -1
  157. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -11
  158. data/generated/google/apis/cloudidentity_v1beta1/service.rb +15 -21
  159. data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
  160. data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
  161. data/generated/google/apis/cloudiot_v1/service.rb +23 -330
  162. data/generated/google/apis/cloudiot_v1.rb +1 -1
  163. data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
  164. data/generated/google/apis/cloudkms_v1/service.rb +30 -30
  165. data/generated/google/apis/cloudkms_v1.rb +1 -1
  166. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
  167. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
  168. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
  169. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
  170. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
  171. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
  172. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
  173. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
  174. data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
  175. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +24 -22
  176. data/generated/google/apis/cloudresourcemanager_v1/service.rb +68 -59
  177. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  178. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
  179. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +53 -42
  180. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  181. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +15 -16
  182. data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
  183. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  184. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +15 -16
  185. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
  186. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  187. data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
  188. data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
  189. data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
  190. data/generated/google/apis/cloudscheduler_v1.rb +34 -0
  191. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +160 -44
  192. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
  193. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +15 -12
  194. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  195. data/generated/google/apis/cloudsearch_v1/classes.rb +245 -59
  196. data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
  197. data/generated/google/apis/cloudsearch_v1/service.rb +86 -80
  198. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  199. data/generated/google/apis/cloudshell_v1/classes.rb +11 -11
  200. data/generated/google/apis/cloudshell_v1/service.rb +4 -4
  201. data/generated/google/apis/cloudshell_v1.rb +1 -1
  202. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -11
  203. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
  204. data/generated/google/apis/cloudshell_v1alpha1/service.rb +11 -10
  205. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  206. data/generated/google/apis/cloudtasks_v2/classes.rb +1436 -0
  207. data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
  208. data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
  209. data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
  210. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +141 -102
  211. data/generated/google/apis/cloudtasks_v2beta2/service.rb +44 -43
  212. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  213. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +388 -108
  214. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
  215. data/generated/google/apis/cloudtasks_v2beta3/service.rb +40 -39
  216. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  217. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  218. data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
  219. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  220. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  221. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
  222. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
  223. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
  224. data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
  225. data/generated/google/apis/composer_v1/classes.rb +21 -15
  226. data/generated/google/apis/composer_v1/service.rb +9 -9
  227. data/generated/google/apis/composer_v1.rb +1 -1
  228. data/generated/google/apis/composer_v1beta1/classes.rb +175 -36
  229. data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
  230. data/generated/google/apis/composer_v1beta1/service.rb +9 -9
  231. data/generated/google/apis/composer_v1beta1.rb +1 -1
  232. data/generated/google/apis/compute_alpha/classes.rb +10112 -7289
  233. data/generated/google/apis/compute_alpha/representations.rb +1337 -219
  234. data/generated/google/apis/compute_alpha/service.rb +4259 -2728
  235. data/generated/google/apis/compute_alpha.rb +1 -1
  236. data/generated/google/apis/compute_beta/classes.rb +4254 -2781
  237. data/generated/google/apis/compute_beta/representations.rb +853 -283
  238. data/generated/google/apis/compute_beta/service.rb +7077 -5955
  239. data/generated/google/apis/compute_beta.rb +1 -1
  240. data/generated/google/apis/compute_v1/classes.rb +1259 -93
  241. data/generated/google/apis/compute_v1/representations.rb +450 -1
  242. data/generated/google/apis/compute_v1/service.rb +1085 -400
  243. data/generated/google/apis/compute_v1.rb +1 -1
  244. data/generated/google/apis/container_v1/classes.rb +201 -22
  245. data/generated/google/apis/container_v1/representations.rb +69 -0
  246. data/generated/google/apis/container_v1/service.rb +151 -102
  247. data/generated/google/apis/container_v1.rb +1 -1
  248. data/generated/google/apis/container_v1beta1/classes.rb +215 -25
  249. data/generated/google/apis/container_v1beta1/representations.rb +86 -0
  250. data/generated/google/apis/container_v1beta1/service.rb +106 -106
  251. data/generated/google/apis/container_v1beta1.rb +1 -1
  252. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -18
  253. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  254. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
  255. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  256. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +226 -12
  257. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +58 -0
  258. data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
  259. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  260. data/generated/google/apis/content_v2/classes.rb +218 -101
  261. data/generated/google/apis/content_v2/representations.rb +49 -0
  262. data/generated/google/apis/content_v2/service.rb +189 -152
  263. data/generated/google/apis/content_v2.rb +1 -1
  264. data/generated/google/apis/content_v2_1/classes.rb +387 -216
  265. data/generated/google/apis/content_v2_1/representations.rb +131 -56
  266. data/generated/google/apis/content_v2_1/service.rb +190 -107
  267. data/generated/google/apis/content_v2_1.rb +1 -1
  268. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  269. data/generated/google/apis/dataflow_v1b3/classes.rb +148 -31
  270. data/generated/google/apis/dataflow_v1b3/representations.rb +45 -0
  271. data/generated/google/apis/dataflow_v1b3/service.rb +415 -56
  272. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  273. data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
  274. data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
  275. data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
  276. data/generated/google/apis/datafusion_v1beta1.rb +43 -0
  277. data/generated/google/apis/dataproc_v1/classes.rb +27 -22
  278. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  279. data/generated/google/apis/dataproc_v1/service.rb +261 -45
  280. data/generated/google/apis/dataproc_v1.rb +1 -1
  281. data/generated/google/apis/dataproc_v1beta2/classes.rb +534 -50
  282. data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
  283. data/generated/google/apis/dataproc_v1beta2/service.rb +617 -51
  284. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  285. data/generated/google/apis/datastore_v1/classes.rb +20 -16
  286. data/generated/google/apis/datastore_v1/service.rb +15 -15
  287. data/generated/google/apis/datastore_v1.rb +1 -1
  288. data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
  289. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  290. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  291. data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
  292. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  293. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  294. data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
  295. data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
  296. data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
  297. data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
  298. data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
  299. data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
  300. data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
  301. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  302. data/generated/google/apis/dialogflow_v2/classes.rb +367 -82
  303. data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
  304. data/generated/google/apis/dialogflow_v2/service.rb +76 -60
  305. data/generated/google/apis/dialogflow_v2.rb +1 -1
  306. data/generated/google/apis/dialogflow_v2beta1/classes.rb +199 -88
  307. data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
  308. data/generated/google/apis/dialogflow_v2beta1/service.rb +154 -94
  309. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  310. data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
  311. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  312. data/generated/google/apis/discovery_v1/service.rb +2 -2
  313. data/generated/google/apis/dlp_v2/classes.rb +116 -45
  314. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  315. data/generated/google/apis/dlp_v2/service.rb +85 -45
  316. data/generated/google/apis/dlp_v2.rb +1 -1
  317. data/generated/google/apis/dns_v1/classes.rb +83 -1
  318. data/generated/google/apis/dns_v1/representations.rb +34 -0
  319. data/generated/google/apis/dns_v1/service.rb +15 -15
  320. data/generated/google/apis/dns_v1.rb +1 -1
  321. data/generated/google/apis/dns_v1beta2/classes.rb +81 -1
  322. data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
  323. data/generated/google/apis/dns_v1beta2/service.rb +21 -21
  324. data/generated/google/apis/dns_v1beta2.rb +1 -1
  325. data/generated/google/apis/dns_v2beta1/classes.rb +83 -1
  326. data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
  327. data/generated/google/apis/dns_v2beta1/service.rb +16 -16
  328. data/generated/google/apis/dns_v2beta1.rb +1 -1
  329. data/generated/google/apis/docs_v1/classes.rb +265 -47
  330. data/generated/google/apis/docs_v1/representations.rb +96 -0
  331. data/generated/google/apis/docs_v1/service.rb +3 -3
  332. data/generated/google/apis/docs_v1.rb +1 -1
  333. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
  334. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
  335. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  336. data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
  337. data/generated/google/apis/drive_v2/classes.rb +601 -80
  338. data/generated/google/apis/drive_v2/representations.rb +152 -0
  339. data/generated/google/apis/drive_v2/service.rb +574 -164
  340. data/generated/google/apis/drive_v2.rb +1 -1
  341. data/generated/google/apis/drive_v3/classes.rb +591 -75
  342. data/generated/google/apis/drive_v3/representations.rb +151 -0
  343. data/generated/google/apis/drive_v3/service.rb +483 -116
  344. data/generated/google/apis/drive_v3.rb +1 -1
  345. data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
  346. data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
  347. data/generated/google/apis/driveactivity_v2/service.rb +1 -1
  348. data/generated/google/apis/driveactivity_v2.rb +1 -1
  349. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
  350. data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
  351. data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
  352. data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
  353. data/generated/google/apis/fcm_v1/classes.rb +424 -0
  354. data/generated/google/apis/fcm_v1/representations.rb +167 -0
  355. data/generated/google/apis/fcm_v1/service.rb +97 -0
  356. data/generated/google/apis/fcm_v1.rb +35 -0
  357. data/generated/google/apis/file_v1/classes.rb +646 -11
  358. data/generated/google/apis/file_v1/representations.rb +207 -0
  359. data/generated/google/apis/file_v1/service.rb +196 -6
  360. data/generated/google/apis/file_v1.rb +1 -1
  361. data/generated/google/apis/file_v1beta1/classes.rb +461 -19
  362. data/generated/google/apis/file_v1beta1/representations.rb +137 -0
  363. data/generated/google/apis/file_v1beta1/service.rb +11 -11
  364. data/generated/google/apis/file_v1beta1.rb +1 -1
  365. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +41 -14
  366. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
  367. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
  368. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  369. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
  370. data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
  371. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  372. data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
  373. data/generated/google/apis/firebaserules_v1/service.rb +12 -12
  374. data/generated/google/apis/firebaserules_v1.rb +1 -1
  375. data/generated/google/apis/firestore_v1/classes.rb +15 -15
  376. data/generated/google/apis/firestore_v1/service.rb +28 -28
  377. data/generated/google/apis/firestore_v1.rb +1 -1
  378. data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
  379. data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
  380. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  381. data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
  382. data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
  383. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  384. data/generated/google/apis/fitness_v1/classes.rb +4 -1
  385. data/generated/google/apis/fitness_v1/service.rb +14 -58
  386. data/generated/google/apis/fitness_v1.rb +1 -1
  387. data/generated/google/apis/fusiontables_v1/service.rb +32 -32
  388. data/generated/google/apis/fusiontables_v2/service.rb +34 -34
  389. data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
  390. data/generated/google/apis/games_management_v1management/service.rb +27 -27
  391. data/generated/google/apis/games_management_v1management.rb +2 -2
  392. data/generated/google/apis/games_v1/service.rb +53 -53
  393. data/generated/google/apis/games_v1.rb +3 -3
  394. data/generated/google/apis/genomics_v1/classes.rb +190 -3321
  395. data/generated/google/apis/genomics_v1/representations.rb +128 -1265
  396. data/generated/google/apis/genomics_v1/service.rb +75 -1982
  397. data/generated/google/apis/genomics_v1.rb +1 -10
  398. data/generated/google/apis/genomics_v1alpha2/classes.rb +13 -53
  399. data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
  400. data/generated/google/apis/genomics_v1alpha2/service.rb +11 -12
  401. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  402. data/generated/google/apis/genomics_v2alpha1/classes.rb +26 -58
  403. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -26
  404. data/generated/google/apis/genomics_v2alpha1/service.rb +6 -7
  405. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  406. data/generated/google/apis/gmail_v1/classes.rb +29 -0
  407. data/generated/google/apis/gmail_v1/representations.rb +13 -0
  408. data/generated/google/apis/gmail_v1/service.rb +142 -66
  409. data/generated/google/apis/gmail_v1.rb +1 -1
  410. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  411. data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
  412. data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
  413. data/generated/google/apis/groupssettings_v1/service.rb +4 -4
  414. data/generated/google/apis/groupssettings_v1.rb +2 -2
  415. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
  416. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
  417. data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
  418. data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
  419. data/generated/google/apis/healthcare_v1beta1/classes.rb +2464 -0
  420. data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
  421. data/generated/google/apis/healthcare_v1beta1/service.rb +3413 -0
  422. data/generated/google/apis/healthcare_v1beta1.rb +34 -0
  423. data/generated/google/apis/iam_v1/classes.rb +171 -1
  424. data/generated/google/apis/iam_v1/representations.rb +95 -0
  425. data/generated/google/apis/iam_v1/service.rb +249 -39
  426. data/generated/google/apis/iam_v1.rb +1 -1
  427. data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
  428. data/generated/google/apis/iamcredentials_v1/service.rb +15 -10
  429. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  430. data/generated/google/apis/iap_v1/classes.rb +1 -1
  431. data/generated/google/apis/iap_v1/service.rb +3 -3
  432. data/generated/google/apis/iap_v1.rb +1 -1
  433. data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
  434. data/generated/google/apis/iap_v1beta1/service.rb +3 -3
  435. data/generated/google/apis/iap_v1beta1.rb +1 -1
  436. data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
  437. data/generated/google/apis/indexing_v3/service.rb +2 -2
  438. data/generated/google/apis/jobs_v2/classes.rb +16 -17
  439. data/generated/google/apis/jobs_v2/service.rb +17 -17
  440. data/generated/google/apis/jobs_v2.rb +1 -1
  441. data/generated/google/apis/jobs_v3/classes.rb +14 -8
  442. data/generated/google/apis/jobs_v3/service.rb +16 -17
  443. data/generated/google/apis/jobs_v3.rb +1 -1
  444. data/generated/google/apis/jobs_v3p1beta1/classes.rb +26 -20
  445. data/generated/google/apis/jobs_v3p1beta1/service.rb +17 -18
  446. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  447. data/generated/google/apis/kgsearch_v1/service.rb +1 -1
  448. data/generated/google/apis/language_v1/classes.rb +8 -7
  449. data/generated/google/apis/language_v1/service.rb +6 -6
  450. data/generated/google/apis/language_v1.rb +1 -1
  451. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  452. data/generated/google/apis/language_v1beta1/service.rb +4 -4
  453. data/generated/google/apis/language_v1beta1.rb +1 -1
  454. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  455. data/generated/google/apis/language_v1beta2/service.rb +6 -6
  456. data/generated/google/apis/language_v1beta2.rb +1 -1
  457. data/generated/google/apis/libraryagent_v1/service.rb +6 -6
  458. data/generated/google/apis/licensing_v1/service.rb +7 -7
  459. data/generated/google/apis/logging_v2/classes.rb +8 -3
  460. data/generated/google/apis/logging_v2/representations.rb +1 -0
  461. data/generated/google/apis/logging_v2/service.rb +72 -72
  462. data/generated/google/apis/logging_v2.rb +1 -1
  463. data/generated/google/apis/manufacturers_v1/service.rb +4 -4
  464. data/generated/google/apis/mirror_v1/service.rb +24 -24
  465. data/generated/google/apis/ml_v1/classes.rb +240 -52
  466. data/generated/google/apis/ml_v1/representations.rb +25 -2
  467. data/generated/google/apis/ml_v1/service.rb +36 -36
  468. data/generated/google/apis/ml_v1.rb +1 -1
  469. data/generated/google/apis/monitoring_v3/classes.rb +22 -18
  470. data/generated/google/apis/monitoring_v3/representations.rb +2 -1
  471. data/generated/google/apis/monitoring_v3/service.rb +42 -37
  472. data/generated/google/apis/monitoring_v3.rb +1 -1
  473. data/generated/google/apis/oauth2_v1/classes.rb +0 -124
  474. data/generated/google/apis/oauth2_v1/representations.rb +0 -62
  475. data/generated/google/apis/oauth2_v1/service.rb +3 -162
  476. data/generated/google/apis/oauth2_v1.rb +3 -6
  477. data/generated/google/apis/oauth2_v2/service.rb +4 -4
  478. data/generated/google/apis/oauth2_v2.rb +3 -6
  479. data/generated/google/apis/oslogin_v1/service.rb +8 -7
  480. data/generated/google/apis/oslogin_v1.rb +3 -2
  481. data/generated/google/apis/oslogin_v1alpha/service.rb +8 -7
  482. data/generated/google/apis/oslogin_v1alpha.rb +3 -2
  483. data/generated/google/apis/oslogin_v1beta/service.rb +8 -7
  484. data/generated/google/apis/oslogin_v1beta.rb +3 -2
  485. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  486. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  487. data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
  488. data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
  489. data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
  490. data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
  491. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  492. data/generated/google/apis/people_v1/classes.rb +38 -29
  493. data/generated/google/apis/people_v1/representations.rb +1 -0
  494. data/generated/google/apis/people_v1/service.rb +18 -13
  495. data/generated/google/apis/people_v1.rb +2 -5
  496. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  497. data/generated/google/apis/plus_domains_v1/service.rb +18 -392
  498. data/generated/google/apis/plus_domains_v1.rb +4 -10
  499. data/generated/google/apis/plus_v1/service.rb +16 -16
  500. data/generated/google/apis/plus_v1.rb +4 -4
  501. data/generated/google/apis/poly_v1/classes.rb +8 -6
  502. data/generated/google/apis/poly_v1/service.rb +15 -12
  503. data/generated/google/apis/poly_v1.rb +1 -1
  504. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
  505. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
  506. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  507. data/generated/google/apis/pubsub_v1/classes.rb +55 -39
  508. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  509. data/generated/google/apis/pubsub_v1/service.rb +46 -69
  510. data/generated/google/apis/pubsub_v1.rb +1 -1
  511. data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
  512. data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
  513. data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
  514. data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
  515. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  516. data/generated/google/apis/redis_v1/classes.rb +30 -10
  517. data/generated/google/apis/redis_v1/representations.rb +13 -0
  518. data/generated/google/apis/redis_v1/service.rb +51 -15
  519. data/generated/google/apis/redis_v1.rb +1 -1
  520. data/generated/google/apis/redis_v1beta1/classes.rb +18 -21
  521. data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
  522. data/generated/google/apis/redis_v1beta1/service.rb +15 -15
  523. data/generated/google/apis/redis_v1beta1.rb +1 -1
  524. data/generated/google/apis/remotebuildexecution_v1/classes.rb +50 -35
  525. data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
  526. data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
  527. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  528. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +48 -33
  529. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
  530. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
  531. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  532. data/generated/google/apis/remotebuildexecution_v2/classes.rb +58 -43
  533. data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
  534. data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
  535. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  536. data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
  537. data/generated/google/apis/reseller_v1/classes.rb +32 -39
  538. data/generated/google/apis/reseller_v1/service.rb +18 -18
  539. data/generated/google/apis/reseller_v1.rb +1 -1
  540. data/generated/google/apis/run_v1/classes.rb +73 -0
  541. data/generated/google/apis/run_v1/representations.rb +43 -0
  542. data/generated/google/apis/run_v1/service.rb +90 -0
  543. data/generated/google/apis/run_v1.rb +35 -0
  544. data/generated/google/apis/run_v1alpha1/classes.rb +3882 -0
  545. data/generated/google/apis/run_v1alpha1/representations.rb +1425 -0
  546. data/generated/google/apis/run_v1alpha1/service.rb +2071 -0
  547. data/generated/google/apis/run_v1alpha1.rb +35 -0
  548. data/generated/google/apis/runtimeconfig_v1/classes.rb +11 -11
  549. data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
  550. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  551. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +26 -25
  552. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
  553. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  554. data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
  555. data/generated/google/apis/script_v1/classes.rb +167 -6
  556. data/generated/google/apis/script_v1/representations.rb +79 -1
  557. data/generated/google/apis/script_v1/service.rb +16 -16
  558. data/generated/google/apis/script_v1.rb +1 -1
  559. data/generated/google/apis/searchconsole_v1/service.rb +1 -1
  560. data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
  561. data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
  562. data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
  563. data/generated/google/apis/securitycenter_v1.rb +35 -0
  564. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
  565. data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
  566. data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
  567. data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
  568. data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
  569. data/generated/google/apis/servicebroker_v1/service.rb +3 -3
  570. data/generated/google/apis/servicebroker_v1.rb +1 -1
  571. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
  572. data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
  573. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  574. data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
  575. data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
  576. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  577. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +453 -149
  578. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +202 -29
  579. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +148 -62
  580. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  581. data/generated/google/apis/servicecontrol_v1/classes.rb +122 -25
  582. data/generated/google/apis/servicecontrol_v1/representations.rb +47 -0
  583. data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
  584. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  585. data/generated/google/apis/servicemanagement_v1/classes.rb +93 -110
  586. data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
  587. data/generated/google/apis/servicemanagement_v1/service.rb +30 -27
  588. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  589. data/generated/google/apis/servicenetworking_v1/classes.rb +3626 -0
  590. data/generated/google/apis/servicenetworking_v1/representations.rb +1055 -0
  591. data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
  592. data/generated/google/apis/servicenetworking_v1.rb +38 -0
  593. data/generated/google/apis/servicenetworking_v1beta/classes.rb +65 -108
  594. data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
  595. data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
  596. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  597. data/generated/google/apis/serviceusage_v1/classes.rb +160 -109
  598. data/generated/google/apis/serviceusage_v1/representations.rb +42 -26
  599. data/generated/google/apis/serviceusage_v1/service.rb +17 -19
  600. data/generated/google/apis/serviceusage_v1.rb +1 -1
  601. data/generated/google/apis/serviceusage_v1beta1/classes.rb +161 -110
  602. data/generated/google/apis/serviceusage_v1beta1/representations.rb +42 -26
  603. data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
  604. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  605. data/generated/google/apis/sheets_v4/classes.rb +115 -26
  606. data/generated/google/apis/sheets_v4/service.rb +17 -17
  607. data/generated/google/apis/sheets_v4.rb +1 -1
  608. data/generated/google/apis/site_verification_v1/service.rb +7 -7
  609. data/generated/google/apis/slides_v1/classes.rb +2 -2
  610. data/generated/google/apis/slides_v1/service.rb +5 -5
  611. data/generated/google/apis/slides_v1.rb +1 -1
  612. data/generated/google/apis/sourcerepo_v1/classes.rb +183 -1
  613. data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
  614. data/generated/google/apis/sourcerepo_v1/service.rb +45 -10
  615. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  616. data/generated/google/apis/spanner_v1/classes.rb +231 -17
  617. data/generated/google/apis/spanner_v1/representations.rb +66 -0
  618. data/generated/google/apis/spanner_v1/service.rb +92 -42
  619. data/generated/google/apis/spanner_v1.rb +1 -1
  620. data/generated/google/apis/speech_v1/classes.rb +110 -13
  621. data/generated/google/apis/speech_v1/representations.rb +24 -0
  622. data/generated/google/apis/speech_v1/service.rb +9 -7
  623. data/generated/google/apis/speech_v1.rb +1 -1
  624. data/generated/google/apis/speech_v1p1beta1/classes.rb +19 -13
  625. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  626. data/generated/google/apis/speech_v1p1beta1/service.rb +9 -7
  627. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  628. data/generated/google/apis/sqladmin_v1beta4/classes.rb +94 -17
  629. data/generated/google/apis/sqladmin_v1beta4/representations.rb +36 -0
  630. data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
  631. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  632. data/generated/google/apis/storage_v1/classes.rb +201 -4
  633. data/generated/google/apis/storage_v1/representations.rb +76 -1
  634. data/generated/google/apis/storage_v1/service.rb +488 -93
  635. data/generated/google/apis/storage_v1.rb +1 -1
  636. data/generated/google/apis/storage_v1beta1/service.rb +24 -24
  637. data/generated/google/apis/storage_v1beta2/service.rb +34 -34
  638. data/generated/google/apis/storagetransfer_v1/classes.rb +44 -44
  639. data/generated/google/apis/storagetransfer_v1/service.rb +35 -36
  640. data/generated/google/apis/storagetransfer_v1.rb +2 -2
  641. data/generated/google/apis/streetviewpublish_v1/classes.rb +27 -27
  642. data/generated/google/apis/streetviewpublish_v1/service.rb +36 -40
  643. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  644. data/generated/google/apis/surveys_v2/service.rb +8 -8
  645. data/generated/google/apis/tagmanager_v1/service.rb +49 -95
  646. data/generated/google/apis/tagmanager_v1.rb +1 -1
  647. data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
  648. data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
  649. data/generated/google/apis/tagmanager_v2/service.rb +287 -249
  650. data/generated/google/apis/tagmanager_v2.rb +1 -1
  651. data/generated/google/apis/tasks_v1/service.rb +19 -19
  652. data/generated/google/apis/tasks_v1.rb +2 -2
  653. data/generated/google/apis/testing_v1/classes.rb +44 -39
  654. data/generated/google/apis/testing_v1/representations.rb +3 -1
  655. data/generated/google/apis/testing_v1/service.rb +5 -5
  656. data/generated/google/apis/testing_v1.rb +1 -1
  657. data/generated/google/apis/texttospeech_v1/service.rb +2 -2
  658. data/generated/google/apis/texttospeech_v1.rb +1 -1
  659. data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
  660. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  661. data/generated/google/apis/toolresults_v1beta3/classes.rb +340 -17
  662. data/generated/google/apis/toolresults_v1beta3/representations.rb +90 -0
  663. data/generated/google/apis/toolresults_v1beta3/service.rb +140 -24
  664. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  665. data/generated/google/apis/tpu_v1/classes.rb +21 -15
  666. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  667. data/generated/google/apis/tpu_v1/service.rb +17 -17
  668. data/generated/google/apis/tpu_v1.rb +1 -1
  669. data/generated/google/apis/tpu_v1alpha1/classes.rb +21 -15
  670. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  671. data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
  672. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  673. data/generated/google/apis/translate_v2/service.rb +5 -5
  674. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  675. data/generated/google/apis/vault_v1/classes.rb +44 -18
  676. data/generated/google/apis/vault_v1/representations.rb +4 -0
  677. data/generated/google/apis/vault_v1/service.rb +28 -28
  678. data/generated/google/apis/vault_v1.rb +1 -1
  679. data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
  680. data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
  681. data/generated/google/apis/videointelligence_v1/service.rb +7 -6
  682. data/generated/google/apis/videointelligence_v1.rb +3 -2
  683. data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
  684. data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
  685. data/generated/google/apis/videointelligence_v1beta2/service.rb +3 -2
  686. data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
  687. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
  688. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
  689. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +3 -2
  690. data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
  691. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
  692. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
  693. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +3 -2
  694. data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
  695. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
  696. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
  697. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
  698. data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
  699. data/generated/google/apis/vision_v1/classes.rb +4397 -124
  700. data/generated/google/apis/vision_v1/representations.rb +2366 -541
  701. data/generated/google/apis/vision_v1/service.rb +160 -33
  702. data/generated/google/apis/vision_v1.rb +1 -1
  703. data/generated/google/apis/vision_v1p1beta1/classes.rb +4451 -158
  704. data/generated/google/apis/vision_v1p1beta1/representations.rb +2415 -576
  705. data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
  706. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  707. data/generated/google/apis/vision_v1p2beta1/classes.rb +4451 -158
  708. data/generated/google/apis/vision_v1p2beta1/representations.rb +2443 -604
  709. data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
  710. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  711. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  712. data/generated/google/apis/webmasters_v3/classes.rb +0 -166
  713. data/generated/google/apis/webmasters_v3/representations.rb +0 -93
  714. data/generated/google/apis/webmasters_v3/service.rb +9 -180
  715. data/generated/google/apis/webmasters_v3.rb +1 -1
  716. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
  717. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
  718. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
  719. data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
  720. data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
  721. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  722. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
  723. data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
  724. data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
  725. data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
  726. data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
  727. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  728. data/generated/google/apis/youtube_v3/service.rb +71 -71
  729. data/generated/google/apis/youtube_v3.rb +1 -1
  730. data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
  731. data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
  732. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  733. data/google-api-client.gemspec +2 -2
  734. data/lib/google/apis/core/http_command.rb +1 -0
  735. data/lib/google/apis/core/json_representation.rb +4 -0
  736. data/lib/google/apis/core/upload.rb +3 -3
  737. data/lib/google/apis/generator/model.rb +1 -1
  738. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  739. data/lib/google/apis/version.rb +1 -1
  740. metadata +86 -17
  741. data/.kokoro/common.cfg +0 -22
  742. data/.kokoro/windows.sh +0 -32
  743. data/generated/google/apis/logging_v2beta1/classes.rb +0 -1765
  744. data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
  745. data/generated/google/apis/logging_v2beta1/service.rb +0 -570
  746. data/generated/google/apis/logging_v2beta1.rb +0 -46
  747. data/generated/google/apis/partners_v2/classes.rb +0 -2260
  748. data/generated/google/apis/partners_v2/representations.rb +0 -905
  749. data/generated/google/apis/partners_v2/service.rb +0 -1077
  750. data/samples/web/.env +0 -2
@@ -0,0 +1,2071 @@
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 RunV1alpha1
23
+ # Cloud Run API
24
+ #
25
+ # Deploy and manage user provided container images that scale automatically
26
+ # based on HTTP traffic.
27
+ #
28
+ # @example
29
+ # require 'google/apis/run_v1alpha1'
30
+ #
31
+ # Run = Google::Apis::RunV1alpha1 # Alias the module
32
+ # service = Run::CloudRunService.new
33
+ #
34
+ # @see https://cloud.google.com/run/
35
+ class CloudRunService < Google::Apis::Core::BaseService
36
+ # @return [String]
37
+ # API key. Your API key identifies your project and provides you with API access,
38
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
39
+ attr_accessor :key
40
+
41
+ # @return [String]
42
+ # Available to use for quota purposes for server-side applications. Can be any
43
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
44
+ attr_accessor :quota_user
45
+
46
+ def initialize
47
+ super('https://run.googleapis.com/', '')
48
+ @batch_path = 'batch'
49
+ end
50
+
51
+ # RPC to list authorized domains.
52
+ # @param [String] parent
53
+ # Name of the parent Application resource. Example: `apps/myapp`.
54
+ # @param [Fixnum] page_size
55
+ # Maximum results to return per page.
56
+ # @param [String] page_token
57
+ # Continuation token for fetching the next page of results.
58
+ # @param [String] fields
59
+ # Selector specifying which fields to include in a partial response.
60
+ # @param [String] quota_user
61
+ # Available to use for quota purposes for server-side applications. Can be any
62
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
63
+ # @param [Google::Apis::RequestOptions] options
64
+ # Request-specific options
65
+ #
66
+ # @yield [result, err] Result & error if block supplied
67
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] parsed result object
68
+ # @yieldparam err [StandardError] error object if request failed
69
+ #
70
+ # @return [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse]
71
+ #
72
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
73
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
75
+ def list_namespace_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
76
+ command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/authorizeddomains', options)
77
+ command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation
78
+ command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
79
+ command.params['parent'] = parent unless parent.nil?
80
+ command.query['pageSize'] = page_size unless page_size.nil?
81
+ command.query['pageToken'] = page_token unless page_token.nil?
82
+ command.query['fields'] = fields unless fields.nil?
83
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
84
+ execute_or_queue_command(command, &block)
85
+ end
86
+
87
+ # Rpc to get information about a configuration.
88
+ # @param [String] name
89
+ # The name of the configuration being retrieved. If needed, replace
90
+ # `namespace_id` with the project ID.
91
+ # @param [String] fields
92
+ # Selector specifying which fields to include in a partial response.
93
+ # @param [String] quota_user
94
+ # Available to use for quota purposes for server-side applications. Can be any
95
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
96
+ # @param [Google::Apis::RequestOptions] options
97
+ # Request-specific options
98
+ #
99
+ # @yield [result, err] Result & error if block supplied
100
+ # @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object
101
+ # @yieldparam err [StandardError] error object if request failed
102
+ #
103
+ # @return [Google::Apis::RunV1alpha1::Configuration]
104
+ #
105
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
106
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
107
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
108
+ def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
109
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
110
+ command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
111
+ command.response_class = Google::Apis::RunV1alpha1::Configuration
112
+ command.params['name'] = name unless name.nil?
113
+ command.query['fields'] = fields unless fields.nil?
114
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
115
+ execute_or_queue_command(command, &block)
116
+ end
117
+
118
+ # Rpc to list configurations.
119
+ # @param [String] parent
120
+ # The project ID or project number from which the configurations should be
121
+ # listed.
122
+ # @param [String] continue
123
+ # Optional encoded string to continue paging.
124
+ # @param [String] field_selector
125
+ # Allows to filter resources based on a specific value for a field name.
126
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
127
+ # Not currently used by Cloud Run.
128
+ # @param [Boolean] include_uninitialized
129
+ # Not currently used by Cloud Run.
130
+ # @param [String] label_selector
131
+ # Allows to filter resources based on a label. Supported operations are
132
+ # =, !=, exists, in, and notIn.
133
+ # @param [Fixnum] limit
134
+ # The maximum number of records that should be returned.
135
+ # @param [String] resource_version
136
+ # The baseline resource version from which the list or watch operation should
137
+ # start. Not currently used by Cloud Run.
138
+ # @param [Boolean] watch
139
+ # Flag that indicates that the client expects to watch this resource as well.
140
+ # Not currently used by Cloud Run.
141
+ # @param [String] fields
142
+ # Selector specifying which fields to include in a partial response.
143
+ # @param [String] quota_user
144
+ # Available to use for quota purposes for server-side applications. Can be any
145
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
146
+ # @param [Google::Apis::RequestOptions] options
147
+ # Request-specific options
148
+ #
149
+ # @yield [result, err] Result & error if block supplied
150
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object
151
+ # @yieldparam err [StandardError] error object if request failed
152
+ #
153
+ # @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse]
154
+ #
155
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
156
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
158
+ def list_namespace_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
159
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/configurations', options)
160
+ command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation
161
+ command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse
162
+ command.params['parent'] = parent unless parent.nil?
163
+ command.query['continue'] = continue unless continue.nil?
164
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
165
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
166
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
167
+ command.query['limit'] = limit unless limit.nil?
168
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
169
+ command.query['watch'] = watch unless watch.nil?
170
+ command.query['fields'] = fields unless fields.nil?
171
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
172
+ execute_or_queue_command(command, &block)
173
+ end
174
+
175
+ # Creates a new domain mapping.
176
+ # @param [String] parent
177
+ # The project ID or project number in which this domain mapping should be
178
+ # created.
179
+ # @param [Google::Apis::RunV1alpha1::DomainMapping] domain_mapping_object
180
+ # @param [String] fields
181
+ # Selector specifying which fields to include in a partial response.
182
+ # @param [String] quota_user
183
+ # Available to use for quota purposes for server-side applications. Can be any
184
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
185
+ # @param [Google::Apis::RequestOptions] options
186
+ # Request-specific options
187
+ #
188
+ # @yield [result, err] Result & error if block supplied
189
+ # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
190
+ # @yieldparam err [StandardError] error object if request failed
191
+ #
192
+ # @return [Google::Apis::RunV1alpha1::DomainMapping]
193
+ #
194
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
195
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
196
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
197
+ def create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
198
+ command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
199
+ command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
200
+ command.request_object = domain_mapping_object
201
+ command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
202
+ command.response_class = Google::Apis::RunV1alpha1::DomainMapping
203
+ command.params['parent'] = parent unless parent.nil?
204
+ command.query['fields'] = fields unless fields.nil?
205
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
206
+ execute_or_queue_command(command, &block)
207
+ end
208
+
209
+ # Rpc to delete a domain mapping.
210
+ # @param [String] name
211
+ # The name of the domain mapping being deleted. If needed, replace
212
+ # `namespace_id` with the project ID.
213
+ # @param [String] api_version
214
+ # Cloud Run currently ignores this parameter.
215
+ # @param [String] kind
216
+ # Cloud Run currently ignores this parameter.
217
+ # @param [Boolean] orphan_dependents
218
+ # Deprecated.
219
+ # Specifies the cascade behavior on delete.
220
+ # Cloud Run only supports cascading behavior, so this must be false.
221
+ # This attribute is deprecated, and is now replaced with PropagationPolicy
222
+ # See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
223
+ # @param [String] propagation_policy
224
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
225
+ # this setting, and deletes in the background. Please see
226
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
227
+ # more information.
228
+ # @param [String] fields
229
+ # Selector specifying which fields to include in a partial response.
230
+ # @param [String] quota_user
231
+ # Available to use for quota purposes for server-side applications. Can be any
232
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
233
+ # @param [Google::Apis::RequestOptions] options
234
+ # Request-specific options
235
+ #
236
+ # @yield [result, err] Result & error if block supplied
237
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
238
+ # @yieldparam err [StandardError] error object if request failed
239
+ #
240
+ # @return [Google::Apis::RunV1alpha1::Empty]
241
+ #
242
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
243
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
244
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
245
+ def delete_namespace_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
246
+ command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options)
247
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
248
+ command.response_class = Google::Apis::RunV1alpha1::Empty
249
+ command.params['name'] = name unless name.nil?
250
+ command.query['apiVersion'] = api_version unless api_version.nil?
251
+ command.query['kind'] = kind unless kind.nil?
252
+ command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
253
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
254
+ command.query['fields'] = fields unless fields.nil?
255
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
256
+ execute_or_queue_command(command, &block)
257
+ end
258
+
259
+ # Rpc to get information about a domain mapping.
260
+ # @param [String] name
261
+ # The name of the domain mapping being retrieved. If needed, replace
262
+ # `namespace_id` with the project ID.
263
+ # @param [String] fields
264
+ # Selector specifying which fields to include in a partial response.
265
+ # @param [String] quota_user
266
+ # Available to use for quota purposes for server-side applications. Can be any
267
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
268
+ # @param [Google::Apis::RequestOptions] options
269
+ # Request-specific options
270
+ #
271
+ # @yield [result, err] Result & error if block supplied
272
+ # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
273
+ # @yieldparam err [StandardError] error object if request failed
274
+ #
275
+ # @return [Google::Apis::RunV1alpha1::DomainMapping]
276
+ #
277
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
278
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
279
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
280
+ def get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
281
+ command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options)
282
+ command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
283
+ command.response_class = Google::Apis::RunV1alpha1::DomainMapping
284
+ command.params['name'] = name unless name.nil?
285
+ command.query['fields'] = fields unless fields.nil?
286
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
287
+ execute_or_queue_command(command, &block)
288
+ end
289
+
290
+ # Rpc to list domain mappings.
291
+ # @param [String] parent
292
+ # The project ID or project number from which the domain mappings should be
293
+ # listed.
294
+ # @param [String] continue
295
+ # Optional encoded string to continue paging.
296
+ # @param [String] field_selector
297
+ # Allows to filter resources based on a specific value for a field name.
298
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
299
+ # Not currently used by Cloud Run.
300
+ # @param [Boolean] include_uninitialized
301
+ # Not currently used by Cloud Run.
302
+ # @param [String] label_selector
303
+ # Allows to filter resources based on a label. Supported operations are
304
+ # =, !=, exists, in, and notIn.
305
+ # @param [Fixnum] limit
306
+ # The maximum number of records that should be returned.
307
+ # @param [String] resource_version
308
+ # The baseline resource version from which the list or watch operation should
309
+ # start. Not currently used by Cloud Run.
310
+ # @param [Boolean] watch
311
+ # Flag that indicates that the client expects to watch this resource as well.
312
+ # Not currently used by Cloud Run.
313
+ # @param [String] fields
314
+ # Selector specifying which fields to include in a partial response.
315
+ # @param [String] quota_user
316
+ # Available to use for quota purposes for server-side applications. Can be any
317
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
318
+ # @param [Google::Apis::RequestOptions] options
319
+ # Request-specific options
320
+ #
321
+ # @yield [result, err] Result & error if block supplied
322
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object
323
+ # @yieldparam err [StandardError] error object if request failed
324
+ #
325
+ # @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse]
326
+ #
327
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
328
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
329
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
330
+ def list_namespace_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
331
+ command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
332
+ command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation
333
+ command.response_class = Google::Apis::RunV1alpha1::ListDomainMappingsResponse
334
+ command.params['parent'] = parent unless parent.nil?
335
+ command.query['continue'] = continue unless continue.nil?
336
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
337
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
338
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
339
+ command.query['limit'] = limit unless limit.nil?
340
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
341
+ command.query['watch'] = watch unless watch.nil?
342
+ command.query['fields'] = fields unless fields.nil?
343
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
344
+ execute_or_queue_command(command, &block)
345
+ end
346
+
347
+ # Rpc to delete a revision.
348
+ # @param [String] name
349
+ # The name of the revision being deleted. If needed, replace
350
+ # `namespace_id` with the project ID.
351
+ # @param [String] api_version
352
+ # Cloud Run currently ignores this parameter.
353
+ # @param [String] kind
354
+ # Cloud Run currently ignores this parameter.
355
+ # @param [Boolean] orphan_dependents
356
+ # Deprecated.
357
+ # Specifies the cascade behavior on delete.
358
+ # Cloud Run only supports cascading behavior, so this must be false.
359
+ # This attribute is deprecated, and is now replaced with PropagationPolicy
360
+ # See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
361
+ # @param [String] propagation_policy
362
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
363
+ # this setting, and deletes in the background. Please see
364
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
365
+ # more information.
366
+ # @param [String] fields
367
+ # Selector specifying which fields to include in a partial response.
368
+ # @param [String] quota_user
369
+ # Available to use for quota purposes for server-side applications. Can be any
370
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
371
+ # @param [Google::Apis::RequestOptions] options
372
+ # Request-specific options
373
+ #
374
+ # @yield [result, err] Result & error if block supplied
375
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
376
+ # @yieldparam err [StandardError] error object if request failed
377
+ #
378
+ # @return [Google::Apis::RunV1alpha1::Empty]
379
+ #
380
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
381
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
382
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
383
+ def delete_namespace_revision(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
384
+ command = make_simple_command(:delete, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
385
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
386
+ command.response_class = Google::Apis::RunV1alpha1::Empty
387
+ command.params['name'] = name unless name.nil?
388
+ command.query['apiVersion'] = api_version unless api_version.nil?
389
+ command.query['kind'] = kind unless kind.nil?
390
+ command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
391
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
392
+ command.query['fields'] = fields unless fields.nil?
393
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
394
+ execute_or_queue_command(command, &block)
395
+ end
396
+
397
+ # Rpc to get information about a revision.
398
+ # @param [String] name
399
+ # The name of the revision being retrieved. If needed, replace
400
+ # `namespace_id` with the project ID.
401
+ # @param [String] fields
402
+ # Selector specifying which fields to include in a partial response.
403
+ # @param [String] quota_user
404
+ # Available to use for quota purposes for server-side applications. Can be any
405
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
406
+ # @param [Google::Apis::RequestOptions] options
407
+ # Request-specific options
408
+ #
409
+ # @yield [result, err] Result & error if block supplied
410
+ # @yieldparam result [Google::Apis::RunV1alpha1::Revision] parsed result object
411
+ # @yieldparam err [StandardError] error object if request failed
412
+ #
413
+ # @return [Google::Apis::RunV1alpha1::Revision]
414
+ #
415
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
416
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
417
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
418
+ def get_namespace_revision(name, fields: nil, quota_user: nil, options: nil, &block)
419
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
420
+ command.response_representation = Google::Apis::RunV1alpha1::Revision::Representation
421
+ command.response_class = Google::Apis::RunV1alpha1::Revision
422
+ command.params['name'] = name unless name.nil?
423
+ command.query['fields'] = fields unless fields.nil?
424
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
425
+ execute_or_queue_command(command, &block)
426
+ end
427
+
428
+ # Rpc to list revisions.
429
+ # @param [String] parent
430
+ # The project ID or project number from which the revisions should be listed.
431
+ # @param [String] continue
432
+ # Optional encoded string to continue paging.
433
+ # @param [String] field_selector
434
+ # Allows to filter resources based on a specific value for a field name.
435
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
436
+ # Not currently used by Cloud Run.
437
+ # @param [Boolean] include_uninitialized
438
+ # Not currently used by Cloud Run.
439
+ # @param [String] label_selector
440
+ # Allows to filter resources based on a label. Supported operations are
441
+ # =, !=, exists, in, and notIn.
442
+ # @param [Fixnum] limit
443
+ # The maximum number of records that should be returned.
444
+ # @param [String] resource_version
445
+ # The baseline resource version from which the list or watch operation should
446
+ # start. Not currently used by Cloud Run.
447
+ # @param [Boolean] watch
448
+ # Flag that indicates that the client expects to watch this resource as well.
449
+ # Not currently used by Cloud Run.
450
+ # @param [String] fields
451
+ # Selector specifying which fields to include in a partial response.
452
+ # @param [String] quota_user
453
+ # Available to use for quota purposes for server-side applications. Can be any
454
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
455
+ # @param [Google::Apis::RequestOptions] options
456
+ # Request-specific options
457
+ #
458
+ # @yield [result, err] Result & error if block supplied
459
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListRevisionsResponse] parsed result object
460
+ # @yieldparam err [StandardError] error object if request failed
461
+ #
462
+ # @return [Google::Apis::RunV1alpha1::ListRevisionsResponse]
463
+ #
464
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
465
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
466
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
467
+ def list_namespace_revisions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
468
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/revisions', options)
469
+ command.response_representation = Google::Apis::RunV1alpha1::ListRevisionsResponse::Representation
470
+ command.response_class = Google::Apis::RunV1alpha1::ListRevisionsResponse
471
+ command.params['parent'] = parent unless parent.nil?
472
+ command.query['continue'] = continue unless continue.nil?
473
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
474
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
475
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
476
+ command.query['limit'] = limit unless limit.nil?
477
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
478
+ command.query['watch'] = watch unless watch.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
+ # Rpc to get information about a route.
485
+ # @param [String] name
486
+ # The name of the route being retrieved. If needed, replace
487
+ # `namespace_id` with the project ID.
488
+ # @param [String] fields
489
+ # Selector specifying which fields to include in a partial response.
490
+ # @param [String] quota_user
491
+ # Available to use for quota purposes for server-side applications. Can be any
492
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
493
+ # @param [Google::Apis::RequestOptions] options
494
+ # Request-specific options
495
+ #
496
+ # @yield [result, err] Result & error if block supplied
497
+ # @yieldparam result [Google::Apis::RunV1alpha1::Route] parsed result object
498
+ # @yieldparam err [StandardError] error object if request failed
499
+ #
500
+ # @return [Google::Apis::RunV1alpha1::Route]
501
+ #
502
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
503
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
504
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
505
+ def get_namespace_route(name, fields: nil, quota_user: nil, options: nil, &block)
506
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
507
+ command.response_representation = Google::Apis::RunV1alpha1::Route::Representation
508
+ command.response_class = Google::Apis::RunV1alpha1::Route
509
+ command.params['name'] = name unless name.nil?
510
+ command.query['fields'] = fields unless fields.nil?
511
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
512
+ execute_or_queue_command(command, &block)
513
+ end
514
+
515
+ # Rpc to list routes.
516
+ # @param [String] parent
517
+ # The project ID or project number from which the routes should be listed.
518
+ # @param [String] continue
519
+ # Optional encoded string to continue paging.
520
+ # @param [String] field_selector
521
+ # Allows to filter resources based on a specific value for a field name.
522
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
523
+ # Not currently used by Cloud Run.
524
+ # @param [Boolean] include_uninitialized
525
+ # Not currently used by Cloud Run.
526
+ # @param [String] label_selector
527
+ # Allows to filter resources based on a label. Supported operations are
528
+ # =, !=, exists, in, and notIn.
529
+ # @param [Fixnum] limit
530
+ # The maximum number of records that should be returned.
531
+ # @param [String] resource_version
532
+ # The baseline resource version from which the list or watch operation should
533
+ # start. Not currently used by Cloud Run.
534
+ # @param [Boolean] watch
535
+ # Flag that indicates that the client expects to watch this resource as well.
536
+ # Not currently used by Cloud Run.
537
+ # @param [String] fields
538
+ # Selector specifying which fields to include in a partial response.
539
+ # @param [String] quota_user
540
+ # Available to use for quota purposes for server-side applications. Can be any
541
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
542
+ # @param [Google::Apis::RequestOptions] options
543
+ # Request-specific options
544
+ #
545
+ # @yield [result, err] Result & error if block supplied
546
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListRoutesResponse] parsed result object
547
+ # @yieldparam err [StandardError] error object if request failed
548
+ #
549
+ # @return [Google::Apis::RunV1alpha1::ListRoutesResponse]
550
+ #
551
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
552
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
553
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
554
+ def list_namespace_routes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
555
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/routes', options)
556
+ command.response_representation = Google::Apis::RunV1alpha1::ListRoutesResponse::Representation
557
+ command.response_class = Google::Apis::RunV1alpha1::ListRoutesResponse
558
+ command.params['parent'] = parent unless parent.nil?
559
+ command.query['continue'] = continue unless continue.nil?
560
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
561
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
562
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
563
+ command.query['limit'] = limit unless limit.nil?
564
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
565
+ command.query['watch'] = watch unless watch.nil?
566
+ command.query['fields'] = fields unless fields.nil?
567
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
568
+ execute_or_queue_command(command, &block)
569
+ end
570
+
571
+ # Rpc to create a service.
572
+ # @param [String] parent
573
+ # The project ID or project number in which this service should be created.
574
+ # @param [Google::Apis::RunV1alpha1::Service] service_object
575
+ # @param [String] fields
576
+ # Selector specifying which fields to include in a partial response.
577
+ # @param [String] quota_user
578
+ # Available to use for quota purposes for server-side applications. Can be any
579
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
580
+ # @param [Google::Apis::RequestOptions] options
581
+ # Request-specific options
582
+ #
583
+ # @yield [result, err] Result & error if block supplied
584
+ # @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
585
+ # @yieldparam err [StandardError] error object if request failed
586
+ #
587
+ # @return [Google::Apis::RunV1alpha1::Service]
588
+ #
589
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
590
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
591
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
592
+ def create_namespace_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
593
+ command = make_simple_command(:post, 'apis/serving.knative.dev/v1alpha1/{+parent}/services', options)
594
+ command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
595
+ command.request_object = service_object
596
+ command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
597
+ command.response_class = Google::Apis::RunV1alpha1::Service
598
+ command.params['parent'] = parent unless parent.nil?
599
+ command.query['fields'] = fields unless fields.nil?
600
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
601
+ execute_or_queue_command(command, &block)
602
+ end
603
+
604
+ # Rpc to delete a service.
605
+ # This will cause the Service to stop serving traffic and will delete the
606
+ # child entities like Routes, Configurations and Revisions.
607
+ # @param [String] name
608
+ # The name of the service being deleted. If needed, replace
609
+ # `namespace_id` with the project ID.
610
+ # @param [String] api_version
611
+ # Cloud Run currently ignores this parameter.
612
+ # @param [String] kind
613
+ # Cloud Run currently ignores this parameter.
614
+ # @param [Boolean] orphan_dependents
615
+ # Deprecated.
616
+ # Specifies the cascade behavior on delete.
617
+ # Cloud Run only supports cascading behavior, so this must be false.
618
+ # This attribute is deprecated, and is now replaced with PropagationPolicy
619
+ # See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
620
+ # @param [String] propagation_policy
621
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
622
+ # this setting, and deletes in the background. Please see
623
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
624
+ # more information.
625
+ # @param [String] fields
626
+ # Selector specifying which fields to include in a partial response.
627
+ # @param [String] quota_user
628
+ # Available to use for quota purposes for server-side applications. Can be any
629
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
630
+ # @param [Google::Apis::RequestOptions] options
631
+ # Request-specific options
632
+ #
633
+ # @yield [result, err] Result & error if block supplied
634
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
635
+ # @yieldparam err [StandardError] error object if request failed
636
+ #
637
+ # @return [Google::Apis::RunV1alpha1::Empty]
638
+ #
639
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
640
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
641
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
642
+ def delete_namespace_service(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
643
+ command = make_simple_command(:delete, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
644
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
645
+ command.response_class = Google::Apis::RunV1alpha1::Empty
646
+ command.params['name'] = name unless name.nil?
647
+ command.query['apiVersion'] = api_version unless api_version.nil?
648
+ command.query['kind'] = kind unless kind.nil?
649
+ command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
650
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
651
+ command.query['fields'] = fields unless fields.nil?
652
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
653
+ execute_or_queue_command(command, &block)
654
+ end
655
+
656
+ # Rpc to get information about a service.
657
+ # @param [String] name
658
+ # The name of the service being retrieved. If needed, replace
659
+ # `namespace_id` with the project ID.
660
+ # @param [String] fields
661
+ # Selector specifying which fields to include in a partial response.
662
+ # @param [String] quota_user
663
+ # Available to use for quota purposes for server-side applications. Can be any
664
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
665
+ # @param [Google::Apis::RequestOptions] options
666
+ # Request-specific options
667
+ #
668
+ # @yield [result, err] Result & error if block supplied
669
+ # @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
670
+ # @yieldparam err [StandardError] error object if request failed
671
+ #
672
+ # @return [Google::Apis::RunV1alpha1::Service]
673
+ #
674
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
675
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
676
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
677
+ def get_namespace_service(name, fields: nil, quota_user: nil, options: nil, &block)
678
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
679
+ command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
680
+ command.response_class = Google::Apis::RunV1alpha1::Service
681
+ command.params['name'] = name unless name.nil?
682
+ command.query['fields'] = fields unless fields.nil?
683
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
684
+ execute_or_queue_command(command, &block)
685
+ end
686
+
687
+ # Rpc to list services.
688
+ # @param [String] parent
689
+ # The project ID or project number from which the services should be listed.
690
+ # @param [String] continue
691
+ # Optional encoded string to continue paging.
692
+ # @param [String] field_selector
693
+ # Allows to filter resources based on a specific value for a field name.
694
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
695
+ # Not currently used by Cloud Run.
696
+ # @param [Boolean] include_uninitialized
697
+ # Not currently used by Cloud Run.
698
+ # @param [String] label_selector
699
+ # Allows to filter resources based on a label. Supported operations are
700
+ # =, !=, exists, in, and notIn.
701
+ # @param [Fixnum] limit
702
+ # The maximum number of records that should be returned.
703
+ # @param [String] resource_version
704
+ # The baseline resource version from which the list or watch operation should
705
+ # start. Not currently used by Cloud Run.
706
+ # @param [Boolean] watch
707
+ # Flag that indicates that the client expects to watch this resource as well.
708
+ # Not currently used by Cloud Run.
709
+ # @param [String] fields
710
+ # Selector specifying which fields to include in a partial response.
711
+ # @param [String] quota_user
712
+ # Available to use for quota purposes for server-side applications. Can be any
713
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
714
+ # @param [Google::Apis::RequestOptions] options
715
+ # Request-specific options
716
+ #
717
+ # @yield [result, err] Result & error if block supplied
718
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListServicesResponse] parsed result object
719
+ # @yieldparam err [StandardError] error object if request failed
720
+ #
721
+ # @return [Google::Apis::RunV1alpha1::ListServicesResponse]
722
+ #
723
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
724
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
725
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
726
+ def list_namespace_services(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
727
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/services', options)
728
+ command.response_representation = Google::Apis::RunV1alpha1::ListServicesResponse::Representation
729
+ command.response_class = Google::Apis::RunV1alpha1::ListServicesResponse
730
+ command.params['parent'] = parent unless parent.nil?
731
+ command.query['continue'] = continue unless continue.nil?
732
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
733
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
734
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
735
+ command.query['limit'] = limit unless limit.nil?
736
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
737
+ command.query['watch'] = watch unless watch.nil?
738
+ command.query['fields'] = fields unless fields.nil?
739
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
740
+ execute_or_queue_command(command, &block)
741
+ end
742
+
743
+ # Rpc to replace a service.
744
+ # Only the spec and metadata labels and annotations are modifiable. After
745
+ # the Update request, Cloud Run will work to make the 'status'
746
+ # match the requested 'spec'.
747
+ # May provide metadata.resourceVersion to enforce update from last read for
748
+ # optimistic concurrency control.
749
+ # @param [String] name
750
+ # The name of the service being replaced. If needed, replace
751
+ # `namespace_id` with the project ID.
752
+ # @param [Google::Apis::RunV1alpha1::Service] service_object
753
+ # @param [String] fields
754
+ # Selector specifying which fields to include in a partial response.
755
+ # @param [String] quota_user
756
+ # Available to use for quota purposes for server-side applications. Can be any
757
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
758
+ # @param [Google::Apis::RequestOptions] options
759
+ # Request-specific options
760
+ #
761
+ # @yield [result, err] Result & error if block supplied
762
+ # @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
763
+ # @yieldparam err [StandardError] error object if request failed
764
+ #
765
+ # @return [Google::Apis::RunV1alpha1::Service]
766
+ #
767
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
768
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
769
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
770
+ def replace_namespace_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
771
+ command = make_simple_command(:put, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
772
+ command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
773
+ command.request_object = service_object
774
+ command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
775
+ command.response_class = Google::Apis::RunV1alpha1::Service
776
+ command.params['name'] = name unless name.nil?
777
+ command.query['fields'] = fields unless fields.nil?
778
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
779
+ execute_or_queue_command(command, &block)
780
+ end
781
+
782
+ # Creates a new trigger.
783
+ # @param [String] parent
784
+ # The project ID or project number in which this trigger should
785
+ # be created.
786
+ # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
787
+ # @param [String] fields
788
+ # Selector specifying which fields to include in a partial response.
789
+ # @param [String] quota_user
790
+ # Available to use for quota purposes for server-side applications. Can be any
791
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
792
+ # @param [Google::Apis::RequestOptions] options
793
+ # Request-specific options
794
+ #
795
+ # @yield [result, err] Result & error if block supplied
796
+ # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
797
+ # @yieldparam err [StandardError] error object if request failed
798
+ #
799
+ # @return [Google::Apis::RunV1alpha1::Trigger]
800
+ #
801
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
802
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
803
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
804
+ def create_namespace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
805
+ command = make_simple_command(:post, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
806
+ command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
807
+ command.request_object = trigger_object
808
+ command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
809
+ command.response_class = Google::Apis::RunV1alpha1::Trigger
810
+ command.params['parent'] = parent unless parent.nil?
811
+ command.query['fields'] = fields unless fields.nil?
812
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
813
+ execute_or_queue_command(command, &block)
814
+ end
815
+
816
+ # Rpc to delete a trigger.
817
+ # @param [String] name
818
+ # The name of the trigger being deleted. If needed, replace
819
+ # `namespace_id` with the project ID.
820
+ # @param [String] api_version
821
+ # Cloud Run currently ignores this parameter.
822
+ # @param [String] kind
823
+ # Cloud Run currently ignores this parameter.
824
+ # @param [String] propagation_policy
825
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
826
+ # this setting, and deletes in the background. Please see
827
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
828
+ # more information.
829
+ # @param [String] fields
830
+ # Selector specifying which fields to include in a partial response.
831
+ # @param [String] quota_user
832
+ # Available to use for quota purposes for server-side applications. Can be any
833
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
834
+ # @param [Google::Apis::RequestOptions] options
835
+ # Request-specific options
836
+ #
837
+ # @yield [result, err] Result & error if block supplied
838
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
839
+ # @yieldparam err [StandardError] error object if request failed
840
+ #
841
+ # @return [Google::Apis::RunV1alpha1::Empty]
842
+ #
843
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
844
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
845
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
846
+ def delete_namespace_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
847
+ command = make_simple_command(:delete, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
848
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
849
+ command.response_class = Google::Apis::RunV1alpha1::Empty
850
+ command.params['name'] = name unless name.nil?
851
+ command.query['apiVersion'] = api_version unless api_version.nil?
852
+ command.query['kind'] = kind unless kind.nil?
853
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
854
+ command.query['fields'] = fields unless fields.nil?
855
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
856
+ execute_or_queue_command(command, &block)
857
+ end
858
+
859
+ # Rpc to get information about a trigger.
860
+ # @param [String] name
861
+ # The name of the trigger being retrieved. If needed, replace
862
+ # `namespace_id` with the project ID.
863
+ # @param [String] fields
864
+ # Selector specifying which fields to include in a partial response.
865
+ # @param [String] quota_user
866
+ # Available to use for quota purposes for server-side applications. Can be any
867
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
868
+ # @param [Google::Apis::RequestOptions] options
869
+ # Request-specific options
870
+ #
871
+ # @yield [result, err] Result & error if block supplied
872
+ # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
873
+ # @yieldparam err [StandardError] error object if request failed
874
+ #
875
+ # @return [Google::Apis::RunV1alpha1::Trigger]
876
+ #
877
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
878
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
879
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
880
+ def get_namespace_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
881
+ command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
882
+ command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
883
+ command.response_class = Google::Apis::RunV1alpha1::Trigger
884
+ command.params['name'] = name unless name.nil?
885
+ command.query['fields'] = fields unless fields.nil?
886
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
887
+ execute_or_queue_command(command, &block)
888
+ end
889
+
890
+ # Rpc to list triggers.
891
+ # @param [String] parent
892
+ # The project ID or project number from which the triggers should
893
+ # be listed.
894
+ # @param [String] continue
895
+ # Optional encoded string to continue paging.
896
+ # @param [String] field_selector
897
+ # Allows to filter resources based on a specific value for a field name.
898
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
899
+ # Not currently used by Cloud Run.
900
+ # @param [Boolean] include_uninitialized
901
+ # Not currently used by Cloud Run.
902
+ # @param [String] label_selector
903
+ # Allows to filter resources based on a label. Supported operations are
904
+ # =, !=, exists, in, and notIn.
905
+ # @param [Fixnum] limit
906
+ # The maximum number of records that should be returned.
907
+ # @param [String] resource_version
908
+ # The baseline resource version from which the list or watch operation should
909
+ # start. Not currently used by Cloud Run.
910
+ # @param [Boolean] watch
911
+ # Flag that indicates that the client expects to watch this resource as well.
912
+ # Not currently used by Cloud Run.
913
+ # @param [String] fields
914
+ # Selector specifying which fields to include in a partial response.
915
+ # @param [String] quota_user
916
+ # Available to use for quota purposes for server-side applications. Can be any
917
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
918
+ # @param [Google::Apis::RequestOptions] options
919
+ # Request-specific options
920
+ #
921
+ # @yield [result, err] Result & error if block supplied
922
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListTriggersResponse] parsed result object
923
+ # @yieldparam err [StandardError] error object if request failed
924
+ #
925
+ # @return [Google::Apis::RunV1alpha1::ListTriggersResponse]
926
+ #
927
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
928
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
929
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
930
+ def list_namespace_triggers(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
931
+ command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
932
+ command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation
933
+ command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse
934
+ command.params['parent'] = parent unless parent.nil?
935
+ command.query['continue'] = continue unless continue.nil?
936
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
937
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
938
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
939
+ command.query['limit'] = limit unless limit.nil?
940
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
941
+ command.query['watch'] = watch unless watch.nil?
942
+ command.query['fields'] = fields unless fields.nil?
943
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
944
+ execute_or_queue_command(command, &block)
945
+ end
946
+
947
+ # Rpc to replace a trigger.
948
+ # Only the spec and metadata labels and annotations are modifiable. After
949
+ # the Update request, Cloud Run will work to make the 'status'
950
+ # match the requested 'spec'.
951
+ # May provide metadata.resourceVersion to enforce update from last read for
952
+ # optimistic concurrency control.
953
+ # @param [String] name
954
+ # The name of the trigger being retrieved. If needed, replace
955
+ # `namespace_id` with the project ID.
956
+ # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
957
+ # @param [String] fields
958
+ # Selector specifying which fields to include in a partial response.
959
+ # @param [String] quota_user
960
+ # Available to use for quota purposes for server-side applications. Can be any
961
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
962
+ # @param [Google::Apis::RequestOptions] options
963
+ # Request-specific options
964
+ #
965
+ # @yield [result, err] Result & error if block supplied
966
+ # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
967
+ # @yieldparam err [StandardError] error object if request failed
968
+ #
969
+ # @return [Google::Apis::RunV1alpha1::Trigger]
970
+ #
971
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
972
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
973
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
974
+ def replace_namespace_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
975
+ command = make_simple_command(:put, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
976
+ command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
977
+ command.request_object = trigger_object
978
+ command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
979
+ command.response_class = Google::Apis::RunV1alpha1::Trigger
980
+ command.params['name'] = name unless name.nil?
981
+ command.query['fields'] = fields unless fields.nil?
982
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
983
+ execute_or_queue_command(command, &block)
984
+ end
985
+
986
+ # Lists information about the supported locations for this service.
987
+ # @param [String] name
988
+ # The resource that owns the locations collection, if applicable.
989
+ # @param [String] filter
990
+ # The standard list filter.
991
+ # @param [Fixnum] page_size
992
+ # The standard list page size.
993
+ # @param [String] page_token
994
+ # The standard list page token.
995
+ # @param [String] fields
996
+ # Selector specifying which fields to include in a partial response.
997
+ # @param [String] quota_user
998
+ # Available to use for quota purposes for server-side applications. Can be any
999
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1000
+ # @param [Google::Apis::RequestOptions] options
1001
+ # Request-specific options
1002
+ #
1003
+ # @yield [result, err] Result & error if block supplied
1004
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListLocationsResponse] parsed result object
1005
+ # @yieldparam err [StandardError] error object if request failed
1006
+ #
1007
+ # @return [Google::Apis::RunV1alpha1::ListLocationsResponse]
1008
+ #
1009
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1010
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1011
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1012
+ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1013
+ command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options)
1014
+ command.response_representation = Google::Apis::RunV1alpha1::ListLocationsResponse::Representation
1015
+ command.response_class = Google::Apis::RunV1alpha1::ListLocationsResponse
1016
+ command.params['name'] = name unless name.nil?
1017
+ command.query['filter'] = filter unless filter.nil?
1018
+ command.query['pageSize'] = page_size unless page_size.nil?
1019
+ command.query['pageToken'] = page_token unless page_token.nil?
1020
+ command.query['fields'] = fields unless fields.nil?
1021
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1022
+ execute_or_queue_command(command, &block)
1023
+ end
1024
+
1025
+ # RPC to list authorized domains.
1026
+ # @param [String] parent
1027
+ # Name of the parent Application resource. Example: `apps/myapp`.
1028
+ # @param [Fixnum] page_size
1029
+ # Maximum results to return per page.
1030
+ # @param [String] page_token
1031
+ # Continuation token for fetching the next page of results.
1032
+ # @param [String] fields
1033
+ # Selector specifying which fields to include in a partial response.
1034
+ # @param [String] quota_user
1035
+ # Available to use for quota purposes for server-side applications. Can be any
1036
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1037
+ # @param [Google::Apis::RequestOptions] options
1038
+ # Request-specific options
1039
+ #
1040
+ # @yield [result, err] Result & error if block supplied
1041
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] parsed result object
1042
+ # @yieldparam err [StandardError] error object if request failed
1043
+ #
1044
+ # @return [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse]
1045
+ #
1046
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1047
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1048
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1049
+ def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1050
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/authorizeddomains', options)
1051
+ command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation
1052
+ command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
1053
+ command.params['parent'] = parent unless parent.nil?
1054
+ command.query['pageSize'] = page_size unless page_size.nil?
1055
+ command.query['pageToken'] = page_token unless page_token.nil?
1056
+ command.query['fields'] = fields unless fields.nil?
1057
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1058
+ execute_or_queue_command(command, &block)
1059
+ end
1060
+
1061
+ # Rpc to get information about a configuration.
1062
+ # @param [String] name
1063
+ # The name of the configuration being retrieved. If needed, replace
1064
+ # `namespace_id` with the project ID.
1065
+ # @param [String] fields
1066
+ # Selector specifying which fields to include in a partial response.
1067
+ # @param [String] quota_user
1068
+ # Available to use for quota purposes for server-side applications. Can be any
1069
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1070
+ # @param [Google::Apis::RequestOptions] options
1071
+ # Request-specific options
1072
+ #
1073
+ # @yield [result, err] Result & error if block supplied
1074
+ # @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object
1075
+ # @yieldparam err [StandardError] error object if request failed
1076
+ #
1077
+ # @return [Google::Apis::RunV1alpha1::Configuration]
1078
+ #
1079
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1080
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1081
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1082
+ def get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
1083
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1084
+ command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
1085
+ command.response_class = Google::Apis::RunV1alpha1::Configuration
1086
+ command.params['name'] = name unless name.nil?
1087
+ command.query['fields'] = fields unless fields.nil?
1088
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1089
+ execute_or_queue_command(command, &block)
1090
+ end
1091
+
1092
+ # Rpc to list configurations.
1093
+ # @param [String] parent
1094
+ # The project ID or project number from which the configurations should be
1095
+ # listed.
1096
+ # @param [String] continue
1097
+ # Optional encoded string to continue paging.
1098
+ # @param [String] field_selector
1099
+ # Allows to filter resources based on a specific value for a field name.
1100
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
1101
+ # Not currently used by Cloud Run.
1102
+ # @param [Boolean] include_uninitialized
1103
+ # Not currently used by Cloud Run.
1104
+ # @param [String] label_selector
1105
+ # Allows to filter resources based on a label. Supported operations are
1106
+ # =, !=, exists, in, and notIn.
1107
+ # @param [Fixnum] limit
1108
+ # The maximum number of records that should be returned.
1109
+ # @param [String] resource_version
1110
+ # The baseline resource version from which the list or watch operation should
1111
+ # start. Not currently used by Cloud Run.
1112
+ # @param [Boolean] watch
1113
+ # Flag that indicates that the client expects to watch this resource as well.
1114
+ # Not currently used by Cloud Run.
1115
+ # @param [String] fields
1116
+ # Selector specifying which fields to include in a partial response.
1117
+ # @param [String] quota_user
1118
+ # Available to use for quota purposes for server-side applications. Can be any
1119
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1120
+ # @param [Google::Apis::RequestOptions] options
1121
+ # Request-specific options
1122
+ #
1123
+ # @yield [result, err] Result & error if block supplied
1124
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object
1125
+ # @yieldparam err [StandardError] error object if request failed
1126
+ #
1127
+ # @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse]
1128
+ #
1129
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1130
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1131
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1132
+ def list_project_location_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
1133
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/configurations', options)
1134
+ command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation
1135
+ command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse
1136
+ command.params['parent'] = parent unless parent.nil?
1137
+ command.query['continue'] = continue unless continue.nil?
1138
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
1139
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
1140
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
1141
+ command.query['limit'] = limit unless limit.nil?
1142
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
1143
+ command.query['watch'] = watch unless watch.nil?
1144
+ command.query['fields'] = fields unless fields.nil?
1145
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1146
+ execute_or_queue_command(command, &block)
1147
+ end
1148
+
1149
+ # Creates a new domain mapping.
1150
+ # @param [String] parent
1151
+ # The project ID or project number in which this domain mapping should be
1152
+ # created.
1153
+ # @param [Google::Apis::RunV1alpha1::DomainMapping] domain_mapping_object
1154
+ # @param [String] fields
1155
+ # Selector specifying which fields to include in a partial response.
1156
+ # @param [String] quota_user
1157
+ # Available to use for quota purposes for server-side applications. Can be any
1158
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1159
+ # @param [Google::Apis::RequestOptions] options
1160
+ # Request-specific options
1161
+ #
1162
+ # @yield [result, err] Result & error if block supplied
1163
+ # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
1164
+ # @yieldparam err [StandardError] error object if request failed
1165
+ #
1166
+ # @return [Google::Apis::RunV1alpha1::DomainMapping]
1167
+ #
1168
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1169
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1170
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1171
+ def create_project_location_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1172
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/domainmappings', options)
1173
+ command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
1174
+ command.request_object = domain_mapping_object
1175
+ command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
1176
+ command.response_class = Google::Apis::RunV1alpha1::DomainMapping
1177
+ command.params['parent'] = parent unless parent.nil?
1178
+ command.query['fields'] = fields unless fields.nil?
1179
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1180
+ execute_or_queue_command(command, &block)
1181
+ end
1182
+
1183
+ # Rpc to delete a domain mapping.
1184
+ # @param [String] name
1185
+ # The name of the domain mapping being deleted. If needed, replace
1186
+ # `namespace_id` with the project ID.
1187
+ # @param [String] api_version
1188
+ # Cloud Run currently ignores this parameter.
1189
+ # @param [String] kind
1190
+ # Cloud Run currently ignores this parameter.
1191
+ # @param [Boolean] orphan_dependents
1192
+ # Deprecated.
1193
+ # Specifies the cascade behavior on delete.
1194
+ # Cloud Run only supports cascading behavior, so this must be false.
1195
+ # This attribute is deprecated, and is now replaced with PropagationPolicy
1196
+ # See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
1197
+ # @param [String] propagation_policy
1198
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
1199
+ # this setting, and deletes in the background. Please see
1200
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1201
+ # more information.
1202
+ # @param [String] fields
1203
+ # Selector specifying which fields to include in a partial response.
1204
+ # @param [String] quota_user
1205
+ # Available to use for quota purposes for server-side applications. Can be any
1206
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1207
+ # @param [Google::Apis::RequestOptions] options
1208
+ # Request-specific options
1209
+ #
1210
+ # @yield [result, err] Result & error if block supplied
1211
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
1212
+ # @yieldparam err [StandardError] error object if request failed
1213
+ #
1214
+ # @return [Google::Apis::RunV1alpha1::Empty]
1215
+ #
1216
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1217
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1218
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1219
+ def delete_project_location_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1220
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1221
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1222
+ command.response_class = Google::Apis::RunV1alpha1::Empty
1223
+ command.params['name'] = name unless name.nil?
1224
+ command.query['apiVersion'] = api_version unless api_version.nil?
1225
+ command.query['kind'] = kind unless kind.nil?
1226
+ command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
1227
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1228
+ command.query['fields'] = fields unless fields.nil?
1229
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1230
+ execute_or_queue_command(command, &block)
1231
+ end
1232
+
1233
+ # Rpc to get information about a domain mapping.
1234
+ # @param [String] name
1235
+ # The name of the domain mapping being retrieved. If needed, replace
1236
+ # `namespace_id` with the project ID.
1237
+ # @param [String] fields
1238
+ # Selector specifying which fields to include in a partial response.
1239
+ # @param [String] quota_user
1240
+ # Available to use for quota purposes for server-side applications. Can be any
1241
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1242
+ # @param [Google::Apis::RequestOptions] options
1243
+ # Request-specific options
1244
+ #
1245
+ # @yield [result, err] Result & error if block supplied
1246
+ # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
1247
+ # @yieldparam err [StandardError] error object if request failed
1248
+ #
1249
+ # @return [Google::Apis::RunV1alpha1::DomainMapping]
1250
+ #
1251
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1252
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1253
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1254
+ def get_project_location_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
1255
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1256
+ command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
1257
+ command.response_class = Google::Apis::RunV1alpha1::DomainMapping
1258
+ command.params['name'] = name unless name.nil?
1259
+ command.query['fields'] = fields unless fields.nil?
1260
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1261
+ execute_or_queue_command(command, &block)
1262
+ end
1263
+
1264
+ # Rpc to list domain mappings.
1265
+ # @param [String] parent
1266
+ # The project ID or project number from which the domain mappings should be
1267
+ # listed.
1268
+ # @param [String] continue
1269
+ # Optional encoded string to continue paging.
1270
+ # @param [String] field_selector
1271
+ # Allows to filter resources based on a specific value for a field name.
1272
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
1273
+ # Not currently used by Cloud Run.
1274
+ # @param [Boolean] include_uninitialized
1275
+ # Not currently used by Cloud Run.
1276
+ # @param [String] label_selector
1277
+ # Allows to filter resources based on a label. Supported operations are
1278
+ # =, !=, exists, in, and notIn.
1279
+ # @param [Fixnum] limit
1280
+ # The maximum number of records that should be returned.
1281
+ # @param [String] resource_version
1282
+ # The baseline resource version from which the list or watch operation should
1283
+ # start. Not currently used by Cloud Run.
1284
+ # @param [Boolean] watch
1285
+ # Flag that indicates that the client expects to watch this resource as well.
1286
+ # Not currently used by Cloud Run.
1287
+ # @param [String] fields
1288
+ # Selector specifying which fields to include in a partial response.
1289
+ # @param [String] quota_user
1290
+ # Available to use for quota purposes for server-side applications. Can be any
1291
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1292
+ # @param [Google::Apis::RequestOptions] options
1293
+ # Request-specific options
1294
+ #
1295
+ # @yield [result, err] Result & error if block supplied
1296
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object
1297
+ # @yieldparam err [StandardError] error object if request failed
1298
+ #
1299
+ # @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse]
1300
+ #
1301
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1302
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1303
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1304
+ def list_project_location_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
1305
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/domainmappings', options)
1306
+ command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation
1307
+ command.response_class = Google::Apis::RunV1alpha1::ListDomainMappingsResponse
1308
+ command.params['parent'] = parent unless parent.nil?
1309
+ command.query['continue'] = continue unless continue.nil?
1310
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
1311
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
1312
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
1313
+ command.query['limit'] = limit unless limit.nil?
1314
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
1315
+ command.query['watch'] = watch unless watch.nil?
1316
+ command.query['fields'] = fields unless fields.nil?
1317
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1318
+ execute_or_queue_command(command, &block)
1319
+ end
1320
+
1321
+ # Rpc to delete a revision.
1322
+ # @param [String] name
1323
+ # The name of the revision being deleted. If needed, replace
1324
+ # `namespace_id` with the project ID.
1325
+ # @param [String] api_version
1326
+ # Cloud Run currently ignores this parameter.
1327
+ # @param [String] kind
1328
+ # Cloud Run currently ignores this parameter.
1329
+ # @param [Boolean] orphan_dependents
1330
+ # Deprecated.
1331
+ # Specifies the cascade behavior on delete.
1332
+ # Cloud Run only supports cascading behavior, so this must be false.
1333
+ # This attribute is deprecated, and is now replaced with PropagationPolicy
1334
+ # See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
1335
+ # @param [String] propagation_policy
1336
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
1337
+ # this setting, and deletes in the background. Please see
1338
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1339
+ # more information.
1340
+ # @param [String] fields
1341
+ # Selector specifying which fields to include in a partial response.
1342
+ # @param [String] quota_user
1343
+ # Available to use for quota purposes for server-side applications. Can be any
1344
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1345
+ # @param [Google::Apis::RequestOptions] options
1346
+ # Request-specific options
1347
+ #
1348
+ # @yield [result, err] Result & error if block supplied
1349
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
1350
+ # @yieldparam err [StandardError] error object if request failed
1351
+ #
1352
+ # @return [Google::Apis::RunV1alpha1::Empty]
1353
+ #
1354
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1355
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1356
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1357
+ def delete_project_location_revision(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1358
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1359
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1360
+ command.response_class = Google::Apis::RunV1alpha1::Empty
1361
+ command.params['name'] = name unless name.nil?
1362
+ command.query['apiVersion'] = api_version unless api_version.nil?
1363
+ command.query['kind'] = kind unless kind.nil?
1364
+ command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
1365
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1366
+ command.query['fields'] = fields unless fields.nil?
1367
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1368
+ execute_or_queue_command(command, &block)
1369
+ end
1370
+
1371
+ # Rpc to get information about a revision.
1372
+ # @param [String] name
1373
+ # The name of the revision being retrieved. If needed, replace
1374
+ # `namespace_id` with the project ID.
1375
+ # @param [String] fields
1376
+ # Selector specifying which fields to include in a partial response.
1377
+ # @param [String] quota_user
1378
+ # Available to use for quota purposes for server-side applications. Can be any
1379
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1380
+ # @param [Google::Apis::RequestOptions] options
1381
+ # Request-specific options
1382
+ #
1383
+ # @yield [result, err] Result & error if block supplied
1384
+ # @yieldparam result [Google::Apis::RunV1alpha1::Revision] parsed result object
1385
+ # @yieldparam err [StandardError] error object if request failed
1386
+ #
1387
+ # @return [Google::Apis::RunV1alpha1::Revision]
1388
+ #
1389
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1390
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1391
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1392
+ def get_project_location_revision(name, fields: nil, quota_user: nil, options: nil, &block)
1393
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1394
+ command.response_representation = Google::Apis::RunV1alpha1::Revision::Representation
1395
+ command.response_class = Google::Apis::RunV1alpha1::Revision
1396
+ command.params['name'] = name unless name.nil?
1397
+ command.query['fields'] = fields unless fields.nil?
1398
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1399
+ execute_or_queue_command(command, &block)
1400
+ end
1401
+
1402
+ # Rpc to list revisions.
1403
+ # @param [String] parent
1404
+ # The project ID or project number from which the revisions should be listed.
1405
+ # @param [String] continue
1406
+ # Optional encoded string to continue paging.
1407
+ # @param [String] field_selector
1408
+ # Allows to filter resources based on a specific value for a field name.
1409
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
1410
+ # Not currently used by Cloud Run.
1411
+ # @param [Boolean] include_uninitialized
1412
+ # Not currently used by Cloud Run.
1413
+ # @param [String] label_selector
1414
+ # Allows to filter resources based on a label. Supported operations are
1415
+ # =, !=, exists, in, and notIn.
1416
+ # @param [Fixnum] limit
1417
+ # The maximum number of records that should be returned.
1418
+ # @param [String] resource_version
1419
+ # The baseline resource version from which the list or watch operation should
1420
+ # start. Not currently used by Cloud Run.
1421
+ # @param [Boolean] watch
1422
+ # Flag that indicates that the client expects to watch this resource as well.
1423
+ # Not currently used by Cloud Run.
1424
+ # @param [String] fields
1425
+ # Selector specifying which fields to include in a partial response.
1426
+ # @param [String] quota_user
1427
+ # Available to use for quota purposes for server-side applications. Can be any
1428
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1429
+ # @param [Google::Apis::RequestOptions] options
1430
+ # Request-specific options
1431
+ #
1432
+ # @yield [result, err] Result & error if block supplied
1433
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListRevisionsResponse] parsed result object
1434
+ # @yieldparam err [StandardError] error object if request failed
1435
+ #
1436
+ # @return [Google::Apis::RunV1alpha1::ListRevisionsResponse]
1437
+ #
1438
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1439
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1440
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1441
+ def list_project_location_revisions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
1442
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/revisions', options)
1443
+ command.response_representation = Google::Apis::RunV1alpha1::ListRevisionsResponse::Representation
1444
+ command.response_class = Google::Apis::RunV1alpha1::ListRevisionsResponse
1445
+ command.params['parent'] = parent unless parent.nil?
1446
+ command.query['continue'] = continue unless continue.nil?
1447
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
1448
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
1449
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
1450
+ command.query['limit'] = limit unless limit.nil?
1451
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
1452
+ command.query['watch'] = watch unless watch.nil?
1453
+ command.query['fields'] = fields unless fields.nil?
1454
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1455
+ execute_or_queue_command(command, &block)
1456
+ end
1457
+
1458
+ # Rpc to get information about a route.
1459
+ # @param [String] name
1460
+ # The name of the route being retrieved. If needed, replace
1461
+ # `namespace_id` with the project ID.
1462
+ # @param [String] fields
1463
+ # Selector specifying which fields to include in a partial response.
1464
+ # @param [String] quota_user
1465
+ # Available to use for quota purposes for server-side applications. Can be any
1466
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1467
+ # @param [Google::Apis::RequestOptions] options
1468
+ # Request-specific options
1469
+ #
1470
+ # @yield [result, err] Result & error if block supplied
1471
+ # @yieldparam result [Google::Apis::RunV1alpha1::Route] parsed result object
1472
+ # @yieldparam err [StandardError] error object if request failed
1473
+ #
1474
+ # @return [Google::Apis::RunV1alpha1::Route]
1475
+ #
1476
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1477
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1478
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1479
+ def get_project_location_route(name, fields: nil, quota_user: nil, options: nil, &block)
1480
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1481
+ command.response_representation = Google::Apis::RunV1alpha1::Route::Representation
1482
+ command.response_class = Google::Apis::RunV1alpha1::Route
1483
+ command.params['name'] = name unless name.nil?
1484
+ command.query['fields'] = fields unless fields.nil?
1485
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1486
+ execute_or_queue_command(command, &block)
1487
+ end
1488
+
1489
+ # Rpc to list routes.
1490
+ # @param [String] parent
1491
+ # The project ID or project number from which the routes should be listed.
1492
+ # @param [String] continue
1493
+ # Optional encoded string to continue paging.
1494
+ # @param [String] field_selector
1495
+ # Allows to filter resources based on a specific value for a field name.
1496
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
1497
+ # Not currently used by Cloud Run.
1498
+ # @param [Boolean] include_uninitialized
1499
+ # Not currently used by Cloud Run.
1500
+ # @param [String] label_selector
1501
+ # Allows to filter resources based on a label. Supported operations are
1502
+ # =, !=, exists, in, and notIn.
1503
+ # @param [Fixnum] limit
1504
+ # The maximum number of records that should be returned.
1505
+ # @param [String] resource_version
1506
+ # The baseline resource version from which the list or watch operation should
1507
+ # start. Not currently used by Cloud Run.
1508
+ # @param [Boolean] watch
1509
+ # Flag that indicates that the client expects to watch this resource as well.
1510
+ # Not currently used by Cloud Run.
1511
+ # @param [String] fields
1512
+ # Selector specifying which fields to include in a partial response.
1513
+ # @param [String] quota_user
1514
+ # Available to use for quota purposes for server-side applications. Can be any
1515
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1516
+ # @param [Google::Apis::RequestOptions] options
1517
+ # Request-specific options
1518
+ #
1519
+ # @yield [result, err] Result & error if block supplied
1520
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListRoutesResponse] parsed result object
1521
+ # @yieldparam err [StandardError] error object if request failed
1522
+ #
1523
+ # @return [Google::Apis::RunV1alpha1::ListRoutesResponse]
1524
+ #
1525
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1526
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1527
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1528
+ def list_project_location_routes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
1529
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/routes', options)
1530
+ command.response_representation = Google::Apis::RunV1alpha1::ListRoutesResponse::Representation
1531
+ command.response_class = Google::Apis::RunV1alpha1::ListRoutesResponse
1532
+ command.params['parent'] = parent unless parent.nil?
1533
+ command.query['continue'] = continue unless continue.nil?
1534
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
1535
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
1536
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
1537
+ command.query['limit'] = limit unless limit.nil?
1538
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
1539
+ command.query['watch'] = watch unless watch.nil?
1540
+ command.query['fields'] = fields unless fields.nil?
1541
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1542
+ execute_or_queue_command(command, &block)
1543
+ end
1544
+
1545
+ # Rpc to create a service.
1546
+ # @param [String] parent
1547
+ # The project ID or project number in which this service should be created.
1548
+ # @param [Google::Apis::RunV1alpha1::Service] service_object
1549
+ # @param [String] fields
1550
+ # Selector specifying which fields to include in a partial response.
1551
+ # @param [String] quota_user
1552
+ # Available to use for quota purposes for server-side applications. Can be any
1553
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1554
+ # @param [Google::Apis::RequestOptions] options
1555
+ # Request-specific options
1556
+ #
1557
+ # @yield [result, err] Result & error if block supplied
1558
+ # @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
1559
+ # @yieldparam err [StandardError] error object if request failed
1560
+ #
1561
+ # @return [Google::Apis::RunV1alpha1::Service]
1562
+ #
1563
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1564
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1565
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1566
+ def create_project_location_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1567
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/services', options)
1568
+ command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
1569
+ command.request_object = service_object
1570
+ command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
1571
+ command.response_class = Google::Apis::RunV1alpha1::Service
1572
+ command.params['parent'] = parent unless parent.nil?
1573
+ command.query['fields'] = fields unless fields.nil?
1574
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1575
+ execute_or_queue_command(command, &block)
1576
+ end
1577
+
1578
+ # Rpc to delete a service.
1579
+ # This will cause the Service to stop serving traffic and will delete the
1580
+ # child entities like Routes, Configurations and Revisions.
1581
+ # @param [String] name
1582
+ # The name of the service being deleted. If needed, replace
1583
+ # `namespace_id` with the project ID.
1584
+ # @param [String] api_version
1585
+ # Cloud Run currently ignores this parameter.
1586
+ # @param [String] kind
1587
+ # Cloud Run currently ignores this parameter.
1588
+ # @param [Boolean] orphan_dependents
1589
+ # Deprecated.
1590
+ # Specifies the cascade behavior on delete.
1591
+ # Cloud Run only supports cascading behavior, so this must be false.
1592
+ # This attribute is deprecated, and is now replaced with PropagationPolicy
1593
+ # See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
1594
+ # @param [String] propagation_policy
1595
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
1596
+ # this setting, and deletes in the background. Please see
1597
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1598
+ # more information.
1599
+ # @param [String] fields
1600
+ # Selector specifying which fields to include in a partial response.
1601
+ # @param [String] quota_user
1602
+ # Available to use for quota purposes for server-side applications. Can be any
1603
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1604
+ # @param [Google::Apis::RequestOptions] options
1605
+ # Request-specific options
1606
+ #
1607
+ # @yield [result, err] Result & error if block supplied
1608
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
1609
+ # @yieldparam err [StandardError] error object if request failed
1610
+ #
1611
+ # @return [Google::Apis::RunV1alpha1::Empty]
1612
+ #
1613
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1614
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1615
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1616
+ def delete_project_location_service(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1617
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1618
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1619
+ command.response_class = Google::Apis::RunV1alpha1::Empty
1620
+ command.params['name'] = name unless name.nil?
1621
+ command.query['apiVersion'] = api_version unless api_version.nil?
1622
+ command.query['kind'] = kind unless kind.nil?
1623
+ command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
1624
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1625
+ command.query['fields'] = fields unless fields.nil?
1626
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1627
+ execute_or_queue_command(command, &block)
1628
+ end
1629
+
1630
+ # Rpc to get information about a service.
1631
+ # @param [String] name
1632
+ # The name of the service being retrieved. If needed, replace
1633
+ # `namespace_id` with the project ID.
1634
+ # @param [String] fields
1635
+ # Selector specifying which fields to include in a partial response.
1636
+ # @param [String] quota_user
1637
+ # Available to use for quota purposes for server-side applications. Can be any
1638
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1639
+ # @param [Google::Apis::RequestOptions] options
1640
+ # Request-specific options
1641
+ #
1642
+ # @yield [result, err] Result & error if block supplied
1643
+ # @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
1644
+ # @yieldparam err [StandardError] error object if request failed
1645
+ #
1646
+ # @return [Google::Apis::RunV1alpha1::Service]
1647
+ #
1648
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1649
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1650
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1651
+ def get_project_location_service(name, fields: nil, quota_user: nil, options: nil, &block)
1652
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1653
+ command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
1654
+ command.response_class = Google::Apis::RunV1alpha1::Service
1655
+ command.params['name'] = name unless name.nil?
1656
+ command.query['fields'] = fields unless fields.nil?
1657
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1658
+ execute_or_queue_command(command, &block)
1659
+ end
1660
+
1661
+ # Get the IAM Access Control policy currently in effect for the given
1662
+ # Cloud Run service. This result does not include any inherited policies.
1663
+ # @param [String] resource
1664
+ # REQUIRED: The resource for which the policy is being requested.
1665
+ # See the operation documentation for the appropriate value for this field.
1666
+ # @param [String] fields
1667
+ # Selector specifying which fields to include in a partial response.
1668
+ # @param [String] quota_user
1669
+ # Available to use for quota purposes for server-side applications. Can be any
1670
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1671
+ # @param [Google::Apis::RequestOptions] options
1672
+ # Request-specific options
1673
+ #
1674
+ # @yield [result, err] Result & error if block supplied
1675
+ # @yieldparam result [Google::Apis::RunV1alpha1::Policy] parsed result object
1676
+ # @yieldparam err [StandardError] error object if request failed
1677
+ #
1678
+ # @return [Google::Apis::RunV1alpha1::Policy]
1679
+ #
1680
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1681
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1682
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1683
+ def get_project_location_service_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
1684
+ command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
1685
+ command.response_representation = Google::Apis::RunV1alpha1::Policy::Representation
1686
+ command.response_class = Google::Apis::RunV1alpha1::Policy
1687
+ command.params['resource'] = resource unless resource.nil?
1688
+ command.query['fields'] = fields unless fields.nil?
1689
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1690
+ execute_or_queue_command(command, &block)
1691
+ end
1692
+
1693
+ # Rpc to list services.
1694
+ # @param [String] parent
1695
+ # The project ID or project number from which the services should be listed.
1696
+ # @param [String] continue
1697
+ # Optional encoded string to continue paging.
1698
+ # @param [String] field_selector
1699
+ # Allows to filter resources based on a specific value for a field name.
1700
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
1701
+ # Not currently used by Cloud Run.
1702
+ # @param [Boolean] include_uninitialized
1703
+ # Not currently used by Cloud Run.
1704
+ # @param [String] label_selector
1705
+ # Allows to filter resources based on a label. Supported operations are
1706
+ # =, !=, exists, in, and notIn.
1707
+ # @param [Fixnum] limit
1708
+ # The maximum number of records that should be returned.
1709
+ # @param [String] resource_version
1710
+ # The baseline resource version from which the list or watch operation should
1711
+ # start. Not currently used by Cloud Run.
1712
+ # @param [Boolean] watch
1713
+ # Flag that indicates that the client expects to watch this resource as well.
1714
+ # Not currently used by Cloud Run.
1715
+ # @param [String] fields
1716
+ # Selector specifying which fields to include in a partial response.
1717
+ # @param [String] quota_user
1718
+ # Available to use for quota purposes for server-side applications. Can be any
1719
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1720
+ # @param [Google::Apis::RequestOptions] options
1721
+ # Request-specific options
1722
+ #
1723
+ # @yield [result, err] Result & error if block supplied
1724
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListServicesResponse] parsed result object
1725
+ # @yieldparam err [StandardError] error object if request failed
1726
+ #
1727
+ # @return [Google::Apis::RunV1alpha1::ListServicesResponse]
1728
+ #
1729
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1730
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1731
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1732
+ def list_project_location_services(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
1733
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/services', options)
1734
+ command.response_representation = Google::Apis::RunV1alpha1::ListServicesResponse::Representation
1735
+ command.response_class = Google::Apis::RunV1alpha1::ListServicesResponse
1736
+ command.params['parent'] = parent unless parent.nil?
1737
+ command.query['continue'] = continue unless continue.nil?
1738
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
1739
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
1740
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
1741
+ command.query['limit'] = limit unless limit.nil?
1742
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
1743
+ command.query['watch'] = watch unless watch.nil?
1744
+ command.query['fields'] = fields unless fields.nil?
1745
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1746
+ execute_or_queue_command(command, &block)
1747
+ end
1748
+
1749
+ # Rpc to replace a service.
1750
+ # Only the spec and metadata labels and annotations are modifiable. After
1751
+ # the Update request, Cloud Run will work to make the 'status'
1752
+ # match the requested 'spec'.
1753
+ # May provide metadata.resourceVersion to enforce update from last read for
1754
+ # optimistic concurrency control.
1755
+ # @param [String] name
1756
+ # The name of the service being replaced. If needed, replace
1757
+ # `namespace_id` with the project ID.
1758
+ # @param [Google::Apis::RunV1alpha1::Service] service_object
1759
+ # @param [String] fields
1760
+ # Selector specifying which fields to include in a partial response.
1761
+ # @param [String] quota_user
1762
+ # Available to use for quota purposes for server-side applications. Can be any
1763
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1764
+ # @param [Google::Apis::RequestOptions] options
1765
+ # Request-specific options
1766
+ #
1767
+ # @yield [result, err] Result & error if block supplied
1768
+ # @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
1769
+ # @yieldparam err [StandardError] error object if request failed
1770
+ #
1771
+ # @return [Google::Apis::RunV1alpha1::Service]
1772
+ #
1773
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1774
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1775
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1776
+ def replace_project_location_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1777
+ command = make_simple_command(:put, 'v1alpha1/{+name}', options)
1778
+ command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
1779
+ command.request_object = service_object
1780
+ command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
1781
+ command.response_class = Google::Apis::RunV1alpha1::Service
1782
+ command.params['name'] = name unless name.nil?
1783
+ command.query['fields'] = fields unless fields.nil?
1784
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1785
+ execute_or_queue_command(command, &block)
1786
+ end
1787
+
1788
+ # Sets the IAM Access control policy for the specified Service. Overwrites
1789
+ # any existing policy.
1790
+ # @param [String] resource
1791
+ # REQUIRED: The resource for which the policy is being specified.
1792
+ # See the operation documentation for the appropriate value for this field.
1793
+ # @param [Google::Apis::RunV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
1794
+ # @param [String] fields
1795
+ # Selector specifying which fields to include in a partial response.
1796
+ # @param [String] quota_user
1797
+ # Available to use for quota purposes for server-side applications. Can be any
1798
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1799
+ # @param [Google::Apis::RequestOptions] options
1800
+ # Request-specific options
1801
+ #
1802
+ # @yield [result, err] Result & error if block supplied
1803
+ # @yieldparam result [Google::Apis::RunV1alpha1::Policy] parsed result object
1804
+ # @yieldparam err [StandardError] error object if request failed
1805
+ #
1806
+ # @return [Google::Apis::RunV1alpha1::Policy]
1807
+ #
1808
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1809
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1810
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1811
+ def set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1812
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
1813
+ command.request_representation = Google::Apis::RunV1alpha1::SetIamPolicyRequest::Representation
1814
+ command.request_object = set_iam_policy_request_object
1815
+ command.response_representation = Google::Apis::RunV1alpha1::Policy::Representation
1816
+ command.response_class = Google::Apis::RunV1alpha1::Policy
1817
+ command.params['resource'] = resource unless resource.nil?
1818
+ command.query['fields'] = fields unless fields.nil?
1819
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1820
+ execute_or_queue_command(command, &block)
1821
+ end
1822
+
1823
+ # Returns permissions that a caller has on the specified Project.
1824
+ # There are no permissions required for making this API call.
1825
+ # @param [String] resource
1826
+ # REQUIRED: The resource for which the policy detail is being requested.
1827
+ # See the operation documentation for the appropriate value for this field.
1828
+ # @param [Google::Apis::RunV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
1829
+ # @param [String] fields
1830
+ # Selector specifying which fields to include in a partial response.
1831
+ # @param [String] quota_user
1832
+ # Available to use for quota purposes for server-side applications. Can be any
1833
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1834
+ # @param [Google::Apis::RequestOptions] options
1835
+ # Request-specific options
1836
+ #
1837
+ # @yield [result, err] Result & error if block supplied
1838
+ # @yieldparam result [Google::Apis::RunV1alpha1::TestIamPermissionsResponse] parsed result object
1839
+ # @yieldparam err [StandardError] error object if request failed
1840
+ #
1841
+ # @return [Google::Apis::RunV1alpha1::TestIamPermissionsResponse]
1842
+ #
1843
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1844
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1845
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1846
+ def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1847
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
1848
+ command.request_representation = Google::Apis::RunV1alpha1::TestIamPermissionsRequest::Representation
1849
+ command.request_object = test_iam_permissions_request_object
1850
+ command.response_representation = Google::Apis::RunV1alpha1::TestIamPermissionsResponse::Representation
1851
+ command.response_class = Google::Apis::RunV1alpha1::TestIamPermissionsResponse
1852
+ command.params['resource'] = resource unless resource.nil?
1853
+ command.query['fields'] = fields unless fields.nil?
1854
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1855
+ execute_or_queue_command(command, &block)
1856
+ end
1857
+
1858
+ # Creates a new trigger.
1859
+ # @param [String] parent
1860
+ # The project ID or project number in which this trigger should
1861
+ # be created.
1862
+ # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
1863
+ # @param [String] fields
1864
+ # Selector specifying which fields to include in a partial response.
1865
+ # @param [String] quota_user
1866
+ # Available to use for quota purposes for server-side applications. Can be any
1867
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1868
+ # @param [Google::Apis::RequestOptions] options
1869
+ # Request-specific options
1870
+ #
1871
+ # @yield [result, err] Result & error if block supplied
1872
+ # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1873
+ # @yieldparam err [StandardError] error object if request failed
1874
+ #
1875
+ # @return [Google::Apis::RunV1alpha1::Trigger]
1876
+ #
1877
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1878
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1879
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1880
+ def create_project_location_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1881
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/triggers', options)
1882
+ command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1883
+ command.request_object = trigger_object
1884
+ command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1885
+ command.response_class = Google::Apis::RunV1alpha1::Trigger
1886
+ command.params['parent'] = parent unless parent.nil?
1887
+ command.query['fields'] = fields unless fields.nil?
1888
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1889
+ execute_or_queue_command(command, &block)
1890
+ end
1891
+
1892
+ # Rpc to delete a trigger.
1893
+ # @param [String] name
1894
+ # The name of the trigger being deleted. If needed, replace
1895
+ # `namespace_id` with the project ID.
1896
+ # @param [String] api_version
1897
+ # Cloud Run currently ignores this parameter.
1898
+ # @param [String] kind
1899
+ # Cloud Run currently ignores this parameter.
1900
+ # @param [String] propagation_policy
1901
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
1902
+ # this setting, and deletes in the background. Please see
1903
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1904
+ # more information.
1905
+ # @param [String] fields
1906
+ # Selector specifying which fields to include in a partial response.
1907
+ # @param [String] quota_user
1908
+ # Available to use for quota purposes for server-side applications. Can be any
1909
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1910
+ # @param [Google::Apis::RequestOptions] options
1911
+ # Request-specific options
1912
+ #
1913
+ # @yield [result, err] Result & error if block supplied
1914
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
1915
+ # @yieldparam err [StandardError] error object if request failed
1916
+ #
1917
+ # @return [Google::Apis::RunV1alpha1::Empty]
1918
+ #
1919
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1920
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1921
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1922
+ def delete_project_location_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1923
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1924
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1925
+ command.response_class = Google::Apis::RunV1alpha1::Empty
1926
+ command.params['name'] = name unless name.nil?
1927
+ command.query['apiVersion'] = api_version unless api_version.nil?
1928
+ command.query['kind'] = kind unless kind.nil?
1929
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1930
+ command.query['fields'] = fields unless fields.nil?
1931
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1932
+ execute_or_queue_command(command, &block)
1933
+ end
1934
+
1935
+ # Rpc to get information about a trigger.
1936
+ # @param [String] name
1937
+ # The name of the trigger being retrieved. If needed, replace
1938
+ # `namespace_id` with the project ID.
1939
+ # @param [String] fields
1940
+ # Selector specifying which fields to include in a partial response.
1941
+ # @param [String] quota_user
1942
+ # Available to use for quota purposes for server-side applications. Can be any
1943
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1944
+ # @param [Google::Apis::RequestOptions] options
1945
+ # Request-specific options
1946
+ #
1947
+ # @yield [result, err] Result & error if block supplied
1948
+ # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1949
+ # @yieldparam err [StandardError] error object if request failed
1950
+ #
1951
+ # @return [Google::Apis::RunV1alpha1::Trigger]
1952
+ #
1953
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1954
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1955
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1956
+ def get_project_location_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
1957
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1958
+ command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1959
+ command.response_class = Google::Apis::RunV1alpha1::Trigger
1960
+ command.params['name'] = name unless name.nil?
1961
+ command.query['fields'] = fields unless fields.nil?
1962
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1963
+ execute_or_queue_command(command, &block)
1964
+ end
1965
+
1966
+ # Rpc to list triggers.
1967
+ # @param [String] parent
1968
+ # The project ID or project number from which the triggers should
1969
+ # be listed.
1970
+ # @param [String] continue
1971
+ # Optional encoded string to continue paging.
1972
+ # @param [String] field_selector
1973
+ # Allows to filter resources based on a specific value for a field name.
1974
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
1975
+ # Not currently used by Cloud Run.
1976
+ # @param [Boolean] include_uninitialized
1977
+ # Not currently used by Cloud Run.
1978
+ # @param [String] label_selector
1979
+ # Allows to filter resources based on a label. Supported operations are
1980
+ # =, !=, exists, in, and notIn.
1981
+ # @param [Fixnum] limit
1982
+ # The maximum number of records that should be returned.
1983
+ # @param [String] resource_version
1984
+ # The baseline resource version from which the list or watch operation should
1985
+ # start. Not currently used by Cloud Run.
1986
+ # @param [Boolean] watch
1987
+ # Flag that indicates that the client expects to watch this resource as well.
1988
+ # Not currently used by Cloud Run.
1989
+ # @param [String] fields
1990
+ # Selector specifying which fields to include in a partial response.
1991
+ # @param [String] quota_user
1992
+ # Available to use for quota purposes for server-side applications. Can be any
1993
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1994
+ # @param [Google::Apis::RequestOptions] options
1995
+ # Request-specific options
1996
+ #
1997
+ # @yield [result, err] Result & error if block supplied
1998
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListTriggersResponse] parsed result object
1999
+ # @yieldparam err [StandardError] error object if request failed
2000
+ #
2001
+ # @return [Google::Apis::RunV1alpha1::ListTriggersResponse]
2002
+ #
2003
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2004
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2005
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2006
+ def list_project_location_triggers(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
2007
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/triggers', options)
2008
+ command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation
2009
+ command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse
2010
+ command.params['parent'] = parent unless parent.nil?
2011
+ command.query['continue'] = continue unless continue.nil?
2012
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
2013
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
2014
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
2015
+ command.query['limit'] = limit unless limit.nil?
2016
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
2017
+ command.query['watch'] = watch unless watch.nil?
2018
+ command.query['fields'] = fields unless fields.nil?
2019
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2020
+ execute_or_queue_command(command, &block)
2021
+ end
2022
+
2023
+ # Rpc to replace a trigger.
2024
+ # Only the spec and metadata labels and annotations are modifiable. After
2025
+ # the Update request, Cloud Run will work to make the 'status'
2026
+ # match the requested 'spec'.
2027
+ # May provide metadata.resourceVersion to enforce update from last read for
2028
+ # optimistic concurrency control.
2029
+ # @param [String] name
2030
+ # The name of the trigger being retrieved. If needed, replace
2031
+ # `namespace_id` with the project ID.
2032
+ # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
2033
+ # @param [String] fields
2034
+ # Selector specifying which fields to include in a partial response.
2035
+ # @param [String] quota_user
2036
+ # Available to use for quota purposes for server-side applications. Can be any
2037
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2038
+ # @param [Google::Apis::RequestOptions] options
2039
+ # Request-specific options
2040
+ #
2041
+ # @yield [result, err] Result & error if block supplied
2042
+ # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
2043
+ # @yieldparam err [StandardError] error object if request failed
2044
+ #
2045
+ # @return [Google::Apis::RunV1alpha1::Trigger]
2046
+ #
2047
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2048
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2049
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2050
+ def replace_project_location_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2051
+ command = make_simple_command(:put, 'v1alpha1/{+name}', options)
2052
+ command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
2053
+ command.request_object = trigger_object
2054
+ command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
2055
+ command.response_class = Google::Apis::RunV1alpha1::Trigger
2056
+ command.params['name'] = name unless name.nil?
2057
+ command.query['fields'] = fields unless fields.nil?
2058
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2059
+ execute_or_queue_command(command, &block)
2060
+ end
2061
+
2062
+ protected
2063
+
2064
+ def apply_command_defaults(command)
2065
+ command.query['key'] = key unless key.nil?
2066
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2067
+ end
2068
+ end
2069
+ end
2070
+ end
2071
+ end