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
@@ -2115,6 +2115,11 @@ module Google
2115
2115
  # @return [String]
2116
2116
  attr_accessor :machine_type
2117
2117
 
2118
+ # The maximum number of actions a worker can execute concurrently.
2119
+ # Corresponds to the JSON property `maxConcurrentActions`
2120
+ # @return [Fixnum]
2121
+ attr_accessor :max_concurrent_actions
2122
+
2118
2123
  # Minimum CPU platform to use when creating the worker.
2119
2124
  # See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).
2120
2125
  # Corresponds to the JSON property `minCpuPlatform`
@@ -2150,6 +2155,7 @@ module Google
2150
2155
  @disk_type = args[:disk_type] if args.key?(:disk_type)
2151
2156
  @labels = args[:labels] if args.key?(:labels)
2152
2157
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2158
+ @max_concurrent_actions = args[:max_concurrent_actions] if args.key?(:max_concurrent_actions)
2153
2159
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
2154
2160
  @network_access = args[:network_access] if args.key?(:network_access)
2155
2161
  @reserved = args[:reserved] if args.key?(:reserved)
@@ -806,6 +806,7 @@ module Google
806
806
  property :disk_type, as: 'diskType'
807
807
  hash :labels, as: 'labels'
808
808
  property :machine_type, as: 'machineType'
809
+ property :max_concurrent_actions, :numeric_string => true, as: 'maxConcurrentActions'
809
810
  property :min_cpu_platform, as: 'minCpuPlatform'
810
811
  property :network_access, as: 'networkAccess'
811
812
  property :reserved, as: 'reserved'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV1alpha
27
27
  VERSION = 'V1alpha'
28
- REVISION = '20200102'
28
+ REVISION = '20200211'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2096,6 +2096,11 @@ module Google
2096
2096
  # @return [String]
2097
2097
  attr_accessor :machine_type
2098
2098
 
2099
+ # The maximum number of actions a worker can execute concurrently.
2100
+ # Corresponds to the JSON property `maxConcurrentActions`
2101
+ # @return [Fixnum]
2102
+ attr_accessor :max_concurrent_actions
2103
+
2099
2104
  # Minimum CPU platform to use when creating the worker.
2100
2105
  # See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).
2101
2106
  # Corresponds to the JSON property `minCpuPlatform`
@@ -2131,6 +2136,7 @@ module Google
2131
2136
  @disk_type = args[:disk_type] if args.key?(:disk_type)
2132
2137
  @labels = args[:labels] if args.key?(:labels)
2133
2138
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2139
+ @max_concurrent_actions = args[:max_concurrent_actions] if args.key?(:max_concurrent_actions)
2134
2140
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
2135
2141
  @network_access = args[:network_access] if args.key?(:network_access)
2136
2142
  @reserved = args[:reserved] if args.key?(:reserved)
@@ -775,6 +775,7 @@ module Google
775
775
  property :disk_type, as: 'diskType'
776
776
  hash :labels, as: 'labels'
777
777
  property :machine_type, as: 'machineType'
778
+ property :max_concurrent_actions, :numeric_string => true, as: 'maxConcurrentActions'
778
779
  property :min_cpu_platform, as: 'minCpuPlatform'
779
780
  property :network_access, as: 'networkAccess'
780
781
  property :reserved, as: 'reserved'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/remote-build-execution/docs/
26
26
  module RemotebuildexecutionV2
27
27
  VERSION = 'V2'
28
- REVISION = '20200102'
28
+ REVISION = '20200211'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -2793,6 +2793,11 @@ module Google
2793
2793
  # @return [String]
2794
2794
  attr_accessor :machine_type
2795
2795
 
2796
+ # The maximum number of actions a worker can execute concurrently.
2797
+ # Corresponds to the JSON property `maxConcurrentActions`
2798
+ # @return [Fixnum]
2799
+ attr_accessor :max_concurrent_actions
2800
+
2796
2801
  # Minimum CPU platform to use when creating the worker.
2797
2802
  # See [CPU Platforms](https://cloud.google.com/compute/docs/cpu-platforms).
2798
2803
  # Corresponds to the JSON property `minCpuPlatform`
@@ -2828,6 +2833,7 @@ module Google
2828
2833
  @disk_type = args[:disk_type] if args.key?(:disk_type)
2829
2834
  @labels = args[:labels] if args.key?(:labels)
2830
2835
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2836
+ @max_concurrent_actions = args[:max_concurrent_actions] if args.key?(:max_concurrent_actions)
2831
2837
  @min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
2832
2838
  @network_access = args[:network_access] if args.key?(:network_access)
2833
2839
  @reserved = args[:reserved] if args.key?(:reserved)
@@ -1093,6 +1093,7 @@ module Google
1093
1093
  property :disk_type, as: 'diskType'
1094
1094
  hash :labels, as: 'labels'
1095
1095
  property :machine_type, as: 'machineType'
1096
+ property :max_concurrent_actions, :numeric_string => true, as: 'maxConcurrentActions'
1096
1097
  property :min_cpu_platform, as: 'minCpuPlatform'
1097
1098
  property :network_access, as: 'networkAccess'
1098
1099
  property :reserved, as: 'reserved'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191204'
29
+ REVISION = '20200130'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -189,10 +189,28 @@ module Google
189
189
  class Binding
190
190
  include Google::Apis::Core::Hashable
191
191
 
192
- # Represents an expression text. Example:
193
- # title: "User account presence"
194
- # description: "Determines whether the request has a user account"
195
- # expression: "size(request.user) > 0"
192
+ # Represents a textual expression in the Common Expression Language (CEL)
193
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
194
+ # are documented at https://github.com/google/cel-spec.
195
+ # Example (Comparison):
196
+ # title: "Summary size limit"
197
+ # description: "Determines if a summary is less than 100 chars"
198
+ # expression: "document.summary.size() < 100"
199
+ # Example (Equality):
200
+ # title: "Requestor is owner"
201
+ # description: "Determines if requestor is the document owner"
202
+ # expression: "document.owner == request.auth.claims.email"
203
+ # Example (Logic):
204
+ # title: "Public documents"
205
+ # description: "Determine whether the document should be publicly visible"
206
+ # expression: "document.type != 'private' && document.type != 'internal'"
207
+ # Example (Data Manipulation):
208
+ # title: "Notification string"
209
+ # description: "Create a notification string with a timestamp."
210
+ # expression: "'New message received at ' + string(document.create_time)"
211
+ # The exact variables and functions that may be referenced within an expression
212
+ # are determined by the service that evaluates it. See the service
213
+ # documentation for additional information.
196
214
  # Corresponds to the JSON property `condition`
197
215
  # @return [Google::Apis::RunV1::Expr]
198
216
  attr_accessor :condition
@@ -1037,34 +1055,50 @@ module Google
1037
1055
  end
1038
1056
  end
1039
1057
 
