google-api-client 0.29.1 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (472) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +102 -0
  3. data/README.md +1 -1
  4. data/bin/generate-api +4 -2
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
  9. data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
  10. data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
  21. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
  22. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
  23. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
  24. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
  26. data/generated/google/apis/admin_directory_v1/service.rb +113 -113
  27. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  28. data/generated/google/apis/adsense_v1_4/service.rb +39 -39
  29. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
  30. data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
  31. data/generated/google/apis/analytics_v2_4/service.rb +6 -6
  32. data/generated/google/apis/analytics_v3/service.rb +88 -88
  33. data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
  34. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  35. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  36. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
  37. data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
  40. data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
  41. data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
  42. data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
  43. data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
  44. data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
  45. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  46. data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
  47. data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
  48. data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
  49. data/generated/google/apis/appengine_v1.rb +1 -1
  50. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  51. data/generated/google/apis/appengine_v1/service.rb +38 -38
  52. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  53. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
  54. data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
  55. data/generated/google/apis/appengine_v1beta.rb +1 -1
  56. data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
  57. data/generated/google/apis/appengine_v1beta/service.rb +38 -38
  58. data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
  59. data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
  60. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  61. data/generated/google/apis/appsmarket_v2/service.rb +3 -3
  62. data/generated/google/apis/appstate_v1/service.rb +5 -5
  63. data/generated/google/apis/bigquery_v2.rb +1 -1
  64. data/generated/google/apis/bigquery_v2/classes.rb +934 -0
  65. data/generated/google/apis/bigquery_v2/representations.rb +367 -0
  66. data/generated/google/apis/bigquery_v2/service.rb +184 -22
  67. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
  68. data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
  69. data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
  70. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  71. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
  72. data/generated/google/apis/blogger_v2/service.rb +9 -9
  73. data/generated/google/apis/blogger_v3/service.rb +33 -33
  74. data/generated/google/apis/books_v1/service.rb +51 -51
  75. data/generated/google/apis/calendar_v3/service.rb +37 -37
  76. data/generated/google/apis/chat_v1/service.rb +8 -8
  77. data/generated/google/apis/civicinfo_v2/service.rb +5 -5
  78. data/generated/google/apis/classroom_v1.rb +1 -1
  79. data/generated/google/apis/classroom_v1/service.rb +57 -56
  80. data/generated/google/apis/cloudasset_v1/service.rb +3 -3
  81. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  82. data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
  83. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  84. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  85. data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
  86. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
  87. data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
  88. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  91. data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
  92. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  93. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
  98. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  99. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  100. data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
  101. data/generated/google/apis/cloudiot_v1.rb +1 -1
  102. data/generated/google/apis/cloudiot_v1/service.rb +23 -330
  103. data/generated/google/apis/cloudkms_v1/service.rb +30 -30
  104. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
  105. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
  106. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
  107. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
  108. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
  109. data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
  110. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
  113. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
  114. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
  116. data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
  117. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
  120. data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
  121. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
  122. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  123. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
  124. data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
  125. data/generated/google/apis/cloudshell_v1.rb +1 -1
  126. data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
  127. data/generated/google/apis/cloudshell_v1/service.rb +4 -4
  128. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  129. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
  130. data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
  131. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  132. data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
  133. data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
  134. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  135. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
  136. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
  137. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  138. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
  139. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
  140. data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
  141. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  142. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  143. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
  144. data/generated/google/apis/composer_v1/service.rb +9 -9
  145. data/generated/google/apis/composer_v1beta1/service.rb +9 -9
  146. data/generated/google/apis/compute_alpha.rb +1 -1
  147. data/generated/google/apis/compute_alpha/classes.rb +29 -0
  148. data/generated/google/apis/compute_alpha/representations.rb +15 -0
  149. data/generated/google/apis/compute_alpha/service.rb +625 -623
  150. data/generated/google/apis/compute_beta.rb +1 -1
  151. data/generated/google/apis/compute_beta/service.rb +504 -503
  152. data/generated/google/apis/compute_v1.rb +1 -1
  153. data/generated/google/apis/compute_v1/service.rb +411 -410
  154. data/generated/google/apis/container_v1.rb +1 -1
  155. data/generated/google/apis/container_v1/classes.rb +2 -1
  156. data/generated/google/apis/container_v1/service.rb +63 -63
  157. data/generated/google/apis/container_v1beta1.rb +1 -1
  158. data/generated/google/apis/container_v1beta1/classes.rb +52 -4
  159. data/generated/google/apis/container_v1beta1/representations.rb +20 -0
  160. data/generated/google/apis/container_v1beta1/service.rb +64 -64
  161. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  162. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
  163. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
  164. data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
  165. data/generated/google/apis/content_v2.rb +1 -1
  166. data/generated/google/apis/content_v2/classes.rb +9 -3
  167. data/generated/google/apis/content_v2/service.rb +101 -105
  168. data/generated/google/apis/content_v2_1.rb +1 -1
  169. data/generated/google/apis/content_v2_1/classes.rb +9 -3
  170. data/generated/google/apis/content_v2_1/service.rb +89 -93
  171. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  172. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  173. data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
  174. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  175. data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
  176. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  177. data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
  178. data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
  179. data/generated/google/apis/dataproc_v1.rb +1 -1
  180. data/generated/google/apis/dataproc_v1/classes.rb +2 -2
  181. data/generated/google/apis/dataproc_v1/service.rb +261 -45
  182. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  183. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
  184. data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
  185. data/generated/google/apis/datastore_v1.rb +1 -1
  186. data/generated/google/apis/datastore_v1/service.rb +15 -15
  187. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  188. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  189. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  190. data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
  191. data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
  192. data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
  193. data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
  194. data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
  195. data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
  196. data/generated/google/apis/dialogflow_v2.rb +1 -1
  197. data/generated/google/apis/dialogflow_v2/classes.rb +5 -5
  198. data/generated/google/apis/dialogflow_v2/service.rb +36 -36
  199. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  200. data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
  201. data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
  202. data/generated/google/apis/digitalassetlinks_v1/service.rb +2 -2
  203. data/generated/google/apis/discovery_v1/service.rb +2 -2
  204. data/generated/google/apis/dlp_v2.rb +1 -1
  205. data/generated/google/apis/dlp_v2/classes.rb +8 -2
  206. data/generated/google/apis/dlp_v2/service.rb +51 -46
  207. data/generated/google/apis/dns_v1/service.rb +15 -15
  208. data/generated/google/apis/dns_v1beta2/service.rb +21 -21
  209. data/generated/google/apis/dns_v2beta1/service.rb +15 -15
  210. data/generated/google/apis/docs_v1.rb +1 -1
  211. data/generated/google/apis/docs_v1/classes.rb +137 -0
  212. data/generated/google/apis/docs_v1/representations.rb +57 -0
  213. data/generated/google/apis/docs_v1/service.rb +3 -3
  214. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
  215. data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
  216. data/generated/google/apis/drive_v2/service.rb +74 -74
  217. data/generated/google/apis/drive_v3/service.rb +46 -46
  218. data/generated/google/apis/driveactivity_v2/service.rb +1 -1
  219. data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
  220. data/generated/google/apis/fcm_v1.rb +35 -0
  221. data/generated/google/apis/fcm_v1/classes.rb +424 -0
  222. data/generated/google/apis/fcm_v1/representations.rb +167 -0
  223. data/generated/google/apis/fcm_v1/service.rb +97 -0
  224. data/generated/google/apis/file_v1.rb +1 -1
  225. data/generated/google/apis/file_v1/classes.rb +52 -1
  226. data/generated/google/apis/file_v1/representations.rb +16 -0
  227. data/generated/google/apis/file_v1/service.rb +11 -11
  228. data/generated/google/apis/file_v1beta1.rb +1 -1
  229. data/generated/google/apis/file_v1beta1/classes.rb +52 -1
  230. data/generated/google/apis/file_v1beta1/representations.rb +16 -0
  231. data/generated/google/apis/file_v1beta1/service.rb +11 -11
  232. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
  233. data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
  234. data/generated/google/apis/firebaserules_v1/service.rb +11 -11
  235. data/generated/google/apis/firestore_v1/service.rb +28 -28
  236. data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
  237. data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
  238. data/generated/google/apis/fitness_v1/service.rb +13 -13
  239. data/generated/google/apis/fusiontables_v1/service.rb +32 -32
  240. data/generated/google/apis/fusiontables_v2/service.rb +34 -34
  241. data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
  242. data/generated/google/apis/games_management_v1management/service.rb +27 -27
  243. data/generated/google/apis/games_v1/service.rb +53 -53
  244. data/generated/google/apis/genomics_v1.rb +1 -1
  245. data/generated/google/apis/genomics_v1/service.rb +3 -3
  246. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  247. data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
  248. data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
  249. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  250. data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
  251. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  252. data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
  253. data/generated/google/apis/gmail_v1/service.rb +68 -68
  254. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  255. data/generated/google/apis/groupssettings_v1/service.rb +3 -3
  256. data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
  257. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
  258. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
  259. data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
  260. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  261. data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
  262. data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
  263. data/generated/google/apis/iam_v1/service.rb +36 -36
  264. data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
  265. data/generated/google/apis/iap_v1/service.rb +3 -3
  266. data/generated/google/apis/iap_v1beta1/service.rb +3 -3
  267. data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
  268. data/generated/google/apis/indexing_v3/service.rb +2 -2
  269. data/generated/google/apis/jobs_v2/service.rb +17 -17
  270. data/generated/google/apis/jobs_v3/service.rb +15 -15
  271. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  272. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
  273. data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
  274. data/generated/google/apis/kgsearch_v1/service.rb +1 -1
  275. data/generated/google/apis/language_v1.rb +1 -1
  276. data/generated/google/apis/language_v1/service.rb +6 -6
  277. data/generated/google/apis/language_v1beta1/service.rb +4 -4
  278. data/generated/google/apis/language_v1beta2.rb +1 -1
  279. data/generated/google/apis/language_v1beta2/service.rb +6 -6
  280. data/generated/google/apis/libraryagent_v1/service.rb +6 -6
  281. data/generated/google/apis/licensing_v1/service.rb +7 -7
  282. data/generated/google/apis/logging_v2.rb +1 -1
  283. data/generated/google/apis/logging_v2/classes.rb +6 -0
  284. data/generated/google/apis/logging_v2/representations.rb +1 -0
  285. data/generated/google/apis/logging_v2/service.rb +72 -72
  286. data/generated/google/apis/manufacturers_v1/service.rb +4 -4
  287. data/generated/google/apis/mirror_v1/service.rb +24 -24
  288. data/generated/google/apis/ml_v1.rb +1 -1
  289. data/generated/google/apis/ml_v1/classes.rb +73 -55
  290. data/generated/google/apis/ml_v1/service.rb +31 -31
  291. data/generated/google/apis/monitoring_v3.rb +1 -1
  292. data/generated/google/apis/monitoring_v3/classes.rb +14 -1
  293. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  294. data/generated/google/apis/monitoring_v3/service.rb +36 -36
  295. data/generated/google/apis/oauth2_v1/service.rb +3 -3
  296. data/generated/google/apis/oauth2_v2/service.rb +4 -4
  297. data/generated/google/apis/oslogin_v1/service.rb +6 -6
  298. data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
  299. data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
  300. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  301. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  302. data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
  303. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  304. data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
  305. data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
  306. data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
  307. data/generated/google/apis/people_v1.rb +1 -1
  308. data/generated/google/apis/people_v1/service.rb +13 -13
  309. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  310. data/generated/google/apis/plus_domains_v1/service.rb +10 -10
  311. data/generated/google/apis/plus_v1/service.rb +9 -9
  312. data/generated/google/apis/poly_v1/service.rb +4 -4
  313. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
  314. data/generated/google/apis/pubsub_v1.rb +1 -1
  315. data/generated/google/apis/pubsub_v1/service.rb +32 -32
  316. data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
  317. data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
  318. data/generated/google/apis/redis_v1.rb +1 -1
  319. data/generated/google/apis/redis_v1/service.rb +19 -19
  320. data/generated/google/apis/redis_v1beta1.rb +1 -1
  321. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  322. data/generated/google/apis/redis_v1beta1/service.rb +15 -15
  323. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  324. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  325. data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
  326. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  327. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  328. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
  329. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  330. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  331. data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
  332. data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
  333. data/generated/google/apis/reseller_v1/service.rb +17 -17
  334. data/generated/google/apis/run_v1/service.rb +1 -1
  335. data/generated/google/apis/run_v1alpha1.rb +1 -1
  336. data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
  337. data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
  338. data/generated/google/apis/run_v1alpha1/service.rb +446 -38
  339. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  340. data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
  341. data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
  342. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  343. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
  344. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
  345. data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
  346. data/generated/google/apis/script_v1.rb +1 -1
  347. data/generated/google/apis/script_v1/classes.rb +167 -0
  348. data/generated/google/apis/script_v1/representations.rb +79 -0
  349. data/generated/google/apis/script_v1/service.rb +16 -16
  350. data/generated/google/apis/searchconsole_v1/service.rb +1 -1
  351. data/generated/google/apis/securitycenter_v1.rb +1 -1
  352. data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
  353. data/generated/google/apis/securitycenter_v1/service.rb +23 -23
  354. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  355. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
  356. data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
  357. data/generated/google/apis/servicebroker_v1/service.rb +3 -3
  358. data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
  359. data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
  360. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  361. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -60
  362. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -29
  363. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
  364. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  365. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
  366. data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
  367. data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
  368. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  369. data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
  370. data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
  371. data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
  372. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  373. data/generated/google/apis/servicenetworking_v1/classes.rb +8 -60
  374. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -29
  375. data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
  376. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  377. data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -60
  378. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -29
  379. data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
  380. data/generated/google/apis/serviceusage_v1.rb +1 -1
  381. data/generated/google/apis/serviceusage_v1/classes.rb +8 -60
  382. data/generated/google/apis/serviceusage_v1/representations.rb +1 -29
  383. data/generated/google/apis/serviceusage_v1/service.rb +17 -19
  384. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  385. data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -60
  386. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -29
  387. data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
  388. data/generated/google/apis/sheets_v4.rb +1 -1
  389. data/generated/google/apis/sheets_v4/service.rb +17 -17
  390. data/generated/google/apis/site_verification_v1/service.rb +7 -7
  391. data/generated/google/apis/slides_v1/service.rb +5 -5
  392. data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
  393. data/generated/google/apis/spanner_v1.rb +1 -1
  394. data/generated/google/apis/spanner_v1/classes.rb +3 -3
  395. data/generated/google/apis/spanner_v1/service.rb +41 -41
  396. data/generated/google/apis/speech_v1.rb +1 -1
  397. data/generated/google/apis/speech_v1/classes.rb +2 -2
  398. data/generated/google/apis/speech_v1/service.rb +7 -7
  399. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  400. data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
  401. data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
  402. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  403. data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
  404. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  405. data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
  406. data/generated/google/apis/storage_v1/service.rb +52 -52
  407. data/generated/google/apis/storage_v1beta1/service.rb +24 -24
  408. data/generated/google/apis/storage_v1beta2/service.rb +34 -34
  409. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  410. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
  411. data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
  412. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  413. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  414. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
  415. data/generated/google/apis/surveys_v2/service.rb +8 -8
  416. data/generated/google/apis/tagmanager_v1/service.rb +49 -49
  417. data/generated/google/apis/tagmanager_v2/service.rb +74 -74
  418. data/generated/google/apis/tasks_v1/service.rb +14 -14
  419. data/generated/google/apis/testing_v1.rb +1 -1
  420. data/generated/google/apis/testing_v1/classes.rb +25 -12
  421. data/generated/google/apis/testing_v1/representations.rb +2 -0
  422. data/generated/google/apis/testing_v1/service.rb +5 -5
  423. data/generated/google/apis/texttospeech_v1/service.rb +2 -2
  424. data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
  425. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  426. data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
  427. data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
  428. data/generated/google/apis/tpu_v1.rb +1 -1
  429. data/generated/google/apis/tpu_v1/classes.rb +1 -1
  430. data/generated/google/apis/tpu_v1/service.rb +17 -17
  431. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  432. data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
  433. data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
  434. data/generated/google/apis/translate_v2/service.rb +5 -5
  435. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  436. data/generated/google/apis/vault_v1/service.rb +28 -28
  437. data/generated/google/apis/videointelligence_v1/service.rb +5 -5
  438. data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
  439. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
  440. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
  441. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
  442. data/generated/google/apis/vision_v1.rb +1 -1
  443. data/generated/google/apis/vision_v1/classes.rb +2372 -73
  444. data/generated/google/apis/vision_v1/representations.rb +1643 -651
  445. data/generated/google/apis/vision_v1/service.rb +98 -35
  446. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  447. data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
  448. data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
  449. data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
  450. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  451. data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
  452. data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
  453. data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
  454. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  455. data/generated/google/apis/webmasters_v3/service.rb +9 -9
  456. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
  457. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  458. data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
  459. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  460. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
  461. data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
  462. data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
  463. data/generated/google/apis/youtube_v3.rb +1 -1
  464. data/generated/google/apis/youtube_v3/service.rb +71 -71
  465. data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
  466. data/google-api-client.gemspec +1 -1
  467. data/lib/google/apis/core/json_representation.rb +4 -0
  468. data/lib/google/apis/core/upload.rb +3 -3
  469. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  470. data/lib/google/apis/version.rb +1 -1
  471. metadata +13 -6
  472. data/samples/web/.env +0 -2
