google-api-client 0.36.4 → 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 (481) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/CHANGELOG.md +184 -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/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  7. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  9. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  10. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1/classes.rb +113 -0
  12. data/generated/google/apis/accesscontextmanager_v1/representations.rb +32 -0
  13. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +151 -0
  15. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  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/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  19. data/generated/google/apis/admob_v1/classes.rb +951 -0
  20. data/generated/google/apis/admob_v1/representations.rb +378 -0
  21. data/generated/google/apis/admob_v1/service.rb +196 -0
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +252 -0
  24. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  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.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +7 -1
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  30. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  31. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  32. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -2
  33. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  34. data/generated/google/apis/androidpublisher_v2.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_v3.rb +1 -1
  38. data/generated/google/apis/androidpublisher_v3/classes.rb +134 -94
  39. data/generated/google/apis/androidpublisher_v3/representations.rb +63 -50
  40. data/generated/google/apis/androidpublisher_v3/service.rb +158 -0
  41. data/generated/google/apis/appengine_v1beta.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/appsactivity_v1.rb +1 -1
  45. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +49 -15
  47. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  48. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  49. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  50. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  51. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -22
  52. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  53. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  54. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -22
  55. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -13
  56. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  57. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +5 -99
  58. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -45
  59. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +1 -70
  60. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  61. data/generated/google/apis/bigtableadmin_v2/classes.rb +49 -15
  62. data/generated/google/apis/bigtableadmin_v2/service.rb +76 -4
  63. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  64. data/generated/google/apis/binaryauthorization_v1/classes.rb +49 -15
  65. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  66. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +49 -15
  67. data/generated/google/apis/chat_v1.rb +1 -1
  68. data/generated/google/apis/classroom_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1.rb +2 -2
  70. data/generated/google/apis/cloudasset_v1/classes.rb +103 -20
  71. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  72. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  74. data/generated/google/apis/cloudasset_v1beta1/classes.rb +49 -15
  75. data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
  76. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  77. data/generated/google/apis/cloudbilling_v1/classes.rb +51 -16
  78. data/generated/google/apis/cloudbilling_v1/service.rb +8 -6
  79. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  81. data/generated/google/apis/{servicebroker_v1beta1.rb → cloudbuild_v1alpha2.rb} +9 -11
  82. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1124 -0
  83. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +429 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +232 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  87. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  88. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -12
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +63 -15
  91. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  92. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  93. data/generated/google/apis/cloudidentity_v1/classes.rb +560 -0
  94. data/generated/google/apis/cloudidentity_v1/representations.rb +226 -0
  95. data/generated/google/apis/cloudidentity_v1/service.rb +20 -13
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +765 -72
  98. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +289 -0
  99. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -79
  100. data/generated/google/apis/cloudiot_v1.rb +1 -1
  101. data/generated/google/apis/cloudiot_v1/classes.rb +49 -15
  102. data/generated/google/apis/cloudkms_v1.rb +1 -1
  103. data/generated/google/apis/cloudkms_v1/classes.rb +64 -21
  104. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  105. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  107. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +49 -15
  108. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +49 -15
  111. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -3
  112. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  113. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +49 -15
  114. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +49 -15
  116. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +49 -15
  118. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  119. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  120. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  121. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -0
  122. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  123. data/generated/google/apis/cloudshell_v1.rb +1 -1
  124. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  125. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  126. data/generated/google/apis/cloudtasks_v2/classes.rb +49 -15
  127. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +49 -15
  129. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  130. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +49 -15
  131. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  132. data/generated/google/apis/cloudtrace_v1/service.rb +6 -0
  133. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  134. data/generated/google/apis/cloudtrace_v2/service.rb +4 -0
  135. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  136. data/generated/google/apis/composer_v1.rb +1 -1
  137. data/generated/google/apis/composer_v1/classes.rb +2 -0
  138. data/generated/google/apis/composer_v1beta1.rb +1 -1
  139. data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
  140. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  141. data/generated/google/apis/compute_alpha.rb +1 -1
  142. data/generated/google/apis/compute_alpha/classes.rb +429 -237
  143. data/generated/google/apis/compute_alpha/representations.rb +42 -3
  144. data/generated/google/apis/compute_alpha/service.rb +99 -32
  145. data/generated/google/apis/compute_beta.rb +1 -1
  146. data/generated/google/apis/compute_beta/classes.rb +1054 -235
  147. data/generated/google/apis/compute_beta/representations.rb +266 -0
  148. data/generated/google/apis/compute_beta/service.rb +5821 -4671
  149. data/generated/google/apis/compute_v1.rb +1 -1
  150. data/generated/google/apis/compute_v1/classes.rb +1118 -314
  151. data/generated/google/apis/compute_v1/representations.rb +313 -0
  152. data/generated/google/apis/compute_v1/service.rb +612 -24
  153. data/generated/google/apis/container_v1.rb +1 -1
  154. data/generated/google/apis/container_v1/classes.rb +247 -3
  155. data/generated/google/apis/container_v1/representations.rb +74 -0
  156. data/generated/google/apis/container_v1/service.rb +8 -0
  157. data/generated/google/apis/container_v1beta1.rb +1 -1
  158. data/generated/google/apis/container_v1beta1/classes.rb +284 -80
  159. data/generated/google/apis/container_v1beta1/representations.rb +85 -0
  160. data/generated/google/apis/container_v1beta1/service.rb +129 -121
  161. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  162. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +49 -15
  163. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  164. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +49 -15
  165. data/generated/google/apis/content_v2.rb +1 -1
  166. data/generated/google/apis/content_v2/classes.rb +97 -0
  167. data/generated/google/apis/content_v2/representations.rb +47 -0
  168. data/generated/google/apis/content_v2/service.rb +33 -0
  169. data/generated/google/apis/content_v2_1.rb +1 -1
  170. data/generated/google/apis/content_v2_1/classes.rb +191 -0
  171. data/generated/google/apis/content_v2_1/representations.rb +94 -0
  172. data/generated/google/apis/content_v2_1/service.rb +77 -0
  173. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  174. data/generated/google/apis/datacatalog_v1beta1/classes.rb +157 -24
  175. data/generated/google/apis/datacatalog_v1beta1/representations.rb +33 -0
  176. data/generated/google/apis/datacatalog_v1beta1/service.rb +151 -66
  177. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  178. data/generated/google/apis/dataflow_v1b3/classes.rb +120 -2
  179. data/generated/google/apis/dataflow_v1b3/representations.rb +63 -0
  180. data/generated/google/apis/dataflow_v1b3/service.rb +38 -0
  181. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  182. data/generated/google/apis/datafusion_v1beta1/classes.rb +134 -387
  183. data/generated/google/apis/datafusion_v1beta1/representations.rb +1 -132
  184. data/generated/google/apis/datafusion_v1beta1/service.rb +5 -1
  185. data/generated/google/apis/dataproc_v1.rb +1 -1
  186. data/generated/google/apis/dataproc_v1/classes.rb +156 -122
  187. data/generated/google/apis/dataproc_v1/service.rb +16 -14
  188. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  189. data/generated/google/apis/dataproc_v1beta2/classes.rb +155 -121
  190. data/generated/google/apis/dataproc_v1beta2/service.rb +28 -26
  191. data/generated/google/apis/dialogflow_v2.rb +1 -1
  192. data/generated/google/apis/dialogflow_v2/classes.rb +506 -9
  193. data/generated/google/apis/dialogflow_v2/representations.rb +191 -0
  194. data/generated/google/apis/dialogflow_v2/service.rb +477 -0
  195. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  196. data/generated/google/apis/dialogflow_v2beta1/classes.rb +404 -9
  197. data/generated/google/apis/dialogflow_v2beta1/representations.rb +160 -0
  198. data/generated/google/apis/dialogflow_v2beta1/service.rb +919 -45
  199. data/generated/google/apis/dlp_v2.rb +1 -1
  200. data/generated/google/apis/dlp_v2/classes.rb +101 -92
  201. data/generated/google/apis/dlp_v2/service.rb +56 -56
  202. data/generated/google/apis/docs_v1.rb +1 -1
  203. data/generated/google/apis/docs_v1/classes.rb +275 -18
  204. data/generated/google/apis/docs_v1/representations.rb +75 -0
  205. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  206. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +34 -0
  207. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +16 -0
  208. data/generated/google/apis/drive_v2.rb +1 -1
  209. data/generated/google/apis/drive_v2/classes.rb +1 -2
  210. data/generated/google/apis/drive_v2/service.rb +0 -92
  211. data/generated/google/apis/driveactivity_v2.rb +1 -1
  212. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  213. data/generated/google/apis/fcm_v1.rb +1 -1
  214. data/generated/google/apis/file_v1.rb +1 -1
  215. data/generated/google/apis/file_v1beta1.rb +1 -1
  216. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  217. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  218. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  219. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  220. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +161 -0
  221. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +64 -0
  222. data/generated/google/apis/firebasehosting_v1beta1/service.rb +67 -0
  223. data/generated/google/apis/firebaserules_v1.rb +1 -1
  224. data/generated/google/apis/firebaserules_v1/classes.rb +12 -0
  225. data/generated/google/apis/firebaserules_v1/representations.rb +2 -0
  226. data/generated/google/apis/firestore_v1.rb +1 -1
  227. data/generated/google/apis/firestore_v1/classes.rb +4 -2
  228. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  229. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -2
  230. data/generated/google/apis/fitness_v1.rb +1 -1
  231. data/generated/google/apis/fitness_v1/classes.rb +8 -4
  232. data/generated/google/apis/fitness_v1/service.rb +26 -8
  233. data/generated/google/apis/genomics_v1.rb +1 -1
  234. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  235. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  236. data/generated/google/apis/gmail_v1.rb +13 -1
  237. data/generated/google/apis/gmail_v1/service.rb +1 -1
  238. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  239. data/generated/google/apis/healthcare_v1beta1/classes.rb +113 -35
  240. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -0
  241. data/generated/google/apis/healthcare_v1beta1/service.rb +68 -36
  242. data/generated/google/apis/homegraph_v1.rb +1 -1
  243. data/generated/google/apis/iam_v1.rb +1 -1
  244. data/generated/google/apis/iam_v1/classes.rb +93 -23
  245. data/generated/google/apis/iap_v1.rb +1 -1
  246. data/generated/google/apis/iap_v1/classes.rb +66 -17
  247. data/generated/google/apis/iap_v1/representations.rb +1 -0
  248. data/generated/google/apis/iap_v1/service.rb +31 -33
  249. data/generated/google/apis/iap_v1beta1.rb +1 -1
  250. data/generated/google/apis/iap_v1beta1/classes.rb +49 -15
  251. data/generated/google/apis/jobs_v3.rb +1 -1
  252. data/generated/google/apis/jobs_v3/classes.rb +1 -0
  253. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  254. data/generated/google/apis/jobs_v3p1beta1/classes.rb +8 -2
  255. data/generated/google/apis/kgsearch_v1.rb +1 -1
  256. data/generated/google/apis/language_v1.rb +1 -1
  257. data/generated/google/apis/language_v1beta1.rb +1 -1
  258. data/generated/google/apis/language_v1beta2.rb +1 -1
  259. data/generated/google/apis/libraryagent_v1.rb +1 -1
  260. data/generated/google/apis/logging_v2.rb +1 -1
  261. data/generated/google/apis/logging_v2/classes.rb +106 -4
  262. data/generated/google/apis/logging_v2/representations.rb +16 -0
  263. data/generated/google/apis/logging_v2/service.rb +184 -0
  264. data/generated/google/apis/manufacturers_v1.rb +1 -1
  265. data/generated/google/apis/ml_v1.rb +4 -1
  266. data/generated/google/apis/ml_v1/classes.rb +131 -26
  267. data/generated/google/apis/ml_v1/representations.rb +15 -0
  268. data/generated/google/apis/ml_v1/service.rb +2 -7
  269. data/generated/google/apis/monitoring_v1.rb +1 -1
  270. data/generated/google/apis/monitoring_v1/classes.rb +144 -109
  271. data/generated/google/apis/monitoring_v1/representations.rb +0 -18
  272. data/generated/google/apis/monitoring_v1/service.rb +11 -10
  273. data/generated/google/apis/monitoring_v3.rb +1 -1
  274. data/generated/google/apis/monitoring_v3/classes.rb +211 -99
  275. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  276. data/generated/google/apis/monitoring_v3/service.rb +178 -153
  277. data/generated/google/apis/{servicebroker_v1alpha1.rb → osconfig_v1beta.rb} +10 -11
  278. data/generated/google/apis/osconfig_v1beta/classes.rb +2357 -0
  279. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  280. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  281. data/generated/google/apis/oslogin_v1.rb +1 -2
  282. data/generated/google/apis/oslogin_v1/service.rb +0 -1
  283. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  284. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  285. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  286. data/generated/google/apis/oslogin_v1beta/service.rb +0 -1
  287. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  288. data/generated/google/apis/pagespeedonline_v5/classes.rb +529 -498
  289. data/generated/google/apis/pagespeedonline_v5/representations.rb +225 -221
  290. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  291. data/generated/google/apis/people_v1.rb +1 -1
  292. data/generated/google/apis/people_v1/classes.rb +14 -13
  293. data/generated/google/apis/people_v1/service.rb +12 -16
  294. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  295. data/generated/google/apis/policytroubleshooter_v1/classes.rb +71 -19
  296. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  297. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +71 -19
  298. data/generated/google/apis/poly_v1.rb +1 -1
  299. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  300. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +39 -0
  301. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +27 -0
  302. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +66 -0
  303. data/generated/google/apis/pubsub_v1.rb +1 -1
  304. data/generated/google/apis/pubsub_v1/classes.rb +119 -15
  305. data/generated/google/apis/pubsub_v1/representations.rb +17 -0
  306. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  307. data/generated/google/apis/pubsub_v1beta2/classes.rb +49 -15
  308. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  309. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -5
  310. data/generated/google/apis/recommender_v1beta1/service.rb +13 -11
  311. data/generated/google/apis/redis_v1.rb +1 -1
  312. data/generated/google/apis/redis_v1/classes.rb +10 -3
  313. data/generated/google/apis/redis_v1/representations.rb +1 -0
  314. data/generated/google/apis/redis_v1beta1.rb +1 -1
  315. data/generated/google/apis/redis_v1beta1/classes.rb +29 -3
  316. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  317. data/generated/google/apis/redis_v1beta1/service.rb +36 -0
  318. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  319. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  320. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  321. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  322. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  323. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  324. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  325. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  326. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  327. data/generated/google/apis/run_v1.rb +1 -1
  328. data/generated/google/apis/run_v1/classes.rb +49 -15
  329. data/generated/google/apis/run_v1/service.rb +0 -30
  330. data/generated/google/apis/run_v1alpha1.rb +1 -1
  331. data/generated/google/apis/run_v1alpha1/classes.rb +278 -572
  332. data/generated/google/apis/run_v1alpha1/representations.rb +82 -223
  333. data/generated/google/apis/run_v1alpha1/service.rb +272 -682
  334. data/generated/google/apis/run_v1beta1.rb +4 -1
  335. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  336. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  337. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +49 -15
  338. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  339. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  340. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  341. data/generated/google/apis/sasportal_v1alpha1/classes.rb +39 -0
  342. data/generated/google/apis/sasportal_v1alpha1/representations.rb +27 -0
  343. data/generated/google/apis/sasportal_v1alpha1/service.rb +66 -0
  344. data/generated/google/apis/script_v1.rb +1 -1
  345. data/generated/google/apis/searchconsole_v1.rb +1 -1
  346. data/generated/google/apis/secretmanager_v1beta1.rb +3 -2
  347. data/generated/google/apis/secretmanager_v1beta1/classes.rb +49 -15
  348. data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -1
  349. data/generated/google/apis/securitycenter_v1.rb +1 -1
  350. data/generated/google/apis/securitycenter_v1/classes.rb +449 -15
  351. data/generated/google/apis/securitycenter_v1/representations.rb +138 -0
  352. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  353. data/generated/google/apis/securitycenter_v1beta1/classes.rb +442 -15
  354. data/generated/google/apis/securitycenter_v1beta1/representations.rb +138 -0
  355. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  356. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +393 -0
  357. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +138 -0
  358. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  359. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +1999 -0
  360. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +699 -0
  361. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1315 -0
  362. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  363. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +101 -5
  364. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +19 -0
  365. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  366. data/generated/google/apis/servicecontrol_v1/classes.rb +238 -0
  367. data/generated/google/apis/servicecontrol_v1/representations.rb +86 -0
  368. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  369. data/generated/google/apis/servicemanagement_v1/classes.rb +156 -20
  370. data/generated/google/apis/servicemanagement_v1/representations.rb +18 -0
  371. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  372. data/generated/google/apis/servicenetworking_v1/classes.rb +101 -5
  373. data/generated/google/apis/servicenetworking_v1/representations.rb +19 -0
  374. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  375. data/generated/google/apis/servicenetworking_v1beta/classes.rb +101 -5
  376. data/generated/google/apis/servicenetworking_v1beta/representations.rb +19 -0
  377. data/generated/google/apis/serviceusage_v1.rb +1 -1
  378. data/generated/google/apis/serviceusage_v1/classes.rb +101 -5
  379. data/generated/google/apis/serviceusage_v1/representations.rb +19 -0
  380. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  381. data/generated/google/apis/serviceusage_v1beta1/classes.rb +101 -5
  382. data/generated/google/apis/serviceusage_v1beta1/representations.rb +19 -0
  383. data/generated/google/apis/sheets_v4.rb +1 -1
  384. data/generated/google/apis/sheets_v4/classes.rb +195 -31
  385. data/generated/google/apis/sheets_v4/representations.rb +56 -0
  386. data/generated/google/apis/sheets_v4/service.rb +9 -11
  387. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  388. data/generated/google/apis/sourcerepo_v1/classes.rb +172 -65
  389. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  390. data/generated/google/apis/spanner_v1.rb +1 -1
  391. data/generated/google/apis/spanner_v1/classes.rb +49 -15
  392. data/generated/google/apis/spanner_v1/service.rb +1 -1
  393. data/generated/google/apis/speech_v1.rb +1 -1
  394. data/generated/google/apis/speech_v1/classes.rb +1 -8
  395. data/generated/google/apis/speech_v1/representations.rb +0 -1
  396. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  397. data/generated/google/apis/speech_v1p1beta1/classes.rb +3 -8
  398. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -1
  399. data/generated/google/apis/sql_v1beta4.rb +1 -1
  400. data/generated/google/apis/sql_v1beta4/classes.rb +130 -2
  401. data/generated/google/apis/sql_v1beta4/representations.rb +52 -0
  402. data/generated/google/apis/sql_v1beta4/service.rb +190 -9
  403. data/generated/google/apis/storage_v1.rb +1 -1
  404. data/generated/google/apis/storage_v1/classes.rb +16 -7
  405. data/generated/google/apis/storage_v1/service.rb +1 -1
  406. data/generated/google/apis/storage_v1beta2.rb +1 -1
  407. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  408. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  409. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -4
  410. data/generated/google/apis/storagetransfer_v1/service.rb +0 -30
  411. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  412. data/generated/google/apis/tagmanager_v1.rb +1 -1
  413. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  414. data/generated/google/apis/tagmanager_v2.rb +1 -1
  415. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  416. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  417. data/generated/google/apis/tasks_v1.rb +1 -1
  418. data/generated/google/apis/tasks_v1/service.rb +4 -1
  419. data/generated/google/apis/toolresults_v1.rb +1 -1
  420. data/generated/google/apis/tpu_v1.rb +1 -1
  421. data/generated/google/apis/tpu_v1/classes.rb +0 -1
  422. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  423. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -1
  424. data/generated/google/apis/translate_v3.rb +37 -0
  425. data/generated/google/apis/translate_v3/classes.rb +943 -0
  426. data/generated/google/apis/translate_v3/representations.rb +439 -0
  427. data/generated/google/apis/translate_v3/service.rb +781 -0
  428. data/generated/google/apis/videointelligence_v1.rb +1 -1
  429. data/generated/google/apis/videointelligence_v1/classes.rb +97 -0
  430. data/generated/google/apis/videointelligence_v1/representations.rb +51 -0
  431. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  432. data/generated/google/apis/videointelligence_v1beta2/classes.rb +97 -0
  433. data/generated/google/apis/videointelligence_v1beta2/representations.rb +51 -0
  434. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  435. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +97 -0
  436. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +51 -0
  437. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  438. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +97 -0
  439. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +51 -0
  440. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  441. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +184 -0
  442. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +85 -0
  443. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  444. data/generated/google/apis/websecurityscanner_v1/classes.rb +63 -0
  445. data/generated/google/apis/websecurityscanner_v1/representations.rb +31 -0
  446. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  447. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  448. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +63 -0
  449. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +31 -0
  450. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  451. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  452. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  453. data/generated/google/apis/youtube_v3.rb +1 -1
  454. data/generated/google/apis/youtube_v3/classes.rb +61 -9
  455. data/generated/google/apis/youtube_v3/representations.rb +8 -1
  456. data/generated/google/apis/youtube_v3/service.rb +8 -2
  457. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  458. data/lib/google/apis/core/base_service.rb +1 -1
  459. data/lib/google/apis/core/http_command.rb +1 -2
  460. data/lib/google/apis/version.rb +1 -1
  461. metadata +27 -27
  462. data/generated/google/apis/analytics_v2_4.rb +0 -37
  463. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  464. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  465. data/generated/google/apis/plus_domains_v1.rb +0 -55
  466. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  467. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  468. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  469. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  470. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  471. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  472. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  473. data/generated/google/apis/servicebroker_v1/classes.rb +0 -368
  474. data/generated/google/apis/servicebroker_v1/representations.rb +0 -114
  475. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  476. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1072
  477. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +0 -367
  478. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  479. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1208
  480. data/generated/google/apis/servicebroker_v1beta1/representations.rb +0 -416
  481. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