1040
- # Represents an expression text. Example:
1041
- # title: "User account presence"
1042
- # description: "Determines whether the request has a user account"
1043
- # expression: "size(request.user) > 0"
1058
+ # Represents a textual expression in the Common Expression Language (CEL)
1059
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
1060
+ # are documented at https://github.com/google/cel-spec.
1061
+ # Example (Comparison):
1062
+ # title: "Summary size limit"
1063
+ # description: "Determines if a summary is less than 100 chars"
1064
+ # expression: "document.summary.size() < 100"
1065
+ # Example (Equality):
1066
+ # title: "Requestor is owner"
1067
+ # description: "Determines if requestor is the document owner"
1068
+ # expression: "document.owner == request.auth.claims.email"
1069
+ # Example (Logic):
1070
+ # title: "Public documents"
1071
+ # description: "Determine whether the document should be publicly visible"
1072
+ # expression: "document.type != 'private' && document.type != 'internal'"
1073
+ # Example (Data Manipulation):
1074
+ # title: "Notification string"
1075
+ # description: "Create a notification string with a timestamp."
1076
+ # expression: "'New message received at ' + string(document.create_time)"
1077
+ # The exact variables and functions that may be referenced within an expression
1078
+ # are determined by the service that evaluates it. See the service
1079
+ # documentation for additional information.
1044
1080
  class Expr
1045
1081
  include Google::Apis::Core::Hashable
1046
1082
 
1047
- # An optional description of the expression. This is a longer text which
1083
+ # Optional. Description of the expression. This is a longer text which
1048
1084
  # describes the expression, e.g. when hovered over it in a UI.
1049
1085
  # Corresponds to the JSON property `description`
1050
1086
  # @return [String]
1051
1087
  attr_accessor :description
1052
1088
 
1053
- # Textual representation of an expression in
1054
- # Common Expression Language syntax.
1055
- # The application context of the containing message determines which
1056
- # well-known feature set of CEL is supported.
1089
+ # Textual representation of an expression in Common Expression Language
1090
+ # syntax.
1057
1091
  # Corresponds to the JSON property `expression`
1058
1092
  # @return [String]
1059
1093
  attr_accessor :expression
1060
1094
 
1061
- # An optional string indicating the location of the expression for error
1095
+ # Optional. String indicating the location of the expression for error
1062
1096
  # reporting, e.g. a file name and a position in the file.
1063
1097
  # Corresponds to the JSON property `location`
1064
1098
  # @return [String]
1065
1099
  attr_accessor :location
1066
1100
 
1067
- # An optional title for the expression, i.e. a short string describing
1101
+ # Optional. Title for the expression, i.e. a short string describing
1068
1102
  # its purpose. This can be used e.g. in UIs which allow to enter the
1069
1103
  # expression.
1070
1104
  # Corresponds to the JSON property `title`
@@ -778,36 +778,6 @@ module Google
778
778
  execute_or_queue_command(command, &block)
779
779
  end
780
780
 
781
- # Gets information about a location.
782
- # @param [String] name
783
- # Resource name for the location.
784
- # @param [String] fields
785
- # Selector specifying which fields to include in a partial response.
786
- # @param [String] quota_user
787
- # Available to use for quota purposes for server-side applications. Can be any
788
- # arbitrary string assigned to a user, but should not exceed 40 characters.
789
- # @param [Google::Apis::RequestOptions] options
790
- # Request-specific options
791
- #
792
- # @yield [result, err] Result & error if block supplied
793
- # @yieldparam result [Google::Apis::RunV1::Location] parsed result object
794
- # @yieldparam err [StandardError] error object if request failed
795
- #
796
- # @return [Google::Apis::RunV1::Location]
797
- #
798
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
799
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
800
- # @raise [Google::Apis::AuthorizationError] Authorization is required
801
- def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
802
- command = make_simple_command(:get, 'v1/{+name}', options)
803
- command.response_representation = Google::Apis::RunV1::Location::Representation
804
- command.response_class = Google::Apis::RunV1::Location
805
- command.params['name'] = name unless name.nil?
806
- command.query['fields'] = fields unless fields.nil?
807
- command.query['quotaUser'] = quota_user unless quota_user.nil?
808
- execute_or_queue_command(command, &block)
809
- end
810
-
811
781
  # Lists information about the supported locations for this service.
812
782
  # @param [String] name
813
783
  # The resource that owns the locations collection, if applicable.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20191216'
29
+ REVISION = '20200130'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -195,10 +195,28 @@ module Google
195
195
  class Binding
196
196
  include Google::Apis::Core::Hashable
197
197
 
198
- # Represents an expression text. Example:
199
- # title: "User account presence"
200
- # description: "Determines whether the request has a user account"
201
- # expression: "size(request.user) > 0"
198
+ # Represents a textual expression in the Common Expression Language (CEL)
199
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
200
+ # are documented at https://github.com/google/cel-spec.
201
+ # Example (Comparison):
202
+ # title: "Summary size limit"
203
+ # description: "Determines if a summary is less than 100 chars"
204
+ # expression: "document.summary.size() < 100"
205
+ # Example (Equality):
206
+ # title: "Requestor is owner"
207
+ # description: "Determines if requestor is the document owner"
208
+ # expression: "document.owner == request.auth.claims.email"
209
+ # Example (Logic):
210
+ # title: "Public documents"
211
+ # description: "Determine whether the document should be publicly visible"
212
+ # expression: "document.type != 'private' && document.type != 'internal'"
213
+ # Example (Data Manipulation):
214
+ # title: "Notification string"
215
+ # description: "Create a notification string with a timestamp."
216
+ # expression: "'New message received at ' + string(document.create_time)"
217
+ # The exact variables and functions that may be referenced within an expression
218
+ # are determined by the service that evaluates it. See the service
219
+ # documentation for additional information.
202
220
  # Corresponds to the JSON property `condition`
203
221
  # @return [Google::Apis::RunV1alpha1::Expr]
204
222
  attr_accessor :condition
@@ -284,7 +302,7 @@ module Google
284
302
  end
285
303
 
286
304
  #
287
- class CloudAuditLog
305
+ class CloudAuditLogsSource
288
306
  include Google::Apis::Core::Hashable
289
307
 
290
308
  # The API version for this call such as "events.cloud.google.com/v1alpha1".
@@ -292,7 +310,7 @@ module Google
292
310
  # @return [String]
293
311
  attr_accessor :api_version
294
312
 
295
- # The kind of resource, in this case "CloudAuditLog".
313
+ # The kind of resource, in this case "CloudAuditLogsSource".
296
314
  # Corresponds to the JSON property `kind`
297
315
  # @return [String]
298
316
  attr_accessor :kind
@@ -303,14 +321,15 @@ module Google
303
321
  # @return [Google::Apis::RunV1alpha1::ObjectMeta]
304
322
  attr_accessor :metadata
305
323
 
306
- # The desired state of the CloudAuditLog.
324
+ # The desired state of the CloudAuditLogsSource.
307
325
  # Corresponds to the JSON property `spec`
308
- # @return [Google::Apis::RunV1alpha1::CloudAuditLogSpec]
326
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSourceSpec]
309
327
  attr_accessor :spec
310
328
 
311
- # CloudAuditLogStatus represents the current state of a CloudAuditLog.
329
+ # CloudAuditLogsSourceStatus represents the current state of a
330
+ # CloudAuditLogsSource.
312
331
  # Corresponds to the JSON property `status`
313
- # @return [Google::Apis::RunV1alpha1::CloudAuditLogStatus]
332
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSourceStatus]
314
333
  attr_accessor :status
315
334
 
316
335
  def initialize(**args)
@@ -327,8 +346,8 @@ module Google
327
346
  end
328
347
  end
329
348
 
330
- # The desired state of the CloudAuditLog.
331
- class CloudAuditLogSpec
349
+ # The desired state of the CloudAuditLogsSource.
350
+ class CloudAuditLogsSourceSpec
332
351
  include Google::Apis::Core::Hashable
333
352
 
334
353
  # CloudEventOverrides defines arguments for a Source that control the output