@@ -244,6 +244,12 @@ module Google
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
+ class ListTriggersResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
247
253
  class LocalObjectReference
248
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
255
 
@@ -262,6 +268,12 @@ module Google
262
268
  include Google::Apis::Core::JsonObjectSupport
263
269
  end
264
270
 
271
+ class ObjectReference
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
265
277
  class OwnerReference
266
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
279
 
@@ -424,6 +436,12 @@ module Google
424
436
  include Google::Apis::Core::JsonObjectSupport
425
437
  end
426
438
 
439
+ class SubscriberSpec
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
427
445
  class TcpSocketAction
428
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
447
 
@@ -448,6 +466,42 @@ module Google
448
466
  include Google::Apis::Core::JsonObjectSupport
449
467
  end
450
468
 
469
+ class Trigger
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class TriggerCondition
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
481
+ class TriggerFilter
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class TriggerFilterSourceAndType
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class TriggerSpec
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class TriggerStatus
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
451
505
  class VolumeDevice
452
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
507
 
@@ -550,6 +604,8 @@ module Google
550
604
  property :generation, as: 'generation'
551
605
  property :revision_template, as: 'revisionTemplate', class: Google::Apis::RunV1alpha1::RevisionTemplate, decorator: Google::Apis::RunV1alpha1::RevisionTemplate::Representation