@@ -84,11 +84,11 @@ module Google
84
84
  execute_or_queue_command(command, &block)
85
85
  end
86
86
 
87
- # Creates a new cloudauditlog.
87
+ # Creates a new cloudauditlogssource.
88
88
  # @param [String] parent
89
- # The project ID or project number in which this cloudauditlog should
89
+ # The project ID or project number in which this cloudauditlogssource should
90
90
  # be created.
91
- # @param [Google::Apis::RunV1alpha1::CloudAuditLog] cloud_audit_log_object
91
+ # @param [Google::Apis::RunV1alpha1::CloudAuditLogsSource] cloud_audit_logs_source_object
92
92
  # @param [String] fields
93
93
  # Selector specifying which fields to include in a partial response.
94
94
  # @param [String] quota_user
@@ -98,29 +98,29 @@ module Google
98
98
  # Request-specific options
99
99
  #
100
100
  # @yield [result, err] Result & error if block supplied
101
- # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLog] parsed result object
101
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
102
102
  # @yieldparam err [StandardError] error object if request failed
103
103
  #
104
- # @return [Google::Apis::RunV1alpha1::CloudAuditLog]
104
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
105
105
  #
106
106
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
107
107
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
108
108
  # @raise [Google::Apis::AuthorizationError] Authorization is required