@@ -345,19 +364,6 @@ module Google
345
364
  # @return [String]
346
365
  attr_accessor :method_name
347
366
 
348
- # Project is the ID of the Google Cloud Project that the PubSub Topic exists
349
- # in. If omitted, defaults to same as the cluster. +optional
350
- # Corresponds to the JSON property `project`
351
- # @return [String]
352
- attr_accessor :project
353
-
354
- # Cloud Run fully managed: not supported
355
- # Cloud Run on GKE: supported
356
- # SecretKeySelector selects a key of a Secret.
357
- # Corresponds to the JSON property `pubsubSecret`
358
- # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
359
- attr_accessor :pubsub_secret
360
-
361
367
  # Optional. The resource specification. This must match "methodName"
362
368
  # in Cloud Audit Logs. Regex or Wildcards (*) are not supported.
363
369
  # Example: "projects/my-project/jobs/foo".
@@ -365,18 +371,11 @@ module Google
365
371
  # @return [String]
366
372
  attr_accessor :resource_name
367
373
 
368
- # Cloud Run fully managed: not supported
369
- # Cloud Run on GKE: supported
370
- # SecretKeySelector selects a key of a Secret.
371
- # Corresponds to the JSON property `secret`
372
- # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
373
- attr_accessor :secret
374
-
375
- # Email address of the IAM service account associated with the source. The
374
+ # Optional. Email address of the IAM service account associated with the source.
375
+ # The
376
376
  # service account represents the identity of the source, and determines what
377
377
  # permissions the source has. If not provided, the source will use the
378
378
  # project's default service account.
379
- # +optional
380
379
  # Corresponds to the JSON property `serviceAccountName`
381
380
  # @return [String]
382
381
  attr_accessor :service_account_name
@@ -403,27 +402,25 @@ module Google
403
402
  def update!(**args)
404
403
  @ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
405
404
  @method_name = args[:method_name] if args.key?(:method_name)
406
- @project = args[:project] if args.key?(:project)
407
- @pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
408
405
  @resource_name = args[:resource_name] if args.key?(:resource_name)
409
- @secret = args[:secret] if args.key?(:secret)
410
406
  @service_account_name = args[:service_account_name] if args.key?(:service_account_name)
411
407
  @service_name = args[:service_name] if args.key?(:service_name)
412
408
  @sink = args[:sink] if args.key?(:sink)
413
409
  end
414
410
  end
415
411
 
416
- # CloudAuditLogStatus represents the current state of a CloudAuditLog.
417
- class CloudAuditLogStatus
412
+ # CloudAuditLogsSourceStatus represents the current state of a
413
+ # CloudAuditLogsSource.
414
+ class CloudAuditLogsSourceStatus
418
415
  include Google::Apis::Core::Hashable
419
416
 
420
- # Array of observed CloudAuditLogConditions, indicating the current state
421
- # of the CloudAuditLog.
417
+ # Array of observed CloudAuditLogsSourceConditions, indicating the current
418
+ # state of the CloudAuditLogsSource.
422
419
  # Corresponds to the JSON property `conditions`
423
420
  # @return [Array<Google::Apis::RunV1alpha1::Condition>]
424
421
  attr_accessor :conditions
425
422
 
426
- # ObservedGeneration is the 'Generation' of the CloudAuditLog that
423
+ # ObservedGeneration is the 'Generation' of the CloudAuditLogsSource that
427
424
  # was last processed by the controller.
428
425
  # Corresponds to the JSON property `observedGeneration`
429
426
  # @return [Fixnum]
@@ -471,6 +468,173 @@ module Google
471
468
  end
472
469
  end
473
470
 
471
+ #
472
+ class CloudPubSubSource
473
+ include Google::Apis::Core::Hashable
474
+
475
+ # The API version for this call such as "events.cloud.google.com/v1alpha1".
476
+ # Corresponds to the JSON property `apiVersion`
477
+ # @return [String]
478
+ attr_accessor :api_version
479
+
480
+ # The kind of resource, in this case "CloudPubSubSource".
481
+ # Corresponds to the JSON property `kind`
482
+ # @return [String]
483
+ attr_accessor :kind
484
+
485
+ # ObjectMeta is metadata that all persisted resources must have, which includes
486
+ # all objects users must create.
487
+ # Corresponds to the JSON property `metadata`
488
+ # @return [Google::Apis::RunV1alpha1::ObjectMeta]
489
+ attr_accessor :metadata
490
+
491
+ # The desired state of the CloudPubSubSource.
492
+ # Corresponds to the JSON property `spec`
493
+ # @return [Google::Apis::RunV1alpha1::CloudPubSubSourceSpec]
494
+ attr_accessor :spec
495
+
496
+ # CloudPubSubSourceStatus represents the current state of a CloudPubSubSource.
497
+ # Corresponds to the JSON property `status`
498
+ # @return [Google::Apis::RunV1alpha1::CloudPubSubSourceStatus]
499
+ attr_accessor :status
500
+
501
+ def initialize(**args)
502
+ update!(**args)
503
+ end
504
+
505
+ # Update properties of this object
506
+ def update!(**args)
507
+ @api_version = args[:api_version] if args.key?(:api_version)
508
+ @kind = args[:kind] if args.key?(:kind)
509
+ @metadata = args[:metadata] if args.key?(:metadata)
510
+ @spec = args[:spec] if args.key?(:spec)
511
+ @status = args[:status] if args.key?(:status)
512
+ end
513
+ end
514
+
515
+ # The desired state of the CloudPubSubSource.
516
+ class CloudPubSubSourceSpec
517
+ include Google::Apis::Core::Hashable
518
+
519
+ # AckDeadline is the default maximum time after a subscriber receives a
520
+ # message before the subscriber should acknowledge the message. Defaults
521
+ # to 30 seconds ('30s').
522
+ # +optional
523
+ # Corresponds to the JSON property `ackDeadline`
524
+ # @return [String]
525
+ attr_accessor :ack_deadline
526
+
527
+ # CloudEventOverrides defines arguments for a Source that control the output
528
+ # format of the CloudEvents produced by the Source.
529
+ # Corresponds to the JSON property `ceOverrides`
530
+ # @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
531
+ attr_accessor :ce_overrides
532
+
533
+ # Project is the ID of the Google Cloud Project that the CloudPubSubSource
534
+ # Topic exists in. If omitted, defaults to same as the cluster. +optional
535
+ # Corresponds to the JSON property `project`
536
+ # @return [String]
537
+ attr_accessor :project
538
+
539
+ # Cloud Run fully managed: not supported
540
+ # Cloud Run on GKE: supported
541
+ # SecretKeySelector selects a key of a Secret.
542
+ # Corresponds to the JSON property `pubsubSecret`
543
+ # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
544
+ attr_accessor :pubsub_secret
545
+
546
+ # RetainAckedMessages defines whether to retain acknowledged messages. If
547
+ # true, acknowledged messages will not be expunged until they fall out of
548
+ # the RetentionDuration window.
549
+ # Corresponds to the JSON property `retainAckedMessages`
550
+ # @return [Boolean]
551
+ attr_accessor :retain_acked_messages
552
+ alias_method :retain_acked_messages?, :retain_acked_messages
553
+
554
+ # RetentionDuration defines how long to retain messages in backlog, from
555
+ # the time of publish. If RetainAckedMessages is true, this duration
556
+ # affects the retention of acknowledged messages, otherwise only
557
+ # unacknowledged messages are retained. Cannot be longer than 7 days or
558
+ # shorter than 10 minutes. Defaults to 7 days ('7d').
559
+ # +optional
560
+ # Corresponds to the JSON property `retentionDuration`
561
+ # @return [String]
562
+ attr_accessor :retention_duration
563
+
564
+ # Cloud Run fully managed: not supported
565
+ # Cloud Run on GKE: supported
566
+ # SecretKeySelector selects a key of a Secret.
567
+ # Corresponds to the JSON property `secret`
568
+ # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
569
+ attr_accessor :secret
570
+
571
+ # Sink is a reference to an object that will resolve to a domain name or a
572
+ # URI directly to use as the sink.
573
+ # Corresponds to the JSON property `sink`
574
+ # @return [Google::Apis::RunV1alpha1::Destination]
575
+ attr_accessor :sink
576
+
577
+ # Topic is the ID of the CloudPubSubSource Topic to Subscribe to. It must
578
+ # be in the form of the unique identifier within the project, not the
579
+ # entire name. E.g. it must be 'laconia', not
580
+ # 'projects/my-proj/topics/laconia'.
581
+ # Corresponds to the JSON property `topic`
582
+ # @return [String]
583
+ attr_accessor :topic
584
+
585
+ def initialize(**args)
586
+ update!(**args)
587
+ end
588
+
589
+ # Update properties of this object
590
+ def update!(**args)
591
+ @ack_deadline = args[:ack_deadline] if args.key?(:ack_deadline)
592
+ @ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
593
+ @project = args[:project] if args.key?(:project)
594
+ @pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
595
+ @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
596
+ @retention_duration = args[:retention_duration] if args.key?(:retention_duration)
597
+ @secret = args[:secret] if args.key?(:secret)
598
+ @sink = args[:sink] if args.key?(:sink)
599
+ @topic = args[:topic] if args.key?(:topic)
600
+ end
601
+ end
602
+
603
+ # CloudPubSubSourceStatus represents the current state of a CloudPubSubSource.
604
+ class CloudPubSubSourceStatus
605
+ include Google::Apis::Core::Hashable
606
+
607
+ # Array of observed CloudPubSubSourceConditions, indicating the current state
608
+ # of the CloudPubSubSource.
609
+ # Corresponds to the JSON property `conditions`
610
+ # @return [Array<Google::Apis::RunV1alpha1::Condition>]
611
+ attr_accessor :conditions
612
+
613
+ # ObservedGeneration is the 'Generation' of the CloudPubSubSource that
614
+ # was last processed by the controller.
615
+ # Corresponds to the JSON property `observedGeneration`
616
+ # @return [Fixnum]
617
+ attr_accessor :observed_generation
618
+
619
+ # SinkURI is the current active sink URI that has been configured for the
620
+ # Source.
621
+ # +optional
622
+ # Corresponds to the JSON property `sinkUri`
623
+ # @return [String]
624
+ attr_accessor :sink_uri
625
+
626
+ def initialize(**args)
627
+ update!(**args)
628
+ end
629
+
630
+ # Update properties of this object
631
+ def update!(**args)
632
+ @conditions = args[:conditions] if args.key?(:conditions)
633
+ @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
634
+ @sink_uri = args[:sink_uri] if args.key?(:sink_uri)
635
+ end
636
+ end
637
+
474
638
  # Condition defines a generic condition for a Resource