552
606
 
607
+ property :template, as: 'template', class: Google::Apis::RunV1alpha1::RevisionTemplate, decorator: Google::Apis::RunV1alpha1::RevisionTemplate::Representation
608
+
553
609
  end
554
610
  end
555
611
 
@@ -857,6 +913,19 @@ module Google
857
913
  end
858
914
  end
859
915
 
916
+ class ListTriggersResponse
917
+ # @private
918
+ class Representation < Google::Apis::Core::JsonRepresentation
919
+ property :api_version, as: 'apiVersion'
920
+ collection :items, as: 'items', class: Google::Apis::RunV1alpha1::Trigger, decorator: Google::Apis::RunV1alpha1::Trigger::Representation
921
+
922
+ property :kind, as: 'kind'
923
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ListMeta, decorator: Google::Apis::RunV1alpha1::ListMeta::Representation
924
+
925
+ collection :unreachable, as: 'unreachable'
926
+ end
927
+ end
928
+
860
929
  class LocalObjectReference
861
930
  # @private
862
931
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -899,6 +968,19 @@ module Google
899
968
  end
900
969
  end
901
970
 
971
+ class ObjectReference
972
+ # @private
973
+ class Representation < Google::Apis::Core::JsonRepresentation
974
+ property :api_version, as: 'apiVersion'
975
+ property :field_path, as: 'fieldPath'
976
+ property :kind, as: 'kind'
977
+ property :name, as: 'name'
978
+ property :namespace, as: 'namespace'
979
+ property :resource_version, as: 'resourceVersion'
980
+ property :uid, as: 'uid'
981
+ end
982
+ end
983
+
902
984
  class OwnerReference