109
- def create_namespace_cloudauditlog(parent, cloud_audit_log_object = nil, fields: nil, quota_user: nil, options: nil, &block)
110
- command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudauditlogs', options)
111
- command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
112
- command.request_object = cloud_audit_log_object
113
- command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
114
- command.response_class = Google::Apis::RunV1alpha1::CloudAuditLog
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
115
  command.params['parent'] = parent unless parent.nil?
116
116
  command.query['fields'] = fields unless fields.nil?
117
117
  command.query['quotaUser'] = quota_user unless quota_user.nil?
118
118
  execute_or_queue_command(command, &block)
119
119
  end
120
120
 
121
- # Rpc to delete a cloudauditlog.
121
+ # Rpc to delete a cloudauditlogssource.
122
122
  # @param [String] name
123
- # The name of the cloudauditlog being deleted. If needed, replace
123
+ # The name of the cloudauditlogssource being deleted. If needed, replace
124
124
  # `namespace_id` with the project ID.
125
125
  # @param [String] api_version
126
126
  # Cloud Run currently ignores this parameter.
@@ -148,7 +148,7 @@ module Google
148
148
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
149
149
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
150
150
  # @raise [Google::Apis::AuthorizationError] Authorization is required
151
- def delete_namespace_cloudauditlog(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
151
+ def delete_namespace_cloudauditlogssource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
152
152
  command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
153
153
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
154
154
  command.response_class = Google::Apis::RunV1alpha1::Empty
@@ -161,9 +161,9 @@ module Google
161
161
  execute_or_queue_command(command, &block)
162
162
  end
163
163
 
164
- # Rpc to get information about a cloudauditlog.
164
+ # Rpc to get information about a cloudauditlogssource.
165
165
  # @param [String] name
166
- # The name of the cloudauditlog being retrieved. If needed, replace
166
+ # The name of the cloudauditlogssource being retrieved. If needed, replace
167
167
  # `namespace_id` with the project ID.
168
168
  # @param [String] fields
169
169
  # Selector specifying which fields to include in a partial response.
@@ -174,28 +174,28 @@ module Google
174
174
  # Request-specific options
175
175
  #
176
176
  # @yield [result, err] Result & error if block supplied
177
- # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLog] parsed result object
177
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
178
178
  # @yieldparam err [StandardError] error object if request failed
179
179
  #
180
- # @return [Google::Apis::RunV1alpha1::CloudAuditLog]
180
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
181
181
  #
182
182
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
183
183
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
184
184
  # @raise [Google::Apis::AuthorizationError] Authorization is required
185
- def get_namespace_cloudauditlog(name, fields: nil, quota_user: nil, options: nil, &block)
185
+ def get_namespace_cloudauditlogssource(name, fields: nil, quota_user: nil, options: nil, &block)
186
186
  command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
187
- command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
188
- command.response_class = Google::Apis::RunV1alpha1::CloudAuditLog
187
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
188
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
189
189
  command.params['name'] = name unless name.nil?
190
190
  command.query['fields'] = fields unless fields.nil?
191
191
  command.query['quotaUser'] = quota_user unless quota_user.nil?
192
192
  execute_or_queue_command(command, &block)
193
193
  end
194
194
 
195
- # Rpc to list cloudauditlogs.
195
+ # Rpc to list cloudauditlogssources.
196
196
  # @param [String] parent
197
- # The project ID or project number from which the cloudauditlogs should
198
- # be listed.
197
+ # The project ID or project number from which the cloudauditlogssources
198
+ # should be listed.
199
199
  # @param [String] continue
200
200
  # Optional encoded string to continue paging.
201
201
  # @param [String] field_selector
@@ -224,18 +224,18 @@ module Google
224
224
  # Request-specific options
225
225
  #
226
226
  # @yield [result, err] Result & error if block supplied
227
- # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse] parsed result object
227
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse] parsed result object
228
228
  # @yieldparam err [StandardError] error object if request failed
229
229
  #
230
- # @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse]
230
+ # @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse]
231
231
  #
232
232
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
233
233
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
234
234
  # @raise [Google::Apis::AuthorizationError] Authorization is required
235
- def list_namespace_cloudauditlogs(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}/cloudauditlogs', options)
237
- command.response_representation = Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse::Representation
238
- command.response_class = Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse
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
239
239
  command.params['parent'] = parent unless parent.nil?
240
240
  command.query['continue'] = continue unless continue.nil?
241
241
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -249,138 +249,11 @@ module Google
249
249
  execute_or_queue_command(command, &block)
250
250
  end
251
251
 
252
- # Rpc to replace a cloudauditlog.
253
- # Only the spec and metadata labels and annotations are modifiable. After
254
- # the Update request, Cloud Run will work to make the 'status'
255
- # match the requested 'spec'.
256
- # May provide metadata.resourceVersion to enforce update from last read for
257
- # optimistic concurrency control.
258
- # @param [String] name
259
- # The name of the cloudauditlog being retrieved. If needed, replace
260
- # `namespace_id` with the project ID.
261
- # @param [Google::Apis::RunV1alpha1::CloudAuditLog] cloud_audit_log_object
262
- # @param [String] fields
263
- # Selector specifying which fields to include in a partial response.
264
- # @param [String] quota_user
265
- # Available to use for quota purposes for server-side applications. Can be any
266
- # arbitrary string assigned to a user, but should not exceed 40 characters.
267
- # @param [Google::Apis::RequestOptions] options
268
- # Request-specific options
269
- #
270
- # @yield [result, err] Result & error if block supplied
271
- # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLog] parsed result object
272
- # @yieldparam err [StandardError] error object if request failed
273
- #
274
- # @return [Google::Apis::RunV1alpha1::CloudAuditLog]
275
- #
276
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
277
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
278
- # @raise [Google::Apis::AuthorizationError] Authorization is required
279
- def replace_namespace_cloudauditlog_cloud_audit_log(name, cloud_audit_log_object = nil, fields: nil, quota_user: nil, options: nil, &block)
280
- command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
281
- command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
282
- command.request_object = cloud_audit_log_object
283
- command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
284
- command.response_class = Google::Apis::RunV1alpha1::CloudAuditLog
285
- command.params['name'] = name unless name.nil?
286
- command.query['fields'] = fields unless fields.nil?
287
- command.query['quotaUser'] = quota_user unless quota_user.nil?
288
- execute_or_queue_command(command, &block)
289
- end
290
-
291
- # Rpc to get information about a configuration.
292
- # @param [String] name
293
- # The name of the configuration being retrieved. If needed, replace
294
- # `namespace_id` with the project ID.
295
- # @param [String] fields
296
- # Selector specifying which fields to include in a partial response.
297
- # @param [String] quota_user
298
- # Available to use for quota purposes for server-side applications. Can be any
299
- # arbitrary string assigned to a user, but should not exceed 40 characters.
300
- # @param [Google::Apis::RequestOptions] options
301
- # Request-specific options
302
- #
303
- # @yield [result, err] Result & error if block supplied
304
- # @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object
305
- # @yieldparam err [StandardError] error object if request failed
306
- #
307
- # @return [Google::Apis::RunV1alpha1::Configuration]
308
- #
309
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
310
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
311
- # @raise [Google::Apis::AuthorizationError] Authorization is required
312
- def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
313
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
314
- command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
315
- command.response_class = Google::Apis::RunV1alpha1::Configuration
316
- command.params['name'] = name unless name.nil?
317
- command.query['fields'] = fields unless fields.nil?
318
- command.query['quotaUser'] = quota_user unless quota_user.nil?
319
- execute_or_queue_command(command, &block)
320
- end
321
-
322
- # Rpc to list configurations.
252
+ # Creates a new cloudpubsubsource.
323
253
  # @param [String] parent