475
639
  class Condition
476
640
  include Google::Apis::Core::Hashable
@@ -1480,154 +1644,6 @@ module Google
1480
1644
  end
1481
1645
  end
1482
1646
 
1483
- #
1484
- class EventType
1485
- include Google::Apis::Core::Hashable
1486
-
1487
- # The API version for this call such as "eventing.knative.dev/v1alpha1".
1488
- # Corresponds to the JSON property `apiVersion`
1489
- # @return [String]
1490
- attr_accessor :api_version
1491
-
1492
- # The kind of resource, in this case "EventType".
1493
- # Corresponds to the JSON property `kind`
1494
- # @return [String]
1495
- attr_accessor :kind
1496
-
1497
- # ObjectMeta is metadata that all persisted resources must have, which includes
1498
- # all objects users must create.
1499
- # Corresponds to the JSON property `metadata`
1500
- # @return [Google::Apis::RunV1alpha1::ObjectMeta]
1501
- attr_accessor :metadata
1502
-
1503
- # Spec defines the desired state of the EventType.
1504
- # Corresponds to the JSON property `spec`
1505
- # @return [Google::Apis::RunV1alpha1::EventTypeSpec]
1506
- attr_accessor :spec
1507
-
1508
- def initialize(**args)
1509
- update!(**args)
1510
- end
1511
-
1512
- # Update properties of this object
1513
- def update!(**args)
1514
- @api_version = args[:api_version] if args.key?(:api_version)
1515
- @kind = args[:kind] if args.key?(:kind)
1516
- @metadata = args[:metadata] if args.key?(:metadata)
1517
- @spec = args[:spec] if args.key?(:spec)
1518
- end
1519
- end
1520
-
1521
- #
1522
- class EventTypeImporter
1523
- include Google::Apis::Core::Hashable
1524
-
1525
- # The API version of the importer CRD.
1526
- # Corresponds to the JSON property `apiVersion`
1527
- # @return [String]
1528
- attr_accessor :api_version
1529
-
1530
- # The kind of the importer CRD.
1531
- # Corresponds to the JSON property `kind`
1532
- # @return [String]
1533
- attr_accessor :kind
1534
-
1535
- # Parameters required to create an importer for the EventType.
1536
- # Corresponds to the JSON property `parameters`
1537
- # @return [Array<Google::Apis::RunV1alpha1::EventTypeParameter>]
1538
- attr_accessor :parameters
1539
-
1540
- def initialize(**args)
1541
- update!(**args)
1542
- end
1543
-
1544
- # Update properties of this object
1545
- def update!(**args)
1546
- @api_version = args[:api_version] if args.key?(:api_version)
1547
- @kind = args[:kind] if args.key?(:kind)
1548
- @parameters = args[:parameters] if args.key?(:parameters)
1549
- end
1550
- end
1551
-
1552
- #
1553
- class EventTypeParameter
1554
- include Google::Apis::Core::Hashable
1555
-
1556
- # Description of the parameter. E.g. "Google Cloud Project Id."
1557
- # Corresponds to the JSON property `description`
1558
- # @return [String]
1559
- attr_accessor :description
1560
-
1561
- # Name of the parameter. E.g. googleCloudProject.
1562
- # Corresponds to the JSON property `name`
1563
- # @return [String]
1564
- attr_accessor :name
1565
-
1566
- def initialize(**args)
1567
- update!(**args)
1568
- end
1569
-
1570
- # Update properties of this object
1571
- def update!(**args)
1572
- @description = args[:description] if args.key?(:description)
1573
- @name = args[:name] if args.key?(:name)
1574
- end
1575
- end
1576
-
1577
- #
1578
- class EventTypeSpec
1579
- include Google::Apis::Core::Hashable
1580
-
1581
- # Refers to the Broker that can provide the EventType.
1582
- # Corresponds to the JSON property `broker`
1583
- # @return [String]
1584
- attr_accessor :broker
1585
-
1586
- # Description is a string describing what the EventType is about.
1587
- # +optional
1588
- # Corresponds to the JSON property `description`
1589
- # @return [String]
1590
- attr_accessor :description
1591
-
1592
- # The importer that provides this EventType to the eventing mesh.
1593
- # Corresponds to the JSON property `importer`
1594
- # @return [Google::Apis::RunV1alpha1::EventTypeImporter]
1595
- attr_accessor :importer
1596
-
1597
- # Schema is a URI with the EventType schema. It may be a JSON schema, a
1598
- # protobuf schema, etc.
1599
- # +optional
1600
- # Corresponds to the JSON property `schema`
1601
- # @return [String]
1602
- attr_accessor :schema
1603
-
1604
- # Source is a valid URI. Refers to the CloudEvent source as it enters into
1605
- # the eventing mesh.
1606
- # Corresponds to the JSON property `source`
1607
- # @return [String]
1608
- attr_accessor :source
1609
-
1610
- # Type is authoritative. This refers to the CloudEvent type as it enters
1611
- # into the eventing mesh.
1612
- # Corresponds to the JSON property `type`
1613
- # @return [String]
1614
- attr_accessor :type
1615
-
1616
- def initialize(**args)
1617
- update!(**args)
1618
- end
1619
-
1620
- # Update properties of this object
1621
- def update!(**args)
1622
- @broker = args[:broker] if args.key?(:broker)
1623
- @description = args[:description] if args.key?(:description)
1624
- @importer = args[:importer] if args.key?(:importer)
1625
- @schema = args[:schema] if args.key?(:schema)
1626
- @source = args[:source] if args.key?(:source)
1627
- @type = args[:type] if args.key?(:type)
1628
- end
1629
- end
1630
-
1631
1647
  # ExecAction describes a "run in container" action.
