google-api-client 0.36.0 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (560) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/CHANGELOG.md +316 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  7. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  8. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  9. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  10. data/generated/google/apis/accesscontextmanager_v1/classes.rb +113 -0
  11. data/generated/google/apis/accesscontextmanager_v1/representations.rb +32 -0
  12. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  13. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +151 -0
  14. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  15. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  16. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  17. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  18. data/generated/google/apis/admob_v1/classes.rb +951 -0
  19. data/generated/google/apis/admob_v1/representations.rb +378 -0
  20. data/generated/google/apis/admob_v1/service.rb +196 -0
  21. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  22. data/generated/google/apis/alertcenter_v1beta1/classes.rb +252 -0
  23. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  24. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +37 -59
  28. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  29. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  30. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  31. data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
  32. data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
  33. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  34. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -94
  36. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -50
  37. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  38. data/generated/google/apis/androidpublisher_v3/classes.rb +151 -111
  39. data/generated/google/apis/androidpublisher_v3/representations.rb +69 -56
  40. data/generated/google/apis/androidpublisher_v3/service.rb +158 -0
  41. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  42. data/generated/google/apis/appengine_v1beta/classes.rb +0 -38
  43. data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
  44. data/generated/google/apis/appengine_v1beta.rb +1 -1
  45. data/generated/google/apis/appsactivity_v1.rb +1 -1
  46. data/generated/google/apis/bigquery_v2/classes.rb +8 -1
  47. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  48. data/generated/google/apis/bigquery_v2/service.rb +19 -2
  49. data/generated/google/apis/bigquery_v2.rb +1 -1
  50. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +130 -56
  51. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  52. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +8 -8
  53. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  54. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  55. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  56. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +60 -30
  57. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  58. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -22
  59. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  60. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  61. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +6 -22
  62. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +1 -13
  63. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  64. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +11 -99
  65. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -45
  66. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +1 -70
  67. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  68. data/generated/google/apis/bigtableadmin_v2/classes.rb +124 -55
  69. data/generated/google/apis/bigtableadmin_v2/service.rb +76 -4
  70. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  71. data/generated/google/apis/binaryauthorization_v1/classes.rb +124 -56
  72. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  73. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +124 -56
  74. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  75. data/generated/google/apis/chat_v1/service.rb +5 -2
  76. data/generated/google/apis/chat_v1.rb +1 -1
  77. data/generated/google/apis/classroom_v1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1/classes.rb +304 -15
  79. data/generated/google/apis/cloudasset_v1/representations.rb +117 -0
  80. data/generated/google/apis/cloudasset_v1/service.rb +175 -1
  81. data/generated/google/apis/cloudasset_v1.rb +2 -2
  82. data/generated/google/apis/cloudasset_v1beta1/classes.rb +49 -15
  83. data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
  84. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  85. data/generated/google/apis/cloudbilling_v1/classes.rb +110 -57
  86. data/generated/google/apis/cloudbilling_v1/service.rb +8 -6
  87. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  88. data/generated/google/apis/cloudbuild_v1/classes.rb +10 -6
  89. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  90. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1174 -0
  91. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +435 -0
  92. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +223 -0
  93. data/generated/google/apis/{servicebroker_v1alpha1.rb → cloudbuild_v1alpha1.rb} +8 -10
  94. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1124 -0
  95. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +429 -0
  96. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +232 -0
  97. data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
  98. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  99. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  100. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -12
  101. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  102. data/generated/google/apis/cloudfunctions_v1/classes.rb +138 -56
  103. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  104. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  105. data/generated/google/apis/cloudidentity_v1/classes.rb +560 -0
  106. data/generated/google/apis/cloudidentity_v1/representations.rb +226 -0
  107. data/generated/google/apis/cloudidentity_v1/service.rb +20 -13
  108. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  109. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +765 -72
  110. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +289 -0
  111. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -79
  112. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  113. data/generated/google/apis/cloudiot_v1/classes.rb +124 -56
  114. data/generated/google/apis/cloudiot_v1.rb +1 -1
  115. data/generated/google/apis/cloudkms_v1/classes.rb +162 -56
  116. data/generated/google/apis/cloudkms_v1/representations.rb +16 -0
  117. data/generated/google/apis/cloudkms_v1.rb +1 -1
  118. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +1 -1
  119. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +49 -15
  120. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  121. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +124 -56
  123. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -3
  124. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  125. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +124 -56
  126. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  127. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  128. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +124 -56
  129. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  130. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +124 -56
  131. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  132. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  133. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  134. data/generated/google/apis/cloudsearch_v1/classes.rb +11 -2
  135. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  136. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  137. data/generated/google/apis/cloudshell_v1.rb +1 -1
  138. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  139. data/generated/google/apis/cloudtasks_v2/classes.rb +130 -62
  140. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  141. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +124 -56
  142. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  143. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +130 -62
  144. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  145. data/generated/google/apis/cloudtrace_v1/service.rb +6 -0
  146. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  147. data/generated/google/apis/cloudtrace_v2/classes.rb +5 -3
  148. data/generated/google/apis/cloudtrace_v2/service.rb +4 -0
  149. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  150. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  151. data/generated/google/apis/composer_v1/classes.rb +2 -0
  152. data/generated/google/apis/composer_v1.rb +1 -1
  153. data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
  154. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  155. data/generated/google/apis/composer_v1beta1.rb +1 -1
  156. data/generated/google/apis/compute_alpha/classes.rb +710 -503
  157. data/generated/google/apis/compute_alpha/representations.rb +51 -51
  158. data/generated/google/apis/compute_alpha/service.rb +1383 -1097
  159. data/generated/google/apis/compute_alpha.rb +1 -1
  160. data/generated/google/apis/compute_beta/classes.rb +2543 -395
  161. data/generated/google/apis/compute_beta/representations.rb +805 -4
  162. data/generated/google/apis/compute_beta/service.rb +7496 -5509
  163. data/generated/google/apis/compute_beta.rb +1 -1
  164. data/generated/google/apis/compute_v1/classes.rb +1713 -562
  165. data/generated/google/apis/compute_v1/representations.rb +441 -0
  166. data/generated/google/apis/compute_v1/service.rb +1513 -860
  167. data/generated/google/apis/compute_v1.rb +1 -1
  168. data/generated/google/apis/container_v1/classes.rb +247 -3
  169. data/generated/google/apis/container_v1/representations.rb +74 -0
  170. data/generated/google/apis/container_v1/service.rb +8 -0
  171. data/generated/google/apis/container_v1.rb +1 -1
  172. data/generated/google/apis/container_v1beta1/classes.rb +284 -80
  173. data/generated/google/apis/container_v1beta1/representations.rb +85 -0
  174. data/generated/google/apis/container_v1beta1/service.rb +129 -121
  175. data/generated/google/apis/container_v1beta1.rb +1 -1
  176. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +124 -56
  177. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  178. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +126 -58
  179. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  180. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  181. data/generated/google/apis/content_v2/classes.rb +143 -42
  182. data/generated/google/apis/content_v2/representations.rb +47 -0
  183. data/generated/google/apis/content_v2/service.rb +33 -0
  184. data/generated/google/apis/content_v2.rb +1 -1
  185. data/generated/google/apis/content_v2_1/classes.rb +237 -42
  186. data/generated/google/apis/content_v2_1/representations.rb +94 -0
  187. data/generated/google/apis/content_v2_1/service.rb +77 -0
  188. data/generated/google/apis/content_v2_1.rb +1 -1
  189. data/generated/google/apis/datacatalog_v1beta1/classes.rb +241 -72
  190. data/generated/google/apis/datacatalog_v1beta1/representations.rb +34 -0
  191. data/generated/google/apis/datacatalog_v1beta1/service.rb +159 -69
  192. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  193. data/generated/google/apis/dataflow_v1b3/classes.rb +189 -2
  194. data/generated/google/apis/dataflow_v1b3/representations.rb +97 -0
  195. data/generated/google/apis/dataflow_v1b3/service.rb +38 -0
  196. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  197. data/generated/google/apis/datafusion_v1beta1/classes.rb +134 -387
  198. data/generated/google/apis/datafusion_v1beta1/representations.rb +1 -132
  199. data/generated/google/apis/datafusion_v1beta1/service.rb +5 -1
  200. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  201. data/generated/google/apis/dataproc_v1/classes.rb +229 -165
  202. data/generated/google/apis/dataproc_v1/service.rb +16 -14
  203. data/generated/google/apis/dataproc_v1.rb +1 -1
  204. data/generated/google/apis/dataproc_v1beta2/classes.rb +228 -164
  205. data/generated/google/apis/dataproc_v1beta2/service.rb +28 -26
  206. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  207. data/generated/google/apis/datastore_v1/classes.rb +16 -22
  208. data/generated/google/apis/datastore_v1/service.rb +10 -10
  209. data/generated/google/apis/datastore_v1.rb +1 -1
  210. data/generated/google/apis/datastore_v1beta3/classes.rb +5 -4
  211. data/generated/google/apis/datastore_v1beta3/service.rb +8 -8
  212. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  213. data/generated/google/apis/dfareporting_v3_4/classes.rb +88 -88
  214. data/generated/google/apis/dfareporting_v3_4/representations.rb +39 -39
  215. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  216. data/generated/google/apis/dialogflow_v2/classes.rb +551 -21
  217. data/generated/google/apis/dialogflow_v2/representations.rb +191 -0
  218. data/generated/google/apis/dialogflow_v2/service.rb +477 -0
  219. data/generated/google/apis/dialogflow_v2.rb +1 -1
  220. data/generated/google/apis/dialogflow_v2beta1/classes.rb +449 -21
  221. data/generated/google/apis/dialogflow_v2beta1/representations.rb +160 -0
  222. data/generated/google/apis/dialogflow_v2beta1/service.rb +939 -45
  223. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  224. data/generated/google/apis/dlp_v2/classes.rb +178 -92
  225. data/generated/google/apis/dlp_v2/representations.rb +42 -0
  226. data/generated/google/apis/dlp_v2/service.rb +56 -56
  227. data/generated/google/apis/dlp_v2.rb +1 -1
  228. data/generated/google/apis/dns_v1/classes.rb +70 -0
  229. data/generated/google/apis/dns_v1/representations.rb +32 -0
  230. data/generated/google/apis/dns_v1.rb +1 -1
  231. data/generated/google/apis/dns_v2beta1/classes.rb +70 -0
  232. data/generated/google/apis/dns_v2beta1/representations.rb +32 -0
  233. data/generated/google/apis/dns_v2beta1.rb +1 -1
  234. data/generated/google/apis/docs_v1/classes.rb +427 -18
  235. data/generated/google/apis/docs_v1/representations.rb +131 -0
  236. data/generated/google/apis/docs_v1.rb +1 -1
  237. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  238. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +34 -0
  239. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +16 -0
  240. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  241. data/generated/google/apis/drive_v2/classes.rb +1 -2
  242. data/generated/google/apis/drive_v2/service.rb +0 -92
  243. data/generated/google/apis/drive_v2.rb +1 -1
  244. data/generated/google/apis/driveactivity_v2/classes.rb +6 -0
  245. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  246. data/generated/google/apis/driveactivity_v2.rb +1 -1
  247. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  248. data/generated/google/apis/fcm_v1.rb +1 -1
  249. data/generated/google/apis/file_v1/classes.rb +59 -12
  250. data/generated/google/apis/file_v1/representations.rb +19 -2
  251. data/generated/google/apis/file_v1/service.rb +8 -4
  252. data/generated/google/apis/file_v1.rb +1 -1
  253. data/generated/google/apis/file_v1beta1/classes.rb +60 -13
  254. data/generated/google/apis/file_v1beta1/representations.rb +19 -2
  255. data/generated/google/apis/file_v1beta1/service.rb +8 -4
  256. data/generated/google/apis/file_v1beta1.rb +1 -1
  257. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  258. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  259. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +161 -0
  260. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +64 -0
  261. data/generated/google/apis/firebasehosting_v1beta1/service.rb +67 -0
  262. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  263. data/generated/google/apis/firebaserules_v1/classes.rb +87 -0
  264. data/generated/google/apis/firebaserules_v1/representations.rb +37 -0
  265. data/generated/google/apis/firebaserules_v1.rb +1 -1
  266. data/generated/google/apis/firestore_v1/classes.rb +5 -3
  267. data/generated/google/apis/firestore_v1/service.rb +24 -22
  268. data/generated/google/apis/firestore_v1.rb +1 -1
  269. data/generated/google/apis/firestore_v1beta1/classes.rb +5 -3
  270. data/generated/google/apis/firestore_v1beta1/service.rb +16 -14
  271. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  272. data/generated/google/apis/fitness_v1/classes.rb +8 -4
  273. data/generated/google/apis/fitness_v1/service.rb +26 -8
  274. data/generated/google/apis/fitness_v1.rb +11 -11
  275. data/generated/google/apis/games_management_v1management/service.rb +5 -7
  276. data/generated/google/apis/games_management_v1management.rb +1 -1
  277. data/generated/google/apis/genomics_v1.rb +1 -1
  278. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  279. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  280. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  281. data/generated/google/apis/gmail_v1/service.rb +1 -1
  282. data/generated/google/apis/gmail_v1.rb +13 -1
  283. data/generated/google/apis/healthcare_v1beta1/classes.rb +199 -77
  284. data/generated/google/apis/healthcare_v1beta1/representations.rb +4 -0
  285. data/generated/google/apis/healthcare_v1beta1/service.rb +251 -75
  286. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  287. data/generated/google/apis/homegraph_v1.rb +1 -1
  288. data/generated/google/apis/iam_v1/classes.rb +176 -164
  289. data/generated/google/apis/iam_v1/representations.rb +0 -6
  290. data/generated/google/apis/iam_v1/service.rb +11 -21
  291. data/generated/google/apis/iam_v1.rb +1 -1
  292. data/generated/google/apis/iamcredentials_v1/classes.rb +7 -4
  293. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  294. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  295. data/generated/google/apis/iap_v1/classes.rb +291 -57
  296. data/generated/google/apis/iap_v1/representations.rb +85 -0
  297. data/generated/google/apis/iap_v1/service.rb +290 -0
  298. data/generated/google/apis/iap_v1.rb +1 -1
  299. data/generated/google/apis/iap_v1beta1/classes.rb +124 -55
  300. data/generated/google/apis/iap_v1beta1.rb +1 -1
  301. data/generated/google/apis/jobs_v3/classes.rb +1 -0
  302. data/generated/google/apis/jobs_v3.rb +1 -1
  303. data/generated/google/apis/jobs_v3p1beta1/classes.rb +8 -2
  304. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  305. data/generated/google/apis/kgsearch_v1.rb +1 -1
  306. data/generated/google/apis/language_v1.rb +1 -1
  307. data/generated/google/apis/language_v1beta1.rb +1 -1
  308. data/generated/google/apis/language_v1beta2/classes.rb +15 -0
  309. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  310. data/generated/google/apis/language_v1beta2.rb +1 -1
  311. data/generated/google/apis/libraryagent_v1.rb +1 -1
  312. data/generated/google/apis/logging_v2/classes.rb +129 -39
  313. data/generated/google/apis/logging_v2/representations.rb +16 -0
  314. data/generated/google/apis/logging_v2/service.rb +186 -1
  315. data/generated/google/apis/logging_v2.rb +3 -2
  316. data/generated/google/apis/manufacturers_v1.rb +1 -1
  317. data/generated/google/apis/ml_v1/classes.rb +145 -47
  318. data/generated/google/apis/ml_v1/representations.rb +15 -0
  319. data/generated/google/apis/ml_v1/service.rb +14 -22
  320. data/generated/google/apis/ml_v1.rb +4 -1
  321. data/generated/google/apis/monitoring_v1/classes.rb +159 -120
  322. data/generated/google/apis/monitoring_v1/representations.rb +0 -18
  323. data/generated/google/apis/monitoring_v1/service.rb +11 -10
  324. data/generated/google/apis/monitoring_v1.rb +1 -1
  325. data/generated/google/apis/monitoring_v3/classes.rb +214 -106
  326. data/generated/google/apis/monitoring_v3/representations.rb +18 -1
  327. data/generated/google/apis/monitoring_v3/service.rb +178 -153
  328. data/generated/google/apis/monitoring_v3.rb +1 -1
  329. data/generated/google/apis/osconfig_v1beta/classes.rb +2357 -0
  330. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  331. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  332. data/generated/google/apis/osconfig_v1beta.rb +35 -0
  333. data/generated/google/apis/oslogin_v1/service.rb +0 -1
  334. data/generated/google/apis/oslogin_v1.rb +1 -2
  335. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  336. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  337. data/generated/google/apis/oslogin_v1beta/service.rb +0 -1
  338. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  339. data/generated/google/apis/pagespeedonline_v5/classes.rb +529 -498
  340. data/generated/google/apis/pagespeedonline_v5/representations.rb +225 -221
  341. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  342. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  343. data/generated/google/apis/people_v1/classes.rb +14 -13
  344. data/generated/google/apis/people_v1/service.rb +12 -16
  345. data/generated/google/apis/people_v1.rb +4 -1
  346. data/generated/google/apis/policytroubleshooter_v1/classes.rb +752 -0
  347. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  348. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  349. data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
  350. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +71 -19
  351. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  352. data/generated/google/apis/poly_v1.rb +1 -1
  353. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1123 -0
  354. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +530 -0
  355. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1388 -0
  356. data/generated/google/apis/{surveys_v2.rb → prod_tt_sasportal_v1alpha1.rb} +9 -15
  357. data/generated/google/apis/pubsub_v1/classes.rb +194 -56
  358. data/generated/google/apis/pubsub_v1/representations.rb +17 -0
  359. data/generated/google/apis/pubsub_v1.rb +1 -1
  360. data/generated/google/apis/pubsub_v1beta2/classes.rb +124 -56
  361. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  362. data/generated/google/apis/recommender_v1beta1/classes.rb +8 -5
  363. data/generated/google/apis/recommender_v1beta1/service.rb +13 -11
  364. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  365. data/generated/google/apis/redis_v1/classes.rb +10 -3
  366. data/generated/google/apis/redis_v1/representations.rb +1 -0
  367. data/generated/google/apis/redis_v1.rb +1 -1
  368. data/generated/google/apis/redis_v1beta1/classes.rb +29 -3
  369. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  370. data/generated/google/apis/redis_v1beta1/service.rb +36 -0
  371. data/generated/google/apis/redis_v1beta1.rb +1 -1
  372. data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -1
  373. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  374. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  375. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +7 -1
  376. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  377. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  378. data/generated/google/apis/remotebuildexecution_v2/classes.rb +7 -1
  379. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  380. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  381. data/generated/google/apis/run_v1/classes.rb +124 -56
  382. data/generated/google/apis/run_v1/service.rb +0 -30
  383. data/generated/google/apis/run_v1.rb +1 -1
  384. data/generated/google/apis/run_v1alpha1/classes.rb +740 -569
  385. data/generated/google/apis/run_v1alpha1/representations.rb +204 -182
  386. data/generated/google/apis/run_v1alpha1/service.rb +764 -358
  387. data/generated/google/apis/run_v1alpha1.rb +1 -1
  388. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  389. data/generated/google/apis/run_v1beta1.rb +4 -1
  390. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  391. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +49 -15
  392. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  393. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  394. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  395. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1123 -0
  396. data/generated/google/apis/sasportal_v1alpha1/representations.rb +530 -0
  397. data/generated/google/apis/sasportal_v1alpha1/service.rb +1388 -0
  398. data/generated/google/apis/{fusiontables_v1.rb → sasportal_v1alpha1.rb} +11 -14
  399. data/generated/google/apis/script_v1.rb +1 -1
  400. data/generated/google/apis/searchconsole_v1.rb +1 -1
  401. data/generated/google/apis/secretmanager_v1beta1/classes.rb +970 -0
  402. data/generated/google/apis/{servicebroker_v1alpha1 → secretmanager_v1beta1}/representations.rb +140 -119
  403. data/generated/google/apis/secretmanager_v1beta1/service.rb +675 -0
  404. data/generated/google/apis/{servicebroker_v1beta1.rb → secretmanager_v1beta1.rb} +9 -10
  405. data/generated/google/apis/securitycenter_v1/classes.rb +467 -15
  406. data/generated/google/apis/securitycenter_v1/representations.rb +141 -0
  407. data/generated/google/apis/securitycenter_v1/service.rb +6 -0
  408. data/generated/google/apis/securitycenter_v1.rb +1 -1
  409. data/generated/google/apis/securitycenter_v1beta1/classes.rb +442 -15
  410. data/generated/google/apis/securitycenter_v1beta1/representations.rb +138 -0
  411. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  412. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +393 -0
  413. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +138 -0
  414. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  415. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +1999 -0
  416. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +699 -0
  417. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1315 -0
  418. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  419. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +225 -3
  420. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +51 -0
  421. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  422. data/generated/google/apis/servicecontrol_v1/classes.rb +242 -3
  423. data/generated/google/apis/servicecontrol_v1/representations.rb +86 -0
  424. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  425. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  426. data/generated/google/apis/servicemanagement_v1/classes.rb +169 -18
  427. data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
  428. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  429. data/generated/google/apis/servicenetworking_v1/classes.rb +178 -3
  430. data/generated/google/apis/servicenetworking_v1/representations.rb +33 -0
  431. data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
  432. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  433. data/generated/google/apis/servicenetworking_v1beta/classes.rb +156 -3
  434. data/generated/google/apis/servicenetworking_v1beta/representations.rb +20 -0
  435. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  436. data/generated/google/apis/serviceusage_v1/classes.rb +156 -3
  437. data/generated/google/apis/serviceusage_v1/representations.rb +20 -0
  438. data/generated/google/apis/serviceusage_v1.rb +1 -1
  439. data/generated/google/apis/serviceusage_v1beta1/classes.rb +156 -3
  440. data/generated/google/apis/serviceusage_v1beta1/representations.rb +20 -0
  441. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  442. data/generated/google/apis/sheets_v4/classes.rb +380 -31
  443. data/generated/google/apis/sheets_v4/representations.rb +103 -0
  444. data/generated/google/apis/sheets_v4/service.rb +9 -11
  445. data/generated/google/apis/sheets_v4.rb +1 -1
  446. data/generated/google/apis/sourcerepo_v1/classes.rb +172 -65
  447. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  448. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  449. data/generated/google/apis/spanner_v1/classes.rb +153 -66
  450. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  451. data/generated/google/apis/spanner_v1/service.rb +7 -2
  452. data/generated/google/apis/spanner_v1.rb +1 -1
  453. data/generated/google/apis/speech_v1/classes.rb +1 -8
  454. data/generated/google/apis/speech_v1/representations.rb +0 -1
  455. data/generated/google/apis/speech_v1.rb +1 -1
  456. data/generated/google/apis/speech_v1p1beta1/classes.rb +3 -8
  457. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -1
  458. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  459. data/generated/google/apis/sql_v1beta4/classes.rb +204 -5
  460. data/generated/google/apis/sql_v1beta4/representations.rb +84 -0
  461. data/generated/google/apis/sql_v1beta4/service.rb +279 -14
  462. data/generated/google/apis/sql_v1beta4.rb +1 -1
  463. data/generated/google/apis/storage_v1/classes.rb +16 -7
  464. data/generated/google/apis/storage_v1/service.rb +1 -1
  465. data/generated/google/apis/storage_v1.rb +1 -1
  466. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  467. data/generated/google/apis/storage_v1beta2.rb +1 -1
  468. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -4
  469. data/generated/google/apis/storagetransfer_v1/service.rb +4 -32
  470. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  471. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  472. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  473. data/generated/google/apis/tagmanager_v1.rb +1 -1
  474. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  475. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  476. data/generated/google/apis/tagmanager_v2.rb +1 -1
  477. data/generated/google/apis/tasks_v1/service.rb +4 -1
  478. data/generated/google/apis/tasks_v1.rb +1 -1
  479. data/generated/google/apis/testing_v1/classes.rb +2 -2
  480. data/generated/google/apis/testing_v1.rb +1 -1
  481. data/generated/google/apis/toolresults_v1/classes.rb +696 -0
  482. data/generated/google/apis/toolresults_v1/representations.rb +438 -0
  483. data/generated/google/apis/toolresults_v1/service.rb +59 -0
  484. data/generated/google/apis/{analytics_v2_4/representations.rb → toolresults_v1.rb} +11 -6
  485. data/generated/google/apis/toolresults_v1beta3/classes.rb +374 -2
  486. data/generated/google/apis/toolresults_v1beta3/representations.rb +109 -0
  487. data/generated/google/apis/toolresults_v1beta3/service.rb +98 -0
  488. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  489. data/generated/google/apis/tpu_v1/classes.rb +0 -1
  490. data/generated/google/apis/tpu_v1.rb +1 -1
  491. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -1
  492. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  493. data/generated/google/apis/translate_v3/classes.rb +943 -0
  494. data/generated/google/apis/translate_v3/representations.rb +439 -0
  495. data/generated/google/apis/translate_v3/service.rb +781 -0
  496. data/generated/google/apis/translate_v3.rb +37 -0
  497. data/generated/google/apis/videointelligence_v1/classes.rb +97 -0
  498. data/generated/google/apis/videointelligence_v1/representations.rb +51 -0
  499. data/generated/google/apis/videointelligence_v1.rb +1 -1
  500. data/generated/google/apis/videointelligence_v1beta2/classes.rb +97 -0
  501. data/generated/google/apis/videointelligence_v1beta2/representations.rb +51 -0
  502. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  503. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +97 -0
  504. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +51 -0
  505. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  506. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +97 -0
  507. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +51 -0
  508. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  509. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +184 -0
  510. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +85 -0
  511. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  512. data/generated/google/apis/vision_v1/service.rb +1 -1
  513. data/generated/google/apis/vision_v1.rb +1 -1
  514. data/generated/google/apis/websecurityscanner_v1/classes.rb +63 -0
  515. data/generated/google/apis/websecurityscanner_v1/representations.rb +31 -0
  516. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  517. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  518. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +63 -0
  519. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +31 -0
  520. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  521. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  522. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  523. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  524. data/generated/google/apis/youtube_v3/classes.rb +61 -9
  525. data/generated/google/apis/youtube_v3/representations.rb +8 -1
  526. data/generated/google/apis/youtube_v3/service.rb +8 -2
  527. data/generated/google/apis/youtube_v3.rb +1 -1
  528. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  529. data/lib/google/apis/core/base_service.rb +1 -1
  530. data/lib/google/apis/core/http_command.rb +1 -2
  531. data/lib/google/apis/version.rb +1 -1
  532. metadata +51 -39
  533. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  534. data/generated/google/apis/analytics_v2_4.rb +0 -37
  535. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  536. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  537. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  538. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  539. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  540. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
  541. data/generated/google/apis/fusiontables_v2.rb +0 -37
  542. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  543. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  544. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  545. data/generated/google/apis/plus_domains_v1.rb +0 -55
  546. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  547. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  548. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  549. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  550. data/generated/google/apis/servicebroker_v1/classes.rb +0 -368
  551. data/generated/google/apis/servicebroker_v1/representations.rb +0 -114
  552. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  553. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1072
  554. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  555. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1208
  556. data/generated/google/apis/servicebroker_v1beta1/representations.rb +0 -416
  557. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
  558. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  559. data/generated/google/apis/surveys_v2/representations.rb +0 -305
  560. data/generated/google/apis/surveys_v2/service.rb +0 -348