903
985
  # @private
904
986
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -996,6 +1078,8 @@ module Google
996
1078
  property :container, as: 'container', class: Google::Apis::RunV1alpha1::Container, decorator: Google::Apis::RunV1alpha1::Container::Representation
997
1079
 
998
1080
  property :container_concurrency, as: 'containerConcurrency'
1081
+ collection :containers, as: 'containers', class: Google::Apis::RunV1alpha1::Container, decorator: Google::Apis::RunV1alpha1::Container::Representation
1082
+
999
1083
  property :generation, as: 'generation'
1000
1084
  property :service_account_name, as: 'serviceAccountName'
1001
1085
  property :serving_state, as: 'servingState'
@@ -1146,6 +1230,10 @@ module Google
1146
1230
 
1147
1231
  property :run_latest, as: 'runLatest', class: Google::Apis::RunV1alpha1::ServiceSpecRunLatest, decorator: Google::Apis::RunV1alpha1::ServiceSpecRunLatest::Representation
1148
1232
 
1233
+ property :template, as: 'template', class: Google::Apis::RunV1alpha1::RevisionTemplate, decorator: Google::Apis::RunV1alpha1::RevisionTemplate::Representation
1234
+
1235
+ collection :traffic, as: 'traffic', class: Google::Apis::RunV1alpha1::TrafficTarget, decorator: Google::Apis::RunV1alpha1::TrafficTarget::Representation
1236
+
1149
1237
  end