1632
1648
  class ExecAction
1633
1649
  include Google::Apis::Core::Hashable
@@ -1652,34 +1668,50 @@ module Google
1652
1668
  end
1653
1669
  end
1654
1670
 
1655
- # Represents an expression text. Example:
1656
- # title: "User account presence"
1657
- # description: "Determines whether the request has a user account"
1658
- # expression: "size(request.user) > 0"
1671
+ # Represents a textual expression in the Common Expression Language (CEL)
1672
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
1673
+ # are documented at https://github.com/google/cel-spec.
1674
+ # Example (Comparison):
1675
+ # title: "Summary size limit"
1676
+ # description: "Determines if a summary is less than 100 chars"
1677
+ # expression: "document.summary.size() < 100"
1678
+ # Example (Equality):
1679
+ # title: "Requestor is owner"
1680
+ # description: "Determines if requestor is the document owner"
1681
+ # expression: "document.owner == request.auth.claims.email"
1682
+ # Example (Logic):
1683
+ # title: "Public documents"
1684
+ # description: "Determine whether the document should be publicly visible"
1685
+ # expression: "document.type != 'private' && document.type != 'internal'"
1686
+ # Example (Data Manipulation):
1687
+ # title: "Notification string"
1688
+ # description: "Create a notification string with a timestamp."
1689
+ # expression: "'New message received at ' + string(document.create_time)"
1690
+ # The exact variables and functions that may be referenced within an expression
1691
+ # are determined by the service that evaluates it. See the service
1692
+ # documentation for additional information.
1659
1693
  class Expr
1660
1694
  include Google::Apis::Core::Hashable
1661
1695
 
1662
- # An optional description of the expression. This is a longer text which
1696
+ # Optional. Description of the expression. This is a longer text which
1663
1697
  # describes the expression, e.g. when hovered over it in a UI.
1664
1698
  # Corresponds to the JSON property `description`
1665
1699
  # @return [String]
1666
1700
  attr_accessor :description
1667
1701
 
1668
- # Textual representation of an expression in
1669
- # Common Expression Language syntax.
1670
- # The application context of the containing message determines which
1671
- # well-known feature set of CEL is supported.
1702
+ # Textual representation of an expression in Common Expression Language
1703
+ # syntax.
1672
1704
  # Corresponds to the JSON property `expression`
1673
1705
  # @return [String]
1674
1706
  attr_accessor :expression
1675
1707
 
1676
- # An optional string indicating the location of the expression for error
1708
+ # Optional. String indicating the location of the expression for error
1677
1709
  # reporting, e.g. a file name and a position in the file.
1678
1710
  # Corresponds to the JSON property `location`
1679
1711
  # @return [String]
1680
1712
  attr_accessor :location
1681
1713
 
1682
- # An optional title for the expression, i.e. a short string describing
1714
+ # Optional. Title for the expression, i.e. a short string describing
1683
1715
  # its purpose. This can be used e.g. in UIs which allow to enter the
1684
1716
  # expression.
1685
1717
  # Corresponds to the JSON property `title`
@@ -1975,8 +2007,9 @@ module Google
1975
2007
  end
1976
2008
  end
1977
2009
 
1978
- # ListCloudAuditLogsResponse is a list of CloudAuditLog resources.
1979
- class ListCloudAuditLogsResponse
2010
+ # ListCloudAuditLogsSourcesResponse is a list of CloudAuditLogsSource
2011
+ # resources.
2012
+ class ListCloudAuditLogsSourcesResponse
1980
2013
  include Google::Apis::Core::Hashable
1981
2014
 
1982
2015
  # The API version for this call such as "events.cloud.google.com/v1alpha1".
@@ -1984,12 +2017,12 @@ module Google
1984
2017
  # @return [String]
1985
2018
  attr_accessor :api_version
1986
2019
 
1987
- # List of CloudAuditLogs.
2020
+ # List of CloudAuditLogsSources.
1988
2021
  # Corresponds to the JSON property `items`
1989
- # @return [Array<Google::Apis::RunV1alpha1::CloudAuditLog>]
2022
+ # @return [Array<Google::Apis::RunV1alpha1::CloudAuditLogsSource>]
1990
2023
  attr_accessor :items
1991
2024
 
1992
- # The kind of this resource, in this case "CloudAuditLogList".
2025
+ # The kind of this resource, in this case "CloudAuditLogsSourceList".
1993
2026
  # Corresponds to the JSON property `kind`
1994
2027
  # @return [String]
1995
2028
  attr_accessor :kind
@@ -2020,21 +2053,21 @@ module Google
2020
2053
  end
2021
2054
  end
2022
2055
 
2023
- # ListConfigurationsResponse is a list of Configuration resources.
2024
- class ListConfigurationsResponse
2056
+ # ListCloudPubSubSourcesResponse is a list of CloudPubSubSource resources.
2057
+ class ListCloudPubSubSourcesResponse
2025
2058
  include Google::Apis::Core::Hashable
2026
2059
 
2027
- # The API version for this call such as "serving.knative.dev/v1alpha1".
2060
+ # The API version for this call such as "events.cloud.google.com/v1alpha1".
2028
2061
  # Corresponds to the JSON property `apiVersion`
2029
2062
  # @return [String]
2030
2063
  attr_accessor :api_version
2031
2064
 
2032
- # List of Configurations.
2065
+ # List of CloudPubSubSources.
2033
2066
  # Corresponds to the JSON property `items`
2034
- # @return [Array<Google::Apis::RunV1alpha1::Configuration>]
2067
+ # @return [Array<Google::Apis::RunV1alpha1::CloudPubSubSource>]
2035
2068
  attr_accessor :items
2036
2069
 
2037
- # The kind of this resource, in this case "ConfigurationList".
2070
+ # The kind of this resource, in this case "CloudPubSubSourceList".
2038
2071
  # Corresponds to the JSON property `kind`
2039
2072
  # @return [String]