324
- # The project ID or project number from which the configurations should be
325
- # listed.
326
- # @param [String] continue
327
- # Optional encoded string to continue paging.
328
- # @param [String] field_selector
329
- # Allows to filter resources based on a specific value for a field name.
330
- # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
331
- # Not currently used by Cloud Run.
332
- # @param [Boolean] include_uninitialized
333
- # Not currently used by Cloud Run.
334
- # @param [String] label_selector
335
- # Allows to filter resources based on a label. Supported operations are
336
- # =, !=, exists, in, and notIn.
337
- # @param [Fixnum] limit
338
- # The maximum number of records that should be returned.
339
- # @param [String] resource_version
340
- # The baseline resource version from which the list or watch operation should
341
- # start. Not currently used by Cloud Run.
342
- # @param [Boolean] watch
343
- # Flag that indicates that the client expects to watch this resource as well.
344
- # Not currently used by Cloud Run.
345
- # @param [String] fields
346
- # Selector specifying which fields to include in a partial response.
347
- # @param [String] quota_user
348
- # Available to use for quota purposes for server-side applications. Can be any
349
- # arbitrary string assigned to a user, but should not exceed 40 characters.
350
- # @param [Google::Apis::RequestOptions] options
351
- # Request-specific options
352
- #
353
- # @yield [result, err] Result & error if block supplied
354
- # @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object
355
- # @yieldparam err [StandardError] error object if request failed
356
- #
357
- # @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse]
358
- #
359
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
360
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
361
- # @raise [Google::Apis::AuthorizationError] Authorization is required
362
- 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)
363
- command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/configurations', options)
364
- command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation
365
- command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse
366
- command.params['parent'] = parent unless parent.nil?
367
- command.query['continue'] = continue unless continue.nil?
368
- command.query['fieldSelector'] = field_selector unless field_selector.nil?
369
- command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
370
- command.query['labelSelector'] = label_selector unless label_selector.nil?
371
- command.query['limit'] = limit unless limit.nil?
372
- command.query['resourceVersion'] = resource_version unless resource_version.nil?
373
- command.query['watch'] = watch unless watch.nil?
374
- command.query['fields'] = fields unless fields.nil?
375
- command.query['quotaUser'] = quota_user unless quota_user.nil?
376
- execute_or_queue_command(command, &block)
377
- end
378
-
379
- # Creates a new domain mapping.
380
- # @param [String] parent
381
- # The project ID or project number in which this domain mapping should be
382
- # created.
383
- # @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
384
257
  # @param [String] fields
385
258
  # Selector specifying which fields to include in a partial response.
386
259
  # @param [String] quota_user
@@ -390,40 +263,34 @@ module Google
390
263
  # Request-specific options
391
264
  #
392
265
  # @yield [result, err] Result & error if block supplied
393
- # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
266
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
394
267
  # @yieldparam err [StandardError] error object if request failed
395
268
  #
396
- # @return [Google::Apis::RunV1alpha1::DomainMapping]
269
+ # @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
397
270
  #
398
271
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
399
272
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
400
273
  # @raise [Google::Apis::AuthorizationError] Authorization is required
401
- def create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
402
- command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
403
- command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
404
- command.request_object = domain_mapping_object
405
- command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
406
- 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
407
280
  command.params['parent'] = parent unless parent.nil?
408
281
  command.query['fields'] = fields unless fields.nil?
409
282
  command.query['quotaUser'] = quota_user unless quota_user.nil?
410
283
  execute_or_queue_command(command, &block)
411
284
  end
412
285
 
413
- # Rpc to delete a domain mapping.
286
+ # Rpc to delete a cloudpubsubsource.
414
287
  # @param [String] name
415
- # The name of the domain mapping being deleted. If needed, replace
288
+ # The name of the cloudpubsubsource being deleted. If needed, replace
416
289
  # `namespace_id` with the project ID.
417
290
  # @param [String] api_version
418
291
  # Cloud Run currently ignores this parameter.
419
292
  # @param [String] kind
420
293
  # Cloud Run currently ignores this parameter.
421
- # @param [Boolean] orphan_dependents
422
- # Deprecated.
423
- # Specifies the cascade behavior on delete.
424
- # Cloud Run only supports cascading behavior, so this must be false.
425
- # This attribute is deprecated, and is now replaced with PropagationPolicy
426
- # See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
427
294
  # @param [String] propagation_policy
428
295
  # Specifies the propagation policy of delete. Cloud Run currently ignores
429
296
  # this setting, and deletes in the background. Please see
@@ -446,23 +313,22 @@ module Google
446
313
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
447
314
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
448
315
  # @raise [Google::Apis::AuthorizationError] Authorization is required
449
- def delete_namespace_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
450
- 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)
451
318
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
452
319
  command.response_class = Google::Apis::RunV1alpha1::Empty
453
320
  command.params['name'] = name unless name.nil?
454
321
  command.query['apiVersion'] = api_version unless api_version.nil?
455
322
  command.query['kind'] = kind unless kind.nil?
456
- command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
457
323
  command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
458
324
  command.query['fields'] = fields unless fields.nil?
459
325
  command.query['quotaUser'] = quota_user unless quota_user.nil?
460
326
  execute_or_queue_command(command, &block)
461
327
  end
462
328
 
463
- # Rpc to get information about a domain mapping.
329
+ # Rpc to get information about a cloudpubsubsource.
464
330
  # @param [String] name
465
- # The name of the domain mapping being retrieved. If needed, replace
331
+ # The name of the cloudpubsubsource being retrieved. If needed, replace
466
332
  # `namespace_id` with the project ID.
467
333
  # @param [String] fields
468
334
  # Selector specifying which fields to include in a partial response.
@@ -473,28 +339,28 @@ module Google
473
339
  # Request-specific options
474
340
  #
475
341
  # @yield [result, err] Result & error if block supplied
476
- # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
342
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
477
343
  # @yieldparam err [StandardError] error object if request failed
478
344
  #
479
- # @return [Google::Apis::RunV1alpha1::DomainMapping]
345
+ # @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
480
346
  #
481
347
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
482
348
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
483
349
  # @raise [Google::Apis::AuthorizationError] Authorization is required
484
- def get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
485
- command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options)
486
- command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
487
- 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
488
354
  command.params['name'] = name unless name.nil?
489
355
  command.query['fields'] = fields unless fields.nil?
490
356
  command.query['quotaUser'] = quota_user unless quota_user.nil?
491
357
  execute_or_queue_command(command, &block)
492
358
  end
493
359
 
494
- # Rpc to list domain mappings.
360
+ # Rpc to list cloudpubsubsources.
495
361
  # @param [String] parent
496
- # The project ID or project number from which the domain mappings should be
497
- # listed.
362
+ # The project ID or project number from which the cloudpubsubsources should
363
+ # be listed.
498
364
  # @param [String] continue
499
365
  # Optional encoded string to continue paging.
500
366
  # @param [String] field_selector
@@ -523,18 +389,18 @@ module Google
523
389
  # Request-specific options
524
390
  #
525
391
  # @yield [result, err] Result & error if block supplied
526
- # @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object
392
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse] parsed result object
527
393
  # @yieldparam err [StandardError] error object if request failed
528
394
  #
529
- # @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse]
395
+ # @return [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse]
530
396
  #
531
397
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
532
398
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
533
399
  # @raise [Google::Apis::AuthorizationError] Authorization is required
534
- 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)
535
- command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
536
- command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation
537
- 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
538
404
  command.params['parent'] = parent unless parent.nil?
539
405
  command.query['continue'] = continue unless continue.nil?
540
406
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -548,9 +414,9 @@ module Google
548
414
  execute_or_queue_command(command, &block)
549
415
  end
550
416
 
551
- # Rpc to get information about an EventType.
417
+ # Rpc to get information about a configuration.
552
418
  # @param [String] name
553
- # The name of the trigger being retrieved. If needed, replace
419
+ # The name of the configuration being retrieved. If needed, replace
554
420
  # `namespace_id` with the project ID.
555
421
  # @param [String] fields
556
422
  # Selector specifying which fields to include in a partial response.
@@ -561,27 +427,27 @@ module Google
561
427
  # Request-specific options
562
428
  #
563
429
  # @yield [result, err] Result & error if block supplied
564
- # @yieldparam result [Google::Apis::RunV1alpha1::EventType] parsed result object
430
+ # @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object
565
431
  # @yieldparam err [StandardError] error object if request failed
566
432
  #
567
- # @return [Google::Apis::RunV1alpha1::EventType]
433
+ # @return [Google::Apis::RunV1alpha1::Configuration]
568
434
  #
569
435
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
570
436
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
571
437
  # @raise [Google::Apis::AuthorizationError] Authorization is required
572
- def get_namespace_eventtype(name, fields: nil, quota_user: nil, options: nil, &block)
573
- command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
574
- command.response_representation = Google::Apis::RunV1alpha1::EventType::Representation
575
- 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
576
442
  command.params['name'] = name unless name.nil?
577
443
  command.query['fields'] = fields unless fields.nil?
578
444
  command.query['quotaUser'] = quota_user unless quota_user.nil?
579
445
  execute_or_queue_command(command, &block)
580
446
  end
581
447
 
582
- # Rpc to list EventTypes.
448
+ # Rpc to list configurations.
583
449
  # @param [String] parent
584
- # 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
585
451
  # listed.
586
452
  # @param [String] continue
587
453
  # Optional encoded string to continue paging.
@@ -611,18 +477,18 @@ module Google
611
477
  # Request-specific options
612
478
  #
613
479
  # @yield [result, err] Result & error if block supplied
614
- # @yieldparam result [Google::Apis::RunV1alpha1::ListEventTypesResponse] parsed result object
480
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object
615
481
  # @yieldparam err [StandardError] error object if request failed
616
482
  #
617
- # @return [Google::Apis::RunV1alpha1::ListEventTypesResponse]
483
+ # @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse]
618
484
  #
619
485
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
620
486
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
621
487
  # @raise [Google::Apis::AuthorizationError] Authorization is required
622
- 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)
623
- command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+parent}/eventtypes', options)
624
- command.response_representation = Google::Apis::RunV1alpha1::ListEventTypesResponse::Representation
625
- 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
626
492
  command.params['parent'] = parent unless parent.nil?
627
493
  command.query['continue'] = continue unless continue.nil?
628
494
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -636,11 +502,11 @@ module Google
636
502
  execute_or_queue_command(command, &block)
637
503
  end
638
504
 
639
- # Creates a new pubsub.
505
+ # Creates a new domain mapping.
640
506
  # @param [String] parent
641
- # The project ID or project number in which this pubsub should
642
- # be created.
643
- # @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
644
510
  # @param [String] fields
645
511
  # Selector specifying which fields to include in a partial response.
646
512
  # @param [String] quota_user
@@ -650,34 +516,40 @@ module Google
650
516
  # Request-specific options
651
517
  #
652
518
  # @yield [result, err] Result & error if block supplied
653
- # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
519
+ # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
654
520
  # @yieldparam err [StandardError] error object if request failed
655
521
  #
656
- # @return [Google::Apis::RunV1alpha1::PubSub]
522
+ # @return [Google::Apis::RunV1alpha1::DomainMapping]
657
523
  #