1150
1238
  end
1151
1239
 
@@ -1207,6 +1295,15 @@ module Google
1207
1295
  end
1208
1296
  end
1209
1297
 
1298
+ class SubscriberSpec
1299
+ # @private
1300
+ class Representation < Google::Apis::Core::JsonRepresentation
1301
+ property :ref, as: 'ref', class: Google::Apis::RunV1alpha1::ObjectReference, decorator: Google::Apis::RunV1alpha1::ObjectReference::Representation
1302
+
1303
+ property :uri, as: 'uri'
1304
+ end
1305
+ end
1306
+
1210
1307
  class TcpSocketAction
1211
1308
  # @private
1212
1309
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1234,9 +1331,74 @@ module Google
1234
1331
  # @private
1235
1332
  class Representation < Google::Apis::Core::JsonRepresentation
1236
1333
  property :configuration_name, as: 'configurationName'
1334
+ property :latest_revision, as: 'latestRevision'
1237
1335
  property :name, as: 'name'
1238
1336
  property :percent, as: 'percent'
1239
1337
  property :revision_name, as: 'revisionName'
1338
+ property :tag, as: 'tag'
1339
+ property :url, as: 'url'
1340
+ end
1341
+ end
1342
+
1343
+ class Trigger
1344
+ # @private
1345
+ class Representation < Google::Apis::Core::JsonRepresentation
1346
+ property :api_version, as: 'apiVersion'
1347
+ property :kind, as: 'kind'
1348
+ property :metadata, as: 'metadata', class: Google::Apis::RunV1alpha1::ObjectMeta, decorator: Google::Apis::RunV1alpha1::ObjectMeta::Representation
1349
+
1350
+ property :spec, as: 'spec', class: Google::Apis::RunV1alpha1::TriggerSpec, decorator: Google::Apis::RunV1alpha1::TriggerSpec::Representation
1351
+
1352
+ property :status, as: 'status', class: Google::Apis::RunV1alpha1::TriggerStatus, decorator: Google::Apis::RunV1alpha1::TriggerStatus::Representation
1353
+
1354
+ end
1355
+ end
1356
+
1357
+ class TriggerCondition
1358
+ # @private
1359
+ class Representation < Google::Apis::Core::JsonRepresentation
1360
+ property :last_transition_time, as: 'lastTransitionTime'
1361
+ property :message, as: 'message'
1362
+ property :reason, as: 'reason'
1363
+ property :status, as: 'status'
1364
+ property :type, as: 'type'
1365
+ end
1366
+ end
1367
+
1368
+ class TriggerFilter
1369
+ # @private
1370
+ class Representation < Google::Apis::Core::JsonRepresentation
1371
+ property :source_and_type, as: 'sourceAndType', class: Google::Apis::RunV1alpha1::TriggerFilterSourceAndType, decorator: Google::Apis::RunV1alpha1::TriggerFilterSourceAndType::Representation
1372
+
1373
+ end
1374
+ end
1375
+
1376
+ class TriggerFilterSourceAndType
1377
+ # @private
1378
+ class Representation < Google::Apis::Core::JsonRepresentation
1379
+ property :source, as: 'source'
1380
+ property :type, as: 'type'
1381
+ end
1382
+ end
1383
+
1384
+ class TriggerSpec
1385
+ # @private
1386
+ class Representation < Google::Apis::Core::JsonRepresentation
1387
+ property :broker, as: 'broker'
1388
+ property :filter, as: 'filter', class: Google::Apis::RunV1alpha1::TriggerFilter, decorator: Google::Apis::RunV1alpha1::TriggerFilter::Representation
1389
+
1390
+ property :subscriber, as: 'subscriber', class: Google::Apis::RunV1alpha1::SubscriberSpec, decorator: Google::Apis::RunV1alpha1::SubscriberSpec::Representation
1391
+
1392
+ end
1393
+ end
1394
+
1395
+ class TriggerStatus
1396
+ # @private
1397
+ class Representation < Google::Apis::Core::JsonRepresentation
1398
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV1alpha1::TriggerCondition, decorator: Google::Apis::RunV1alpha1::TriggerCondition::Representation
1399
+
1400
+ property :observed_generation, as: 'observedGeneration'
1401
+ property :subscriber_uri, as: 'subscriberUri'
1240
1402
  end