@@ -84,10 +84,53 @@ module Google
84
84
  execute_or_queue_command(command, &block)
85
85
  end
86
86
 
87
- # Rpc to get information about a configuration.
87
+ # Creates a new cloudauditlogssource.
88
+ # @param [String] parent
89
+ # The project ID or project number in which this cloudauditlogssource should
90
+ # be created.
91
+ # @param [Google::Apis::RunV1alpha1::CloudAuditLogsSource] cloud_audit_logs_source_object
92
+ # @param [String] fields
93
+ # Selector specifying which fields to include in a partial response.
94
+ # @param [String] quota_user
95
+ # Available to use for quota purposes for server-side applications. Can be any
96
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
97
+ # @param [Google::Apis::RequestOptions] options
98
+ # Request-specific options
99
+ #
100
+ # @yield [result, err] Result & error if block supplied
101
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
102
+ # @yieldparam err [StandardError] error object if request failed
103
+ #
104
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
105
+ #
106
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
107
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
108
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
109
+ def create_namespace_cloudauditlogssource(parent, cloud_audit_logs_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
110
+ command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudauditlogssources', options)
111
+ command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
112
+ command.request_object = cloud_audit_logs_source_object
113
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
114
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
115
+ command.params['parent'] = parent unless parent.nil?
116
+ command.query['fields'] = fields unless fields.nil?
117
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
118
+ execute_or_queue_command(command, &block)
119
+ end
120
+
121
+ # Rpc to delete a cloudauditlogssource.
88
122
  # @param [String] name
89
- # The name of the configuration being retrieved. If needed, replace
123
+ # The name of the cloudauditlogssource being deleted. If needed, replace
90
124
  # `namespace_id` with the project ID.
125
+ # @param [String] api_version
126
+ # Cloud Run currently ignores this parameter.
127
+ # @param [String] kind
128
+ # Cloud Run currently ignores this parameter.
129
+ # @param [String] propagation_policy
130
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
131
+ # this setting, and deletes in the background. Please see
132
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
133
+ # more information.
91
134
  # @param [String] fields
92
135
  # Selector specifying which fields to include in a partial response.
93
136
  # @param [String] quota_user
@@ -97,28 +140,62 @@ module Google
97
140
  # Request-specific options
98
141
  #
99
142
  # @yield [result, err] Result & error if block supplied
100
- # @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object
143
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
101
144
  # @yieldparam err [StandardError] error object if request failed
102
145
  #
103
- # @return [Google::Apis::RunV1alpha1::Configuration]
146
+ # @return [Google::Apis::RunV1alpha1::Empty]
104
147
  #
105
148
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
106
149
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
107
150
  # @raise [Google::Apis::AuthorizationError] Authorization is required
108
- def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
109
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
110
- command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
111
- command.response_class = Google::Apis::RunV1alpha1::Configuration
151
+ def delete_namespace_cloudauditlogssource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
152
+ command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
153
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
154
+ command.response_class = Google::Apis::RunV1alpha1::Empty
112
155
  command.params['name'] = name unless name.nil?
156
+ command.query['apiVersion'] = api_version unless api_version.nil?
157
+ command.query['kind'] = kind unless kind.nil?
158
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
113
159
  command.query['fields'] = fields unless fields.nil?
114
160
  command.query['quotaUser'] = quota_user unless quota_user.nil?
115
161
  execute_or_queue_command(command, &block)
116
162
  end
117
163
 
118
- # Rpc to list configurations.
164
+ # Rpc to get information about a cloudauditlogssource.
165
+ # @param [String] name
166
+ # The name of the cloudauditlogssource being retrieved. If needed, replace
167
+ # `namespace_id` with the project ID.
168
+ # @param [String] fields
169
+ # Selector specifying which fields to include in a partial response.
170
+ # @param [String] quota_user
171
+ # Available to use for quota purposes for server-side applications. Can be any
172
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
173
+ # @param [Google::Apis::RequestOptions] options
174
+ # Request-specific options
175
+ #
176
+ # @yield [result, err] Result & error if block supplied
177
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
178
+ # @yieldparam err [StandardError] error object if request failed
179
+ #
180
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
181
+ #
182
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
183
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
184
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
185
+ def get_namespace_cloudauditlogssource(name, fields: nil, quota_user: nil, options: nil, &block)
186
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
187
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
188
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
189
+ command.params['name'] = name unless name.nil?
190
+ command.query['fields'] = fields unless fields.nil?
191
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
192
+ execute_or_queue_command(command, &block)
193
+ end
194
+
195
+ # Rpc to list cloudauditlogssources.
119
196
  # @param [String] parent
120
- # The project ID or project number from which the configurations should be
121
- # listed.
197
+ # The project ID or project number from which the cloudauditlogssources
198
+ # should be listed.
122
199
  # @param [String] continue
123
200
  # Optional encoded string to continue paging.
124
201
  # @param [String] field_selector
@@ -147,18 +224,18 @@ module Google
147
224
  # Request-specific options
148
225
  #
149
226
  # @yield [result, err] Result & error if block supplied
150
- # @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object
227
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse] parsed result object
151
228
  # @yieldparam err [StandardError] error object if request failed