658
524
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
659
525
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
660
526
  # @raise [Google::Apis::AuthorizationError] Authorization is required
661
- def create_namespace_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
662
- command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs', options)
663
- command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
664
- command.request_object = pub_sub_object
665
- command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
666
- 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
667
533
  command.params['parent'] = parent unless parent.nil?
668
534
  command.query['fields'] = fields unless fields.nil?
669
535
  command.query['quotaUser'] = quota_user unless quota_user.nil?
670
536
  execute_or_queue_command(command, &block)
671
537
  end
672
538
 
673
- # Rpc to delete a pubsub.
539
+ # Rpc to delete a domain mapping.
674
540
  # @param [String] name
675
- # The name of the pubsub being deleted. If needed, replace
541
+ # The name of the domain mapping being deleted. If needed, replace
676
542
  # `namespace_id` with the project ID.
677
543
  # @param [String] api_version
678
544
  # Cloud Run currently ignores this parameter.
679
545
  # @param [String] kind
680
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.
681
553
  # @param [String] propagation_policy
682
554
  # Specifies the propagation policy of delete. Cloud Run currently ignores
683
555
  # this setting, and deletes in the background. Please see
@@ -700,22 +572,23 @@ module Google
700
572
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
701
573
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
702
574
  # @raise [Google::Apis::AuthorizationError] Authorization is required
703
- def delete_namespace_pubsub(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
704
- 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)
705
577
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
706
578
  command.response_class = Google::Apis::RunV1alpha1::Empty
707
579
  command.params['name'] = name unless name.nil?
708
580
  command.query['apiVersion'] = api_version unless api_version.nil?
709
581
  command.query['kind'] = kind unless kind.nil?
582
+ command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
710
583
  command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
711
584
  command.query['fields'] = fields unless fields.nil?
712
585
  command.query['quotaUser'] = quota_user unless quota_user.nil?
713
586
  execute_or_queue_command(command, &block)
714
587
  end
715
588
 
716
- # Rpc to get information about a pubsub.
589
+ # Rpc to get information about a domain mapping.
717
590
  # @param [String] name
718
- # The name of the pubsub being retrieved. If needed, replace
591
+ # The name of the domain mapping being retrieved. If needed, replace
719
592
  # `namespace_id` with the project ID.
720
593
  # @param [String] fields
721
594
  # Selector specifying which fields to include in a partial response.
@@ -726,28 +599,28 @@ module Google
726
599
  # Request-specific options
727
600
  #
728
601
  # @yield [result, err] Result & error if block supplied
729
- # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
602
+ # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
730
603
  # @yieldparam err [StandardError] error object if request failed
731
604
  #
732
- # @return [Google::Apis::RunV1alpha1::PubSub]
605
+ # @return [Google::Apis::RunV1alpha1::DomainMapping]
733
606
  #
734
607
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
735
608
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
736
609
  # @raise [Google::Apis::AuthorizationError] Authorization is required
737
- def get_namespace_pubsub(name, fields: nil, quota_user: nil, options: nil, &block)
738
- command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
739
- command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
740
- 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
741
614
  command.params['name'] = name unless name.nil?
742
615
  command.query['fields'] = fields unless fields.nil?
743
616
  command.query['quotaUser'] = quota_user unless quota_user.nil?
744
617
  execute_or_queue_command(command, &block)
745
618
  end
746
619
 
747
- # Rpc to list pubsubs.
620
+ # Rpc to list domain mappings.
748
621
  # @param [String] parent
749
- # The project ID or project number from which the pubsubs should
750
- # be listed.
622
+ # The project ID or project number from which the domain mappings should be
623
+ # listed.
751
624
  # @param [String] continue
752
625
  # Optional encoded string to continue paging.
753
626
  # @param [String] field_selector
@@ -776,18 +649,18 @@ module Google
776
649
  # Request-specific options
777
650
  #
778
651
  # @yield [result, err] Result & error if block supplied
779
- # @yieldparam result [Google::Apis::RunV1alpha1::ListPubSubsResponse] parsed result object
652
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object
780
653
  # @yieldparam err [StandardError] error object if request failed
781
654
  #
782
- # @return [Google::Apis::RunV1alpha1::ListPubSubsResponse]
655
+ # @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse]
783
656
  #
784
657
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
785
658
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
786
659
  # @raise [Google::Apis::AuthorizationError] Authorization is required
787
- 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)
788
- command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs', options)
789
- command.response_representation = Google::Apis::RunV1alpha1::ListPubSubsResponse::Representation
790
- 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
791
664
  command.params['parent'] = parent unless parent.nil?
792
665
  command.query['continue'] = continue unless continue.nil?
793
666
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -801,45 +674,6 @@ module Google
801
674
  execute_or_queue_command(command, &block)
802
675
  end
803
676
 
804
- # Rpc to replace a pubsub.
805
- # Only the spec and metadata labels and annotations are modifiable. After
806
- # the Update request, Cloud Run will work to make the 'status'
807
- # match the requested 'spec'.
808
- # May provide metadata.resourceVersion to enforce update from last read for
809
- # optimistic concurrency control.
810
- # @param [String] name
811
- # The name of the pubsub being retrieved. If needed, replace
812
- # `namespace_id` with the project ID.
813
- # @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
814
- # @param [String] fields
815
- # Selector specifying which fields to include in a partial response.
816
- # @param [String] quota_user
817
- # Available to use for quota purposes for server-side applications. Can be any
818
- # arbitrary string assigned to a user, but should not exceed 40 characters.
819
- # @param [Google::Apis::RequestOptions] options
820
- # Request-specific options
821
- #
822
- # @yield [result, err] Result & error if block supplied
823
- # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
824
- # @yieldparam err [StandardError] error object if request failed
825
- #
826
- # @return [Google::Apis::RunV1alpha1::PubSub]
827
- #
828
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
829
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
830
- # @raise [Google::Apis::AuthorizationError] Authorization is required
831
- def replace_namespace_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
832
- command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
833
- command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
834
- command.request_object = pub_sub_object
835
- command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
836
- command.response_class = Google::Apis::RunV1alpha1::PubSub
837
- command.params['name'] = name unless name.nil?
838
- command.query['fields'] = fields unless fields.nil?
839
- command.query['quotaUser'] = quota_user unless quota_user.nil?
840
- execute_or_queue_command(command, &block)
841
- end
842
-
843
677
  # Rpc to delete a revision.
844
678
  # @param [String] name
845
679
  # The name of the revision being deleted. If needed, replace
@@ -1592,7 +1426,7 @@ module Google
1592
1426
  # The project ID or project number from which the triggers should
1593
1427
  # be listed.
1594
1428
  # @param [String] continue
1595
- # Optional encoded string to continue paging.
1429
+ # Optional. Encoded string to continue paging.
1596
1430
  # @param [String] field_selector
1597
1431
  # Allows to filter resources based on a specific value for a field name.
1598
1432
  # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
@@ -1644,45 +1478,6 @@ module Google
1644
1478
  execute_or_queue_command(command, &block)
1645
1479
  end
1646
1480
 