2040
2073
  attr_accessor :kind
@@ -2065,21 +2098,21 @@ module Google
2065
2098
  end
2066
2099
  end
2067
2100
 
2068
- # ListDomainMappingsResponse is a list of DomainMapping resources.
2069
- class ListDomainMappingsResponse
2101
+ # ListConfigurationsResponse is a list of Configuration resources.
2102
+ class ListConfigurationsResponse
2070
2103
  include Google::Apis::Core::Hashable
2071
2104
 
2072
- # The API version for this call such as "domains.cloudrun.com/v1alpha1".
2105
+ # The API version for this call such as "serving.knative.dev/v1alpha1".
2073
2106
  # Corresponds to the JSON property `apiVersion`
2074
2107
  # @return [String]
2075
2108
  attr_accessor :api_version
2076
2109
 
2077
- # List of DomainMappings.
2110
+ # List of Configurations.
2078
2111
  # Corresponds to the JSON property `items`
2079
- # @return [Array<Google::Apis::RunV1alpha1::DomainMapping>]
2112
+ # @return [Array<Google::Apis::RunV1alpha1::Configuration>]
2080
2113
  attr_accessor :items
2081
2114
 
2082
- # The kind of this resource, in this case "DomainMappingList".
2115
+ # The kind of this resource, in this case "ConfigurationList".
2083
2116
  # Corresponds to the JSON property `kind`
2084
2117
  # @return [String]
2085
2118
  attr_accessor :kind
@@ -2110,21 +2143,21 @@ module Google
2110
2143
  end
2111
2144
  end
2112
2145
 
2113
- # ListEventTypesResponse is a list of EventType resources.
2114
- class ListEventTypesResponse
2146
+ # ListDomainMappingsResponse is a list of DomainMapping resources.
2147
+ class ListDomainMappingsResponse
2115
2148
  include Google::Apis::Core::Hashable
2116
2149
 
2117
- # The API version for this call such as "eventing.knative.dev/v1alpha1".
2150
+ # The API version for this call such as "domains.cloudrun.com/v1alpha1".
2118
2151
  # Corresponds to the JSON property `apiVersion`
2119
2152
  # @return [String]
2120
2153
  attr_accessor :api_version
2121
2154
 
2122
- # List of EventTypes.
2155
+ # List of DomainMappings.
2123
2156
  # Corresponds to the JSON property `items`
2124
- # @return [Array<Google::Apis::RunV1alpha1::EventType>]
2157
+ # @return [Array<Google::Apis::RunV1alpha1::DomainMapping>]
2125
2158
  attr_accessor :items
2126
2159
 
2127
- # The kind of this resource, in this case "EventTypeList".
2160
+ # The kind of this resource, in this case "DomainMappingList".
2128
2161
  # Corresponds to the JSON property `kind`
2129
2162
  # @return [String]
2130
2163
  attr_accessor :kind
@@ -2213,54 +2246,11 @@ module Google
2213
2246
 
2214
2247
  # SelfLink is a URL representing this object.
2215
2248
  # Populated by the system.
2216
- # Read-only.
2217
- # +optional
2218
- # Corresponds to the JSON property `selfLink`
2219
- # @return [String]
2220
- attr_accessor :self_link
2221
-
2222
- def initialize(**args)
2223
- update!(**args)
2224
- end
2225
-
2226
- # Update properties of this object
2227
- def update!(**args)
2228
- @continue = args[:continue] if args.key?(:continue)
2229
- @resource_version = args[:resource_version] if args.key?(:resource_version)
2230
- @self_link = args[:self_link] if args.key?(:self_link)
2231
- end
2232
- end
2233
-
2234
- # ListPubSubsResponse is a list of PubSub resources.
2235
- class ListPubSubsResponse
2236
- include Google::Apis::Core::Hashable
2237
-
2238
- # The API version for this call such as "events.cloud.google.com/v1alpha1".
2239
- # Corresponds to the JSON property `apiVersion`
2240
- # @return [String]
2241
- attr_accessor :api_version
2242
-
2243
- # List of PubSubs.
2244
- # Corresponds to the JSON property `items`
2245
- # @return [Array<Google::Apis::RunV1alpha1::PubSub>]
2246
- attr_accessor :items
2247
-
2248
- # The kind of this resource, in this case "PubSubList".
2249
- # Corresponds to the JSON property `kind`
2250
- # @return [String]
2251
- attr_accessor :kind
2252
-
2253
- # ListMeta describes metadata that synthetic resources must have, including
2254
- # lists and various status objects. A resource may have only one of
2255
- # `ObjectMeta, ListMeta`.
2256
- # Corresponds to the JSON property `metadata`
2257
- # @return [Google::Apis::RunV1alpha1::ListMeta]
2258
- attr_accessor :metadata
2259
-
2260
- # Locations that could not be reached.
2261
- # Corresponds to the JSON property `unreachable`
2262
- # @return [Array<String>]
2263
- attr_accessor :unreachable
2249
+ # Read-only.
2250
+ # +optional
2251
+ # Corresponds to the JSON property `selfLink`
2252
+ # @return [String]
2253
+ attr_accessor :self_link
2264
2254
 
2265
2255
  def initialize(**args)
2266
2256
  update!(**args)
@@ -2268,11 +2258,9 @@ module Google
2268
2258
 
2269
2259
  # Update properties of this object
2270
2260
  def update!(**args)
2271
- @api_version = args[:api_version] if args.key?(:api_version)
2272
- @items = args[:items] if args.key?(:items)
2273
- @kind = args[:kind] if args.key?(:kind)
2274
- @metadata = args[:metadata] if args.key?(:metadata)
2275
- @unreachable = args[:unreachable] if args.key?(:unreachable)
2261
+ @continue = args[:continue] if args.key?(:continue)
2262
+ @resource_version = args[:resource_version] if args.key?(:resource_version)
2263
+ @self_link = args[:self_link] if args.key?(:self_link)
2276
2264
  end
2277
2265
  end
2278
2266
 
@@ -3110,183 +3098,6 @@ module Google
3110
3098
  end
3111
3099
  end
3112
3100
 