152
229
  #
153
- # @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse]
230
+ # @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse]
154
231
  #
155
232
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
156
233
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
234
  # @raise [Google::Apis::AuthorizationError] Authorization is required
158
- def list_namespace_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
159
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/configurations', options)
160
- command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation
161
- command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse
235
+ def list_namespace_cloudauditlogssources(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)
236
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudauditlogssources', options)
237
+ command.response_representation = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse::Representation
238
+ command.response_class = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse
162
239
  command.params['parent'] = parent unless parent.nil?
163
240
  command.query['continue'] = continue unless continue.nil?
164
241
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -172,11 +249,11 @@ module Google
172
249
  execute_or_queue_command(command, &block)
173
250
  end
174
251
 
175
- # Creates a new domain mapping.
252
+ # Creates a new cloudpubsubsource.
176
253
  # @param [String] parent
177
- # The project ID or project number in which this domain mapping should be
178
- # created.
179
- # @param [Google::Apis::RunV1alpha1::DomainMapping] domain_mapping_object
254
+ # The project ID or project number in which this cloudpubsubsource should
255
+ # be created.
256
+ # @param [Google::Apis::RunV1alpha1::CloudPubSubSource] cloud_pub_sub_source_object
180
257
  # @param [String] fields
181
258
  # Selector specifying which fields to include in a partial response.
182
259
  # @param [String] quota_user
@@ -186,40 +263,34 @@ module Google
186
263
  # Request-specific options
187
264
  #
188
265
  # @yield [result, err] Result & error if block supplied
189
- # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
266
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
190
267
  # @yieldparam err [StandardError] error object if request failed
191
268
  #
192
- # @return [Google::Apis::RunV1alpha1::DomainMapping]
269
+ # @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
193
270
  #
194
271
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
195
272
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
196
273
  # @raise [Google::Apis::AuthorizationError] Authorization is required
197
- def create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
198
- command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
199
- command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
200
- command.request_object = domain_mapping_object
201
- command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
202
- command.response_class = Google::Apis::RunV1alpha1::DomainMapping
274
+ def create_namespace_cloudpubsubsource(parent, cloud_pub_sub_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
275
+ command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudpubsubsources', options)
276
+ command.request_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
277
+ command.request_object = cloud_pub_sub_source_object
278
+ command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
279
+ command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource
203
280
  command.params['parent'] = parent unless parent.nil?
204
281
  command.query['fields'] = fields unless fields.nil?
205
282
  command.query['quotaUser'] = quota_user unless quota_user.nil?
206
283
  execute_or_queue_command(command, &block)
207
284
  end
208
285
 
209
- # Rpc to delete a domain mapping.
286
+ # Rpc to delete a cloudpubsubsource.
210
287
  # @param [String] name
211
- # The name of the domain mapping being deleted. If needed, replace
288
+ # The name of the cloudpubsubsource being deleted. If needed, replace
212
289
  # `namespace_id` with the project ID.
213
290
  # @param [String] api_version
214
291
  # Cloud Run currently ignores this parameter.
215
292
  # @param [String] kind
216
293
  # Cloud Run currently ignores this parameter.
217
- # @param [Boolean] orphan_dependents
218
- # Deprecated.
219
- # Specifies the cascade behavior on delete.
220
- # Cloud Run only supports cascading behavior, so this must be false.
221
- # This attribute is deprecated, and is now replaced with PropagationPolicy
222
- # See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
223
294
  # @param [String] propagation_policy
224
295
  # Specifies the propagation policy of delete. Cloud Run currently ignores
225
296
  # this setting, and deletes in the background. Please see
@@ -242,23 +313,22 @@ module Google
242
313
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
243
314
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
244
315
  # @raise [Google::Apis::AuthorizationError] Authorization is required
245
- def delete_namespace_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
246
- command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options)
316
+ def delete_namespace_cloudpubsubsource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
317
+ command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
247
318
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
248
319
  command.response_class = Google::Apis::RunV1alpha1::Empty
249
320
  command.params['name'] = name unless name.nil?
250
321
  command.query['apiVersion'] = api_version unless api_version.nil?
251
322
  command.query['kind'] = kind unless kind.nil?
252
- command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
253
323
  command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
254
324
  command.query['fields'] = fields unless fields.nil?
255
325
  command.query['quotaUser'] = quota_user unless quota_user.nil?
256
326
  execute_or_queue_command(command, &block)
257
327
  end
258
328
 
259
- # Rpc to get information about a domain mapping.
329
+ # Rpc to get information about a cloudpubsubsource.
260
330
  # @param [String] name
261
- # The name of the domain mapping being retrieved. If needed, replace
331
+ # The name of the cloudpubsubsource being retrieved. If needed, replace
262
332
  # `namespace_id` with the project ID.
263
333
  # @param [String] fields
264
334
  # Selector specifying which fields to include in a partial response.
@@ -269,28 +339,28 @@ module Google
269
339
  # Request-specific options
270
340
  #
271
341
  # @yield [result, err] Result & error if block supplied
272
- # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
342
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
273
343
  # @yieldparam err [StandardError] error object if request failed
274
344
  #
275
- # @return [Google::Apis::RunV1alpha1::DomainMapping]
345
+ # @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
276
346
  #
277
347
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
278
348
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
279
349
  # @raise [Google::Apis::AuthorizationError] Authorization is required
280
- def get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
281
- command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options)
282
- command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
283
- command.response_class = Google::Apis::RunV1alpha1::DomainMapping
350
+ def get_namespace_cloudpubsubsource(name, fields: nil, quota_user: nil, options: nil, &block)
351
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
352
+ command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
353
+ command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource
284
354
  command.params['name'] = name unless name.nil?
285
355
  command.query['fields'] = fields unless fields.nil?
286
356
  command.query['quotaUser'] = quota_user unless quota_user.nil?
287
357
  execute_or_queue_command(command, &block)
288
358
  end
289
359
 
290
- # Rpc to list domain mappings.
360
+ # Rpc to list cloudpubsubsources.
291
361
  # @param [String] parent
292
- # The project ID or project number from which the domain mappings should be
293
- # listed.
362
+ # The project ID or project number from which the cloudpubsubsources should
363
+ # be listed.
294
364
  # @param [String] continue
295
365
  # Optional encoded string to continue paging.
296
366
  # @param [String] field_selector
@@ -319,18 +389,18 @@ module Google
319
389
  # Request-specific options
320
390
  #
321
391
  # @yield [result, err] Result & error if block supplied
322
- # @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object
392
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse] parsed result object
323
393
  # @yieldparam err [StandardError] error object if request failed
324
394
  #
325
- # @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse]
395
+ # @return [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse]
326
396
  #
327
397
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
328
398
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
329
399
  # @raise [Google::Apis::AuthorizationError] Authorization is required
330
- def list_namespace_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
331
- command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
332
- command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation
333
- command.response_class = Google::Apis::RunV1alpha1::ListDomainMappingsResponse
400
+ def list_namespace_cloudpubsubsources(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)
401
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudpubsubsources', options)
402
+ command.response_representation = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse::Representation
403
+ command.response_class = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse
334
404
  command.params['parent'] = parent unless parent.nil?