1647
- # Rpc to replace a trigger.
1648
- # Only the spec and metadata labels and annotations are modifiable. After
1649
- # the Update request, Cloud Run will work to make the 'status'
1650
- # match the requested 'spec'.
1651
- # May provide metadata.resourceVersion to enforce update from last read for
1652
- # optimistic concurrency control.
1653
- # @param [String] name
1654
- # The name of the trigger being retrieved. If needed, replace
1655
- # `namespace_id` with the project ID.
1656
- # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
1657
- # @param [String] fields
1658
- # Selector specifying which fields to include in a partial response.
1659
- # @param [String] quota_user
1660
- # Available to use for quota purposes for server-side applications. Can be any
1661
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1662
- # @param [Google::Apis::RequestOptions] options
1663
- # Request-specific options
1664
- #
1665
- # @yield [result, err] Result & error if block supplied
1666
- # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
1667
- # @yieldparam err [StandardError] error object if request failed
1668
- #
1669
- # @return [Google::Apis::RunV1alpha1::Trigger]
1670
- #
1671
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1672
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1673
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1674
- def replace_namespace_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1675
- command = make_simple_command(:put, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
1676
- command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1677
- command.request_object = trigger_object
1678
- command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
1679
- command.response_class = Google::Apis::RunV1alpha1::Trigger
1680
- command.params['name'] = name unless name.nil?
1681
- command.query['fields'] = fields unless fields.nil?
1682
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1683
- execute_or_queue_command(command, &block)
1684
- end
1685
-
1686
1481
  # Lists information about the supported locations for this service.
1687
1482
  # @param [String] name
1688
1483
  # The resource that owns the locations collection, if applicable.
@@ -1714,131 +1509,21 @@ module Google
1714
1509
  command.response_representation = Google::Apis::RunV1alpha1::ListLocationsResponse::Representation
1715
1510
  command.response_class = Google::Apis::RunV1alpha1::ListLocationsResponse
1716
1511
  command.params['name'] = name unless name.nil?
1717
- command.query['filter'] = filter unless filter.nil?
1718
- command.query['pageSize'] = page_size unless page_size.nil?
1719
- command.query['pageToken'] = page_token unless page_token.nil?
1720
- command.query['fields'] = fields unless fields.nil?
1721
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1722
- execute_or_queue_command(command, &block)
1723
- end
1724
-
1725
- # RPC to list authorized domains.
1726
- # @param [String] parent
1727
- # Name of the parent Application resource. Example: `apps/myapp`.
1728
- # @param [Fixnum] page_size
1729
- # Maximum results to return per page.
1730
- # @param [String] page_token
1731
- # Continuation token for fetching the next page of results.
1732
- # @param [String] fields
1733
- # Selector specifying which fields to include in a partial response.
1734
- # @param [String] quota_user
1735
- # Available to use for quota purposes for server-side applications. Can be any
1736
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1737
- # @param [Google::Apis::RequestOptions] options
1738
- # Request-specific options
1739
- #
1740
- # @yield [result, err] Result & error if block supplied
1741
- # @yieldparam result [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] parsed result object
1742
- # @yieldparam err [StandardError] error object if request failed
1743
- #
1744
- # @return [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse]
1745
- #
1746
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1747
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1748
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1749
- def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1750
- command = make_simple_command(:get, 'v1alpha1/{+parent}/authorizeddomains', options)
1751
- command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation
1752
- command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
1753
- command.params['parent'] = parent unless parent.nil?
1754
- command.query['pageSize'] = page_size unless page_size.nil?
1755
- command.query['pageToken'] = page_token unless page_token.nil?
1756
- command.query['fields'] = fields unless fields.nil?
1757
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1758
- execute_or_queue_command(command, &block)
1759
- end
1760
-
1761
- # Creates a new cloudauditlog.
1762
- # @param [String] parent
1763
- # The project ID or project number in which this cloudauditlog should
1764
- # be created.
1765
- # @param [Google::Apis::RunV1alpha1::CloudAuditLog] cloud_audit_log_object
1766
- # @param [String] fields
1767
- # Selector specifying which fields to include in a partial response.
1768
- # @param [String] quota_user
1769
- # Available to use for quota purposes for server-side applications. Can be any
1770
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1771
- # @param [Google::Apis::RequestOptions] options
1772
- # Request-specific options
1773
- #
1774
- # @yield [result, err] Result & error if block supplied
1775
- # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLog] parsed result object
1776
- # @yieldparam err [StandardError] error object if request failed
1777
- #
1778
- # @return [Google::Apis::RunV1alpha1::CloudAuditLog]
1779
- #
1780
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1781
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1782
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1783
- def create_project_location_cloudauditlog(parent, cloud_audit_log_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1784
- command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudauditlogs', options)
1785
- command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
1786
- command.request_object = cloud_audit_log_object
1787
- command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
1788
- command.response_class = Google::Apis::RunV1alpha1::CloudAuditLog
1789
- command.params['parent'] = parent unless parent.nil?
1790
- command.query['fields'] = fields unless fields.nil?
1791
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1792
- execute_or_queue_command(command, &block)
1793
- end
1794
-
1795
- # Rpc to delete a cloudauditlog.
1796
- # @param [String] name
1797
- # The name of the cloudauditlog being deleted. If needed, replace
1798
- # `namespace_id` with the project ID.
1799
- # @param [String] api_version
1800
- # Cloud Run currently ignores this parameter.
1801
- # @param [String] kind
1802
- # Cloud Run currently ignores this parameter.
1803
- # @param [String] propagation_policy
1804
- # Specifies the propagation policy of delete. Cloud Run currently ignores
1805
- # this setting, and deletes in the background. Please see
1806
- # kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
1807
- # more information.
1808
- # @param [String] fields
1809
- # Selector specifying which fields to include in a partial response.
1810
- # @param [String] quota_user
1811
- # Available to use for quota purposes for server-side applications. Can be any
1812
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1813
- # @param [Google::Apis::RequestOptions] options
1814
- # Request-specific options
1815
- #
1816
- # @yield [result, err] Result & error if block supplied
1817
- # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
1818
- # @yieldparam err [StandardError] error object if request failed
1819
- #
1820
- # @return [Google::Apis::RunV1alpha1::Empty]
1821
- #
1822
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1823
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1824
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1825
- def delete_project_location_cloudauditlog(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
1826
- command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
1827
- command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
1828
- command.response_class = Google::Apis::RunV1alpha1::Empty
1829
- command.params['name'] = name unless name.nil?
1830
- command.query['apiVersion'] = api_version unless api_version.nil?
1831
- command.query['kind'] = kind unless kind.nil?
1832
- command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
1512
+ command.query['filter'] = filter unless filter.nil?
1513
+ command.query['pageSize'] = page_size unless page_size.nil?
1514
+ command.query['pageToken'] = page_token unless page_token.nil?
1833
1515
  command.query['fields'] = fields unless fields.nil?
1834
1516
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1835
1517
  execute_or_queue_command(command, &block)
1836
1518
  end
1837
1519
 
1838
- # Rpc to get information about a cloudauditlog.
1839
- # @param [String] name
1840
- # The name of the cloudauditlog being retrieved. If needed, replace
1841
- # `namespace_id` with the project ID.
1520
+ # RPC to list authorized domains.
1521
+ # @param [String] parent
1522
+ # Name of the parent Application resource. Example: `apps/myapp`.
1523
+ # @param [Fixnum] page_size
1524
+ # Maximum results to return per page.
1525
+ # @param [String] page_token
1526
+ # Continuation token for fetching the next page of results.
1842
1527
  # @param [String] fields
1843
1528
  # Selector specifying which fields to include in a partial response.
1844
1529
  # @param [String] quota_user
@@ -1848,47 +1533,31 @@ module Google
1848
1533
  # Request-specific options
1849
1534
  #
1850
1535
  # @yield [result, err] Result & error if block supplied
1851
- # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLog] parsed result object
1536
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] parsed result object
1852
1537
  # @yieldparam err [StandardError] error object if request failed
1853
1538
  #
1854
- # @return [Google::Apis::RunV1alpha1::CloudAuditLog]
1539
+ # @return [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse]
1855
1540
  #
1856
1541
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1857
1542
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1858
1543
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1859
- def get_project_location_cloudauditlog(name, fields: nil, quota_user: nil, options: nil, &block)
1860
- command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1861
- command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
1862
- command.response_class = Google::Apis::RunV1alpha1::CloudAuditLog
1863
- command.params['name'] = name unless name.nil?
1544
+ def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1545
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/authorizeddomains', options)
1546
+ command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation
1547
+ command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
1548
+ command.params['parent'] = parent unless parent.nil?
1549
+ command.query['pageSize'] = page_size unless page_size.nil?
1550
+ command.query['pageToken'] = page_token unless page_token.nil?
1864
1551
  command.query['fields'] = fields unless fields.nil?
1865
1552
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1866
1553
  execute_or_queue_command(command, &block)
1867
1554
  end
1868
1555
 
1869
- # Rpc to list cloudauditlogs.
1556
+ # Creates a new cloudauditlogssource.
1870
1557
  # @param [String] parent
1871
- # The project ID or project number from which the cloudauditlogs should
1872
- # be listed.
1873
- # @param [String] continue
1874
- # Optional encoded string to continue paging.
1875
- # @param [String] field_selector
1876
- # Allows to filter resources based on a specific value for a field name.
1877
- # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
1878
- # Not currently used by Cloud Run.
1879
- # @param [Boolean] include_uninitialized
1880
- # Not currently used by Cloud Run.
1881
- # @param [String] label_selector
1882
- # Allows to filter resources based on a label. Supported operations are
1883
- # =, !=, exists, in, and notIn.
1884
- # @param [Fixnum] limit
1885
- # The maximum number of records that should be returned.
1886
- # @param [String] resource_version
1887
- # The baseline resource version from which the list or watch operation should
1888
- # start. Not currently used by Cloud Run.
1889
- # @param [Boolean] watch
1890
- # Flag that indicates that the client expects to watch this resource as well.
1891
- # Not currently used by Cloud Run.
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
1892
1561
  # @param [String] fields
1893
1562
  # Selector specifying which fields to include in a partial response.
1894
1563
  # @param [String] quota_user
@@ -1898,41 +1567,39 @@ module Google
1898
1567
  # Request-specific options
1899
1568
  #
1900
1569
  # @yield [result, err] Result & error if block supplied
1901
- # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse] parsed result object
1570
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
1902
1571
  # @yieldparam err [StandardError] error object if request failed
1903
1572
  #
1904
- # @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse]
1573
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
1905
1574
  #
1906
1575
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1907
1576
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1908
1577
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1909
- def list_project_location_cloudauditlogs(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)
1910
- command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudauditlogs', options)
1911
- command.response_representation = Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse::Representation
1912
- command.response_class = Google::Apis::RunV1alpha1::ListCloudAuditLogsResponse
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
1913
1584
  command.params['parent'] = parent unless parent.nil?
1914
- command.query['continue'] = continue unless continue.nil?
1915
- command.query['fieldSelector'] = field_selector unless field_selector.nil?
1916
- command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
1917
- command.query['labelSelector'] = label_selector unless label_selector.nil?
1918
- command.query['limit'] = limit unless limit.nil?
1919
- command.query['resourceVersion'] = resource_version unless resource_version.nil?
1920
- command.query['watch'] = watch unless watch.nil?
1921
1585
  command.query['fields'] = fields unless fields.nil?
1922
1586
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1923
1587
  execute_or_queue_command(command, &block)
1924
1588
  end
1925
1589
 
1926
- # Rpc to replace a cloudauditlog.
1927
- # Only the spec and metadata labels and annotations are modifiable. After
1928
- # the Update request, Cloud Run will work to make the 'status'
1929
- # match the requested 'spec'.
1930
- # May provide metadata.resourceVersion to enforce update from last read for
1931
- # optimistic concurrency control.
1590
+ # Rpc to delete a cloudauditlogssource.
1932
1591
  # @param [String] name
1933
- # The name of the cloudauditlog being retrieved. If needed, replace
1592
+ # The name of the cloudauditlogssource being deleted. If needed, replace
1934
1593
  # `namespace_id` with the project ID.
1935
- # @param [Google::Apis::RunV1alpha1::CloudAuditLog] cloud_audit_log_object
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.
1936
1603
  # @param [String] fields
1937
1604
  # Selector specifying which fields to include in a partial response.
1938
1605
  # @param [String] quota_user
@@ -1942,29 +1609,30 @@ module Google
1942
1609
  # Request-specific options
1943
1610
  #
1944
1611
  # @yield [result, err] Result & error if block supplied
1945
- # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLog] parsed result object
1612
+ # @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
1946
1613
  # @yieldparam err [StandardError] error object if request failed
1947
1614
  #
1948
- # @return [Google::Apis::RunV1alpha1::CloudAuditLog]
1615
+ # @return [Google::Apis::RunV1alpha1::Empty]
1949
1616
  #
1950
1617
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1951
1618
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1952
1619
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1953
- def replace_project_location_cloudauditlog_cloud_audit_log(name, cloud_audit_log_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1954
- command = make_simple_command(:put, 'v1alpha1/{+name}', options)
1955
- command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
1956
- command.request_object = cloud_audit_log_object
1957
- command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLog::Representation
1958
- command.response_class = Google::Apis::RunV1alpha1::CloudAuditLog
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
1959
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?
1960
1628
  command.query['fields'] = fields unless fields.nil?
1961
1629
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1962
1630
  execute_or_queue_command(command, &block)
1963
1631
  end
1964
1632
 
1965
- # Rpc to get information about a configuration.
1633
+ # Rpc to get information about a cloudauditlogssource.
1966
1634
  # @param [String] name
1967
- # The name of the configuration being retrieved. If needed, replace
1635
+ # The name of the cloudauditlogssource being retrieved. If needed, replace
1968
1636
  # `namespace_id` with the project ID.
1969
1637
  # @param [String] fields
1970
1638
  # Selector specifying which fields to include in a partial response.
@@ -1975,28 +1643,28 @@ module Google
1975
1643
  # Request-specific options
1976
1644
  #
1977
1645
  # @yield [result, err] Result & error if block supplied
1978
- # @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object
1646
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
1979
1647
  # @yieldparam err [StandardError] error object if request failed
1980
1648
  #
1981
- # @return [Google::Apis::RunV1alpha1::Configuration]
1649
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
1982
1650
  #
1983
1651
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1984
1652
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1985
1653
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1986
- def get_project_location_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
1654
+ def get_project_location_cloudauditlogssource(name, fields: nil, quota_user: nil, options: nil, &block)
1987
1655
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
1988
- command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
1989
- command.response_class = Google::Apis::RunV1alpha1::Configuration
1656
+ command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
1657
+ command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
1990
1658
  command.params['name'] = name unless name.nil?
1991
1659
  command.query['fields'] = fields unless fields.nil?
1992
1660
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1993
1661
  execute_or_queue_command(command, &block)
1994
1662
  end
1995
1663
 
1996
- # Rpc to list configurations.
1664
+ # Rpc to list cloudauditlogssources.
1997
1665
  # @param [String] parent
1998
- # The project ID or project number from which the configurations should be
1999
- # listed.
1666
+ # The project ID or project number from which the cloudauditlogssources
1667
+ # should be listed.
2000
1668
  # @param [String] continue
2001
1669
  # Optional encoded string to continue paging.
2002
1670
  # @param [String] field_selector
@@ -2025,18 +1693,18 @@ module Google
2025
1693
  # Request-specific options
2026
1694
  #
2027
1695
  # @yield [result, err] Result & error if block supplied
2028
- # @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object
1696
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse] parsed result object
2029
1697
  # @yieldparam err [StandardError] error object if request failed
2030
1698
  #
2031
- # @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse]
1699
+ # @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse]
2032
1700
  #
2033
1701
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2034
1702
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2035
1703
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2036
- 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)
2037
- command = make_simple_command(:get, 'v1alpha1/{+parent}/configurations', options)
2038
- command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation
2039
- 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
2040
1708
  command.params['parent'] = parent unless parent.nil?
2041
1709
  command.query['continue'] = continue unless continue.nil?
2042
1710
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -2050,11 +1718,11 @@ module Google
2050
1718
  execute_or_queue_command(command, &block)
2051
1719
  end
2052
1720
 
2053
- # Creates a new domain mapping.
1721
+ # Creates a new cloudpubsubsource.
2054
1722
  # @param [String] parent
2055
- # The project ID or project number in which this domain mapping should be
2056
- # created.
2057
- # @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
2058
1726
  # @param [String] fields
2059
1727
  # Selector specifying which fields to include in a partial response.
2060
1728
  # @param [String] quota_user
@@ -2064,40 +1732,34 @@ module Google
2064
1732
  # Request-specific options
2065
1733
  #
2066
1734
  # @yield [result, err] Result & error if block supplied
2067
- # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
1735
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
2068
1736
  # @yieldparam err [StandardError] error object if request failed
2069
1737
  #
2070
- # @return [Google::Apis::RunV1alpha1::DomainMapping]
1738
+ # @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
2071
1739
  #
2072
1740
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2073
1741
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2074
1742
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2075
- def create_project_location_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2076
- command = make_simple_command(:post, 'v1alpha1/{+parent}/domainmappings', options)
2077
- command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
2078
- command.request_object = domain_mapping_object
2079
- command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
2080
- 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
2081
1749
  command.params['parent'] = parent unless parent.nil?
2082
1750
  command.query['fields'] = fields unless fields.nil?
2083
1751
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2084
1752
  execute_or_queue_command(command, &block)
2085
1753
  end
2086
1754
 
2087
- # Rpc to delete a domain mapping.
1755
+ # Rpc to delete a cloudpubsubsource.
2088
1756
  # @param [String] name
2089
- # The name of the domain mapping being deleted. If needed, replace
1757
+ # The name of the cloudpubsubsource being deleted. If needed, replace
2090
1758
  # `namespace_id` with the project ID.
2091
1759
  # @param [String] api_version
2092
1760
  # Cloud Run currently ignores this parameter.
2093
1761
  # @param [String] kind
2094
1762
  # Cloud Run currently ignores this parameter.
2095
- # @param [Boolean] orphan_dependents
2096
- # Deprecated.
2097
- # Specifies the cascade behavior on delete.
2098
- # Cloud Run only supports cascading behavior, so this must be false.
2099
- # This attribute is deprecated, and is now replaced with PropagationPolicy
2100
- # See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
2101
1763
  # @param [String] propagation_policy
2102
1764
  # Specifies the propagation policy of delete. Cloud Run currently ignores
2103
1765
  # this setting, and deletes in the background. Please see
@@ -2120,23 +1782,22 @@ module Google
2120
1782
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2121
1783
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2122
1784
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2123
- 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)
2124
1786
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
2125
1787
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
2126
1788
  command.response_class = Google::Apis::RunV1alpha1::Empty