3113
- #
3114
- class PubSub
3115
- include Google::Apis::Core::Hashable
3116
-
3117
- # The API version for this call such as "events.cloud.google.com/v1alpha1".
3118
- # Corresponds to the JSON property `apiVersion`
3119
- # @return [String]
3120
- attr_accessor :api_version
3121
-
3122
- # The kind of resource, in this case "PubSub".
3123
- # Corresponds to the JSON property `kind`
3124
- # @return [String]
3125
- attr_accessor :kind
3126
-
3127
- # ObjectMeta is metadata that all persisted resources must have, which includes
3128
- # all objects users must create.
3129
- # Corresponds to the JSON property `metadata`
3130
- # @return [Google::Apis::RunV1alpha1::ObjectMeta]
3131
- attr_accessor :metadata
3132
-
3133
- # The desired state of the PubSub.
3134
- # Corresponds to the JSON property `spec`
3135
- # @return [Google::Apis::RunV1alpha1::PubSubSpec]
3136
- attr_accessor :spec
3137
-
3138
- # PubSubStatus represents the current state of a PubSub.
3139
- # Corresponds to the JSON property `status`
3140
- # @return [Google::Apis::RunV1alpha1::PubSubStatus]
3141
- attr_accessor :status
3142
-
3143
- def initialize(**args)
3144
- update!(**args)
3145
- end
3146
-
3147
- # Update properties of this object
3148
- def update!(**args)
3149
- @api_version = args[:api_version] if args.key?(:api_version)
3150
- @kind = args[:kind] if args.key?(:kind)
3151
- @metadata = args[:metadata] if args.key?(:metadata)
3152
- @spec = args[:spec] if args.key?(:spec)
3153
- @status = args[:status] if args.key?(:status)
3154
- end
3155
- end
3156
-
3157
- # The desired state of the PubSub.
3158
- class PubSubSpec
3159
- include Google::Apis::Core::Hashable
3160
-
3161
- # AckDeadline is the default maximum time after a subscriber receives a
3162
- # message before the subscriber should acknowledge the message. Defaults
3163
- # to 30 seconds ('30s').
3164
- # +optional
3165
- # Corresponds to the JSON property `ackDeadline`
3166
- # @return [String]
3167
- attr_accessor :ack_deadline
3168
-
3169
- # CloudEventOverrides defines arguments for a Source that control the output
3170
- # format of the CloudEvents produced by the Source.
3171
- # Corresponds to the JSON property `ceOverrides`
3172
- # @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
3173
- attr_accessor :ce_overrides
3174
-
3175
- # Project is the ID of the Google Cloud Project that the PubSub Topic exists
3176
- # in. If omitted, defaults to same as the cluster. +optional
3177
- # Corresponds to the JSON property `project`
3178
- # @return [String]
3179
- attr_accessor :project
3180
-
3181
- # Cloud Run fully managed: not supported
3182
- # Cloud Run on GKE: supported
3183
- # SecretKeySelector selects a key of a Secret.
3184
- # Corresponds to the JSON property `pubsubSecret`
3185
- # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
3186
- attr_accessor :pubsub_secret
3187
-
3188
- # RetainAckedMessages defines whether to retain acknowledged messages. If
3189
- # true, acknowledged messages will not be expunged until they fall out of
3190
- # the RetentionDuration window.
3191
- # Corresponds to the JSON property `retainAckedMessages`
3192
- # @return [Boolean]
3193
- attr_accessor :retain_acked_messages
3194
- alias_method :retain_acked_messages?, :retain_acked_messages
3195
-
3196
- # RetentionDuration defines how long to retain messages in backlog, from
3197
- # the time of publish. If RetainAckedMessages is true, this duration
3198
- # affects the retention of acknowledged messages, otherwise only
3199
- # unacknowledged messages are retained. Cannot be longer than 7 days or
3200
- # shorter than 10 minutes. Defaults to 7 days ('7d').
3201
- # +optional
3202
- # Corresponds to the JSON property `retentionDuration`
3203
- # @return [String]
3204
- attr_accessor :retention_duration
3205
-
3206
- # Cloud Run fully managed: not supported
3207
- # Cloud Run on GKE: supported
3208
- # SecretKeySelector selects a key of a Secret.
3209
- # Corresponds to the JSON property `secret`
3210
- # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
3211
- attr_accessor :secret
3212
-
3213
- # Email address of the IAM service account associated with the source. The
3214
- # service account represents the identity of the source, and determines what
3215
- # permissions the source has. If not provided, the source will use the
3216
- # project's Compute Engine default service account.
3217
- # +optional
3218
- # Corresponds to the JSON property `serviceAccountName`
3219
- # @return [String]
3220
- attr_accessor :service_account_name
3221
-
3222
- # Sink is a reference to an object that will resolve to a domain name or a
3223
- # URI directly to use as the sink.
3224
- # Corresponds to the JSON property `sink`
3225
- # @return [Google::Apis::RunV1alpha1::Destination]
3226
- attr_accessor :sink
3227
-
3228
- # Topic is the ID of the PubSub Topic to Subscribe to. It must
3229
- # be in the form of the unique identifier within the project, not the
3230
- # entire name. E.g. it must be 'laconia', not
3231
- # 'projects/my-proj/topics/laconia'.
3232
- # Corresponds to the JSON property `topic`
3233
- # @return [String]
3234
- attr_accessor :topic
3235
-
3236
- def initialize(**args)
3237
- update!(**args)
3238
- end
3239
-
3240
- # Update properties of this object
3241
- def update!(**args)
3242
- @ack_deadline = args[:ack_deadline] if args.key?(:ack_deadline)
3243
- @ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
3244
- @project = args[:project] if args.key?(:project)
3245
- @pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
3246
- @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
3247
- @retention_duration = args[:retention_duration] if args.key?(:retention_duration)
3248
- @secret = args[:secret] if args.key?(:secret)
3249
- @service_account_name = args[:service_account_name] if args.key?(:service_account_name)
3250
- @sink = args[:sink] if args.key?(:sink)
3251
- @topic = args[:topic] if args.key?(:topic)
3252
- end
3253
- end
3254
-
3255
- # PubSubStatus represents the current state of a PubSub.
3256
- class PubSubStatus
3257
- include Google::Apis::Core::Hashable
3258
-
3259
- # Array of observed PubSubConditions, indicating the current state
3260
- # of the PubSub.
3261
- # Corresponds to the JSON property `conditions`
3262
- # @return [Array<Google::Apis::RunV1alpha1::Condition>]
3263
- attr_accessor :conditions
3264
-
3265
- # ObservedGeneration is the 'Generation' of the PubSub that
3266
- # was last processed by the controller.
3267
- # Corresponds to the JSON property `observedGeneration`
3268
- # @return [Fixnum]
3269
- attr_accessor :observed_generation
3270
-
3271
- # SinkURI is the current active sink URI that has been configured for the
3272
- # Source.
3273
- # +optional
3274
- # Corresponds to the JSON property `sinkUri`
3275
- # @return [String]
3276
- attr_accessor :sink_uri
3277
-
3278
- def initialize(**args)
3279
- update!(**args)
3280
- end
3281
-
3282
- # Update properties of this object
3283
- def update!(**args)
3284
- @conditions = args[:conditions] if args.key?(:conditions)
3285
- @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
3286
- @sink_uri = args[:sink_uri] if args.key?(:sink_uri)
3287
- end
3288
- end
3289
-
3290
3101
  # The view model of a single quantity, e.g. "800 MiB". Corresponds to
3291
3102
  # https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/
3292
3103
  # apimachinery/pkg/api/resource/generated.proto
@@ -4787,34 +4598,6 @@ module Google
4787
4598
  end
4788
4599
  end
4789
4600
 
4790
- #
4791
- class SubscriberSpec
4792
- include Google::Apis::Core::Hashable
4793
-
4794
- # ObjectReference contains enough information to let you inspect or modify the
4795
- # referred object.
4796
- # Corresponds to the JSON property `ref`
4797
- # @return [Google::Apis::RunV1alpha1::ObjectReference]
4798
- attr_accessor :ref
4799
-
4800
- # Reference to a 'known' endpoint where no resolving is done.
4801
- # http://k8s-service for example
4802
- # http://myexternalhandler.example.com/foo/bar
4803
- # Corresponds to the JSON property `uri`
4804
- # @return [String]
4805
- attr_accessor :uri
4806
-
4807
- def initialize(**args)
4808
- update!(**args)
4809
- end
4810
-
4811
- # Update properties of this object
4812
- def update!(**args)
4813
- @ref = args[:ref] if args.key?(:ref)
4814
- @uri = args[:uri] if args.key?(:uri)
4815
- end
4816
- end
4817
-
4818
4601
  # TCPSocketAction describes an action based on opening a socket
4819
4602
  class TcpSocketAction