335
405
  command.query['continue'] = continue unless continue.nil?
336
406
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -344,9 +414,9 @@ module Google
344
414
  execute_or_queue_command(command, &block)
345
415
  end
346
416
 
347
- # Rpc to get information about an EventType.
417
+ # Rpc to get information about a configuration.
348
418
  # @param [String] name
349
- # The name of the trigger being retrieved. If needed, replace
419
+ # The name of the configuration being retrieved. If needed, replace
350
420
  # `namespace_id` with the project ID.
351
421
  # @param [String] fields
352
422
  # Selector specifying which fields to include in a partial response.
@@ -357,27 +427,27 @@ module Google
357
427
  # Request-specific options
358
428
  #
359
429
  # @yield [result, err] Result & error if block supplied
360
- # @yieldparam result [Google::Apis::RunV1alpha1::EventType] parsed result object
430
+ # @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object
361
431
  # @yieldparam err [StandardError] error object if request failed
362
432
  #
363
- # @return [Google::Apis::RunV1alpha1::EventType]
433
+ # @return [Google::Apis::RunV1alpha1::Configuration]
364
434
  #
365
435
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
366
436
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
367
437
  # @raise [Google::Apis::AuthorizationError] Authorization is required
368
- def get_namespace_eventtype(name, fields: nil, quota_user: nil, options: nil, &block)
369
- command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
370
- command.response_representation = Google::Apis::RunV1alpha1::EventType::Representation
371
- command.response_class = Google::Apis::RunV1alpha1::EventType
438
+ def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
439
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
440
+ command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
441
+ command.response_class = Google::Apis::RunV1alpha1::Configuration
372
442
  command.params['name'] = name unless name.nil?
373
443
  command.query['fields'] = fields unless fields.nil?
374
444
  command.query['quotaUser'] = quota_user unless quota_user.nil?
375
445
  execute_or_queue_command(command, &block)
376
446
  end
377
447
 
378
- # Rpc to list EventTypes.
448
+ # Rpc to list configurations.
379
449
  # @param [String] parent
380
- # The project ID or project number from which the EventTypes should be
450
+ # The project ID or project number from which the configurations should be
381
451
  # listed.
382
452
  # @param [String] continue
383
453
  # Optional encoded string to continue paging.
@@ -407,18 +477,18 @@ module Google
407
477
  # Request-specific options
408
478
  #
409
479
  # @yield [result, err] Result & error if block supplied
410
- # @yieldparam result [Google::Apis::RunV1alpha1::ListEventTypesResponse] parsed result object
480
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object
411
481
  # @yieldparam err [StandardError] error object if request failed
412
482
  #
413
- # @return [Google::Apis::RunV1alpha1::ListEventTypesResponse]
483
+ # @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse]
414
484
  #
415
485
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
416
486
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
417
487
  # @raise [Google::Apis::AuthorizationError] Authorization is required
418
- def list_namespace_eventtypes(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)
419
- command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+parent}/eventtypes', options)
420
- command.response_representation = Google::Apis::RunV1alpha1::ListEventTypesResponse::Representation
421
- command.response_class = Google::Apis::RunV1alpha1::ListEventTypesResponse
488
+ 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)
489
+ command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/configurations', options)
490
+ command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation
491
+ command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse
422
492
  command.params['parent'] = parent unless parent.nil?
423
493
  command.query['continue'] = continue unless continue.nil?
424
494
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -432,11 +502,11 @@ module Google
432
502
  execute_or_queue_command(command, &block)
433
503
  end
434
504
 
435
- # Creates a new pubsub.
505
+ # Creates a new domain mapping.
436
506
  # @param [String] parent
437
- # The project ID or project number in which this pubsub should
438
- # be created.
439
- # @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
507
+ # The project ID or project number in which this domain mapping should be
508
+ # created.
509
+ # @param [Google::Apis::RunV1alpha1::DomainMapping] domain_mapping_object
440
510
  # @param [String] fields
441
511
  # Selector specifying which fields to include in a partial response.
442
512
  # @param [String] quota_user
@@ -446,34 +516,40 @@ module Google
446
516
  # Request-specific options
447
517
  #
448
518
  # @yield [result, err] Result & error if block supplied
449
- # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
519
+ # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
450
520
  # @yieldparam err [StandardError] error object if request failed
451
521
  #
452
- # @return [Google::Apis::RunV1alpha1::PubSub]
522
+ # @return [Google::Apis::RunV1alpha1::DomainMapping]
453
523
  #
454
524
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
455
525
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
456
526
  # @raise [Google::Apis::AuthorizationError] Authorization is required
457
- def create_namespace_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
458
- command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs', options)
459
- command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
460
- command.request_object = pub_sub_object
461
- command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
462
- command.response_class = Google::Apis::RunV1alpha1::PubSub
527
+ def create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
528
+ command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
529
+ command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
530
+ command.request_object = domain_mapping_object
531
+ command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
532
+ command.response_class = Google::Apis::RunV1alpha1::DomainMapping
463
533
  command.params['parent'] = parent unless parent.nil?
464
534
  command.query['fields'] = fields unless fields.nil?
465
535
  command.query['quotaUser'] = quota_user unless quota_user.nil?
466
536
  execute_or_queue_command(command, &block)
467
537
  end
468
538
 
469
- # Rpc to delete a pubsub.
539
+ # Rpc to delete a domain mapping.
470
540
  # @param [String] name
471
- # The name of the pubsub being deleted. If needed, replace
541
+ # The name of the domain mapping being deleted. If needed, replace
472
542
  # `namespace_id` with the project ID.
473
543
  # @param [String] api_version
474
544
  # Cloud Run currently ignores this parameter.
475
545
  # @param [String] kind
476
546
  # Cloud Run currently ignores this parameter.
547
+ # @param [Boolean] orphan_dependents
548
+ # Deprecated.
549
+ # Specifies the cascade behavior on delete.
550
+ # Cloud Run only supports cascading behavior, so this must be false.
551
+ # This attribute is deprecated, and is now replaced with PropagationPolicy
552
+ # See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
477
553
  # @param [String] propagation_policy
478
554
  # Specifies the propagation policy of delete. Cloud Run currently ignores
479
555
  # this setting, and deletes in the background. Please see
@@ -496,22 +572,23 @@ module Google
496
572
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
497
573
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
498
574
  # @raise [Google::Apis::AuthorizationError] Authorization is required
499
- def delete_namespace_pubsub(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
500
- command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
575
+ def delete_namespace_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
576
+ command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options)
501
577
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
502
578
  command.response_class = Google::Apis::RunV1alpha1::Empty
503
579
  command.params['name'] = name unless name.nil?
504
580
  command.query['apiVersion'] = api_version unless api_version.nil?
505
581
  command.query['kind'] = kind unless kind.nil?
582
+ command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
506
583
  command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
507
584
  command.query['fields'] = fields unless fields.nil?
508
585
  command.query['quotaUser'] = quota_user unless quota_user.nil?
509
586
  execute_or_queue_command(command, &block)
510
587
  end
511
588
 
512
- # Rpc to get information about a pubsub.
589
+ # Rpc to get information about a domain mapping.
513
590
  # @param [String] name
514
- # The name of the pubsub being retrieved. If needed, replace
591
+ # The name of the domain mapping being retrieved. If needed, replace
515
592
  # `namespace_id` with the project ID.
516
593
  # @param [String] fields
517
594
  # Selector specifying which fields to include in a partial response.
@@ -522,28 +599,28 @@ module Google
522
599
  # Request-specific options
523
600
  #
524
601
  # @yield [result, err] Result & error if block supplied
525
- # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
602
+ # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
526
603
  # @yieldparam err [StandardError] error object if request failed
527
604
  #
528
- # @return [Google::Apis::RunV1alpha1::PubSub]
605
+ # @return [Google::Apis::RunV1alpha1::DomainMapping]
529
606
  #
530
607
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
531
608
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
532
609
  # @raise [Google::Apis::AuthorizationError] Authorization is required
533
- def get_namespace_pubsub(name, fields: nil, quota_user: nil, options: nil, &block)
534
- command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
535
- command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
536
- command.response_class = Google::Apis::RunV1alpha1::PubSub
610
+ def get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
611
+ command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options)
612
+ command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
613
+ command.response_class = Google::Apis::RunV1alpha1::DomainMapping
537
614
  command.params['name'] = name unless name.nil?
538
615
  command.query['fields'] = fields unless fields.nil?
539
616
  command.query['quotaUser'] = quota_user unless quota_user.nil?
540
617
  execute_or_queue_command(command, &block)
541
618
  end
542
619
 
543
- # Rpc to list pubsubs.
620
+ # Rpc to list domain mappings.
544
621
  # @param [String] parent
545
- # The project ID or project number from which the pubsubs should
546
- # be listed.
622
+ # The project ID or project number from which the domain mappings should be
623
+ # listed.
547
624
  # @param [String] continue
548
625
  # Optional encoded string to continue paging.
549
626
  # @param [String] field_selector
@@ -572,18 +649,18 @@ module Google
572
649
  # Request-specific options
573
650
  #
574
651
  # @yield [result, err] Result & error if block supplied
575
- # @yieldparam result [Google::Apis::RunV1alpha1::ListPubSubsResponse] parsed result object
652
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object
576
653
  # @yieldparam err [StandardError] error object if request failed
577
654
  #
578
- # @return [Google::Apis::RunV1alpha1::ListPubSubsResponse]
655
+ # @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse]
579
656
  #
580
657
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
581
658
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
582
659
  # @raise [Google::Apis::AuthorizationError] Authorization is required
583
- def list_namespace_pubsubs(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)
584
- command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs', options)
585
- command.response_representation = Google::Apis::RunV1alpha1::ListPubSubsResponse::Representation
586
- command.response_class = Google::Apis::RunV1alpha1::ListPubSubsResponse
660
+ 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)
661
+ command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
662
+ command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation
663
+ command.response_class = Google::Apis::RunV1alpha1::ListDomainMappingsResponse
587
664
  command.params['parent'] = parent unless parent.nil?
588
665
  command.query['continue'] = continue unless continue.nil?
589
666
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -597,45 +674,6 @@ module Google
597
674
  execute_or_queue_command(command, &block)
598
675
  end
599
676
 
600
- # Rpc to replace a pubsub.
601
- # Only the spec and metadata labels and annotations are modifiable. After
602
- # the Update request, Cloud Run will work to make the 'status'
603
- # match the requested 'spec'.
604
- # May provide metadata.resourceVersion to enforce update from last read for
605
- # optimistic concurrency control.
606
- # @param [String] name
607
- # The name of the pubsub being retrieved. If needed, replace
608
- # `namespace_id` with the project ID.
609
- # @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
610
- # @param [String] fields
611
- # Selector specifying which fields to include in a partial response.
612
- # @param [String] quota_user
613
- # Available to use for quota purposes for server-side applications. Can be any
614
- # arbitrary string assigned to a user, but should not exceed 40 characters.
615
- # @param [Google::Apis::RequestOptions] options
616
- # Request-specific options
617
- #
618
- # @yield [result, err] Result & error if block supplied
619
- # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
620
- # @yieldparam err [StandardError] error object if request failed
621
- #
622
- # @return [Google::Apis::RunV1alpha1::PubSub]
623
- #
624
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
625
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
626
- # @raise [Google::Apis::AuthorizationError] Authorization is required
627
- def replace_namespace_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
628
- command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
629
- command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
630
- command.request_object = pub_sub_object
631
- command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
632
- command.response_class = Google::Apis::RunV1alpha1::PubSub
633
- command.params['name'] = name unless name.nil?
634
- command.query['fields'] = fields unless fields.nil?
635
- command.query['quotaUser'] = quota_user unless quota_user.nil?
636
- execute_or_queue_command(command, &block)
637
- end
638
-
639
677
  # Rpc to delete a revision.
640
678
  # @param [String] name
641
679
  # The name of the revision being deleted. If needed, replace
@@ -1071,11 +1109,11 @@ module Google
1071
1109
  execute_or_queue_command(command, &block)
1072
1110
  end
1073
1111
 
1074
- # Creates a new trigger.
1112
+ # Creates a new storage.
1075
1113
  # @param [String] parent
1076
- # The project ID or project number in which this trigger should
1114
+ # The project ID or project number in which this storage should
1077
1115
  # be created.
1078
- # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
1116
+ # @param [Google::Apis::RunV1alpha1::Storage] storage_object
1079
1117
  # @param [String] fields
1080
1118
  # Selector specifying which fields to include in a partial response.
1081
1119
  # @param [String] quota_user
@@ -1085,29 +1123,29 @@ module Google
1085
1123
  # Request-specific options
1086
1124
  #
1087
1125
  # @yield [result, err] Result & error if block supplied
1088
- # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1126
+ # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
1089
1127
  # @yieldparam err [StandardError] error object if request failed
1090
1128
  #
1091
- # @return [Google::Apis::RunV1alpha1::Trigger]
1129
+ # @return [Google::Apis::RunV1alpha1::Storage]
1092
1130
  #