2127
1789
  command.params['name'] = name unless name.nil?
2128
1790
  command.query['apiVersion'] = api_version unless api_version.nil?
2129
1791
  command.query['kind'] = kind unless kind.nil?
2130
- command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
2131
1792
  command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
2132
1793
  command.query['fields'] = fields unless fields.nil?
2133
1794
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2134
1795
  execute_or_queue_command(command, &block)
2135
1796
  end
2136
1797
 
2137
- # Rpc to get information about a domain mapping.
1798
+ # Rpc to get information about a cloudpubsubsource.
2138
1799
  # @param [String] name
2139
- # The name of the domain mapping being retrieved. If needed, replace
1800
+ # The name of the cloudpubsubsource being retrieved. If needed, replace
2140
1801
  # `namespace_id` with the project ID.
2141
1802
  # @param [String] fields
2142
1803
  # Selector specifying which fields to include in a partial response.
@@ -2147,28 +1808,28 @@ module Google
2147
1808
  # Request-specific options
2148
1809
  #
2149
1810
  # @yield [result, err] Result & error if block supplied
2150
- # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
1811
+ # @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
2151
1812
  # @yieldparam err [StandardError] error object if request failed
2152
1813
  #
2153
- # @return [Google::Apis::RunV1alpha1::DomainMapping]
1814
+ # @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
2154
1815
  #
2155
1816
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2156
1817
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2157
1818
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2158
- 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)
2159
1820
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
2160
- command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
2161
- command.response_class = Google::Apis::RunV1alpha1::DomainMapping
1821
+ command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
1822
+ command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource
2162
1823
  command.params['name'] = name unless name.nil?
2163
1824
  command.query['fields'] = fields unless fields.nil?
2164
1825
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2165
1826
  execute_or_queue_command(command, &block)
2166
1827
  end
2167
1828
 
2168
- # Rpc to list domain mappings.
1829
+ # Rpc to list cloudpubsubsources.
2169
1830
  # @param [String] parent
2170
- # The project ID or project number from which the domain mappings should be
2171
- # listed.
1831
+ # The project ID or project number from which the cloudpubsubsources should
1832
+ # be listed.
2172
1833
  # @param [String] continue
2173
1834
  # Optional encoded string to continue paging.
2174
1835
  # @param [String] field_selector
@@ -2197,18 +1858,18 @@ module Google
2197
1858
  # Request-specific options
2198
1859
  #
2199
1860
  # @yield [result, err] Result & error if block supplied
2200
- # @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object
1861
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse] parsed result object
2201
1862
  # @yieldparam err [StandardError] error object if request failed
2202
1863
  #
2203
- # @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse]
1864
+ # @return [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse]
2204
1865
  #
2205
1866
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2206
1867
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2207
1868
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2208
- 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)
2209
- command = make_simple_command(:get, 'v1alpha1/{+parent}/domainmappings', options)
2210
- command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation
2211
- 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
2212
1873
  command.params['parent'] = parent unless parent.nil?
2213
1874
  command.query['continue'] = continue unless continue.nil?
2214
1875
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -2222,9 +1883,9 @@ module Google
2222
1883
  execute_or_queue_command(command, &block)
2223
1884
  end
2224
1885
 
2225
- # Rpc to get information about an EventType.
1886
+ # Rpc to get information about a configuration.
2226
1887
  # @param [String] name
2227
- # The name of the trigger being retrieved. If needed, replace
1888
+ # The name of the configuration being retrieved. If needed, replace
2228
1889
  # `namespace_id` with the project ID.
2229
1890
  # @param [String] fields
2230
1891
  # Selector specifying which fields to include in a partial response.
@@ -2235,27 +1896,27 @@ module Google
2235
1896
  # Request-specific options
2236
1897
  #
2237
1898
  # @yield [result, err] Result & error if block supplied
2238
- # @yieldparam result [Google::Apis::RunV1alpha1::EventType] parsed result object
1899
+ # @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object
2239
1900
  # @yieldparam err [StandardError] error object if request failed
2240
1901
  #
2241
- # @return [Google::Apis::RunV1alpha1::EventType]
1902
+ # @return [Google::Apis::RunV1alpha1::Configuration]
2242
1903
  #
2243
1904
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2244
1905
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2245
1906
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2246
- 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)
2247
1908
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
2248
- command.response_representation = Google::Apis::RunV1alpha1::EventType::Representation
2249
- command.response_class = Google::Apis::RunV1alpha1::EventType
1909
+ command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
1910
+ command.response_class = Google::Apis::RunV1alpha1::Configuration
2250
1911
  command.params['name'] = name unless name.nil?
2251
1912
  command.query['fields'] = fields unless fields.nil?
2252
1913
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2253
1914
  execute_or_queue_command(command, &block)
2254
1915
  end
2255
1916
 
2256
- # Rpc to list EventTypes.
1917
+ # Rpc to list configurations.
2257
1918
  # @param [String] parent
2258
- # 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
2259
1920
  # listed.
2260
1921
  # @param [String] continue
2261
1922
  # Optional encoded string to continue paging.
@@ -2285,18 +1946,18 @@ module Google
2285
1946
  # Request-specific options
2286
1947
  #
2287
1948
  # @yield [result, err] Result & error if block supplied
2288
- # @yieldparam result [Google::Apis::RunV1alpha1::ListEventTypesResponse] parsed result object
1949
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object
2289
1950
  # @yieldparam err [StandardError] error object if request failed
2290
1951
  #
2291
- # @return [Google::Apis::RunV1alpha1::ListEventTypesResponse]
1952
+ # @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse]
2292
1953
  #
2293
1954
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2294
1955
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2295
1956
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2296
- 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)
2297
- command = make_simple_command(:get, 'v1alpha1/{+parent}/eventtypes', options)
2298
- command.response_representation = Google::Apis::RunV1alpha1::ListEventTypesResponse::Representation
2299
- 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
2300
1961
  command.params['parent'] = parent unless parent.nil?