1241
1403
  end
1242
1404
 
@@ -73,7 +73,7 @@ module Google
73
73
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
74
  # @raise [Google::Apis::AuthorizationError] Authorization is required
75
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)
76
+ command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/authorizeddomains', options)
77
77
  command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation
78
78
  command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
79
79
  command.params['parent'] = parent unless parent.nil?
@@ -106,7 +106,7 @@ module Google
106
106
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
107
107
  # @raise [Google::Apis::AuthorizationError] Authorization is required
108
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)
109
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
110
110
  command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
111
111
  command.response_class = Google::Apis::RunV1alpha1::Configuration
112
112
  command.params['name'] = name unless name.nil?
@@ -156,7 +156,7 @@ module Google
156
156
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
157
  # @raise [Google::Apis::AuthorizationError] Authorization is required
158
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)
159
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/configurations', options)
160
160
  command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation
161
161
  command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse
162
162
  command.params['parent'] = parent unless parent.nil?
@@ -195,7 +195,7 @@ module Google
195
195
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
196
196
  # @raise [Google::Apis::AuthorizationError] Authorization is required
197
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)
198
+ command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
199
199
  command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
200
200
  command.request_object = domain_mapping_object
201
201
  command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
@@ -243,7 +243,7 @@ module Google
243
243
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
244
244
  # @raise [Google::Apis::AuthorizationError] Authorization is required
245
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)
246
+ command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options)
247
247
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
248
248
  command.response_class = Google::Apis::RunV1alpha1::Empty
249
249
  command.params['name'] = name unless name.nil?
@@ -278,7 +278,7 @@ module Google
278
278
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
279
279
  # @raise [Google::Apis::AuthorizationError] Authorization is required
280
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)
281
+ command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options)
282
282
  command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
283
283
  command.response_class = Google::Apis::RunV1alpha1::DomainMapping
284
284
  command.params['name'] = name unless name.nil?
@@ -328,7 +328,7 @@ module Google
328
328
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
329
329
  # @raise [Google::Apis::AuthorizationError] Authorization is required
330
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)
331
+ command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
332
332
  command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation
333
333
  command.response_class = Google::Apis::RunV1alpha1::ListDomainMappingsResponse
334
334
  command.params['parent'] = parent unless parent.nil?
@@ -381,7 +381,7 @@ module Google
381
381
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
382
382
  # @raise [Google::Apis::AuthorizationError] Authorization is required
383
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)
384
+ command = make_simple_command(:delete, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
385
385
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
386
386
  command.response_class = Google::Apis::RunV1alpha1::Empty
387
387
  command.params['name'] = name unless name.nil?
@@ -416,7 +416,7 @@ module Google
416
416
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
417
417
  # @raise [Google::Apis::AuthorizationError] Authorization is required
418
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)
419
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
420
420
  command.response_representation = Google::Apis::RunV1alpha1::Revision::Representation
421
421
  command.response_class = Google::Apis::RunV1alpha1::Revision
422
422
  command.params['name'] = name unless name.nil?
@@ -465,7 +465,7 @@ module Google
465
465
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
466
466
  # @raise [Google::Apis::AuthorizationError] Authorization is required
467
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)
468
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/revisions', options)
469
469
  command.response_representation = Google::Apis::RunV1alpha1::ListRevisionsResponse::Representation
470
470
  command.response_class = Google::Apis::RunV1alpha1::ListRevisionsResponse
471
471
  command.params['parent'] = parent unless parent.nil?
@@ -503,7 +503,7 @@ module Google
503
503
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
504
504
  # @raise [Google::Apis::AuthorizationError] Authorization is required
505
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)
506
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
507
507
  command.response_representation = Google::Apis::RunV1alpha1::Route::Representation
508
508
  command.response_class = Google::Apis::RunV1alpha1::Route
509
509
  command.params['name'] = name unless name.nil?
@@ -552,7 +552,7 @@ module Google
552
552
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
553
553
  # @raise [Google::Apis::AuthorizationError] Authorization is required
554
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)
555
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/routes', options)
556
556
  command.response_representation = Google::Apis::RunV1alpha1::ListRoutesResponse::Representation
557
557
  command.response_class = Google::Apis::RunV1alpha1::ListRoutesResponse
558
558
  command.params['parent'] = parent unless parent.nil?
@@ -590,7 +590,7 @@ module Google
590
590
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
591
591
  # @raise [Google::Apis::AuthorizationError] Authorization is required
592
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)
593
+ command = make_simple_command(:post, 'apis/serving.knative.dev/v1alpha1/{+parent}/services', options)
594
594
  command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
595
595
  command.request_object = service_object
596
596
  command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