1093
1131
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1094
1132
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1095
1133
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1096
- def create_namespace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1097
- command = make_simple_command(:post, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
1098
- command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1099
- command.request_object = trigger_object
1100
- command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1101
- command.response_class = Google::Apis::RunV1alpha1::Trigger
1134
+ def create_namespace_storage(parent, storage_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1135
+ command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/storages', options)
1136
+ command.request_representation = Google::Apis::RunV1alpha1::Storage::Representation
1137
+ command.request_object = storage_object
1138
+ command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
1139
+ command.response_class = Google::Apis::RunV1alpha1::Storage
1102
1140
  command.params['parent'] = parent unless parent.nil?
1103
1141
  command.query['fields'] = fields unless fields.nil?
1104
1142
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1105
1143
  execute_or_queue_command(command, &block)
1106
1144
  end
1107
1145
 
1108
- # Rpc to delete a trigger.
1146
+ # Rpc to delete a storage.
1109
1147
  # @param [String] name
1110
- # The name of the trigger being deleted. If needed, replace
1148
+ # The name of the storage being deleted. If needed, replace
1111
1149
  # `namespace_id` with the project ID.
1112
1150
  # @param [String] api_version
1113
1151
  # Cloud Run currently ignores this parameter.
@@ -1135,8 +1173,8 @@ module Google
1135
1173
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1136
1174
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1137
1175
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1138
- def delete_namespace_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1139
- command = make_simple_command(:delete, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1176
+ def delete_namespace_storage(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1177
+ command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
1140
1178
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1141
1179
  command.response_class = Google::Apis::RunV1alpha1::Empty
1142
1180
  command.params['name'] = name unless name.nil?
@@ -1148,9 +1186,9 @@ module Google
1148
1186
  execute_or_queue_command(command, &block)
1149
1187
  end
1150
1188
 
1151
- # Rpc to get information about a trigger.
1189
+ # Rpc to get information about a storage.
1152
1190
  # @param [String] name
1153
- # The name of the trigger being retrieved. If needed, replace
1191
+ # The name of the storage being retrieved. If needed, replace
1154
1192
  # `namespace_id` with the project ID.
1155
1193
  # @param [String] fields
1156
1194
  # Selector specifying which fields to include in a partial response.
@@ -1161,27 +1199,27 @@ module Google
1161
1199
  # Request-specific options
1162
1200
  #
1163
1201
  # @yield [result, err] Result & error if block supplied
1164
- # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1202
+ # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
1165
1203
  # @yieldparam err [StandardError] error object if request failed
1166
1204
  #
1167
- # @return [Google::Apis::RunV1alpha1::Trigger]
1205
+ # @return [Google::Apis::RunV1alpha1::Storage]
1168
1206
  #
1169
1207
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1170
1208
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1171
1209
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1172
- def get_namespace_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
1173
- command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1174
- command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1175
- command.response_class = Google::Apis::RunV1alpha1::Trigger
1210
+ def get_namespace_storage(name, fields: nil, quota_user: nil, options: nil, &block)
1211
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
1212
+ command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
1213
+ command.response_class = Google::Apis::RunV1alpha1::Storage
1176
1214
  command.params['name'] = name unless name.nil?
1177
1215
  command.query['fields'] = fields unless fields.nil?
1178
1216
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1179
1217
  execute_or_queue_command(command, &block)
1180
1218
  end
1181
1219
 
1182
- # Rpc to list triggers.
1220
+ # Rpc to list storages.
1183
1221
  # @param [String] parent
1184
- # The project ID or project number from which the triggers should
1222
+ # The project ID or project number from which the storages should
1185
1223
  # be listed.
1186
1224
  # @param [String] continue
1187
1225
  # Optional encoded string to continue paging.
@@ -1211,18 +1249,18 @@ module Google
1211
1249
  # Request-specific options
1212
1250
  #
1213
1251
  # @yield [result, err] Result & error if block supplied
1214
- # @yieldparam result [Google::Apis::RunV1alpha1::ListTriggersResponse] parsed result object
1252
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListStoragesResponse] parsed result object
1215
1253
  # @yieldparam err [StandardError] error object if request failed
1216
1254
  #
1217
- # @return [Google::Apis::RunV1alpha1::ListTriggersResponse]
1255
+ # @return [Google::Apis::RunV1alpha1::ListStoragesResponse]
1218
1256
  #
1219
1257
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1220
1258
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1221
1259
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1222
- 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)
1223
- command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
1224
- command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation
1225
- command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse
1260
+ def list_namespace_storages(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)
1261
+ command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/storages', options)
1262
+ command.response_representation = Google::Apis::RunV1alpha1::ListStoragesResponse::Representation
1263
+ command.response_class = Google::Apis::RunV1alpha1::ListStoragesResponse
1226
1264
  command.params['parent'] = parent unless parent.nil?
1227
1265
  command.query['continue'] = continue unless continue.nil?
1228
1266
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -1236,16 +1274,16 @@ module Google
1236
1274
  execute_or_queue_command(command, &block)
1237
1275
  end
1238
1276
 
1239
- # Rpc to replace a trigger.
1277
+ # Rpc to replace a storage.
1240
1278
  # Only the spec and metadata labels and annotations are modifiable. After
1241
1279
  # the Update request, Cloud Run will work to make the 'status'
1242
1280
  # match the requested 'spec'.
1243
1281
  # May provide metadata.resourceVersion to enforce update from last read for
1244
1282
  # optimistic concurrency control.
1245
1283
  # @param [String] name
1246
- # The name of the trigger being retrieved. If needed, replace
1284
+ # The name of the storage being retrieved. If needed, replace
1247
1285
  # `namespace_id` with the project ID.
1248
- # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
1286
+ # @param [Google::Apis::RunV1alpha1::Storage] storage_object
1249
1287
  # @param [String] fields
1250
1288
  # Selector specifying which fields to include in a partial response.
1251
1289
  # @param [String] quota_user
@@ -1255,19 +1293,127 @@ module Google
1255
1293
  # Request-specific options
1256
1294
  #
1257
1295
  # @yield [result, err] Result & error if block supplied
1258
- # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1296
+ # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
1259
1297
  # @yieldparam err [StandardError] error object if request failed
1260
1298
  #
1261
- # @return [Google::Apis::RunV1alpha1::Trigger]
1299
+ # @return [Google::Apis::RunV1alpha1::Storage]
1262
1300
  #
1263
1301
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1264
1302
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1265
1303
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1266
- def replace_namespace_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1267
- command = make_simple_command(:put, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1268
- command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1269
- command.request_object = trigger_object
1270
- command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1304
+ def replace_namespace_storage_storage(name, storage_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1305
+ command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
1306
+ command.request_representation = Google::Apis::RunV1alpha1::Storage::Representation
1307
+ command.request_object = storage_object
1308
+ command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
1309
+ command.response_class = Google::Apis::RunV1alpha1::Storage
1310
+ command.params['name'] = name unless name.nil?
1311
+ command.query['fields'] = fields unless fields.nil?
1312
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1313
+ execute_or_queue_command(command, &block)
1314
+ end
1315
+
1316
+ # Creates a new trigger.
1317
+ # @param [String] parent
1318
+ # The project ID or project number in which this trigger should
1319
+ # be created.
1320
+ # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
1321
+ # @param [String] fields
1322
+ # Selector specifying which fields to include in a partial response.
1323
+ # @param [String] quota_user
1324
+ # Available to use for quota purposes for server-side applications. Can be any
1325
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1326
+ # @param [Google::Apis::RequestOptions] options
1327
+ # Request-specific options
1328
+ #
1329
+ # @yield [result, err] Result & error if block supplied
1330
+ # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1331
+ # @yieldparam err [StandardError] error object if request failed
1332
+ #
1333
+ # @return [Google::Apis::RunV1alpha1::Trigger]
1334
+ #
1335
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1336
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1337
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1338
+ def create_namespace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1339
+ command = make_simple_command(:post, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
1340
+ command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1341
+ command.request_object = trigger_object
1342
+ command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1343
+ command.response_class = Google::Apis::RunV1alpha1::Trigger
1344
+ command.params['parent'] = parent unless parent.nil?
1345
+ command.query['fields'] = fields unless fields.nil?
1346
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1347
+ execute_or_queue_command(command, &block)
1348
+ end
1349
+
1350
+ # Rpc to delete a trigger.
1351
+ # @param [String] name
1352
+ # The name of the trigger being deleted. If needed, replace
1353
+ # `namespace_id` with the project ID.
1354
+ # @param [String] api_version
1355
+ # Cloud Run currently ignores this parameter.
1356
+ # @param [String] kind
1357
+ # Cloud Run currently ignores this parameter.
1358
+ # @param [String] propagation_policy
1359
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
1360
+ # this setting, and deletes in the background. Please see
1361
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1362
+ # more information.
1363
+ # @param [String] fields
1364
+ # Selector specifying which fields to include in a partial response.
1365
+ # @param [String] quota_user
1366
+ # Available to use for quota purposes for server-side applications. Can be any
1367
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1368
+ # @param [Google::Apis::RequestOptions] options
1369
+ # Request-specific options
1370
+ #
1371
+ # @yield [result, err] Result & error if block supplied
1372
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
1373
+ # @yieldparam err [StandardError] error object if request failed
1374
+ #
1375
+ # @return [Google::Apis::RunV1alpha1::Empty]
1376
+ #
1377
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1378
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1379
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1380
+ def delete_namespace_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1381
+ command = make_simple_command(:delete, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1382
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1383
+ command.response_class = Google::Apis::RunV1alpha1::Empty
1384
+ command.params['name'] = name unless name.nil?
1385
+ command.query['apiVersion'] = api_version unless api_version.nil?
1386
+ command.query['kind'] = kind unless kind.nil?
1387
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1388
+ command.query['fields'] = fields unless fields.nil?
1389
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1390
+ execute_or_queue_command(command, &block)
1391
+ end
1392
+
1393
+ # Rpc to get information about a trigger.
1394
+ # @param [String] name
1395
+ # The name of the trigger being retrieved. If needed, replace
1396
+ # `namespace_id` with the project ID.
1397
+ # @param [String] fields
1398
+ # Selector specifying which fields to include in a partial response.
1399
+ # @param [String] quota_user
1400
+ # Available to use for quota purposes for server-side applications. Can be any
1401
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1402
+ # @param [Google::Apis::RequestOptions] options
1403
+ # Request-specific options
1404
+ #
1405
+ # @yield [result, err] Result & error if block supplied
1406
+ # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1407
+ # @yieldparam err [StandardError] error object if request failed
1408
+ #
1409
+ # @return [Google::Apis::RunV1alpha1::Trigger]
1410
+ #
1411
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1412
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1413
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1414
+ def get_namespace_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
1415
+ command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1416
+ command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1271
1417
  command.response_class = Google::Apis::RunV1alpha1::Trigger
1272
1418
  command.params['name'] = name unless name.nil?
1273
1419
  command.query['fields'] = fields unless fields.nil?
@@ -1275,6 +1421,63 @@ module Google
1275
1421
  execute_or_queue_command(command, &block)
1276
1422
  end
1277
1423
 
1424
+ # Rpc to list triggers.
1425
+ # @param [String] parent
1426
+ # The project ID or project number from which the triggers should
1427
+ # be listed.
1428
+ # @param [String] continue
1429
+ # Optional. Encoded string to continue paging.
1430
+ # @param [String] field_selector
1431
+ # Allows to filter resources based on a specific value for a field name.
1432
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
1433
+ # Not currently used by Cloud Run.
1434
+ # @param [Boolean] include_uninitialized
1435
+ # Not currently used by Cloud Run.
1436
+ # @param [String] label_selector
1437
+ # Allows to filter resources based on a label. Supported operations are
1438
+ # =, !=, exists, in, and notIn.
1439
+ # @param [Fixnum] limit
1440
+ # The maximum number of records that should be returned.
1441
+ # @param [String] resource_version
1442
+ # The baseline resource version from which the list or watch operation should
1443
+ # start. Not currently used by Cloud Run.
1444
+ # @param [Boolean] watch
1445
+ # Flag that indicates that the client expects to watch this resource as well.
1446
+ # Not currently used by Cloud Run.
1447
+ # @param [String] fields
1448
+ # Selector specifying which fields to include in a partial response.
1449
+ # @param [String] quota_user
1450
+ # Available to use for quota purposes for server-side applications. Can be any
1451
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1452
+ # @param [Google::Apis::RequestOptions] options
1453
+ # Request-specific options
1454
+ #
1455
+ # @yield [result, err] Result & error if block supplied
1456
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListTriggersResponse] parsed result object
1457
+ # @yieldparam err [StandardError] error object if request failed
1458
+ #
1459
+ # @return [Google::Apis::RunV1alpha1::ListTriggersResponse]
1460
+ #
1461
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1462
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1463
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1464
+ 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)
1465
+ command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
1466
+ command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation
1467
+ command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse
1468
+ command.params['parent'] = parent unless parent.nil?
1469
+ command.query['continue'] = continue unless continue.nil?
1470
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
1471
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
1472
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
1473
+ command.query['limit'] = limit unless limit.nil?
1474
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
1475
+ command.query['watch'] = watch unless watch.nil?
1476
+ command.query['fields'] = fields unless fields.nil?
1477
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1478
+ execute_or_queue_command(command, &block)
1479
+ end
1480
+
1278
1481
  # Lists information about the supported locations for this service.
1279
1482
  # @param [String] name
1280
1483
  # The resource that owns the locations collection, if applicable.
@@ -1350,10 +1553,53 @@ module Google
1350
1553
  execute_or_queue_command(command, &block)
1351
1554
  end
1352
1555
 
1353
- # Rpc to get information about a configuration.
1556
+ # Creates a new cloudauditlogssource.
1557
+ # @param [String] parent
1558
+ # The project ID or project number in which this cloudauditlogssource should
1559
+ # be created.
1560
+ # @param [Google::Apis::RunV1alpha1::CloudAuditLogsSource] cloud_audit_logs_source_object
1561
+ # @param [String] fields
1562
+ # Selector specifying which fields to include in a partial response.
1563
+ # @param [String] quota_user
1564
+ # Available to use for quota purposes for server-side applications. Can be any
1565
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1566
+ # @param [Google::Apis::RequestOptions] options
1567
+ # Request-specific options
1568
+ #
1569
+ # @yield [result, err] Result & error if block supplied
1570
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
1571
+ # @yieldparam err [StandardError] error object if request failed
1572
+ #
1573
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
1574
+ #
1575
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1576
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1577
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1578
+ def create_project_location_cloudauditlogssource(parent, cloud_audit_logs_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1579
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudauditlogssources', options)
1580
+ command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
1581
+ command.request_object = cloud_audit_logs_source_object
1582
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
1583
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
1584
+ command.params['parent'] = parent unless parent.nil?
1585
+ command.query['fields'] = fields unless fields.nil?
1586
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1587
+ execute_or_queue_command(command, &block)
1588
+ end
1589
+
1590
+ # Rpc to delete a cloudauditlogssource.
1354
1591
  # @param [String] name
1355
- # The name of the configuration being retrieved. If needed, replace
1592
+ # The name of the cloudauditlogssource being deleted. If needed, replace
1356
1593
  # `namespace_id` with the project ID.
1594
+ # @param [String] api_version
1595
+ # Cloud Run currently ignores this parameter.
1596
+ # @param [String] kind
1597
+ # Cloud Run currently ignores this parameter.
1598
+ # @param [String] propagation_policy
1599
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
1600
+ # this setting, and deletes in the background. Please see
1601
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1602
+ # more information.
1357
1603
  # @param [String] fields
1358
1604
  # Selector specifying which fields to include in a partial response.
1359
1605
  # @param [String] quota_user
@@ -1363,28 +1609,62 @@ module Google
1363
1609
  # Request-specific options
1364
1610
  #
1365
1611
  # @yield [result, err] Result & error if block supplied
1366
- # @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object
1612
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
1367
1613
  # @yieldparam err [StandardError] error object if request failed
1368
1614
  #
1369
- # @return [Google::Apis::RunV1alpha1::Configuration]
1615
+ # @return [Google::Apis::RunV1alpha1::Empty]
1370
1616
  #
1371
1617
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1372
1618
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1373
1619
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1374
- def get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
1620
+ def delete_project_location_cloudauditlogssource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1621
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1622
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1623
+ command.response_class = Google::Apis::RunV1alpha1::Empty
1624
+ command.params['name'] = name unless name.nil?
1625
+ command.query['apiVersion'] = api_version unless api_version.nil?
1626
+ command.query['kind'] = kind unless kind.nil?
1627
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1628
+ command.query['fields'] = fields unless fields.nil?
1629
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1630
+ execute_or_queue_command(command, &block)
1631
+ end
1632
+
1633
+ # Rpc to get information about a cloudauditlogssource.
1634
+ # @param [String] name
1635
+ # The name of the cloudauditlogssource being retrieved. If needed, replace
1636
+ # `namespace_id` with the project ID.
1637
+ # @param [String] fields
1638
+ # Selector specifying which fields to include in a partial response.
1639
+ # @param [String] quota_user
1640
+ # Available to use for quota purposes for server-side applications. Can be any
1641
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1642
+ # @param [Google::Apis::RequestOptions] options
1643
+ # Request-specific options
1644
+ #
1645
+ # @yield [result, err] Result & error if block supplied
1646
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
1647
+ # @yieldparam err [StandardError] error object if request failed
1648
+ #
1649
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
1650
+ #
1651
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1652
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1653
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1654
+ def get_project_location_cloudauditlogssource(name, fields: nil, quota_user: nil, options: nil, &block)
1375
1655
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1376
- command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
1377
- command.response_class = Google::Apis::RunV1alpha1::Configuration
1656
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
1657
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
1378
1658
  command.params['name'] = name unless name.nil?
1379
1659
  command.query['fields'] = fields unless fields.nil?
1380
1660
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1381
1661
  execute_or_queue_command(command, &block)
1382
1662
  end
1383
1663
 
1384
- # Rpc to list configurations.
1664
+ # Rpc to list cloudauditlogssources.
1385
1665
  # @param [String] parent
1386
- # The project ID or project number from which the configurations should be
1387
- # listed.
1666
+ # The project ID or project number from which the cloudauditlogssources
1667
+ # should be listed.
1388
1668
  # @param [String] continue
1389
1669
  # Optional encoded string to continue paging.
1390
1670
  # @param [String] field_selector
@@ -1413,18 +1693,18 @@ module Google
1413
1693
  # Request-specific options
1414
1694
  #
1415
1695
  # @yield [result, err] Result & error if block supplied
1416
- # @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object
1696
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse] parsed result object
1417
1697
  # @yieldparam err [StandardError] error object if request failed
1418
1698
  #
1419
- # @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse]
1699
+ # @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse]
1420
1700
  #
1421
1701
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1422
1702
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1423
1703
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1424
- 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)
1425
- command = make_simple_command(:get, 'v1alpha1/{+parent}/configurations', options)
1426
- command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation
1427
- command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse
1704
+ def list_project_location_cloudauditlogssources(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)
1705
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudauditlogssources', options)
1706
+ command.response_representation = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse::Representation
1707
+ command.response_class = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse
1428
1708
  command.params['parent'] = parent unless parent.nil?
1429
1709
  command.query['continue'] = continue unless continue.nil?
1430
1710
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -1438,11 +1718,11 @@ module Google
1438
1718
  execute_or_queue_command(command, &block)
1439
1719
  end
1440
1720
 
1441
- # Creates a new domain mapping.
1721
+ # Creates a new cloudpubsubsource.
1442
1722
  # @param [String] parent
1443
- # The project ID or project number in which this domain mapping should be
1444
- # created.
1445
- # @param [Google::Apis::RunV1alpha1::DomainMapping] domain_mapping_object
1723
+ # The project ID or project number in which this cloudpubsubsource should
1724
+ # be created.
1725
+ # @param [Google::Apis::RunV1alpha1::CloudPubSubSource] cloud_pub_sub_source_object
1446
1726
  # @param [String] fields
1447
1727
  # Selector specifying which fields to include in a partial response.
1448
1728
  # @param [String] quota_user
@@ -1452,40 +1732,34 @@ module Google
1452
1732
  # Request-specific options
1453
1733
  #
1454
1734
  # @yield [result, err] Result & error if block supplied
1455
- # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
1735
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
1456
1736
  # @yieldparam err [StandardError] error object if request failed
1457
1737
  #
1458
- # @return [Google::Apis::RunV1alpha1::DomainMapping]
1738
+ # @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
1459
1739
  #
1460
1740
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1461
1741
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1462
1742
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1463
- def create_project_location_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1464
- command = make_simple_command(:post, 'v1alpha1/{+parent}/domainmappings', options)
1465
- command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
1466
- command.request_object = domain_mapping_object
1467
- command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
1468
- command.response_class = Google::Apis::RunV1alpha1::DomainMapping
1743
+ def create_project_location_cloudpubsubsource(parent, cloud_pub_sub_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1744
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudpubsubsources', options)
1745
+ command.request_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
1746
+ command.request_object = cloud_pub_sub_source_object
1747
+ command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
1748
+ command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource
1469
1749
  command.params['parent'] = parent unless parent.nil?
1470
1750
  command.query['fields'] = fields unless fields.nil?
1471
1751
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1472
1752
  execute_or_queue_command(command, &block)
1473
1753
  end
1474
1754
 
1475
- # Rpc to delete a domain mapping.
1755
+ # Rpc to delete a cloudpubsubsource.
1476
1756
  # @param [String] name
1477
- # The name of the domain mapping being deleted. If needed, replace
1757
+ # The name of the cloudpubsubsource being deleted. If needed, replace
1478
1758
  # `namespace_id` with the project ID.
1479
1759
  # @param [String] api_version
1480
1760
  # Cloud Run currently ignores this parameter.
1481
1761
  # @param [String] kind
1482
1762
  # Cloud Run currently ignores this parameter.
1483
- # @param [Boolean] orphan_dependents
1484
- # Deprecated.
1485
- # Specifies the cascade behavior on delete.
1486
- # Cloud Run only supports cascading behavior, so this must be false.
1487
- # This attribute is deprecated, and is now replaced with PropagationPolicy
1488
- # See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
1489
1763
  # @param [String] propagation_policy
1490
1764
  # Specifies the propagation policy of delete. Cloud Run currently ignores
1491
1765
  # this setting, and deletes in the background. Please see
@@ -1508,23 +1782,22 @@ module Google
1508
1782
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1509
1783
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1510
1784
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1511
- 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)
1785
+ def delete_project_location_cloudpubsubsource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1512
1786
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1513
1787
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1514
1788
  command.response_class = Google::Apis::RunV1alpha1::Empty
1515
1789
  command.params['name'] = name unless name.nil?
1516
1790
  command.query['apiVersion'] = api_version unless api_version.nil?
1517
1791
  command.query['kind'] = kind unless kind.nil?
1518
- command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
1519
1792
  command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1520
1793
  command.query['fields'] = fields unless fields.nil?
1521
1794
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1522
1795
  execute_or_queue_command(command, &block)
1523
1796
  end
1524
1797
 
1525
- # Rpc to get information about a domain mapping.
1798
+ # Rpc to get information about a cloudpubsubsource.
1526
1799
  # @param [String] name
1527
- # The name of the domain mapping being retrieved. If needed, replace
1800
+ # The name of the cloudpubsubsource being retrieved. If needed, replace
1528
1801
  # `namespace_id` with the project ID.
1529
1802
  # @param [String] fields
1530
1803
  # Selector specifying which fields to include in a partial response.
@@ -1535,28 +1808,28 @@ module Google
1535
1808
  # Request-specific options
1536
1809
  #
1537
1810
  # @yield [result, err] Result & error if block supplied
1538
- # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
1811
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
1539
1812
  # @yieldparam err [StandardError] error object if request failed
1540
1813
  #
1541
- # @return [Google::Apis::RunV1alpha1::DomainMapping]
1814
+ # @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
1542
1815
  #
1543
1816
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1544
1817
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1545
1818
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1546
- def get_project_location_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
1819
+ def get_project_location_cloudpubsubsource(name, fields: nil, quota_user: nil, options: nil, &block)
1547
1820
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1548
- command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
1549
- command.response_class = Google::Apis::RunV1alpha1::DomainMapping
1821
+ command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
1822
+ command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource
1550
1823
  command.params['name'] = name unless name.nil?
1551
1824
  command.query['fields'] = fields unless fields.nil?
1552
1825
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1553
1826
  execute_or_queue_command(command, &block)
1554
1827
  end
1555
1828
 
1556
- # Rpc to list domain mappings.
1829
+ # Rpc to list cloudpubsubsources.
1557
1830
  # @param [String] parent
1558
- # The project ID or project number from which the domain mappings should be
1559
- # listed.
1831
+ # The project ID or project number from which the cloudpubsubsources should
1832
+ # be listed.
1560
1833
  # @param [String] continue
1561
1834
  # Optional encoded string to continue paging.
1562
1835
  # @param [String] field_selector
@@ -1585,18 +1858,18 @@ module Google
1585
1858
  # Request-specific options
1586
1859
  #
1587
1860
  # @yield [result, err] Result & error if block supplied
1588
- # @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object
1861
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse] parsed result object
1589
1862
  # @yieldparam err [StandardError] error object if request failed
1590
1863
  #
1591
- # @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse]
1864
+ # @return [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse]
1592
1865
  #
1593
1866
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1594
1867
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1595
1868
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1596
- 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)
1597
- command = make_simple_command(:get, 'v1alpha1/{+parent}/domainmappings', options)
1598
- command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation
1599
- command.response_class = Google::Apis::RunV1alpha1::ListDomainMappingsResponse
1869
+ def list_project_location_cloudpubsubsources(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)
1870
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudpubsubsources', options)
1871
+ command.response_representation = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse::Representation
1872
+ command.response_class = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse
1600
1873
  command.params['parent'] = parent unless parent.nil?
1601
1874
  command.query['continue'] = continue unless continue.nil?
1602
1875
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -1610,9 +1883,9 @@ module Google
1610
1883
  execute_or_queue_command(command, &block)
1611
1884
  end
1612
1885
 
1613
- # Rpc to get information about an EventType.
1886
+ # Rpc to get information about a configuration.
1614
1887
  # @param [String] name
1615
- # The name of the trigger being retrieved. If needed, replace
1888
+ # The name of the configuration being retrieved. If needed, replace
1616
1889
  # `namespace_id` with the project ID.
1617
1890
  # @param [String] fields
1618
1891
  # Selector specifying which fields to include in a partial response.
@@ -1623,27 +1896,27 @@ module Google
1623
1896
  # Request-specific options
1624
1897
  #
1625
1898
  # @yield [result, err] Result & error if block supplied
1626
- # @yieldparam result [Google::Apis::RunV1alpha1::EventType] parsed result object
1899
+ # @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object
1627
1900
  # @yieldparam err [StandardError] error object if request failed
1628
1901
  #
1629
- # @return [Google::Apis::RunV1alpha1::EventType]
1902
+ # @return [Google::Apis::RunV1alpha1::Configuration]
1630
1903
  #
1631
1904
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1632
1905
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1633
1906
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1634
- def get_project_location_eventtype(name, fields: nil, quota_user: nil, options: nil, &block)
1907
+ def get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
1635
1908
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1636
- command.response_representation = Google::Apis::RunV1alpha1::EventType::Representation
1637
- command.response_class = Google::Apis::RunV1alpha1::EventType
1909
+ command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
1910
+ command.response_class = Google::Apis::RunV1alpha1::Configuration
1638
1911
  command.params['name'] = name unless name.nil?
1639
1912
  command.query['fields'] = fields unless fields.nil?
1640
1913
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1641
1914
  execute_or_queue_command(command, &block)
1642
1915
  end
1643
1916
 
1644
- # Rpc to list EventTypes.
1917
+ # Rpc to list configurations.
1645
1918
  # @param [String] parent
1646
- # The project ID or project number from which the EventTypes should be
1919
+ # The project ID or project number from which the configurations should be
1647
1920
  # listed.
1648
1921
  # @param [String] continue
1649
1922
  # Optional encoded string to continue paging.
@@ -1673,18 +1946,18 @@ module Google
1673
1946
  # Request-specific options
1674
1947
  #
1675
1948
  # @yield [result, err] Result & error if block supplied
1676
- # @yieldparam result [Google::Apis::RunV1alpha1::ListEventTypesResponse] parsed result object
1949
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object
1677
1950
  # @yieldparam err [StandardError] error object if request failed
1678
1951
  #
1679
- # @return [Google::Apis::RunV1alpha1::ListEventTypesResponse]
1952
+ # @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse]
1680
1953
  #
1681
1954
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1682
1955
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1683
1956
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1684
- def list_project_location_eventtypes(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)
1685
- command = make_simple_command(:get, 'v1alpha1/{+parent}/eventtypes', options)
1686
- command.response_representation = Google::Apis::RunV1alpha1::ListEventTypesResponse::Representation
1687
- command.response_class = Google::Apis::RunV1alpha1::ListEventTypesResponse
1957
+ 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)
1958
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/configurations', options)
1959
+ command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation
1960
+ command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse
1688
1961
  command.params['parent'] = parent unless parent.nil?