2301
1962
  command.query['continue'] = continue unless continue.nil?
2302
1963
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -2310,11 +1971,11 @@ module Google
2310
1971
  execute_or_queue_command(command, &block)
2311
1972
  end
2312
1973
 
2313
- # Creates a new pubsub.
1974
+ # Creates a new domain mapping.
2314
1975
  # @param [String] parent
2315
- # The project ID or project number in which this pubsub should
2316
- # be created.
2317
- # @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
2318
1979
  # @param [String] fields
2319
1980
  # Selector specifying which fields to include in a partial response.
2320
1981
  # @param [String] quota_user
@@ -2324,34 +1985,40 @@ module Google
2324
1985
  # Request-specific options
2325
1986
  #
2326
1987
  # @yield [result, err] Result & error if block supplied
2327
- # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
1988
+ # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
2328
1989
  # @yieldparam err [StandardError] error object if request failed
2329
1990
  #
2330
- # @return [Google::Apis::RunV1alpha1::PubSub]
1991
+ # @return [Google::Apis::RunV1alpha1::DomainMapping]
2331
1992
  #
2332
1993
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2333
1994
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2334
1995
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2335
- def create_project_location_pubsub(parent, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2336
- command = make_simple_command(:post, 'v1alpha1/{+parent}/pubsubs', options)
2337
- command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
2338
- command.request_object = pub_sub_object
2339
- command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
2340
- 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
2341
2002
  command.params['parent'] = parent unless parent.nil?
2342
2003
  command.query['fields'] = fields unless fields.nil?
2343
2004
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2344
2005
  execute_or_queue_command(command, &block)
2345
2006
  end
2346
2007
 
2347
- # Rpc to delete a pubsub.
2008
+ # Rpc to delete a domain mapping.
2348
2009
  # @param [String] name
2349
- # The name of the pubsub being deleted. If needed, replace
2010
+ # The name of the domain mapping being deleted. If needed, replace
2350
2011
  # `namespace_id` with the project ID.
2351
2012
  # @param [String] api_version
2352
2013
  # Cloud Run currently ignores this parameter.
2353
2014
  # @param [String] kind
2354
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.
2355
2022
  # @param [String] propagation_policy
2356
2023
  # Specifies the propagation policy of delete. Cloud Run currently ignores
2357
2024
  # this setting, and deletes in the background. Please see
@@ -2374,22 +2041,23 @@ module Google
2374
2041
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2375
2042
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2376
2043
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2377
- 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)
2378
2045
  command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
2379
2046
  command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
2380
2047
  command.response_class = Google::Apis::RunV1alpha1::Empty
2381
2048
  command.params['name'] = name unless name.nil?
2382
2049
  command.query['apiVersion'] = api_version unless api_version.nil?
2383
2050
  command.query['kind'] = kind unless kind.nil?
2051
+ command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
2384
2052
  command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
2385
2053
  command.query['fields'] = fields unless fields.nil?
2386
2054
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2387
2055
  execute_or_queue_command(command, &block)
2388
2056
  end
2389
2057
 
2390
- # Rpc to get information about a pubsub.
2058
+ # Rpc to get information about a domain mapping.
2391
2059
  # @param [String] name
2392
- # The name of the pubsub being retrieved. If needed, replace
2060
+ # The name of the domain mapping being retrieved. If needed, replace
2393
2061
  # `namespace_id` with the project ID.
2394
2062
  # @param [String] fields
2395
2063
  # Selector specifying which fields to include in a partial response.
@@ -2400,28 +2068,28 @@ module Google
2400
2068
  # Request-specific options
2401
2069
  #
2402
2070
  # @yield [result, err] Result & error if block supplied
2403
- # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
2071
+ # @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
2404
2072
  # @yieldparam err [StandardError] error object if request failed
2405
2073
  #
2406
- # @return [Google::Apis::RunV1alpha1::PubSub]
2074
+ # @return [Google::Apis::RunV1alpha1::DomainMapping]
2407
2075
  #
2408
2076
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2409
2077
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2410
2078
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2411
- 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)
2412
2080
  command = make_simple_command(:get, 'v1alpha1/{+name}', options)
2413
- command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
2414
- command.response_class = Google::Apis::RunV1alpha1::PubSub
2081
+ command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
2082
+ command.response_class = Google::Apis::RunV1alpha1::DomainMapping
2415
2083
  command.params['name'] = name unless name.nil?
2416
2084
  command.query['fields'] = fields unless fields.nil?
2417
2085
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2418
2086
  execute_or_queue_command(command, &block)
2419
2087
  end
2420
2088
 
2421
- # Rpc to list pubsubs.
2089
+ # Rpc to list domain mappings.
2422
2090
  # @param [String] parent
2423
- # The project ID or project number from which the pubsubs should
2424
- # be listed.
2091
+ # The project ID or project number from which the domain mappings should be
2092
+ # listed.
2425
2093
  # @param [String] continue
2426
2094
  # Optional encoded string to continue paging.
2427
2095
  # @param [String] field_selector
@@ -2450,18 +2118,18 @@ module Google
2450
2118
  # Request-specific options
2451
2119
  #
2452
2120
  # @yield [result, err] Result & error if block supplied
2453
- # @yieldparam result [Google::Apis::RunV1alpha1::ListPubSubsResponse] parsed result object
2121
+ # @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object
2454
2122
  # @yieldparam err [StandardError] error object if request failed
2455
2123
  #
2456
- # @return [Google::Apis::RunV1alpha1::ListPubSubsResponse]
2124
+ # @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse]
2457
2125
  #
2458
2126
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2459
2127
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2460
2128
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2461
- 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)
2462
- command = make_simple_command(:get, 'v1alpha1/{+parent}/pubsubs', options)
2463
- command.response_representation = Google::Apis::RunV1alpha1::ListPubSubsResponse::Representation
2464
- 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
2465
2133
  command.params['parent'] = parent unless parent.nil?
2466
2134
  command.query['continue'] = continue unless continue.nil?
2467
2135
  command.query['fieldSelector'] = field_selector unless field_selector.nil?
@@ -2475,45 +2143,6 @@ module Google
2475
2143
  execute_or_queue_command(command, &block)
2476
2144
  end
2477
2145
 
2478
- # Rpc to replace a pubsub.
2479
- # Only the spec and metadata labels and annotations are modifiable. After
2480
- # the Update request, Cloud Run will work to make the 'status'
2481
- # match the requested 'spec'.
2482
- # May provide metadata.resourceVersion to enforce update from last read for
2483
- # optimistic concurrency control.
2484
- # @param [String] name
2485
- # The name of the pubsub being retrieved. If needed, replace
2486
- # `namespace_id` with the project ID.
2487
- # @param [Google::Apis::RunV1alpha1::PubSub] pub_sub_object
2488
- # @param [String] fields
2489
- # Selector specifying which fields to include in a partial response.
2490
- # @param [String] quota_user
2491
- # Available to use for quota purposes for server-side applications. Can be any
2492
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2493
- # @param [Google::Apis::RequestOptions] options
2494
- # Request-specific options
2495
- #
2496
- # @yield [result, err] Result & error if block supplied
2497
- # @yieldparam result [Google::Apis::RunV1alpha1::PubSub] parsed result object
2498
- # @yieldparam err [StandardError] error object if request failed
2499
- #
2500
- # @return [Google::Apis::RunV1alpha1::PubSub]
2501
- #
2502
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2503
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2504
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2505
- def replace_project_location_pubsub_pub_sub(name, pub_sub_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2506
- command = make_simple_command(:put, 'v1alpha1/{+name}', options)
2507
- command.request_representation = Google::Apis::RunV1alpha1::PubSub::Representation
2508
- command.request_object = pub_sub_object
2509
- command.response_representation = Google::Apis::RunV1alpha1::PubSub::Representation
2510
- command.response_class = Google::Apis::RunV1alpha1::PubSub
2511
- command.params['name'] = name unless name.nil?
2512
- command.query['fields'] = fields unless fields.nil?
2513
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2514
- execute_or_queue_command(command, &block)
2515
- end
2516
-
2517
2146
  # Rpc to delete a revision.
2518
2147
  # @param [String] name
2519
2148
  # The name of the revision being deleted. If needed, replace
@@ -3376,7 +3005,7 @@ module Google
3376
3005
  # The project ID or project number from which the triggers should
3377
3006
  # be listed.
3378
3007
  # @param [String] continue
3379
- # Optional encoded string to continue paging.
3008
+ # Optional. Encoded string to continue paging.
3380
3009
  # @param [String] field_selector
3381
3010
  # Allows to filter resources based on a specific value for a field name.
3382
3011
  # Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
@@ -3427,45 +3056,6 @@ module Google
3427
3056
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3428
3057
  execute_or_queue_command(command, &block)
3429
3058
  end
3430
-
3431
- # Rpc to replace a trigger.
3432
- # Only the spec and metadata labels and annotations are modifiable. After
3433
- # the Update request, Cloud Run will work to make the 'status'
3434
- # match the requested 'spec'.
3435
- # May provide metadata.resourceVersion to enforce update from last read for
3436
- # optimistic concurrency control.
3437
- # @param [String] name
3438
- # The name of the trigger being retrieved. If needed, replace
3439
- # `namespace_id` with the project ID.
3440
- # @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
3441
- # @param [String] fields
3442
- # Selector specifying which fields to include in a partial response.
3443
- # @param [String] quota_user
3444
- # Available to use for quota purposes for server-side applications. Can be any
3445
- # arbitrary string assigned to a user, but should not exceed 40 characters.
3446
- # @param [Google::Apis::RequestOptions] options
3447
- # Request-specific options
3448
- #
3449
- # @yield [result, err] Result & error if block supplied
3450
- # @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
3451
- # @yieldparam err [StandardError] error object if request failed
3452
- #
3453
- # @return [Google::Apis::RunV1alpha1::Trigger]
3454
- #
3455
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3456
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3457
- # @raise [Google::Apis::AuthorizationError] Authorization is required
3458
- def replace_project_location_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3459
- command = make_simple_command(:put, 'v1alpha1/{+name}', options)
3460
- command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
3461
- command.request_object = trigger_object
3462
- command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
3463
- command.response_class = Google::Apis::RunV1alpha1::Trigger
3464
- command.params['name'] = name unless name.nil?
3465
- command.query['fields'] = fields unless fields.nil?
3466
- command.query['quotaUser'] = quota_user unless quota_user.nil?
3467
- execute_or_queue_command(command, &block)
3468
- end
3469
3059
 
3470
3060
  protected
3471
3061