@@ -640,7 +640,7 @@ module Google
640
640
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
641
641
  # @raise [Google::Apis::AuthorizationError] Authorization is required
642
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)
643
+ command = make_simple_command(:delete, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
644
644
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
645
645
  command.response_class = Google::Apis::RunV1alpha1::Empty
646
646
  command.params['name'] = name unless name.nil?
@@ -675,7 +675,7 @@ module Google
675
675
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
676
676
  # @raise [Google::Apis::AuthorizationError] Authorization is required
677
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)
678
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
679
679
  command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
680
680
  command.response_class = Google::Apis::RunV1alpha1::Service
681
681
  command.params['name'] = name unless name.nil?
@@ -724,7 +724,7 @@ module Google
724
724
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
725
725
  # @raise [Google::Apis::AuthorizationError] Authorization is required
726
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)
727
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/services', options)
728
728
  command.response_representation = Google::Apis::RunV1alpha1::ListServicesResponse::Representation
729
729
  command.response_class = Google::Apis::RunV1alpha1::ListServicesResponse
730
730
  command.params['parent'] = parent unless parent.nil?
@@ -768,7 +768,7 @@ module Google
768
768
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
769
769
  # @raise [Google::Apis::AuthorizationError] Authorization is required
770
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)
771
+ command = make_simple_command(:put, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
772
772
  command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
773
773
  command.request_object = service_object
774
774
  command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
@@ -779,6 +779,210 @@ module Google
779
779
  execute_or_queue_command(command, &block)
780
780
  end
781
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
+
782
986
  # Lists information about the supported locations for this service.
783
987
  # @param [String] name
784
988
  # The resource that owns the locations collection, if applicable.
@@ -806,7 +1010,7 @@ module Google
806
1010
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
807
1011
  # @raise [Google::Apis::AuthorizationError] Authorization is required
808
1012
  def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
809
- command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options)
1013
+ command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options)
810
1014
  command.response_representation = Google::Apis::RunV1alpha1::ListLocationsResponse::Representation
811
1015
  command.response_class = Google::Apis::RunV1alpha1::ListLocationsResponse
812
1016
  command.params['name'] = name unless name.nil?
@@ -843,7 +1047,7 @@ module Google
843
1047
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
844
1048
  # @raise [Google::Apis::AuthorizationError] Authorization is required
845
1049
  def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
846
- command = make_simple_command(:get, 'v1alpha1/{+parent}/authorizeddomains', options)
1050
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/authorizeddomains', options)
847
1051
  command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation
848
1052
  command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
849
1053
  command.params['parent'] = parent unless parent.nil?
@@ -876,7 +1080,7 @@ module Google
876
1080
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
877
1081
  # @raise [Google::Apis::AuthorizationError] Authorization is required
878
1082
  def get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
879
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1083
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
880
1084
  command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
881
1085
  command.response_class = Google::Apis::RunV1alpha1::Configuration
882
1086
  command.params['name'] = name unless name.nil?
@@ -926,7 +1130,7 @@ module Google
926
1130
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
927
1131
  # @raise [Google::Apis::AuthorizationError] Authorization is required
928
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)
929
- command = make_simple_command(:get, 'v1alpha1/{+parent}/configurations', options)
1133
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/configurations', options)
930
1134
  command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation
931
1135
  command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse
932
1136
  command.params['parent'] = parent unless parent.nil?
@@ -965,7 +1169,7 @@ module Google
965
1169
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
966
1170
  # @raise [Google::Apis::AuthorizationError] Authorization is required
967
1171
  def create_project_location_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
968
- command = make_simple_command(:post, 'v1alpha1/{+parent}/domainmappings', options)
1172
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/domainmappings', options)
969
1173
  command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
970
1174
  command.request_object = domain_mapping_object
971
1175
  command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
@@ -1013,7 +1217,7 @@ module Google
1013
1217
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1014
1218
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1015
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)
1016
- command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1220
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1017
1221
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1018
1222
  command.response_class = Google::Apis::RunV1alpha1::Empty
1019
1223
  command.params['name'] = name unless name.nil?
@@ -1048,7 +1252,7 @@ module Google
1048
1252
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1049
1253
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1050
1254
  def get_project_location_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
1051
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1255
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1052
1256
  command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
1053
1257
  command.response_class = Google::Apis::RunV1alpha1::DomainMapping
1054
1258
  command.params['name'] = name unless name.nil?
@@ -1098,7 +1302,7 @@ module Google
1098
1302
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1099
1303
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1100
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)
1101
- command = make_simple_command(:get, 'v1alpha1/{+parent}/domainmappings', options)
1305
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/domainmappings', options)
1102
1306
  command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation
1103
1307
  command.response_class = Google::Apis::RunV1alpha1::ListDomainMappingsResponse
1104
1308
  command.params['parent'] = parent unless parent.nil?
@@ -1151,7 +1355,7 @@ module Google
1151
1355
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1152
1356
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1153
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)
1154
- command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1358
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1155
1359
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1156
1360
  command.response_class = Google::Apis::RunV1alpha1::Empty
1157
1361
  command.params['name'] = name unless name.nil?
@@ -1186,7 +1390,7 @@ module Google
1186
1390
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1187
1391
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1188
1392
  def get_project_location_revision(name, fields: nil, quota_user: nil, options: nil, &block)