1689
1962
  command.query['continue'] = continue unless continue.nil?
1690
1963
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -1698,11 +1971,11 @@ module Google
1698
1971
  execute_or_queue_command(command, &block)
1699
1972
  end
1700
1973
 
1701
- # Creates a new pubsub.
1974
+ # Creates a new domain mapping.
1702
1975
  # @param [String] parent
1703
- # The project ID or project number in which this pubsub should
1704
- # be created.
1705
- # @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
1976
+ # The project ID or project number in which this domain mapping should be
1977
+ # created.
1978
+ # @param [Google::Apis::RunV1alpha1::DomainMapping] domain_mapping_object
1706
1979
  # @param [String] fields
1707
1980
  # Selector specifying which fields to include in a partial response.
1708
1981
  # @param [String] quota_user
@@ -1712,34 +1985,40 @@ module Google
1712
1985
  # Request-specific options
1713
1986
  #
1714
1987
  # @yield [result, err] Result & error if block supplied
1715
- # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
1988
+ # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
1716
1989
  # @yieldparam err [StandardError] error object if request failed
1717
1990
  #
1718
- # @return [Google::Apis::RunV1alpha1::PubSub]
1991
+ # @return [Google::Apis::RunV1alpha1::DomainMapping]
1719
1992
  #
1720
1993
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1721
1994
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1722
1995
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1723
- def create_project_location_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1724
- command = make_simple_command(:post, 'v1alpha1/{+parent}/pubsubs', options)
1725
- command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
1726
- command.request_object = pub_sub_object
1727
- command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
1728
- command.response_class = Google::Apis::RunV1alpha1::PubSub
1996
+ def create_project_location_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1997
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/domainmappings', options)
1998
+ command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
1999
+ command.request_object = domain_mapping_object
2000
+ command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
2001
+ command.response_class = Google::Apis::RunV1alpha1::DomainMapping
1729
2002
  command.params['parent'] = parent unless parent.nil?