4820
4603
  include Google::Apis::Core::Hashable
@@ -5015,26 +4798,23 @@ module Google
5015
4798
  class TriggerCondition
5016
4799
  include Google::Apis::Core::Hashable
5017
4800
 
5018
- # Last time the condition transitioned from one status to another.
5019
- # +optional
4801
+ # Optional. Last time the condition transitioned from one status to another.
5020
4802
  # Corresponds to the JSON property `lastTransitionTime`
5021
4803
  # @return [String]
5022
4804
  attr_accessor :last_transition_time
5023
4805
 
5024
- # Human readable message indicating details about the current status.
5025
- # +optional
4806
+ # Optional. Human readable message indicating details about the current status.
5026
4807
  # Corresponds to the JSON property `message`
5027
4808
  # @return [String]
5028
4809
  attr_accessor :message
5029
4810
 
5030
- # One-word CamelCase reason for the condition's current status.
5031
- # +optional
4811
+ # Optional. One-word CamelCase reason for the condition's current status.
5032
4812
  # Corresponds to the JSON property `reason`
5033
4813
  # @return [String]
5034
4814
  attr_accessor :reason
5035
4815
 
5036
- # How to interpret failures of this condition, one of Error, Warning, Info
5037
- # +optional
4816
+ # Optional. How to interpret failures of this condition, one of Error, Warning,
4817
+ # Info
5038
4818
  # Corresponds to the JSON property `severity`
5039
4819
  # @return [String]
5040
4820
  attr_accessor :severity
@@ -5068,25 +4848,18 @@ module Google
5068
4848
  class TriggerFilter
5069
4849
  include Google::Apis::Core::Hashable
5070
4850
 
5071
- # Cloud Run fully managed: not supported
5072
- # Cloud Run on GKE: supported
5073
- # Attributes filters events by exact match on event context attributes.
4851
+ # Optional. Attributes filters events by exact match on event context attributes.
5074
4852
  # Each key in the map is compared with the equivalent key in the event
5075
4853
  # context. An event passes the filter if all values are equal to the
5076
4854
  # specified values.
5077
4855
  # Nested context attributes are not supported as keys.
5078
4856
  # Only string values are supported.
5079
- # +optional
4857
+ # Note that this field is optional in knative. In fully managed, 'type'
4858
+ # attribute is required due to different broker implementation.
5080
4859
  # Corresponds to the JSON property `attributes`
5081
4860
  # @return [Hash<String,String>]
5082
4861
  attr_accessor :attributes
5083
4862
 
5084
- # TriggerFilterSourceAndType is DEPRECATED. Filters are now contained in the
5085
- # map of attributes in TriggerFilter proto.
5086
- # Corresponds to the JSON property `sourceAndType`
5087
- # @return [Google::Apis::RunV1alpha1::TriggerFilterSourceAndType]
5088
- attr_accessor :source_and_type
5089
-
5090
4863
  def initialize(**args)
5091
4864
  update!(**args)
5092
4865
  end
@@ -5094,59 +4867,6 @@ module Google
5094
4867
  # Update properties of this object
5095
4868
  def update!(**args)
5096
4869
  @attributes = args[:attributes] if args.key?(:attributes)
5097
- @source_and_type = args[:source_and_type] if args.key?(:source_and_type)
5098
- end
5099
- end
5100
-
5101
- # TriggerFilterSourceAndType is DEPRECATED. Filters are now contained in the
5102
- # map of attributes in TriggerFilter proto.
5103
- class TriggerFilterSourceAndType
5104
- include Google::Apis::Core::Hashable
5105
-
5106
- #
5107
- # Corresponds to the JSON property `source`
5108
- # @return [String]
5109
- attr_accessor :source
5110
-
5111
- #
5112
- # Corresponds to the JSON property `type`
5113
- # @return [String]
5114
- attr_accessor :type
5115
-
5116
- def initialize(**args)
5117
- update!(**args)
5118
- end
5119
-
5120
- # Update properties of this object
5121
- def update!(**args)
5122
- @source = args[:source] if args.key?(:source)
5123
- @type = args[:type] if args.key?(:type)
5124
- end
5125
- end
5126
-
5127
- # Deprecated, importer specification will be available via GcpImporterDao.
5128
- class TriggerImporterSpec
5129
- include Google::Apis::Core::Hashable
5130
-
5131
- # Arguments to use for the importer. These must match the parameters in the
5132
- # EventType's importer.
5133
- # Corresponds to the JSON property `arguments`
5134
- # @return [Hash<String,String>]
5135
- attr_accessor :arguments
5136
-
5137
- # Name of the EventType that this importer provides.
5138
- # Corresponds to the JSON property `eventTypeName`
5139
- # @return [String]
5140
- attr_accessor :event_type_name
5141
-
5142
- def initialize(**args)
5143
- update!(**args)
5144
- end
5145
-
5146
- # Update properties of this object
5147
- def update!(**args)
5148
- @arguments = args[:arguments] if args.key?(:arguments)
5149
- @event_type_name = args[:event_type_name] if args.key?(:event_type_name)
5150
4870
  end
5151
4871
  end
5152
4872
 
@@ -5161,30 +4881,18 @@ module Google
5161
4881
  # @return [String]
5162
4882
  attr_accessor :broker
5163
4883
 
5164
- # Filter is the filter to apply against all events from the Broker. Only
4884
+ # Optional. Filter is the filter to apply against all events from the Broker.
4885
+ # Only
5165
4886
  # events that pass this filter will be sent to the Subscriber.
4887
+ # Note that filter is optional in knative and is only required in fully
4888
+ # managed due to different broker implementation.
5166
4889
  # Corresponds to the JSON property `filter`
5167
4890
  # @return [Google::Apis::RunV1alpha1::TriggerFilter]
5168
4891
  attr_accessor :filter
5169
4892
 
5170
- # Deprecated, importer specification will be replaced by information stored
5171
- # in GcpImporterDao.
5172
- # Corresponds to the JSON property `importers`
5173
- # @return [Array<Google::Apis::RunV1alpha1::TriggerImporterSpec>]
5174
- attr_accessor :importers
5175
-
5176
4893
  # Sink is the addressable that will receive events.
5177
- # Corresponds to the JSON property `sink`
5178
- # @return [Google::Apis::RunV1alpha1::Destination]
5179
- attr_accessor :sink
5180
-
5181
- # Deprecated, sink will be represented by Destination.
5182
- # Subscriber is the addressable that receives events from the Broker that
5183
- # pass the Filter. It is required.
5184
- # E.g. https://us-central1-myproject.cloudfunctions.net/myfunction or
5185
- # /namespaces/my-project/services/my-service.
5186
4894
  # Corresponds to the JSON property `subscriber`
5187
- # @return [Google::Apis::RunV1alpha1::SubscriberSpec]
4895
+ # @return [Google::Apis::RunV1alpha1::Destination]
5188
4896
  attr_accessor :subscriber
5189
4897
 
5190
4898
  def initialize(**args)
@@ -5195,8 +4903,6 @@ module Google
5195
4903
  def update!(**args)
5196
4904
  @broker = args[:broker] if args.key?(:broker)
5197
4905
  @filter = args[:filter] if args.key?(:filter)
5198
- @importers = args[:importers] if args.key?(:importers)
5199
- @sink = args[:sink] if args.key?(:sink)
5200
4906
  @subscriber = args[:subscriber] if args.key?(:subscriber)
5201
4907
  end
5202
4908
  end