1189
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1393
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1190
1394
  command.response_representation = Google::Apis::RunV1alpha1::Revision::Representation
1191
1395
  command.response_class = Google::Apis::RunV1alpha1::Revision
1192
1396
  command.params['name'] = name unless name.nil?
@@ -1235,7 +1439,7 @@ module Google
1235
1439
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1236
1440
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1237
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)
1238
- command = make_simple_command(:get, 'v1alpha1/{+parent}/revisions', options)
1442
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/revisions', options)
1239
1443
  command.response_representation = Google::Apis::RunV1alpha1::ListRevisionsResponse::Representation
1240
1444
  command.response_class = Google::Apis::RunV1alpha1::ListRevisionsResponse
1241
1445
  command.params['parent'] = parent unless parent.nil?
@@ -1273,7 +1477,7 @@ module Google
1273
1477
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1274
1478
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1275
1479
  def get_project_location_route(name, fields: nil, quota_user: nil, options: nil, &block)
1276
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1480
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1277
1481
  command.response_representation = Google::Apis::RunV1alpha1::Route::Representation
1278
1482
  command.response_class = Google::Apis::RunV1alpha1::Route
1279
1483
  command.params['name'] = name unless name.nil?
@@ -1322,7 +1526,7 @@ module Google
1322
1526
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1323
1527
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1324
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)
1325
- command = make_simple_command(:get, 'v1alpha1/{+parent}/routes', options)
1529
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/routes', options)
1326
1530
  command.response_representation = Google::Apis::RunV1alpha1::ListRoutesResponse::Representation
1327
1531
  command.response_class = Google::Apis::RunV1alpha1::ListRoutesResponse
1328
1532
  command.params['parent'] = parent unless parent.nil?
@@ -1360,7 +1564,7 @@ module Google
1360
1564
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1361
1565
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1362
1566
  def create_project_location_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1363
- command = make_simple_command(:post, 'v1alpha1/{+parent}/services', options)
1567
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/services', options)
1364
1568
  command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
1365
1569
  command.request_object = service_object
1366
1570
  command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
@@ -1410,7 +1614,7 @@ module Google
1410
1614
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1411
1615
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1412
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)
1413
- command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1617
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1414
1618
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1415
1619
  command.response_class = Google::Apis::RunV1alpha1::Empty
1416
1620
  command.params['name'] = name unless name.nil?
@@ -1445,7 +1649,7 @@ module Google
1445
1649
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1446
1650
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1447
1651
  def get_project_location_service(name, fields: nil, quota_user: nil, options: nil, &block)
1448
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1652
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1449
1653
  command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
1450
1654
  command.response_class = Google::Apis::RunV1alpha1::Service
1451
1655
  command.params['name'] = name unless name.nil?
@@ -1477,7 +1681,7 @@ module Google
1477
1681
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1478
1682
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1479
1683
  def get_project_location_service_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
1480
- command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
1684
+ command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
1481
1685
  command.response_representation = Google::Apis::RunV1alpha1::Policy::Representation
1482
1686
  command.response_class = Google::Apis::RunV1alpha1::Policy
1483
1687
  command.params['resource'] = resource unless resource.nil?
@@ -1526,7 +1730,7 @@ module Google
1526
1730
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1527
1731
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1528
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)
1529
- command = make_simple_command(:get, 'v1alpha1/{+parent}/services', options)
1733
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/services', options)
1530
1734
  command.response_representation = Google::Apis::RunV1alpha1::ListServicesResponse::Representation
1531
1735
  command.response_class = Google::Apis::RunV1alpha1::ListServicesResponse
1532
1736
  command.params['parent'] = parent unless parent.nil?
@@ -1570,7 +1774,7 @@ module Google
1570
1774
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1571
1775
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1572
1776
  def replace_project_location_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1573
- command = make_simple_command(:put, 'v1alpha1/{+name}', options)
1777
+ command = make_simple_command(:put, 'v1alpha1/{+name}', options)
1574
1778
  command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
1575
1779
  command.request_object = service_object
1576
1780
  command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
@@ -1605,7 +1809,7 @@ module Google
1605
1809
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1606
1810
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1607
1811
  def set_service_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1608
- command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
1812
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
1609
1813
  command.request_representation = Google::Apis::RunV1alpha1::SetIamPolicyRequest::Representation
1610
1814
  command.request_object = set_iam_policy_request_object
1611
1815
  command.response_representation = Google::Apis::RunV1alpha1::Policy::Representation
@@ -1640,7 +1844,7 @@ module Google
1640
1844
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1641
1845
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1642
1846
  def test_service_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1643
- command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
1847
+ command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
1644
1848
  command.request_representation = Google::Apis::RunV1alpha1::TestIamPermissionsRequest::Representation
1645
1849
  command.request_object = test_iam_permissions_request_object
1646
1850
  command.response_representation = Google::Apis::RunV1alpha1::TestIamPermissionsResponse::Representation
@@ -1650,6 +1854,210 @@ module Google
1650
1854
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1651
1855
  execute_or_queue_command(command, &block)
1652
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
1653
2061
 
1654
2062
  protected
1655
2063