1730
2003
  command.query['fields'] = fields unless fields.nil?
1731
2004
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1732
2005
  execute_or_queue_command(command, &block)
1733
2006
  end
1734
2007
 
1735
- # Rpc to delete a pubsub.
2008
+ # Rpc to delete a domain mapping.
1736
2009
  # @param [String] name
1737
- # The name of the pubsub being deleted. If needed, replace
2010
+ # The name of the domain mapping being deleted. If needed, replace
1738
2011
  # `namespace_id` with the project ID.
1739
2012
  # @param [String] api_version
1740
2013
  # Cloud Run currently ignores this parameter.
1741
2014
  # @param [String] kind
1742
2015
  # Cloud Run currently ignores this parameter.
2016
+ # @param [Boolean] orphan_dependents
2017
+ # Deprecated.
2018
+ # Specifies the cascade behavior on delete.
2019
+ # Cloud Run only supports cascading behavior, so this must be false.
2020
+ # This attribute is deprecated, and is now replaced with PropagationPolicy
2021
+ # See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
1743
2022
  # @param [String] propagation_policy
1744
2023
  # Specifies the propagation policy of delete. Cloud Run currently ignores
1745
2024
  # this setting, and deletes in the background. Please see
@@ -1762,22 +2041,23 @@ module Google
1762
2041
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1763
2042
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1764
2043
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1765
- def delete_project_location_pubsub(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
2044
+ 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)
1766
2045
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1767
2046
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1768
2047
  command.response_class = Google::Apis::RunV1alpha1::Empty
1769
2048
  command.params['name'] = name unless name.nil?
1770
2049
  command.query['apiVersion'] = api_version unless api_version.nil?
1771
2050
  command.query['kind'] = kind unless kind.nil?
2051
+ command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
1772
2052
  command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1773
2053
  command.query['fields'] = fields unless fields.nil?
1774
2054
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1775
2055
  execute_or_queue_command(command, &block)
1776
2056
  end
1777
2057
 
1778
- # Rpc to get information about a pubsub.
2058
+ # Rpc to get information about a domain mapping.
1779
2059
  # @param [String] name
1780
- # The name of the pubsub being retrieved. If needed, replace
2060
+ # The name of the domain mapping being retrieved. If needed, replace
1781
2061
  # `namespace_id` with the project ID.
1782
2062
  # @param [String] fields
1783
2063
  # Selector specifying which fields to include in a partial response.
@@ -1788,28 +2068,28 @@ module Google
1788
2068
  # Request-specific options
1789
2069
  #
1790
2070
  # @yield [result, err] Result & error if block supplied
1791
- # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
2071
+ # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
1792
2072
  # @yieldparam err [StandardError] error object if request failed
1793
2073
  #
1794
- # @return [Google::Apis::RunV1alpha1::PubSub]
2074
+ # @return [Google::Apis::RunV1alpha1::DomainMapping]
1795
2075
  #
1796
2076
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1797
2077
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1798
2078
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1799
- def get_project_location_pubsub(name, fields: nil, quota_user: nil, options: nil, &block)
2079
+ def get_project_location_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
1800
2080
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1801
- command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
1802
- command.response_class = Google::Apis::RunV1alpha1::PubSub
2081
+ command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
2082
+ command.response_class = Google::Apis::RunV1alpha1::DomainMapping
1803
2083
  command.params['name'] = name unless name.nil?
1804
2084
  command.query['fields'] = fields unless fields.nil?
1805
2085
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1806
2086
  execute_or_queue_command(command, &block)
1807
2087
  end
1808
2088
 
1809
- # Rpc to list pubsubs.
2089
+ # Rpc to list domain mappings.
1810
2090
  # @param [String] parent
1811
- # The project ID or project number from which the pubsubs should
1812
- # be listed.
2091
+ # The project ID or project number from which the domain mappings should be
2092
+ # listed.
1813
2093
  # @param [String] continue
1814
2094
  # Optional encoded string to continue paging.
1815
2095
  # @param [String] field_selector
@@ -1838,18 +2118,18 @@ module Google
1838
2118
  # Request-specific options
1839
2119
  #
1840
2120
  # @yield [result, err] Result & error if block supplied
1841
- # @yieldparam result [Google::Apis::RunV1alpha1::ListPubSubsResponse] parsed result object
2121
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object
1842
2122
  # @yieldparam err [StandardError] error object if request failed
1843
2123
  #
1844
- # @return [Google::Apis::RunV1alpha1::ListPubSubsResponse]
2124
+ # @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse]
1845
2125
  #
1846
2126
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1847
2127
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1848
2128
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1849
- def list_project_location_pubsubs(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)
1850
- command = make_simple_command(:get, 'v1alpha1/{+parent}/pubsubs', options)
1851
- command.response_representation = Google::Apis::RunV1alpha1::ListPubSubsResponse::Representation
1852
- command.response_class = Google::Apis::RunV1alpha1::ListPubSubsResponse
2129
+ 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)
2130
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/domainmappings', options)
2131
+ command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation
2132
+ command.response_class = Google::Apis::RunV1alpha1::ListDomainMappingsResponse
1853
2133
  command.params['parent'] = parent unless parent.nil?
1854
2134
  command.query['continue'] = continue unless continue.nil?
1855
2135
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -1863,45 +2143,6 @@ module Google
1863
2143
  execute_or_queue_command(command, &block)
1864
2144
  end
1865
2145
 
1866
- # Rpc to replace a pubsub.
1867
- # Only the spec and metadata labels and annotations are modifiable. After
1868
- # the Update request, Cloud Run will work to make the 'status'
1869
- # match the requested 'spec'.
1870
- # May provide metadata.resourceVersion to enforce update from last read for
1871
- # optimistic concurrency control.
1872
- # @param [String] name
1873
- # The name of the pubsub being retrieved. If needed, replace
1874
- # `namespace_id` with the project ID.
1875
- # @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
1876
- # @param [String] fields
1877
- # Selector specifying which fields to include in a partial response.
1878
- # @param [String] quota_user
1879
- # Available to use for quota purposes for server-side applications. Can be any
1880
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1881
- # @param [Google::Apis::RequestOptions] options
1882
- # Request-specific options
1883
- #
1884
- # @yield [result, err] Result & error if block supplied
1885
- # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
1886
- # @yieldparam err [StandardError] error object if request failed
1887
- #
1888
- # @return [Google::Apis::RunV1alpha1::PubSub]
1889
- #
1890
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1891
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1892
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1893
- def replace_project_location_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1894
- command = make_simple_command(:put, 'v1alpha1/{+name}', options)
1895
- command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
1896
- command.request_object = pub_sub_object
1897
- command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
1898
- command.response_class = Google::Apis::RunV1alpha1::PubSub
1899
- command.params['name'] = name unless name.nil?
1900
- command.query['fields'] = fields unless fields.nil?
1901
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1902
- execute_or_queue_command(command, &block)
1903
- end
1904
-
1905
2146
  # Rpc to delete a revision.
1906
2147
  # @param [String] name
1907
2148
  # The name of the revision being deleted. If needed, replace
@@ -2447,11 +2688,11 @@ module Google
2447
2688
  execute_or_queue_command(command, &block)
2448
2689
  end
2449
2690
 
2450
- # Creates a new trigger.
2691
+ # Creates a new storage.
2451
2692
  # @param [String] parent
2452
- # The project ID or project number in which this trigger should
2693
+ # The project ID or project number in which this storage should
2453
2694
  # be created.
2454
- # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
2695
+ # @param [Google::Apis::RunV1alpha1::Storage] storage_object
2455
2696
  # @param [String] fields
2456
2697
  # Selector specifying which fields to include in a partial response.
2457
2698
  # @param [String] quota_user
@@ -2461,29 +2702,29 @@ module Google
2461
2702
  # Request-specific options
2462
2703
  #
2463
2704
  # @yield [result, err] Result & error if block supplied
2464
- # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
2705
+ # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
2465
2706
  # @yieldparam err [StandardError] error object if request failed
2466
2707
  #
2467
- # @return [Google::Apis::RunV1alpha1::Trigger]
2708
+ # @return [Google::Apis::RunV1alpha1::Storage]
2468
2709
  #
2469
2710
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2470
2711
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2471
2712
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2472
- def create_project_location_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2473
- command = make_simple_command(:post, 'v1alpha1/{+parent}/triggers', options)
2474
- command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
2475
- command.request_object = trigger_object
2476
- command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
2477
- command.response_class = Google::Apis::RunV1alpha1::Trigger
2713
+ def create_project_location_storage(parent, storage_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2714
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/storages', options)
2715
+ command.request_representation = Google::Apis::RunV1alpha1::Storage::Representation
2716
+ command.request_object = storage_object
2717
+ command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
2718
+ command.response_class = Google::Apis::RunV1alpha1::Storage
2478
2719
  command.params['parent'] = parent unless parent.nil?
2479
2720
  command.query['fields'] = fields unless fields.nil?
2480
2721
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2481
2722
  execute_or_queue_command(command, &block)
2482
2723
  end
2483
2724
 
2484
- # Rpc to delete a trigger.
2725
+ # Rpc to delete a storage.
2485
2726
  # @param [String] name
2486
- # The name of the trigger being deleted. If needed, replace
2727
+ # The name of the storage being deleted. If needed, replace
2487
2728
  # `namespace_id` with the project ID.
2488
2729
  # @param [String] api_version
2489
2730
  # Cloud Run currently ignores this parameter.
@@ -2511,7 +2752,7 @@ module Google
2511
2752
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2512
2753
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2513
2754
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2514
- def delete_project_location_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
2755
+ def delete_project_location_storage(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
2515
2756
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
2516
2757
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
2517
2758
  command.response_class = Google::Apis::RunV1alpha1::Empty
@@ -2524,9 +2765,9 @@ module Google
2524
2765
  execute_or_queue_command(command, &block)
2525
2766
  end
2526
2767
 
2527
- # Rpc to get information about a trigger.
2768
+ # Rpc to get information about a storage.
2528
2769
  # @param [String] name
2529
- # The name of the trigger being retrieved. If needed, replace
2770
+ # The name of the storage being retrieved. If needed, replace
2530
2771
  # `namespace_id` with the project ID.
2531
2772
  # @param [String] fields
2532
2773
  # Selector specifying which fields to include in a partial response.
@@ -2537,27 +2778,27 @@ module Google
2537
2778
  # Request-specific options
2538
2779
  #
2539
2780
  # @yield [result, err] Result & error if block supplied
2540
- # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
2781
+ # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
2541
2782
  # @yieldparam err [StandardError] error object if request failed
2542
2783
  #
2543
- # @return [Google::Apis::RunV1alpha1::Trigger]
2784
+ # @return [Google::Apis::RunV1alpha1::Storage]
2544
2785
  #
2545
2786
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2546
2787
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2547
2788
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2548
- def get_project_location_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
2789
+ def get_project_location_storage(name, fields: nil, quota_user: nil, options: nil, &block)
2549
2790
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
2550
- command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
2551
- command.response_class = Google::Apis::RunV1alpha1::Trigger
2791
+ command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
2792
+ command.response_class = Google::Apis::RunV1alpha1::Storage
2552
2793
  command.params['name'] = name unless name.nil?
2553
2794
  command.query['fields'] = fields unless fields.nil?
2554
2795
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2555
2796
  execute_or_queue_command(command, &block)
2556
2797
  end
2557
2798
 
2558
- # Rpc to list triggers.
2799
+ # Rpc to list storages.
2559
2800
  # @param [String] parent
2560
- # The project ID or project number from which the triggers should
2801
+ # The project ID or project number from which the storages should
2561
2802
  # be listed.
2562
2803
  # @param [String] continue
2563
2804
  # Optional encoded string to continue paging.
@@ -2587,18 +2828,18 @@ module Google
2587
2828
  # Request-specific options
2588
2829
  #
2589
2830
  # @yield [result, err] Result & error if block supplied
2590
- # @yieldparam result [Google::Apis::RunV1alpha1::ListTriggersResponse] parsed result object
2831
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListStoragesResponse] parsed result object
2591
2832
  # @yieldparam err [StandardError] error object if request failed
2592
2833
  #
2593
- # @return [Google::Apis::RunV1alpha1::ListTriggersResponse]
2834
+ # @return [Google::Apis::RunV1alpha1::ListStoragesResponse]
2594
2835
  #
2595
2836
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2596
2837
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2597
2838
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2598
- 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)
2599
- command = make_simple_command(:get, 'v1alpha1/{+parent}/triggers', options)
2600
- command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation
2601
- command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse
2839
+ def list_project_location_storages(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)
2840
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/storages', options)
2841
+ command.response_representation = Google::Apis::RunV1alpha1::ListStoragesResponse::Representation
2842
+ command.response_class = Google::Apis::RunV1alpha1::ListStoragesResponse
2602
2843
  command.params['parent'] = parent unless parent.nil?
2603
2844
  command.query['continue'] = continue unless continue.nil?
2604
2845
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -2612,15 +2853,49 @@ module Google
2612
2853
  execute_or_queue_command(command, &block)
2613
2854
  end
2614
2855
 
2615
- # Rpc to replace a trigger.
2856
+ # Rpc to replace a storage.
2616
2857
  # Only the spec and metadata labels and annotations are modifiable. After
2617
2858
  # the Update request, Cloud Run will work to make the 'status'
2618
2859
  # match the requested 'spec'.
2619
2860
  # May provide metadata.resourceVersion to enforce update from last read for
2620
2861
  # optimistic concurrency control.
2621
2862
  # @param [String] name
2622
- # The name of the trigger being retrieved. If needed, replace
2863
+ # The name of the storage being retrieved. If needed, replace
2623
2864
  # `namespace_id` with the project ID.
2865
+ # @param [Google::Apis::RunV1alpha1::Storage] storage_object
2866
+ # @param [String] fields
2867
+ # Selector specifying which fields to include in a partial response.
2868
+ # @param [String] quota_user
2869
+ # Available to use for quota purposes for server-side applications. Can be any
2870
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2871
+ # @param [Google::Apis::RequestOptions] options
2872
+ # Request-specific options
2873
+ #
2874
+ # @yield [result, err] Result & error if block supplied
2875
+ # @yieldparam result [Google::Apis::RunV1alpha1::Storage] parsed result object
2876
+ # @yieldparam err [StandardError] error object if request failed
2877
+ #
2878
+ # @return [Google::Apis::RunV1alpha1::Storage]
2879
+ #
2880
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2881
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2882
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2883
+ def replace_project_location_storage_storage(name, storage_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2884
+ command = make_simple_command(:put, 'v1alpha1/{+name}', options)
2885
+ command.request_representation = Google::Apis::RunV1alpha1::Storage::Representation
2886
+ command.request_object = storage_object
2887
+ command.response_representation = Google::Apis::RunV1alpha1::Storage::Representation
2888
+ command.response_class = Google::Apis::RunV1alpha1::Storage
2889
+ command.params['name'] = name unless name.nil?
2890
+ command.query['fields'] = fields unless fields.nil?
2891
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2892
+ execute_or_queue_command(command, &block)
2893
+ end
2894
+
2895
+ # Creates a new trigger.
2896
+ # @param [String] parent
2897
+ # The project ID or project number in which this trigger should
2898
+ # be created.
2624
2899
  # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
2625
2900
  # @param [String] fields
2626
2901
  # Selector specifying which fields to include in a partial response.
@@ -2639,17 +2914,148 @@ module Google
2639
2914
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2640
2915
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2641
2916
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2642
- def replace_project_location_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2643
- command = make_simple_command(:put, 'v1alpha1/{+name}', options)
2917
+ def create_project_location_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2918
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/triggers', options)
2644
2919
  command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
2645
2920
  command.request_object = trigger_object
2646
2921
  command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
2647
2922
  command.response_class = Google::Apis::RunV1alpha1::Trigger
2923
+ command.params['parent'] = parent unless parent.nil?
2924
+ command.query['fields'] = fields unless fields.nil?
2925
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2926
+ execute_or_queue_command(command, &block)
2927
+ end
2928
+
2929
+ # Rpc to delete a trigger.
2930
+ # @param [String] name
2931
+ # The name of the trigger being deleted. If needed, replace
2932
+ # `namespace_id` with the project ID.
2933
+ # @param [String] api_version
2934
+ # Cloud Run currently ignores this parameter.
2935
+ # @param [String] kind
2936
+ # Cloud Run currently ignores this parameter.
2937
+ # @param [String] propagation_policy
2938
+ # Specifies the propagation policy of delete. Cloud Run currently ignores
2939
+ # this setting, and deletes in the background. Please see
2940
+ # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
2941
+ # more information.
2942
+ # @param [String] fields
2943
+ # Selector specifying which fields to include in a partial response.
2944
+ # @param [String] quota_user
2945
+ # Available to use for quota purposes for server-side applications. Can be any
2946
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2947
+ # @param [Google::Apis::RequestOptions] options
2948
+ # Request-specific options
2949
+ #
2950
+ # @yield [result, err] Result & error if block supplied
2951
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
2952
+ # @yieldparam err [StandardError] error object if request failed
2953
+ #
2954
+ # @return [Google::Apis::RunV1alpha1::Empty]
2955
+ #
2956
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2957
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2958
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2959
+ def delete_project_location_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
2960
+ command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
2961
+ command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
2962
+ command.response_class = Google::Apis::RunV1alpha1::Empty
2963
+ command.params['name'] = name unless name.nil?
2964
+ command.query['apiVersion'] = api_version unless api_version.nil?
2965
+ command.query['kind'] = kind unless kind.nil?
2966
+ command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
2967
+ command.query['fields'] = fields unless fields.nil?
2968
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2969
+ execute_or_queue_command(command, &block)
2970
+ end
2971
+
2972
+ # Rpc to get information about a trigger.
2973
+ # @param [String] name
2974
+ # The name of the trigger being retrieved. If needed, replace
2975
+ # `namespace_id` with the project ID.
2976
+ # @param [String] fields
2977
+ # Selector specifying which fields to include in a partial response.
2978
+ # @param [String] quota_user
2979
+ # Available to use for quota purposes for server-side applications. Can be any
2980
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2981
+ # @param [Google::Apis::RequestOptions] options
2982
+ # Request-specific options
2983
+ #
2984
+ # @yield [result, err] Result & error if block supplied
2985
+ # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
2986
+ # @yieldparam err [StandardError] error object if request failed
2987
+ #
2988
+ # @return [Google::Apis::RunV1alpha1::Trigger]
2989
+ #
2990
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2991
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2992
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2993
+ def get_project_location_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
2994
+ command = make_simple_command(:get, 'v1alpha1/{+name}', options)
2995
+ command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
2996
+ command.response_class = Google::Apis::RunV1alpha1::Trigger
2648
2997
  command.params['name'] = name unless name.nil?
2649
2998
  command.query['fields'] = fields unless fields.nil?
2650
2999
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2651
3000
  execute_or_queue_command(command, &block)
2652
3001
  end
3002
+
3003
+ # Rpc to list triggers.
3004
+ # @param [String] parent
3005
+ # The project ID or project number from which the triggers should
3006
+ # be listed.
3007
+ # @param [String] continue
3008
+ # Optional. Encoded string to continue paging.
3009
+ # @param [String] field_selector
3010
+ # Allows to filter resources based on a specific value for a field name.
3011
+ # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
3012
+ # Not currently used by Cloud Run.
3013
+ # @param [Boolean] include_uninitialized
3014
+ # Not currently used by Cloud Run.
3015
+ # @param [String] label_selector
3016
+ # Allows to filter resources based on a label. Supported operations are
3017
+ # =, !=, exists, in, and notIn.
3018
+ # @param [Fixnum] limit
3019
+ # The maximum number of records that should be returned.
3020
+ # @param [String] resource_version
3021
+ # The baseline resource version from which the list or watch operation should
3022
+ # start. Not currently used by Cloud Run.
3023
+ # @param [Boolean] watch
3024
+ # Flag that indicates that the client expects to watch this resource as well.
3025
+ # Not currently used by Cloud Run.
3026
+ # @param [String] fields
3027
+ # Selector specifying which fields to include in a partial response.
3028
+ # @param [String] quota_user
3029
+ # Available to use for quota purposes for server-side applications. Can be any
3030
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3031
+ # @param [Google::Apis::RequestOptions] options
3032
+ # Request-specific options
3033
+ #
3034
+ # @yield [result, err] Result & error if block supplied
3035
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListTriggersResponse] parsed result object
3036
+ # @yieldparam err [StandardError] error object if request failed
3037
+ #
3038
+ # @return [Google::Apis::RunV1alpha1::ListTriggersResponse]
3039
+ #
3040
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3041
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3042
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3043
+ 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)
3044
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/triggers', options)
3045
+ command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation
3046
+ command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse
3047
+ command.params['parent'] = parent unless parent.nil?
3048
+ command.query['continue'] = continue unless continue.nil?
3049
+ command.query['fieldSelector'] = field_selector unless field_selector.nil?
3050
+ command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
3051
+ command.query['labelSelector'] = label_selector unless label_selector.nil?
3052
+ command.query['limit'] = limit unless limit.nil?
3053
+ command.query['resourceVersion'] = resource_version unless resource_version.nil?
3054
+ command.query['watch'] = watch unless watch.nil?
3055
+ command.query['fields'] = fields unless fields.nil?
3056
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3057
+ execute_or_queue_command(command, &block)
3058
+ end
2653
3059
 
2654
3060
  protected
2655
3061