google-api-client 0.36.0 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (560) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/CHANGELOG.md +316 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  7. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  8. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  9. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  10. data/generated/google/apis/accesscontextmanager_v1/classes.rb +113 -0
  11. data/generated/google/apis/accesscontextmanager_v1/representations.rb +32 -0
  12. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  13. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +151 -0
  14. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  15. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  16. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  17. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  18. data/generated/google/apis/admob_v1/classes.rb +951 -0
  19. data/generated/google/apis/admob_v1/representations.rb +378 -0
  20. data/generated/google/apis/admob_v1/service.rb +196 -0
  21. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  22. data/generated/google/apis/alertcenter_v1beta1/classes.rb +252 -0
  23. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  24. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +37 -59
  28. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  29. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  30. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  31. data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
  32. data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
  33. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  34. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -94
  36. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -50
  37. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  38. data/generated/google/apis/androidpublisher_v3/classes.rb +151 -111
  39. data/generated/google/apis/androidpublisher_v3/representations.rb +69 -56
  40. data/generated/google/apis/androidpublisher_v3/service.rb +158 -0
  41. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  42. data/generated/google/apis/appengine_v1beta/classes.rb +0 -38
  43. data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
  44. data/generated/google/apis/appengine_v1beta.rb +1 -1
  45. data/generated/google/apis/appsactivity_v1.rb +1 -1
  46. data/generated/google/apis/bigquery_v2/classes.rb +8 -1
  47. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  48. data/generated/google/apis/bigquery_v2/service.rb +19 -2
  49. data/generated/google/apis/bigquery_v2.rb +1 -1
  50. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +130 -56
  51. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  52. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +8 -8
  53. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  54. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  55. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  56. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +60 -30
  57. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  58. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -22
  59. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  60. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  61. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +6 -22
  62. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +1 -13
  63. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  64. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +11 -99
  65. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -45
  66. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +1 -70
  67. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  68. data/generated/google/apis/bigtableadmin_v2/classes.rb +124 -55
  69. data/generated/google/apis/bigtableadmin_v2/service.rb +76 -4
  70. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  71. data/generated/google/apis/binaryauthorization_v1/classes.rb +124 -56
  72. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  73. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +124 -56
  74. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  75. data/generated/google/apis/chat_v1/service.rb +5 -2
  76. data/generated/google/apis/chat_v1.rb +1 -1
  77. data/generated/google/apis/classroom_v1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1/classes.rb +304 -15
  79. data/generated/google/apis/cloudasset_v1/representations.rb +117 -0
  80. data/generated/google/apis/cloudasset_v1/service.rb +175 -1
  81. data/generated/google/apis/cloudasset_v1.rb +2 -2
  82. data/generated/google/apis/cloudasset_v1beta1/classes.rb +49 -15
  83. data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
  84. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  85. data/generated/google/apis/cloudbilling_v1/classes.rb +110 -57
  86. data/generated/google/apis/cloudbilling_v1/service.rb +8 -6
  87. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  88. data/generated/google/apis/cloudbuild_v1/classes.rb +10 -6
  89. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  90. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1174 -0
  91. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +435 -0
  92. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +223 -0
  93. data/generated/google/apis/{servicebroker_v1alpha1.rb → cloudbuild_v1alpha1.rb} +8 -10
  94. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1124 -0
  95. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +429 -0
  96. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +232 -0
  97. data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
  98. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  99. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  100. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -12
  101. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  102. data/generated/google/apis/cloudfunctions_v1/classes.rb +138 -56
  103. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  104. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  105. data/generated/google/apis/cloudidentity_v1/classes.rb +560 -0
  106. data/generated/google/apis/cloudidentity_v1/representations.rb +226 -0
  107. data/generated/google/apis/cloudidentity_v1/service.rb +20 -13
  108. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  109. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +765 -72
  110. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +289 -0
  111. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -79
  112. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  113. data/generated/google/apis/cloudiot_v1/classes.rb +124 -56
  114. data/generated/google/apis/cloudiot_v1.rb +1 -1
  115. data/generated/google/apis/cloudkms_v1/classes.rb +162 -56
  116. data/generated/google/apis/cloudkms_v1/representations.rb +16 -0
  117. data/generated/google/apis/cloudkms_v1.rb +1 -1
  118. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +1 -1
  119. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +49 -15
  120. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  121. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +124 -56
  123. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -3
  124. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  125. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +124 -56
  126. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  127. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  128. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +124 -56
  129. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  130. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +124 -56
  131. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  132. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  133. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  134. data/generated/google/apis/cloudsearch_v1/classes.rb +11 -2
  135. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  136. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  137. data/generated/google/apis/cloudshell_v1.rb +1 -1
  138. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  139. data/generated/google/apis/cloudtasks_v2/classes.rb +130 -62
  140. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  141. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +124 -56
  142. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  143. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +130 -62
  144. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  145. data/generated/google/apis/cloudtrace_v1/service.rb +6 -0
  146. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  147. data/generated/google/apis/cloudtrace_v2/classes.rb +5 -3
  148. data/generated/google/apis/cloudtrace_v2/service.rb +4 -0
  149. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  150. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  151. data/generated/google/apis/composer_v1/classes.rb +2 -0
  152. data/generated/google/apis/composer_v1.rb +1 -1
  153. data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
  154. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  155. data/generated/google/apis/composer_v1beta1.rb +1 -1
  156. data/generated/google/apis/compute_alpha/classes.rb +710 -503
  157. data/generated/google/apis/compute_alpha/representations.rb +51 -51
  158. data/generated/google/apis/compute_alpha/service.rb +1383 -1097
  159. data/generated/google/apis/compute_alpha.rb +1 -1
  160. data/generated/google/apis/compute_beta/classes.rb +2543 -395
  161. data/generated/google/apis/compute_beta/representations.rb +805 -4
  162. data/generated/google/apis/compute_beta/service.rb +7496 -5509
  163. data/generated/google/apis/compute_beta.rb +1 -1
  164. data/generated/google/apis/compute_v1/classes.rb +1713 -562
  165. data/generated/google/apis/compute_v1/representations.rb +441 -0
  166. data/generated/google/apis/compute_v1/service.rb +1513 -860
  167. data/generated/google/apis/compute_v1.rb +1 -1
  168. data/generated/google/apis/container_v1/classes.rb +247 -3
  169. data/generated/google/apis/container_v1/representations.rb +74 -0
  170. data/generated/google/apis/container_v1/service.rb +8 -0
  171. data/generated/google/apis/container_v1.rb +1 -1
  172. data/generated/google/apis/container_v1beta1/classes.rb +284 -80
  173. data/generated/google/apis/container_v1beta1/representations.rb +85 -0
  174. data/generated/google/apis/container_v1beta1/service.rb +129 -121
  175. data/generated/google/apis/container_v1beta1.rb +1 -1
  176. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +124 -56
  177. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  178. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +126 -58
  179. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  180. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  181. data/generated/google/apis/content_v2/classes.rb +143 -42
  182. data/generated/google/apis/content_v2/representations.rb +47 -0
  183. data/generated/google/apis/content_v2/service.rb +33 -0
  184. data/generated/google/apis/content_v2.rb +1 -1
  185. data/generated/google/apis/content_v2_1/classes.rb +237 -42
  186. data/generated/google/apis/content_v2_1/representations.rb +94 -0
  187. data/generated/google/apis/content_v2_1/service.rb +77 -0
  188. data/generated/google/apis/content_v2_1.rb +1 -1
  189. data/generated/google/apis/datacatalog_v1beta1/classes.rb +241 -72
  190. data/generated/google/apis/datacatalog_v1beta1/representations.rb +34 -0
  191. data/generated/google/apis/datacatalog_v1beta1/service.rb +159 -69
  192. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  193. data/generated/google/apis/dataflow_v1b3/classes.rb +189 -2
  194. data/generated/google/apis/dataflow_v1b3/representations.rb +97 -0
  195. data/generated/google/apis/dataflow_v1b3/service.rb +38 -0
  196. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  197. data/generated/google/apis/datafusion_v1beta1/classes.rb +134 -387
  198. data/generated/google/apis/datafusion_v1beta1/representations.rb +1 -132
  199. data/generated/google/apis/datafusion_v1beta1/service.rb +5 -1
  200. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  201. data/generated/google/apis/dataproc_v1/classes.rb +229 -165
  202. data/generated/google/apis/dataproc_v1/service.rb +16 -14
  203. data/generated/google/apis/dataproc_v1.rb +1 -1
  204. data/generated/google/apis/dataproc_v1beta2/classes.rb +228 -164
  205. data/generated/google/apis/dataproc_v1beta2/service.rb +28 -26
  206. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  207. data/generated/google/apis/datastore_v1/classes.rb +16 -22
  208. data/generated/google/apis/datastore_v1/service.rb +10 -10
  209. data/generated/google/apis/datastore_v1.rb +1 -1
  210. data/generated/google/apis/datastore_v1beta3/classes.rb +5 -4
  211. data/generated/google/apis/datastore_v1beta3/service.rb +8 -8
  212. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  213. data/generated/google/apis/dfareporting_v3_4/classes.rb +88 -88
  214. data/generated/google/apis/dfareporting_v3_4/representations.rb +39 -39
  215. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  216. data/generated/google/apis/dialogflow_v2/classes.rb +551 -21
  217. data/generated/google/apis/dialogflow_v2/representations.rb +191 -0
  218. data/generated/google/apis/dialogflow_v2/service.rb +477 -0
  219. data/generated/google/apis/dialogflow_v2.rb +1 -1
  220. data/generated/google/apis/dialogflow_v2beta1/classes.rb +449 -21
  221. data/generated/google/apis/dialogflow_v2beta1/representations.rb +160 -0
  222. data/generated/google/apis/dialogflow_v2beta1/service.rb +939 -45
  223. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  224. data/generated/google/apis/dlp_v2/classes.rb +178 -92
  225. data/generated/google/apis/dlp_v2/representations.rb +42 -0
  226. data/generated/google/apis/dlp_v2/service.rb +56 -56
  227. data/generated/google/apis/dlp_v2.rb +1 -1
  228. data/generated/google/apis/dns_v1/classes.rb +70 -0
  229. data/generated/google/apis/dns_v1/representations.rb +32 -0
  230. data/generated/google/apis/dns_v1.rb +1 -1
  231. data/generated/google/apis/dns_v2beta1/classes.rb +70 -0
  232. data/generated/google/apis/dns_v2beta1/representations.rb +32 -0
  233. data/generated/google/apis/dns_v2beta1.rb +1 -1
  234. data/generated/google/apis/docs_v1/classes.rb +427 -18
  235. data/generated/google/apis/docs_v1/representations.rb +131 -0
  236. data/generated/google/apis/docs_v1.rb +1 -1
  237. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  238. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +34 -0
  239. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +16 -0
  240. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  241. data/generated/google/apis/drive_v2/classes.rb +1 -2
  242. data/generated/google/apis/drive_v2/service.rb +0 -92
  243. data/generated/google/apis/drive_v2.rb +1 -1
  244. data/generated/google/apis/driveactivity_v2/classes.rb +6 -0
  245. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  246. data/generated/google/apis/driveactivity_v2.rb +1 -1
  247. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  248. data/generated/google/apis/fcm_v1.rb +1 -1
  249. data/generated/google/apis/file_v1/classes.rb +59 -12
  250. data/generated/google/apis/file_v1/representations.rb +19 -2
  251. data/generated/google/apis/file_v1/service.rb +8 -4
  252. data/generated/google/apis/file_v1.rb +1 -1
  253. data/generated/google/apis/file_v1beta1/classes.rb +60 -13
  254. data/generated/google/apis/file_v1beta1/representations.rb +19 -2
  255. data/generated/google/apis/file_v1beta1/service.rb +8 -4
  256. data/generated/google/apis/file_v1beta1.rb +1 -1
  257. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  258. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  259. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +161 -0
  260. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +64 -0
  261. data/generated/google/apis/firebasehosting_v1beta1/service.rb +67 -0
  262. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  263. data/generated/google/apis/firebaserules_v1/classes.rb +87 -0
  264. data/generated/google/apis/firebaserules_v1/representations.rb +37 -0
  265. data/generated/google/apis/firebaserules_v1.rb +1 -1
  266. data/generated/google/apis/firestore_v1/classes.rb +5 -3
  267. data/generated/google/apis/firestore_v1/service.rb +24 -22
  268. data/generated/google/apis/firestore_v1.rb +1 -1
  269. data/generated/google/apis/firestore_v1beta1/classes.rb +5 -3
  270. data/generated/google/apis/firestore_v1beta1/service.rb +16 -14
  271. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  272. data/generated/google/apis/fitness_v1/classes.rb +8 -4
  273. data/generated/google/apis/fitness_v1/service.rb +26 -8
  274. data/generated/google/apis/fitness_v1.rb +11 -11
  275. data/generated/google/apis/games_management_v1management/service.rb +5 -7
  276. data/generated/google/apis/games_management_v1management.rb +1 -1
  277. data/generated/google/apis/genomics_v1.rb +1 -1
  278. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  279. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  280. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  281. data/generated/google/apis/gmail_v1/service.rb +1 -1
  282. data/generated/google/apis/gmail_v1.rb +13 -1
  283. data/generated/google/apis/healthcare_v1beta1/classes.rb +199 -77
  284. data/generated/google/apis/healthcare_v1beta1/representations.rb +4 -0
  285. data/generated/google/apis/healthcare_v1beta1/service.rb +251 -75
  286. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  287. data/generated/google/apis/homegraph_v1.rb +1 -1
  288. data/generated/google/apis/iam_v1/classes.rb +176 -164
  289. data/generated/google/apis/iam_v1/representations.rb +0 -6
  290. data/generated/google/apis/iam_v1/service.rb +11 -21
  291. data/generated/google/apis/iam_v1.rb +1 -1
  292. data/generated/google/apis/iamcredentials_v1/classes.rb +7 -4
  293. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  294. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  295. data/generated/google/apis/iap_v1/classes.rb +291 -57
  296. data/generated/google/apis/iap_v1/representations.rb +85 -0
  297. data/generated/google/apis/iap_v1/service.rb +290 -0
  298. data/generated/google/apis/iap_v1.rb +1 -1
  299. data/generated/google/apis/iap_v1beta1/classes.rb +124 -55
  300. data/generated/google/apis/iap_v1beta1.rb +1 -1
  301. data/generated/google/apis/jobs_v3/classes.rb +1 -0
  302. data/generated/google/apis/jobs_v3.rb +1 -1
  303. data/generated/google/apis/jobs_v3p1beta1/classes.rb +8 -2
  304. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  305. data/generated/google/apis/kgsearch_v1.rb +1 -1
  306. data/generated/google/apis/language_v1.rb +1 -1
  307. data/generated/google/apis/language_v1beta1.rb +1 -1
  308. data/generated/google/apis/language_v1beta2/classes.rb +15 -0
  309. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  310. data/generated/google/apis/language_v1beta2.rb +1 -1
  311. data/generated/google/apis/libraryagent_v1.rb +1 -1
  312. data/generated/google/apis/logging_v2/classes.rb +129 -39
  313. data/generated/google/apis/logging_v2/representations.rb +16 -0
  314. data/generated/google/apis/logging_v2/service.rb +186 -1
  315. data/generated/google/apis/logging_v2.rb +3 -2
  316. data/generated/google/apis/manufacturers_v1.rb +1 -1
  317. data/generated/google/apis/ml_v1/classes.rb +145 -47
  318. data/generated/google/apis/ml_v1/representations.rb +15 -0
  319. data/generated/google/apis/ml_v1/service.rb +14 -22
  320. data/generated/google/apis/ml_v1.rb +4 -1
  321. data/generated/google/apis/monitoring_v1/classes.rb +159 -120
  322. data/generated/google/apis/monitoring_v1/representations.rb +0 -18
  323. data/generated/google/apis/monitoring_v1/service.rb +11 -10
  324. data/generated/google/apis/monitoring_v1.rb +1 -1
  325. data/generated/google/apis/monitoring_v3/classes.rb +214 -106
  326. data/generated/google/apis/monitoring_v3/representations.rb +18 -1
  327. data/generated/google/apis/monitoring_v3/service.rb +178 -153
  328. data/generated/google/apis/monitoring_v3.rb +1 -1
  329. data/generated/google/apis/osconfig_v1beta/classes.rb +2357 -0
  330. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  331. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  332. data/generated/google/apis/osconfig_v1beta.rb +35 -0
  333. data/generated/google/apis/oslogin_v1/service.rb +0 -1
  334. data/generated/google/apis/oslogin_v1.rb +1 -2
  335. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  336. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  337. data/generated/google/apis/oslogin_v1beta/service.rb +0 -1
  338. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  339. data/generated/google/apis/pagespeedonline_v5/classes.rb +529 -498
  340. data/generated/google/apis/pagespeedonline_v5/representations.rb +225 -221
  341. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  342. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  343. data/generated/google/apis/people_v1/classes.rb +14 -13
  344. data/generated/google/apis/people_v1/service.rb +12 -16
  345. data/generated/google/apis/people_v1.rb +4 -1
  346. data/generated/google/apis/policytroubleshooter_v1/classes.rb +752 -0
  347. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  348. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  349. data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
  350. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +71 -19
  351. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  352. data/generated/google/apis/poly_v1.rb +1 -1
  353. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1123 -0
  354. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +530 -0
  355. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1388 -0
  356. data/generated/google/apis/{surveys_v2.rb → prod_tt_sasportal_v1alpha1.rb} +9 -15
  357. data/generated/google/apis/pubsub_v1/classes.rb +194 -56
  358. data/generated/google/apis/pubsub_v1/representations.rb +17 -0
  359. data/generated/google/apis/pubsub_v1.rb +1 -1
  360. data/generated/google/apis/pubsub_v1beta2/classes.rb +124 -56
  361. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  362. data/generated/google/apis/recommender_v1beta1/classes.rb +8 -5
  363. data/generated/google/apis/recommender_v1beta1/service.rb +13 -11
  364. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  365. data/generated/google/apis/redis_v1/classes.rb +10 -3
  366. data/generated/google/apis/redis_v1/representations.rb +1 -0
  367. data/generated/google/apis/redis_v1.rb +1 -1
  368. data/generated/google/apis/redis_v1beta1/classes.rb +29 -3
  369. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  370. data/generated/google/apis/redis_v1beta1/service.rb +36 -0
  371. data/generated/google/apis/redis_v1beta1.rb +1 -1
  372. data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -1
  373. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  374. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  375. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +7 -1
  376. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  377. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  378. data/generated/google/apis/remotebuildexecution_v2/classes.rb +7 -1
  379. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  380. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  381. data/generated/google/apis/run_v1/classes.rb +124 -56
  382. data/generated/google/apis/run_v1/service.rb +0 -30
  383. data/generated/google/apis/run_v1.rb +1 -1
  384. data/generated/google/apis/run_v1alpha1/classes.rb +740 -569
  385. data/generated/google/apis/run_v1alpha1/representations.rb +204 -182
  386. data/generated/google/apis/run_v1alpha1/service.rb +764 -358
  387. data/generated/google/apis/run_v1alpha1.rb +1 -1
  388. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  389. data/generated/google/apis/run_v1beta1.rb +4 -1
  390. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  391. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +49 -15
  392. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  393. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  394. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  395. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1123 -0
  396. data/generated/google/apis/sasportal_v1alpha1/representations.rb +530 -0
  397. data/generated/google/apis/sasportal_v1alpha1/service.rb +1388 -0
  398. data/generated/google/apis/{fusiontables_v1.rb → sasportal_v1alpha1.rb} +11 -14
  399. data/generated/google/apis/script_v1.rb +1 -1
  400. data/generated/google/apis/searchconsole_v1.rb +1 -1
  401. data/generated/google/apis/secretmanager_v1beta1/classes.rb +970 -0
  402. data/generated/google/apis/{servicebroker_v1alpha1 → secretmanager_v1beta1}/representations.rb +140 -119
  403. data/generated/google/apis/secretmanager_v1beta1/service.rb +675 -0
  404. data/generated/google/apis/{servicebroker_v1beta1.rb → secretmanager_v1beta1.rb} +9 -10
  405. data/generated/google/apis/securitycenter_v1/classes.rb +467 -15
  406. data/generated/google/apis/securitycenter_v1/representations.rb +141 -0
  407. data/generated/google/apis/securitycenter_v1/service.rb +6 -0
  408. data/generated/google/apis/securitycenter_v1.rb +1 -1
  409. data/generated/google/apis/securitycenter_v1beta1/classes.rb +442 -15
  410. data/generated/google/apis/securitycenter_v1beta1/representations.rb +138 -0
  411. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  412. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +393 -0
  413. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +138 -0
  414. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  415. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +1999 -0
  416. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +699 -0
  417. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1315 -0
  418. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  419. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +225 -3
  420. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +51 -0
  421. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  422. data/generated/google/apis/servicecontrol_v1/classes.rb +242 -3
  423. data/generated/google/apis/servicecontrol_v1/representations.rb +86 -0
  424. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  425. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  426. data/generated/google/apis/servicemanagement_v1/classes.rb +169 -18
  427. data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
  428. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  429. data/generated/google/apis/servicenetworking_v1/classes.rb +178 -3
  430. data/generated/google/apis/servicenetworking_v1/representations.rb +33 -0
  431. data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
  432. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  433. data/generated/google/apis/servicenetworking_v1beta/classes.rb +156 -3
  434. data/generated/google/apis/servicenetworking_v1beta/representations.rb +20 -0
  435. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  436. data/generated/google/apis/serviceusage_v1/classes.rb +156 -3
  437. data/generated/google/apis/serviceusage_v1/representations.rb +20 -0
  438. data/generated/google/apis/serviceusage_v1.rb +1 -1
  439. data/generated/google/apis/serviceusage_v1beta1/classes.rb +156 -3
  440. data/generated/google/apis/serviceusage_v1beta1/representations.rb +20 -0
  441. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  442. data/generated/google/apis/sheets_v4/classes.rb +380 -31
  443. data/generated/google/apis/sheets_v4/representations.rb +103 -0
  444. data/generated/google/apis/sheets_v4/service.rb +9 -11
  445. data/generated/google/apis/sheets_v4.rb +1 -1
  446. data/generated/google/apis/sourcerepo_v1/classes.rb +172 -65
  447. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  448. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  449. data/generated/google/apis/spanner_v1/classes.rb +153 -66
  450. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  451. data/generated/google/apis/spanner_v1/service.rb +7 -2
  452. data/generated/google/apis/spanner_v1.rb +1 -1
  453. data/generated/google/apis/speech_v1/classes.rb +1 -8
  454. data/generated/google/apis/speech_v1/representations.rb +0 -1
  455. data/generated/google/apis/speech_v1.rb +1 -1
  456. data/generated/google/apis/speech_v1p1beta1/classes.rb +3 -8
  457. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -1
  458. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  459. data/generated/google/apis/sql_v1beta4/classes.rb +204 -5
  460. data/generated/google/apis/sql_v1beta4/representations.rb +84 -0
  461. data/generated/google/apis/sql_v1beta4/service.rb +279 -14
  462. data/generated/google/apis/sql_v1beta4.rb +1 -1
  463. data/generated/google/apis/storage_v1/classes.rb +16 -7
  464. data/generated/google/apis/storage_v1/service.rb +1 -1
  465. data/generated/google/apis/storage_v1.rb +1 -1
  466. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  467. data/generated/google/apis/storage_v1beta2.rb +1 -1
  468. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -4
  469. data/generated/google/apis/storagetransfer_v1/service.rb +4 -32
  470. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  471. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  472. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  473. data/generated/google/apis/tagmanager_v1.rb +1 -1
  474. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  475. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  476. data/generated/google/apis/tagmanager_v2.rb +1 -1
  477. data/generated/google/apis/tasks_v1/service.rb +4 -1
  478. data/generated/google/apis/tasks_v1.rb +1 -1
  479. data/generated/google/apis/testing_v1/classes.rb +2 -2
  480. data/generated/google/apis/testing_v1.rb +1 -1
  481. data/generated/google/apis/toolresults_v1/classes.rb +696 -0
  482. data/generated/google/apis/toolresults_v1/representations.rb +438 -0
  483. data/generated/google/apis/toolresults_v1/service.rb +59 -0
  484. data/generated/google/apis/{analytics_v2_4/representations.rb → toolresults_v1.rb} +11 -6
  485. data/generated/google/apis/toolresults_v1beta3/classes.rb +374 -2
  486. data/generated/google/apis/toolresults_v1beta3/representations.rb +109 -0
  487. data/generated/google/apis/toolresults_v1beta3/service.rb +98 -0
  488. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  489. data/generated/google/apis/tpu_v1/classes.rb +0 -1
  490. data/generated/google/apis/tpu_v1.rb +1 -1
  491. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -1
  492. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  493. data/generated/google/apis/translate_v3/classes.rb +943 -0
  494. data/generated/google/apis/translate_v3/representations.rb +439 -0
  495. data/generated/google/apis/translate_v3/service.rb +781 -0
  496. data/generated/google/apis/translate_v3.rb +37 -0
  497. data/generated/google/apis/videointelligence_v1/classes.rb +97 -0
  498. data/generated/google/apis/videointelligence_v1/representations.rb +51 -0
  499. data/generated/google/apis/videointelligence_v1.rb +1 -1
  500. data/generated/google/apis/videointelligence_v1beta2/classes.rb +97 -0
  501. data/generated/google/apis/videointelligence_v1beta2/representations.rb +51 -0
  502. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  503. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +97 -0
  504. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +51 -0
  505. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  506. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +97 -0
  507. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +51 -0
  508. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  509. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +184 -0
  510. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +85 -0
  511. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  512. data/generated/google/apis/vision_v1/service.rb +1 -1
  513. data/generated/google/apis/vision_v1.rb +1 -1
  514. data/generated/google/apis/websecurityscanner_v1/classes.rb +63 -0
  515. data/generated/google/apis/websecurityscanner_v1/representations.rb +31 -0
  516. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  517. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  518. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +63 -0
  519. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +31 -0
  520. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  521. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  522. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  523. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  524. data/generated/google/apis/youtube_v3/classes.rb +61 -9
  525. data/generated/google/apis/youtube_v3/representations.rb +8 -1
  526. data/generated/google/apis/youtube_v3/service.rb +8 -2
  527. data/generated/google/apis/youtube_v3.rb +1 -1
  528. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  529. data/lib/google/apis/core/base_service.rb +1 -1
  530. data/lib/google/apis/core/http_command.rb +1 -2
  531. data/lib/google/apis/version.rb +1 -1
  532. metadata +51 -39
  533. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  534. data/generated/google/apis/analytics_v2_4.rb +0 -37
  535. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  536. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  537. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  538. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  539. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  540. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
  541. data/generated/google/apis/fusiontables_v2.rb +0 -37
  542. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  543. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  544. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  545. data/generated/google/apis/plus_domains_v1.rb +0 -55
  546. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  547. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  548. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  549. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  550. data/generated/google/apis/servicebroker_v1/classes.rb +0 -368
  551. data/generated/google/apis/servicebroker_v1/representations.rb +0 -114
  552. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  553. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1072
  554. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  555. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1208
  556. data/generated/google/apis/servicebroker_v1beta1/representations.rb +0 -416
  557. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
  558. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  559. data/generated/google/apis/surveys_v2/representations.rb +0 -305
  560. data/generated/google/apis/surveys_v2/service.rb +0 -348
@@ -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
@@ -215,6 +233,23 @@ module Google
215
233
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
216
234
  # * `group:`emailid``: An email address that represents a Google group.
217
235
  # For example, `admins@example.com`.
236
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
237
+ # identifier) representing a user that has been recently deleted. For
238
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
239
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
240
+ # retains the role in the binding.
241
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
242
+ # unique identifier) representing a service account that has been recently
243
+ # deleted. For example,
244
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
245
+ # If the service account is undeleted, this value reverts to
246
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
247
+ # role in the binding.
248
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
249
+ # identifier) representing a Google group that has been recently
250
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
251
+ # the group is recovered, this value reverts to `group:`emailid`` and the
252
+ # recovered group retains the role in the binding.
218
253
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
219
254
  # users of that domain. For example, `google.com` or `example.com`.
220
255
  # Corresponds to the JSON property `members`
@@ -266,6 +301,150 @@ module Google
266
301
  end
267
302
  end
268
303
 
304
+ #
305
+ class CloudAuditLogsSource
306
+ include Google::Apis::Core::Hashable
307
+
308
+ # The API version for this call such as "events.cloud.google.com/v1alpha1".
309
+ # Corresponds to the JSON property `apiVersion`
310
+ # @return [String]
311
+ attr_accessor :api_version
312
+
313
+ # The kind of resource, in this case "CloudAuditLogsSource".
314
+ # Corresponds to the JSON property `kind`
315
+ # @return [String]
316
+ attr_accessor :kind
317
+
318
+ # ObjectMeta is metadata that all persisted resources must have, which includes
319
+ # all objects users must create.
320
+ # Corresponds to the JSON property `metadata`
321
+ # @return [Google::Apis::RunV1alpha1::ObjectMeta]
322
+ attr_accessor :metadata
323
+
324
+ # The desired state of the CloudAuditLogsSource.
325
+ # Corresponds to the JSON property `spec`
326
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSourceSpec]
327
+ attr_accessor :spec
328
+
329
+ # CloudAuditLogsSourceStatus represents the current state of a
330
+ # CloudAuditLogsSource.
331
+ # Corresponds to the JSON property `status`
332
+ # @return [Google::Apis::RunV1alpha1::CloudAuditLogsSourceStatus]
333
+ attr_accessor :status
334
+
335
+ def initialize(**args)
336
+ update!(**args)
337
+ end
338
+
339
+ # Update properties of this object
340
+ def update!(**args)
341
+ @api_version = args[:api_version] if args.key?(:api_version)
342
+ @kind = args[:kind] if args.key?(:kind)
343
+ @metadata = args[:metadata] if args.key?(:metadata)
344
+ @spec = args[:spec] if args.key?(:spec)
345
+ @status = args[:status] if args.key?(:status)
346
+ end
347
+ end
348
+
349
+ # The desired state of the CloudAuditLogsSource.
350
+ class CloudAuditLogsSourceSpec
351
+ include Google::Apis::Core::Hashable
352
+
353
+ # CloudEventOverrides defines arguments for a Source that control the output
354
+ # format of the CloudEvents produced by the Source.
355
+ # Corresponds to the JSON property `ceOverrides`
356
+ # @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
357
+ attr_accessor :ce_overrides
358
+
359
+ # Required. The method name at the service API. This must match "methodName" in
360
+ # Cloud
361
+ # Audit Logs. Regex or Wildcards (*) are not supported.
362
+ # Example: "google.cloud.bigquery.job.create".
363
+ # Corresponds to the JSON property `methodName`
364
+ # @return [String]
365
+ attr_accessor :method_name
366
+
367
+ # Optional. The resource specification. This must match "methodName"
368
+ # in Cloud Audit Logs. Regex or Wildcards (*) are not supported.
369
+ # Example: "projects/my-project/jobs/foo".
370
+ # Corresponds to the JSON property `resourceName`
371
+ # @return [String]
372
+ attr_accessor :resource_name
373
+
374
+ # Optional. Email address of the IAM service account associated with the source.
375
+ # The
376
+ # service account represents the identity of the source, and determines what
377
+ # permissions the source has. If not provided, the source will use the
378
+ # project's default service account.
379
+ # Corresponds to the JSON property `serviceAccountName`
380
+ # @return [String]
381
+ attr_accessor :service_account_name
382
+
383
+ # Required. The GCP service name. This must match "serviceName" in Cloud Audit
384
+ # Logs.
385
+ # Regex or Wildcards (*) are not supported.
386
+ # Example: "bigquery.googleapis.com".
387
+ # Corresponds to the JSON property `serviceName`
388
+ # @return [String]
389
+ attr_accessor :service_name
390
+
391
+ # Sink is a reference to an object that will resolve to a domain name or a
392
+ # URI directly to use as the sink.
393
+ # Corresponds to the JSON property `sink`
394
+ # @return [Google::Apis::RunV1alpha1::Destination]
395
+ attr_accessor :sink
396
+
397
+ def initialize(**args)
398
+ update!(**args)
399
+ end
400
+
401
+ # Update properties of this object
402
+ def update!(**args)
403
+ @ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
404
+ @method_name = args[:method_name] if args.key?(:method_name)
405
+ @resource_name = args[:resource_name] if args.key?(:resource_name)
406
+ @service_account_name = args[:service_account_name] if args.key?(:service_account_name)
407
+ @service_name = args[:service_name] if args.key?(:service_name)
408
+ @sink = args[:sink] if args.key?(:sink)
409
+ end
410
+ end
411
+
412
+ # CloudAuditLogsSourceStatus represents the current state of a
413
+ # CloudAuditLogsSource.
414
+ class CloudAuditLogsSourceStatus
415
+ include Google::Apis::Core::Hashable
416
+
417
+ # Array of observed CloudAuditLogsSourceConditions, indicating the current
418
+ # state of the CloudAuditLogsSource.
419
+ # Corresponds to the JSON property `conditions`
420
+ # @return [Array<Google::Apis::RunV1alpha1::Condition>]
421
+ attr_accessor :conditions
422
+
423
+ # ObservedGeneration is the 'Generation' of the CloudAuditLogsSource that
424
+ # was last processed by the controller.
425
+ # Corresponds to the JSON property `observedGeneration`
426
+ # @return [Fixnum]
427
+ attr_accessor :observed_generation
428
+
429
+ # SinkURI is the current active sink URI that has been configured for the
430
+ # Source.
431
+ # +optional
432
+ # Corresponds to the JSON property `sinkUri`
433
+ # @return [String]
434
+ attr_accessor :sink_uri
435
+
436
+ def initialize(**args)
437
+ update!(**args)
438
+ end
439
+
440
+ # Update properties of this object
441
+ def update!(**args)
442
+ @conditions = args[:conditions] if args.key?(:conditions)
443
+ @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
444
+ @sink_uri = args[:sink_uri] if args.key?(:sink_uri)
445
+ end
446
+ end
447
+
269
448
  # CloudEventOverrides defines arguments for a Source that control the output
270
449
  # format of the CloudEvents produced by the Source.
271
450
  class CloudEventOverrides
@@ -289,6 +468,173 @@ module Google
289
468
  end
290
469
  end
291
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
+
292
638
  # Condition defines a generic condition for a Resource
293
639
  class Condition
294
640
  include Google::Apis::Core::Hashable
@@ -1298,154 +1644,6 @@ module Google
1298
1644
  end
1299
1645
  end
1300
1646
 
1301
- #
1302
- class EventType
1303
- include Google::Apis::Core::Hashable
1304
-
1305
- # The API version for this call such as "eventing.knative.dev/v1alpha1".
1306
- # Corresponds to the JSON property `apiVersion`
1307
- # @return [String]
1308
- attr_accessor :api_version
1309
-
1310
- # The kind of resource, in this case "EventType".
1311
- # Corresponds to the JSON property `kind`
1312
- # @return [String]
1313
- attr_accessor :kind
1314
-
1315
- # ObjectMeta is metadata that all persisted resources must have, which includes
1316
- # all objects users must create.
1317
- # Corresponds to the JSON property `metadata`
1318
- # @return [Google::Apis::RunV1alpha1::ObjectMeta]
1319
- attr_accessor :metadata
1320
-
1321
- # Spec defines the desired state of the EventType.
1322
- # Corresponds to the JSON property `spec`
1323
- # @return [Google::Apis::RunV1alpha1::EventTypeSpec]
1324
- attr_accessor :spec
1325
-
1326
- def initialize(**args)
1327
- update!(**args)
1328
- end
1329
-
1330
- # Update properties of this object
1331
- def update!(**args)
1332
- @api_version = args[:api_version] if args.key?(:api_version)
1333
- @kind = args[:kind] if args.key?(:kind)
1334
- @metadata = args[:metadata] if args.key?(:metadata)
1335
- @spec = args[:spec] if args.key?(:spec)
1336
- end
1337
- end
1338
-
1339
- #
1340
- class EventTypeImporter
1341
- include Google::Apis::Core::Hashable
1342
-
1343
- # The API version of the importer CRD.
1344
- # Corresponds to the JSON property `apiVersion`
1345
- # @return [String]
1346
- attr_accessor :api_version
1347
-
1348
- # The kind of the importer CRD.
1349
- # Corresponds to the JSON property `kind`
1350
- # @return [String]
1351
- attr_accessor :kind
1352
-
1353
- # Parameters required to create an importer for the EventType.
1354
- # Corresponds to the JSON property `parameters`
1355
- # @return [Array<Google::Apis::RunV1alpha1::EventTypeParameter>]
1356
- attr_accessor :parameters
1357
-
1358
- def initialize(**args)
1359
- update!(**args)
1360
- end
1361
-
1362
- # Update properties of this object
1363
- def update!(**args)
1364
- @api_version = args[:api_version] if args.key?(:api_version)
1365
- @kind = args[:kind] if args.key?(:kind)
1366
- @parameters = args[:parameters] if args.key?(:parameters)
1367
- end
1368
- end
1369
-
1370
- #
1371
- class EventTypeParameter
1372
- include Google::Apis::Core::Hashable
1373
-
1374
- # Description of the parameter. E.g. "Google Cloud Project Id."
1375
- # Corresponds to the JSON property `description`
1376
- # @return [String]
1377
- attr_accessor :description
1378
-
1379
- # Name of the parameter. E.g. googleCloudProject.
1380
- # Corresponds to the JSON property `name`
1381
- # @return [String]
1382
- attr_accessor :name
1383
-
1384
- def initialize(**args)
1385
- update!(**args)
1386
- end
1387
-
1388
- # Update properties of this object
1389
- def update!(**args)
1390
- @description = args[:description] if args.key?(:description)
1391
- @name = args[:name] if args.key?(:name)
1392
- end
1393
- end
1394
-
1395
- #
1396
- class EventTypeSpec
1397
- include Google::Apis::Core::Hashable
1398
-
1399
- # Refers to the Broker that can provide the EventType.
1400
- # Corresponds to the JSON property `broker`
1401
- # @return [String]
1402
- attr_accessor :broker
1403
-
1404
- # Description is a string describing what the EventType is about.
1405
- # +optional
1406
- # Corresponds to the JSON property `description`
1407
- # @return [String]
1408
- attr_accessor :description
1409
-
1410
- # The importer that provides this EventType to the eventing mesh.
1411
- # Corresponds to the JSON property `importer`
1412
- # @return [Google::Apis::RunV1alpha1::EventTypeImporter]
1413
- attr_accessor :importer
1414
-
1415
- # Schema is a URI with the EventType schema. It may be a JSON schema, a
1416
- # protobuf schema, etc.
1417
- # +optional
1418
- # Corresponds to the JSON property `schema`
1419
- # @return [String]
1420
- attr_accessor :schema
1421
-
1422
- # Source is a valid URI. Refers to the CloudEvent source as it enters into
1423
- # the eventing mesh.
1424
- # Corresponds to the JSON property `source`
1425
- # @return [String]
1426
- attr_accessor :source
1427
-
1428
- # Type is authoritative. This refers to the CloudEvent type as it enters
1429
- # into the eventing mesh.
1430
- # Corresponds to the JSON property `type`
1431
- # @return [String]
1432
- attr_accessor :type
1433
-
1434
- def initialize(**args)
1435
- update!(**args)
1436
- end
1437
-
1438
- # Update properties of this object
1439
- def update!(**args)
1440
- @broker = args[:broker] if args.key?(:broker)
1441
- @description = args[:description] if args.key?(:description)
1442
- @importer = args[:importer] if args.key?(:importer)
1443
- @schema = args[:schema] if args.key?(:schema)
1444
- @source = args[:source] if args.key?(:source)
1445
- @type = args[:type] if args.key?(:type)
1446
- end
1447
- end
1448
-
1449
1647
  # ExecAction describes a "run in container" action.
1450
1648
  class ExecAction
1451
1649
  include Google::Apis::Core::Hashable
@@ -1470,34 +1668,50 @@ module Google
1470
1668
  end
1471
1669
  end
1472
1670
 
1473
- # Represents an expression text. Example:
1474
- # title: "User account presence"
1475
- # description: "Determines whether the request has a user account"
1476
- # 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.
1477
1693
  class Expr
1478
1694
  include Google::Apis::Core::Hashable
1479
1695
 
1480
- # An optional description of the expression. This is a longer text which
1696
+ # Optional. Description of the expression. This is a longer text which
1481
1697
  # describes the expression, e.g. when hovered over it in a UI.
1482
1698
  # Corresponds to the JSON property `description`
1483
1699
  # @return [String]
1484
1700
  attr_accessor :description
1485
1701
 
1486
- # Textual representation of an expression in
1487
- # Common Expression Language syntax.
1488
- # The application context of the containing message determines which
1489
- # well-known feature set of CEL is supported.
1702
+ # Textual representation of an expression in Common Expression Language
1703
+ # syntax.
1490
1704
  # Corresponds to the JSON property `expression`
1491
1705
  # @return [String]
1492
1706
  attr_accessor :expression
1493
1707
 
1494
- # An optional string indicating the location of the expression for error
1708
+ # Optional. String indicating the location of the expression for error
1495
1709
  # reporting, e.g. a file name and a position in the file.
1496
1710
  # Corresponds to the JSON property `location`
1497
1711
  # @return [String]
1498
1712
  attr_accessor :location
1499
1713
 
1500
- # An optional title for the expression, i.e. a short string describing
1714
+ # Optional. Title for the expression, i.e. a short string describing
1501
1715
  # its purpose. This can be used e.g. in UIs which allow to enter the
1502
1716
  # expression.
1503
1717
  # Corresponds to the JSON property `title`
@@ -1788,26 +2002,72 @@ module Google
1788
2002
 
1789
2003
  # Update properties of this object
1790
2004
  def update!(**args)
1791
- @domains = args[:domains] if args.key?(:domains)
1792
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2005
+ @domains = args[:domains] if args.key?(:domains)
2006
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2007
+ end
2008
+ end
2009
+
2010
+ # ListCloudAuditLogsSourcesResponse is a list of CloudAuditLogsSource
2011
+ # resources.
2012
+ class ListCloudAuditLogsSourcesResponse
2013
+ include Google::Apis::Core::Hashable
2014
+
2015
+ # The API version for this call such as "events.cloud.google.com/v1alpha1".
2016
+ # Corresponds to the JSON property `apiVersion`
2017
+ # @return [String]
2018
+ attr_accessor :api_version
2019
+
2020
+ # List of CloudAuditLogsSources.
2021
+ # Corresponds to the JSON property `items`
2022
+ # @return [Array<Google::Apis::RunV1alpha1::CloudAuditLogsSource>]
2023
+ attr_accessor :items
2024
+
2025
+ # The kind of this resource, in this case "CloudAuditLogsSourceList".
2026
+ # Corresponds to the JSON property `kind`
2027
+ # @return [String]
2028
+ attr_accessor :kind
2029
+
2030
+ # ListMeta describes metadata that synthetic resources must have, including
2031
+ # lists and various status objects. A resource may have only one of
2032
+ # `ObjectMeta, ListMeta`.
2033
+ # Corresponds to the JSON property `metadata`
2034
+ # @return [Google::Apis::RunV1alpha1::ListMeta]
2035
+ attr_accessor :metadata
2036
+
2037
+ # Locations that could not be reached.
2038
+ # Corresponds to the JSON property `unreachable`
2039
+ # @return [Array<String>]
2040
+ attr_accessor :unreachable
2041
+
2042
+ def initialize(**args)
2043
+ update!(**args)
2044
+ end
2045
+
2046
+ # Update properties of this object
2047
+ def update!(**args)
2048
+ @api_version = args[:api_version] if args.key?(:api_version)
2049
+ @items = args[:items] if args.key?(:items)
2050
+ @kind = args[:kind] if args.key?(:kind)
2051
+ @metadata = args[:metadata] if args.key?(:metadata)
2052
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1793
2053
  end
1794
2054
  end
1795
2055
 
1796
- # ListConfigurationsResponse is a list of Configuration resources.
1797
- class ListConfigurationsResponse
2056
+ # ListCloudPubSubSourcesResponse is a list of CloudPubSubSource resources.
2057
+ class ListCloudPubSubSourcesResponse
1798
2058
  include Google::Apis::Core::Hashable
1799
2059
 
1800
- # 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".
1801
2061
  # Corresponds to the JSON property `apiVersion`
1802
2062
  # @return [String]
1803
2063
  attr_accessor :api_version
1804
2064
 
1805
- # List of Configurations.
2065
+ # List of CloudPubSubSources.
1806
2066
  # Corresponds to the JSON property `items`
1807
- # @return [Array<Google::Apis::RunV1alpha1::Configuration>]
2067
+ # @return [Array<Google::Apis::RunV1alpha1::CloudPubSubSource>]
1808
2068
  attr_accessor :items
1809
2069
 
1810
- # The kind of this resource, in this case "ConfigurationList".
2070
+ # The kind of this resource, in this case "CloudPubSubSourceList".
1811
2071
  # Corresponds to the JSON property `kind`
1812
2072
  # @return [String]
1813
2073
  attr_accessor :kind
@@ -1838,21 +2098,21 @@ module Google
1838
2098
  end
1839
2099
  end
1840
2100
 
1841
- # ListDomainMappingsResponse is a list of DomainMapping resources.
1842
- class ListDomainMappingsResponse
2101
+ # ListConfigurationsResponse is a list of Configuration resources.
2102
+ class ListConfigurationsResponse
1843
2103
  include Google::Apis::Core::Hashable
1844
2104
 
1845
- # 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".
1846
2106
  # Corresponds to the JSON property `apiVersion`
1847
2107
  # @return [String]
1848
2108
  attr_accessor :api_version
1849
2109
 
1850
- # List of DomainMappings.
2110
+ # List of Configurations.
1851
2111
  # Corresponds to the JSON property `items`
1852
- # @return [Array<Google::Apis::RunV1alpha1::DomainMapping>]
2112
+ # @return [Array<Google::Apis::RunV1alpha1::Configuration>]
1853
2113
  attr_accessor :items
1854
2114
 
1855
- # The kind of this resource, in this case "DomainMappingList".
2115
+ # The kind of this resource, in this case "ConfigurationList".
1856
2116
  # Corresponds to the JSON property `kind`
1857
2117
  # @return [String]
1858
2118
  attr_accessor :kind
@@ -1883,21 +2143,21 @@ module Google
1883
2143
  end
1884
2144
  end
1885
2145
 
1886
- # ListEventTypesResponse is a list of EventType resources.
1887
- class ListEventTypesResponse
2146
+ # ListDomainMappingsResponse is a list of DomainMapping resources.
2147
+ class ListDomainMappingsResponse
1888
2148
  include Google::Apis::Core::Hashable
1889
2149
 
1890
- # 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".
1891
2151
  # Corresponds to the JSON property `apiVersion`
1892
2152
  # @return [String]
1893
2153
  attr_accessor :api_version
1894
2154
 
1895
- # List of EventTypes.
2155
+ # List of DomainMappings.
1896
2156
  # Corresponds to the JSON property `items`
1897
- # @return [Array<Google::Apis::RunV1alpha1::EventType>]
2157
+ # @return [Array<Google::Apis::RunV1alpha1::DomainMapping>]
1898
2158
  attr_accessor :items
1899
2159
 
1900
- # The kind of this resource, in this case "EventTypeList".
2160
+ # The kind of this resource, in this case "DomainMappingList".
1901
2161
  # Corresponds to the JSON property `kind`
1902
2162
  # @return [String]
1903
2163
  attr_accessor :kind
@@ -2004,21 +2264,21 @@ module Google
2004
2264
  end
2005
2265
  end
2006
2266
 
2007
- # ListPubSubsResponse is a list of PubSub resources.
2008
- class ListPubSubsResponse
2267
+ # ListRevisionsResponse is a list of Revision resources.
2268
+ class ListRevisionsResponse
2009
2269
  include Google::Apis::Core::Hashable
2010
2270
 
2011
- # The API version for this call such as "events.cloud.google.com/v1alpha1".
2271
+ # The API version for this call such as "serving.knative.dev/v1alpha1".
2012
2272
  # Corresponds to the JSON property `apiVersion`
2013
2273
  # @return [String]
2014
2274
  attr_accessor :api_version
2015
2275
 
2016
- # List of PubSubs.
2276
+ # List of Revisions.
2017
2277
  # Corresponds to the JSON property `items`
2018
- # @return [Array<Google::Apis::RunV1alpha1::PubSub>]
2278
+ # @return [Array<Google::Apis::RunV1alpha1::Revision>]
2019
2279
  attr_accessor :items
2020
2280
 
2021
- # The kind of this resource, in this case "PubSubList".
2281
+ # The kind of this resource, in this case "RevisionList".
2022
2282
  # Corresponds to the JSON property `kind`
2023
2283
  # @return [String]
2024
2284
  attr_accessor :kind
@@ -2049,8 +2309,8 @@ module Google
2049
2309
  end
2050
2310
  end
2051
2311
 
2052
- # ListRevisionsResponse is a list of Revision resources.
2053
- class ListRevisionsResponse
2312
+ # ListRoutesResponse is a list of Route resources.
2313
+ class ListRoutesResponse
2054
2314
  include Google::Apis::Core::Hashable
2055
2315
 
2056
2316
  # The API version for this call such as "serving.knative.dev/v1alpha1".
@@ -2058,12 +2318,12 @@ module Google
2058
2318
  # @return [String]
2059
2319
  attr_accessor :api_version
2060
2320
 
2061
- # List of Revisions.
2321
+ # List of Routes.
2062
2322
  # Corresponds to the JSON property `items`
2063
- # @return [Array<Google::Apis::RunV1alpha1::Revision>]
2323
+ # @return [Array<Google::Apis::RunV1alpha1::Route>]
2064
2324
  attr_accessor :items
2065
2325
 
2066
- # The kind of this resource, in this case "RevisionList".
2326
+ # The kind of this resource, in this case always "RouteList".
2067
2327
  # Corresponds to the JSON property `kind`
2068
2328
  # @return [String]
2069
2329
  attr_accessor :kind
@@ -2094,8 +2354,8 @@ module Google
2094
2354
  end
2095
2355
  end
2096
2356
 
2097
- # ListRoutesResponse is a list of Route resources.
2098
- class ListRoutesResponse
2357
+ # A list of Service resources.
2358
+ class ListServicesResponse
2099
2359
  include Google::Apis::Core::Hashable
2100
2360
 
2101
2361
  # The API version for this call such as "serving.knative.dev/v1alpha1".
@@ -2103,12 +2363,12 @@ module Google
2103
2363
  # @return [String]
2104
2364
  attr_accessor :api_version
2105
2365
 
2106
- # List of Routes.
2366
+ # List of Services.
2107
2367
  # Corresponds to the JSON property `items`
2108
- # @return [Array<Google::Apis::RunV1alpha1::Route>]
2368
+ # @return [Array<Google::Apis::RunV1alpha1::Service>]
2109
2369
  attr_accessor :items
2110
2370
 
2111
- # The kind of this resource, in this case always "RouteList".
2371
+ # The kind of this resource, in this case "ServiceList".
2112
2372
  # Corresponds to the JSON property `kind`
2113
2373
  # @return [String]
2114
2374
  attr_accessor :kind
@@ -2139,21 +2399,21 @@ module Google
2139
2399
  end
2140
2400
  end
2141
2401
 
2142
- # A list of Service resources.
2143
- class ListServicesResponse
2402
+ # ListStoragesResponse is a list of Storage resources.
2403
+ class ListStoragesResponse
2144
2404
  include Google::Apis::Core::Hashable
2145
2405
 
2146
- # The API version for this call such as "serving.knative.dev/v1alpha1".
2406
+ # The API version for this call such as "events.cloud.google.com/v1alpha1".
2147
2407
  # Corresponds to the JSON property `apiVersion`
2148
2408
  # @return [String]
2149
2409
  attr_accessor :api_version
2150
2410
 
2151
- # List of Services.
2411
+ # List of Storages.
2152
2412
  # Corresponds to the JSON property `items`
2153
- # @return [Array<Google::Apis::RunV1alpha1::Service>]
2413
+ # @return [Array<Google::Apis::RunV1alpha1::Storage>]
2154
2414
  attr_accessor :items
2155
2415
 
2156
- # The kind of this resource, in this case "ServiceList".
2416
+ # The kind of this resource, in this case "StorageList".
2157
2417
  # Corresponds to the JSON property `kind`
2158
2418
  # @return [String]
2159
2419
  attr_accessor :kind
@@ -2654,16 +2914,18 @@ module Google
2654
2914
  end
2655
2915
  end
2656
2916
 
2657
- # Defines an Identity and Access Management (IAM) policy. It is used to
2658
- # specify access control policies for Cloud Platform resources.
2917
+ # An Identity and Access Management (IAM) policy, which specifies access
2918
+ # controls for Google Cloud resources.
2659
2919
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
2660
2920
  # `members` to a single `role`. Members can be user accounts, service accounts,
2661
2921
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2662
- # permissions (defined by IAM or configured by users). A `binding` can
2663
- # optionally specify a `condition`, which is a logic expression that further
2664
- # constrains the role binding based on attributes about the request and/or
2665
- # target resource.
2666
- # **JSON Example**
2922
+ # permissions; each `role` can be an IAM predefined role or a user-created
2923
+ # custom role.
2924
+ # Optionally, a `binding` can specify a `condition`, which is a logical
2925
+ # expression that allows access to a resource only if the expression evaluates
2926
+ # to `true`. A condition can add constraints based on attributes of the
2927
+ # request, the resource, or both.
2928
+ # **JSON example:**
2667
2929
  # `
2668
2930
  # "bindings": [
2669
2931
  # `
@@ -2681,13 +2943,15 @@ module Google
2681
2943
  # "condition": `
2682
2944
  # "title": "expirable access",
2683
2945
  # "description": "Does not grant access after Sep 2020",
2684
- # "expression": "request.time <
2685
- # timestamp('2020-10-01T00:00:00.000Z')",
2946
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
2947
+ # ",
2686
2948
  # `
2687
2949
  # `
2688
- # ]
2950
+ # ],
2951
+ # "etag": "BwWWja0YfJA=",
2952
+ # "version": 3
2689
2953
  # `
2690
- # **YAML Example**
2954
+ # **YAML example:**
2691
2955
  # bindings:
2692
2956
  # - members:
2693
2957
  # - user:mike@example.com
@@ -2702,8 +2966,10 @@ module Google
2702
2966
  # title: expirable access
2703
2967
  # description: Does not grant access after Sep 2020
2704
2968
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2969
+ # - etag: BwWWja0YfJA=
2970
+ # - version: 3
2705
2971
  # For a description of IAM and its features, see the
2706
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
2972
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
2707
2973
  class Policy
2708
2974
  include Google::Apis::Core::Hashable
2709
2975
 
@@ -2712,9 +2978,9 @@ module Google
2712
2978
  # @return [Array<Google::Apis::RunV1alpha1::AuditConfig>]
2713
2979
  attr_accessor :audit_configs
2714
2980
 
2715
- # Associates a list of `members` to a `role`. Optionally may specify a
2716
- # `condition` that determines when binding is in effect.
2717
- # `bindings` with no members will result in an error.
2981
+ # Associates a list of `members` to a `role`. Optionally, may specify a
2982
+ # `condition` that determines how and when the `bindings` are applied. Each
2983
+ # of the `bindings` must contain at least one member.
2718
2984
  # Corresponds to the JSON property `bindings`
2719
2985
  # @return [Array<Google::Apis::RunV1alpha1::Binding>]
2720
2986
  attr_accessor :bindings
@@ -2726,220 +2992,34 @@ module Google
2726
2992
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
2727
2993
  # systems are expected to put that etag in the request to `setIamPolicy` to
2728
2994
  # ensure that their change will be applied to the same version of the policy.
2729
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
2730
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
2731
- # 'setIamPolicy' will not fail even if the incoming policy version does not
2732
- # meet the requirements for modifying the stored policy.
2995
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
2996
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
2997
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
2998
+ # the conditions in the version `3` policy are lost.
2733
2999
  # Corresponds to the JSON property `etag`
2734
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2735
- # @return [String]
2736
- attr_accessor :etag
2737
-
2738
- # Specifies the format of the policy.
2739
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2740
- # rejected.
2741
- # Operations affecting conditional bindings must specify version 3. This can
2742
- # be either setting a conditional policy, modifying a conditional binding,
2743
- # or removing a binding (conditional or unconditional) from the stored
2744
- # conditional policy.
2745
- # Operations on non-conditional policies may specify any valid value or
2746
- # leave the field unset.
2747
- # If no etag is provided in the call to `setIamPolicy`, version compliance
2748
- # checks against the stored policy is skipped.
2749
- # Corresponds to the JSON property `version`
2750
- # @return [Fixnum]
2751
- attr_accessor :version
2752
-
2753
- def initialize(**args)
2754
- update!(**args)
2755
- end
2756
-
2757
- # Update properties of this object
2758
- def update!(**args)
2759
- @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
2760
- @bindings = args[:bindings] if args.key?(:bindings)
2761
- @etag = args[:etag] if args.key?(:etag)
2762
- @version = args[:version] if args.key?(:version)
2763
- end
2764
- end
2765
-
2766
- # Probe describes a health check to be performed against a container to
2767
- # determine whether it is alive or ready to receive traffic.
2768
- class Probe
2769
- include Google::Apis::Core::Hashable
2770
-
2771
- # Minimum consecutive failures for the probe to be considered failed after
2772
- # having succeeded. Defaults to 3. Minimum value is 1. +optional
2773
- # Corresponds to the JSON property `failureThreshold`
2774
- # @return [Fixnum]
2775
- attr_accessor :failure_threshold
2776
-
2777
- # Handler defines a specific action that should be taken
2778
- # Corresponds to the JSON property `handler`
2779
- # @return [Google::Apis::RunV1alpha1::Handler]
2780
- attr_accessor :handler
2781
-
2782
- # Number of seconds after the container has started before liveness probes
2783
- # are initiated. More info:
2784
- # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
2785
- # probes
2786
- # +optional
2787
- # Corresponds to the JSON property `initialDelaySeconds`
2788
- # @return [Fixnum]
2789
- attr_accessor :initial_delay_seconds
2790
-
2791
- # How often (in seconds) to perform the probe.
2792
- # Default to 10 seconds. Minimum value is 1.
2793
- # +optional
2794
- # Corresponds to the JSON property `periodSeconds`
2795
- # @return [Fixnum]
2796
- attr_accessor :period_seconds
2797
-
2798
- # Minimum consecutive successes for the probe to be considered successful
2799
- # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
2800
- # is 1. +optional
2801
- # Corresponds to the JSON property `successThreshold`
2802
- # @return [Fixnum]
2803
- attr_accessor :success_threshold
2804
-
2805
- # Number of seconds after which the probe times out.
2806
- # Defaults to 1 second. Minimum value is 1.
2807
- # More info:
2808
- # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
2809
- # probes
2810
- # +optional
2811
- # Corresponds to the JSON property `timeoutSeconds`
2812
- # @return [Fixnum]
2813
- attr_accessor :timeout_seconds
2814
-
2815
- def initialize(**args)
2816
- update!(**args)
2817
- end
2818
-
2819
- # Update properties of this object
2820
- def update!(**args)
2821
- @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
2822
- @handler = args[:handler] if args.key?(:handler)
2823
- @initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
2824
- @period_seconds = args[:period_seconds] if args.key?(:period_seconds)
2825
- @success_threshold = args[:success_threshold] if args.key?(:success_threshold)
2826
- @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
2827
- end
2828
- end
2829
-
2830
- #
2831
- class PubSub
2832
- include Google::Apis::Core::Hashable
2833
-
2834
- # The API version for this call such as "events.cloud.google.com/v1alpha1".
2835
- # Corresponds to the JSON property `apiVersion`
2836
- # @return [String]
2837
- attr_accessor :api_version
2838
-
2839
- # The kind of resource, in this case "PubSub".
2840
- # Corresponds to the JSON property `kind`
2841
- # @return [String]
2842
- attr_accessor :kind
2843
-
2844
- # ObjectMeta is metadata that all persisted resources must have, which includes
2845
- # all objects users must create.
2846
- # Corresponds to the JSON property `metadata`
2847
- # @return [Google::Apis::RunV1alpha1::ObjectMeta]
2848
- attr_accessor :metadata
2849
-
2850
- # The desired state of the PubSub.
2851
- # Corresponds to the JSON property `spec`
2852
- # @return [Google::Apis::RunV1alpha1::PubSubSpec]
2853
- attr_accessor :spec
2854
-
2855
- # PubSubStatus represents the current state of a PubSub.
2856
- # Corresponds to the JSON property `status`
2857
- # @return [Google::Apis::RunV1alpha1::PubSubStatus]
2858
- attr_accessor :status
2859
-
2860
- def initialize(**args)
2861
- update!(**args)
2862
- end
2863
-
2864
- # Update properties of this object
2865
- def update!(**args)
2866
- @api_version = args[:api_version] if args.key?(:api_version)
2867
- @kind = args[:kind] if args.key?(:kind)
2868
- @metadata = args[:metadata] if args.key?(:metadata)
2869
- @spec = args[:spec] if args.key?(:spec)
2870
- @status = args[:status] if args.key?(:status)
2871
- end
2872
- end
2873
-
2874
- # The desired state of the PubSub.
2875
- class PubSubSpec
2876
- include Google::Apis::Core::Hashable
2877
-
2878
- # AckDeadline is the default maximum time after a subscriber receives a
2879
- # message before the subscriber should acknowledge the message. Defaults
2880
- # to 30 seconds ('30s').
2881
- # +optional
2882
- # Corresponds to the JSON property `ackDeadline`
2883
- # @return [String]
2884
- attr_accessor :ack_deadline
2885
-
2886
- # CloudEventOverrides defines arguments for a Source that control the output
2887
- # format of the CloudEvents produced by the Source.
2888
- # Corresponds to the JSON property `ceOverrides`
2889
- # @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
2890
- attr_accessor :ce_overrides
2891
-
2892
- # Project is the ID of the Google Cloud Project that the PubSub Topic exists
2893
- # in. If omitted, defaults to same as the cluster. +optional
2894
- # Corresponds to the JSON property `project`
2895
- # @return [String]
2896
- attr_accessor :project
2897
-
2898
- # Cloud Run fully managed: not supported
2899
- # Cloud Run on GKE: supported
2900
- # SecretKeySelector selects a key of a Secret.
2901
- # Corresponds to the JSON property `pubsubSecret`
2902
- # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
2903
- attr_accessor :pubsub_secret
2904
-
2905
- # RetainAckedMessages defines whether to retain acknowledged messages. If
2906
- # true, acknowledged messages will not be expunged until they fall out of
2907
- # the RetentionDuration window.
2908
- # Corresponds to the JSON property `retainAckedMessages`
2909
- # @return [Boolean]
2910
- attr_accessor :retain_acked_messages
2911
- alias_method :retain_acked_messages?, :retain_acked_messages
2912
-
2913
- # RetentionDuration defines how long to retain messages in backlog, from
2914
- # the time of publish. If RetainAckedMessages is true, this duration
2915
- # affects the retention of acknowledged messages, otherwise only
2916
- # unacknowledged messages are retained. Cannot be longer than 7 days or
2917
- # shorter than 10 minutes. Defaults to 7 days ('7d').
2918
- # +optional
2919
- # Corresponds to the JSON property `retentionDuration`
2920
- # @return [String]
2921
- attr_accessor :retention_duration
2922
-
2923
- # Cloud Run fully managed: not supported
2924
- # Cloud Run on GKE: supported
2925
- # SecretKeySelector selects a key of a Secret.
2926
- # Corresponds to the JSON property `secret`
2927
- # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
2928
- attr_accessor :secret
2929
-
2930
- # Sink is a reference to an object that will resolve to a domain name or a
2931
- # URI directly to use as the sink.
2932
- # Corresponds to the JSON property `sink`
2933
- # @return [Google::Apis::RunV1alpha1::Destination]
2934
- attr_accessor :sink
2935
-
2936
- # Topic is the ID of the PubSub Topic to Subscribe to. It must
2937
- # be in the form of the unique identifier within the project, not the
2938
- # entire name. E.g. it must be 'laconia', not
2939
- # 'projects/my-proj/topics/laconia'.
2940
- # Corresponds to the JSON property `topic`
3000
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2941
3001
  # @return [String]
2942
- attr_accessor :topic
3002
+ attr_accessor :etag
3003
+
3004
+ # Specifies the format of the policy.
3005
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
3006
+ # are rejected.
3007
+ # Any operation that affects conditional role bindings must specify version
3008
+ # `3`. This requirement applies to the following operations:
3009
+ # * Getting a policy that includes a conditional role binding
3010
+ # * Adding a conditional role binding to a policy
3011
+ # * Changing a conditional role binding in a policy
3012
+ # * Removing any role binding, with or without a condition, from a policy
3013
+ # that includes conditions
3014
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
3015
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
3016
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
3017
+ # the conditions in the version `3` policy are lost.
3018
+ # If a policy does not include any conditions, operations on that policy may
3019
+ # specify any valid version or leave the field unset.
3020
+ # Corresponds to the JSON property `version`
3021
+ # @return [Fixnum]
3022
+ attr_accessor :version
2943
3023
 
2944
3024
  def initialize(**args)
2945
3025
  update!(**args)
@@ -2947,40 +3027,61 @@ module Google
2947
3027
 
2948
3028
  # Update properties of this object
2949
3029
  def update!(**args)
2950
- @ack_deadline = args[:ack_deadline] if args.key?(:ack_deadline)
2951
- @ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
2952
- @project = args[:project] if args.key?(:project)
2953
- @pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
2954
- @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
2955
- @retention_duration = args[:retention_duration] if args.key?(:retention_duration)
2956
- @secret = args[:secret] if args.key?(:secret)
2957
- @sink = args[:sink] if args.key?(:sink)
2958
- @topic = args[:topic] if args.key?(:topic)
3030
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
3031
+ @bindings = args[:bindings] if args.key?(:bindings)
3032
+ @etag = args[:etag] if args.key?(:etag)
3033
+ @version = args[:version] if args.key?(:version)
2959
3034
  end
2960
3035
  end
2961
3036
 
2962
- # PubSubStatus represents the current state of a PubSub.
2963
- class PubSubStatus
3037
+ # Probe describes a health check to be performed against a container to
3038
+ # determine whether it is alive or ready to receive traffic.
3039
+ class Probe
2964
3040
  include Google::Apis::Core::Hashable
2965
3041
 
2966
- # Array of observed PubSubConditions, indicating the current state
2967
- # of the PubSub.
2968
- # Corresponds to the JSON property `conditions`
2969
- # @return [Array<Google::Apis::RunV1alpha1::Condition>]
2970
- attr_accessor :conditions
3042
+ # Minimum consecutive failures for the probe to be considered failed after
3043
+ # having succeeded. Defaults to 3. Minimum value is 1. +optional
3044
+ # Corresponds to the JSON property `failureThreshold`
3045
+ # @return [Fixnum]
3046
+ attr_accessor :failure_threshold
2971
3047
 
2972
- # ObservedGeneration is the 'Generation' of the PubSub that
2973
- # was last processed by the controller.
2974
- # Corresponds to the JSON property `observedGeneration`
3048
+ # Handler defines a specific action that should be taken
3049
+ # Corresponds to the JSON property `handler`
3050
+ # @return [Google::Apis::RunV1alpha1::Handler]
3051
+ attr_accessor :handler
3052
+
3053
+ # Number of seconds after the container has started before liveness probes
3054
+ # are initiated. More info:
3055
+ # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
3056
+ # probes
3057
+ # +optional
3058
+ # Corresponds to the JSON property `initialDelaySeconds`
2975
3059
  # @return [Fixnum]
2976
- attr_accessor :observed_generation
3060
+ attr_accessor :initial_delay_seconds
2977
3061
 
2978
- # SinkURI is the current active sink URI that has been configured for the
2979
- # Source.
3062
+ # How often (in seconds) to perform the probe.
3063
+ # Default to 10 seconds. Minimum value is 1.
2980
3064
  # +optional
2981
- # Corresponds to the JSON property `sinkUri`
2982
- # @return [String]
2983
- attr_accessor :sink_uri
3065
+ # Corresponds to the JSON property `periodSeconds`
3066
+ # @return [Fixnum]
3067
+ attr_accessor :period_seconds
3068
+
3069
+ # Minimum consecutive successes for the probe to be considered successful
3070
+ # after having failed. Defaults to 1. Must be 1 for liveness. Minimum value
3071
+ # is 1. +optional
3072
+ # Corresponds to the JSON property `successThreshold`
3073
+ # @return [Fixnum]
3074
+ attr_accessor :success_threshold
3075
+
3076
+ # Number of seconds after which the probe times out.
3077
+ # Defaults to 1 second. Minimum value is 1.
3078
+ # More info:
3079
+ # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
3080
+ # probes
3081
+ # +optional
3082
+ # Corresponds to the JSON property `timeoutSeconds`
3083
+ # @return [Fixnum]
3084
+ attr_accessor :timeout_seconds
2984
3085
 
2985
3086
  def initialize(**args)
2986
3087
  update!(**args)
@@ -2988,9 +3089,12 @@ module Google
2988
3089
 
2989
3090
  # Update properties of this object
2990
3091
  def update!(**args)
2991
- @conditions = args[:conditions] if args.key?(:conditions)
2992
- @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
2993
- @sink_uri = args[:sink_uri] if args.key?(:sink_uri)
3092
+ @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
3093
+ @handler = args[:handler] if args.key?(:handler)
3094
+ @initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
3095
+ @period_seconds = args[:period_seconds] if args.key?(:period_seconds)
3096
+ @success_threshold = args[:success_threshold] if args.key?(:success_threshold)
3097
+ @timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
2994
3098
  end
2995
3099
  end
2996
3100
 
@@ -4255,16 +4359,18 @@ module Google
4255
4359
  class SetIamPolicyRequest
4256
4360
  include Google::Apis::Core::Hashable
4257
4361
 
4258
- # Defines an Identity and Access Management (IAM) policy. It is used to
4259
- # specify access control policies for Cloud Platform resources.
4362
+ # An Identity and Access Management (IAM) policy, which specifies access
4363
+ # controls for Google Cloud resources.
4260
4364
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
4261
4365
  # `members` to a single `role`. Members can be user accounts, service accounts,
4262
4366
  # Google groups, and domains (such as G Suite). A `role` is a named list of
4263
- # permissions (defined by IAM or configured by users). A `binding` can
4264
- # optionally specify a `condition`, which is a logic expression that further
4265
- # constrains the role binding based on attributes about the request and/or
4266
- # target resource.
4267
- # **JSON Example**
4367
+ # permissions; each `role` can be an IAM predefined role or a user-created
4368
+ # custom role.
4369
+ # Optionally, a `binding` can specify a `condition`, which is a logical
4370
+ # expression that allows access to a resource only if the expression evaluates
4371
+ # to `true`. A condition can add constraints based on attributes of the
4372
+ # request, the resource, or both.
4373
+ # **JSON example:**
4268
4374
  # `
4269
4375
  # "bindings": [
4270
4376
  # `
@@ -4282,13 +4388,15 @@ module Google
4282
4388
  # "condition": `
4283
4389
  # "title": "expirable access",
4284
4390
  # "description": "Does not grant access after Sep 2020",
4285
- # "expression": "request.time <
4286
- # timestamp('2020-10-01T00:00:00.000Z')",
4391
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
4392
+ # ",
4287
4393
  # `
4288
4394
  # `
4289
- # ]
4395
+ # ],
4396
+ # "etag": "BwWWja0YfJA=",
4397
+ # "version": 3
4290
4398
  # `
4291
- # **YAML Example**
4399
+ # **YAML example:**
4292
4400
  # bindings:
4293
4401
  # - members:
4294
4402
  # - user:mike@example.com
@@ -4303,8 +4411,10 @@ module Google
4303
4411
  # title: expirable access
4304
4412
  # description: Does not grant access after Sep 2020
4305
4413
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
4414
+ # - etag: BwWWja0YfJA=
4415
+ # - version: 3
4306
4416
  # For a description of IAM and its features, see the
4307
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
4417
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
4308
4418
  # Corresponds to the JSON property `policy`
4309
4419
  # @return [Google::Apis::RunV1alpha1::Policy]
4310
4420
  attr_accessor :policy
@@ -4330,21 +4440,34 @@ module Google
4330
4440
  end
4331
4441
 
4332
4442
  #
4333
- class SubscriberSpec
4443
+ class Storage
4334
4444
  include Google::Apis::Core::Hashable
4335
4445
 
4336
- # ObjectReference contains enough information to let you inspect or modify the
4337
- # referred object.
4338
- # Corresponds to the JSON property `ref`
4339
- # @return [Google::Apis::RunV1alpha1::ObjectReference]
4340
- attr_accessor :ref
4446
+ # The API version for this call such as "events.cloud.google.com/v1alpha1".
4447
+ # Corresponds to the JSON property `apiVersion`
4448
+ # @return [String]
4449
+ attr_accessor :api_version
4341
4450
 
4342
- # Reference to a 'known' endpoint where no resolving is done.
4343
- # http://k8s-service for example
4344
- # http://myexternalhandler.example.com/foo/bar
4345
- # Corresponds to the JSON property `uri`
4451
+ # The kind of resource, in this case "Storage".
4452
+ # Corresponds to the JSON property `kind`
4346
4453
  # @return [String]
4347
- attr_accessor :uri
4454
+ attr_accessor :kind
4455
+
4456
+ # ObjectMeta is metadata that all persisted resources must have, which includes
4457
+ # all objects users must create.
4458
+ # Corresponds to the JSON property `metadata`
4459
+ # @return [Google::Apis::RunV1alpha1::ObjectMeta]
4460
+ attr_accessor :metadata
4461
+
4462
+ # The desired state of the Storage.
4463
+ # Corresponds to the JSON property `spec`
4464
+ # @return [Google::Apis::RunV1alpha1::StorageSpec]
4465
+ attr_accessor :spec
4466
+
4467
+ # StorageStatus represents the current state of a Storage.
4468
+ # Corresponds to the JSON property `status`
4469
+ # @return [Google::Apis::RunV1alpha1::StorageStatus]
4470
+ attr_accessor :status
4348
4471
 
4349
4472
  def initialize(**args)
4350
4473
  update!(**args)
@@ -4352,8 +4475,126 @@ module Google
4352
4475
 
4353
4476
  # Update properties of this object
4354
4477
  def update!(**args)
4355
- @ref = args[:ref] if args.key?(:ref)
4356
- @uri = args[:uri] if args.key?(:uri)
4478
+ @api_version = args[:api_version] if args.key?(:api_version)
4479
+ @kind = args[:kind] if args.key?(:kind)
4480
+ @metadata = args[:metadata] if args.key?(:metadata)
4481
+ @spec = args[:spec] if args.key?(:spec)
4482
+ @status = args[:status] if args.key?(:status)
4483
+ end
4484
+ end
4485
+
4486
+ # The desired state of the Storage.
4487
+ class StorageSpec
4488
+ include Google::Apis::Core::Hashable
4489
+
4490
+ # Bucket to subscribe to.
4491
+ # Corresponds to the JSON property `bucket`
4492
+ # @return [String]
4493
+ attr_accessor :bucket
4494
+
4495
+ # CloudEventOverrides defines arguments for a Source that control the output
4496
+ # format of the CloudEvents produced by the Source.
4497
+ # Corresponds to the JSON property `ceOverrides`
4498
+ # @return [Google::Apis::RunV1alpha1::CloudEventOverrides]
4499
+ attr_accessor :ce_overrides
4500
+
4501
+ # EventTypes to subscribe to. If unspecified, then subscribe to all events.
4502
+ # +optional
4503
+ # Corresponds to the JSON property `eventTypes`
4504
+ # @return [Array<String>]
4505
+ attr_accessor :event_types
4506
+
4507
+ # ObjectNamePrefix limits the notifications to objects with this prefix
4508
+ # +optional
4509
+ # Corresponds to the JSON property `objectNamePrefix`
4510
+ # @return [String]
4511
+ attr_accessor :object_name_prefix
4512
+
4513
+ # PayloadFormat specifies the contents of the message payload.
4514
+ # See https://cloud.google.com/storage/docs/pubsub-notifications#payload.
4515
+ # +optional
4516
+ # Corresponds to the JSON property `payloadFormat`
4517
+ # @return [String]
4518
+ attr_accessor :payload_format
4519
+
4520
+ # Project is the ID of the Google Cloud Project that the PubSub Topic exists
4521
+ # in. If omitted, defaults to same as the cluster. +optional
4522
+ # Corresponds to the JSON property `project`
4523
+ # @return [String]
4524
+ attr_accessor :project
4525
+
4526
+ # Cloud Run fully managed: not supported
4527
+ # Cloud Run on GKE: supported
4528
+ # SecretKeySelector selects a key of a Secret.
4529
+ # Corresponds to the JSON property `pubsubSecret`
4530
+ # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
4531
+ attr_accessor :pubsub_secret
4532
+
4533
+ # Cloud Run fully managed: not supported
4534
+ # Cloud Run on GKE: supported
4535
+ # SecretKeySelector selects a key of a Secret.
4536
+ # Corresponds to the JSON property `secret`
4537
+ # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
4538
+ attr_accessor :secret
4539
+
4540
+ # ServiceAccountName holds the name of the Kubernetes service account
4541
+ # as which the underlying K8s resources should be run. If unspecified
4542
+ # this will default to the "default" service account for the namespace
4543
+ # in which the GCS exists.
4544
+ # +optional
4545
+ # Corresponds to the JSON property `serviceAccountName`
4546
+ # @return [String]
4547
+ attr_accessor :service_account_name
4548
+
4549
+ # Sink is a reference to an object that will resolve to a domain name or a
4550
+ # URI directly to use as the sink.
4551
+ # Corresponds to the JSON property `sink`
4552
+ # @return [Google::Apis::RunV1alpha1::Destination]
4553
+ attr_accessor :sink
4554
+
4555
+ def initialize(**args)
4556
+ update!(**args)
4557
+ end
4558
+
4559
+ # Update properties of this object
4560
+ def update!(**args)
4561
+ @bucket = args[:bucket] if args.key?(:bucket)
4562
+ @ce_overrides = args[:ce_overrides] if args.key?(:ce_overrides)
4563
+ @event_types = args[:event_types] if args.key?(:event_types)
4564
+ @object_name_prefix = args[:object_name_prefix] if args.key?(:object_name_prefix)
4565
+ @payload_format = args[:payload_format] if args.key?(:payload_format)
4566
+ @project = args[:project] if args.key?(:project)
4567
+ @pubsub_secret = args[:pubsub_secret] if args.key?(:pubsub_secret)
4568
+ @secret = args[:secret] if args.key?(:secret)
4569
+ @service_account_name = args[:service_account_name] if args.key?(:service_account_name)
4570
+ @sink = args[:sink] if args.key?(:sink)
4571
+ end
4572
+ end
4573
+
4574
+ # StorageStatus represents the current state of a Storage.
4575
+ class StorageStatus
4576
+ include Google::Apis::Core::Hashable
4577
+
4578
+ # Array of observed StorageConditions, indicating the current state
4579
+ # of the Storage.
4580
+ # Corresponds to the JSON property `conditions`
4581
+ # @return [Array<Google::Apis::RunV1alpha1::Condition>]
4582
+ attr_accessor :conditions
4583
+
4584
+ # ObservedGeneration is the 'Generation' of the Storage that
4585
+ # was last processed by the controller.
4586
+ # Corresponds to the JSON property `observedGeneration`
4587
+ # @return [Fixnum]
4588
+ attr_accessor :observed_generation
4589
+
4590
+ def initialize(**args)
4591
+ update!(**args)
4592
+ end
4593
+
4594
+ # Update properties of this object
4595
+ def update!(**args)
4596
+ @conditions = args[:conditions] if args.key?(:conditions)
4597
+ @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
4357
4598
  end
4358
4599
  end
4359
4600
 
@@ -4557,26 +4798,23 @@ module Google
4557
4798
  class TriggerCondition
4558
4799
  include Google::Apis::Core::Hashable
4559
4800
 
4560
- # Last time the condition transitioned from one status to another.
4561
- # +optional
4801
+ # Optional. Last time the condition transitioned from one status to another.
4562
4802
  # Corresponds to the JSON property `lastTransitionTime`
4563
4803
  # @return [String]
4564
4804
  attr_accessor :last_transition_time
4565
4805
 
4566
- # Human readable message indicating details about the current status.
4567
- # +optional
4806
+ # Optional. Human readable message indicating details about the current status.
4568
4807
  # Corresponds to the JSON property `message`
4569
4808
  # @return [String]
4570
4809
  attr_accessor :message
4571
4810
 
4572
- # One-word CamelCase reason for the condition's current status.
4573
- # +optional
4811
+ # Optional. One-word CamelCase reason for the condition's current status.
4574
4812
  # Corresponds to the JSON property `reason`
4575
4813
  # @return [String]
4576
4814
  attr_accessor :reason
4577
4815
 
4578
- # How to interpret failures of this condition, one of Error, Warning, Info
4579
- # +optional
4816
+ # Optional. How to interpret failures of this condition, one of Error, Warning,
4817
+ # Info
4580
4818
  # Corresponds to the JSON property `severity`
4581
4819
  # @return [String]
4582
4820
  attr_accessor :severity
@@ -4610,25 +4848,18 @@ module Google
4610
4848
  class TriggerFilter
4611
4849
  include Google::Apis::Core::Hashable
4612
4850
 
4613
- # Cloud Run fully managed: not supported
4614
- # Cloud Run on GKE: supported
4615
- # Attributes filters events by exact match on event context attributes.
4851
+ # Optional. Attributes filters events by exact match on event context attributes.
4616
4852
  # Each key in the map is compared with the equivalent key in the event
4617
4853
  # context. An event passes the filter if all values are equal to the
4618
4854
  # specified values.
4619
4855
  # Nested context attributes are not supported as keys.
4620
4856
  # Only string values are supported.
4621
- # +optional
4857
+ # Note that this field is optional in knative. In fully managed, 'type'
4858
+ # attribute is required due to different broker implementation.
4622
4859
  # Corresponds to the JSON property `attributes`
4623
4860
  # @return [Hash<String,String>]
4624
4861
  attr_accessor :attributes
4625
4862
 
4626
- # TriggerFilterSourceAndType is DEPRECATED. Filters are now contained in the
4627
- # map of attributes in TriggerFilter proto.
4628
- # Corresponds to the JSON property `sourceAndType`
4629
- # @return [Google::Apis::RunV1alpha1::TriggerFilterSourceAndType]
4630
- attr_accessor :source_and_type
4631
-
4632
4863
  def initialize(**args)
4633
4864
  update!(**args)
4634
4865
  end
@@ -4636,59 +4867,6 @@ module Google
4636
4867
  # Update properties of this object
4637
4868
  def update!(**args)
4638
4869
  @attributes = args[:attributes] if args.key?(:attributes)
4639
- @source_and_type = args[:source_and_type] if args.key?(:source_and_type)
4640
- end
4641
- end
4642
-
4643
- # TriggerFilterSourceAndType is DEPRECATED. Filters are now contained in the
4644
- # map of attributes in TriggerFilter proto.
4645
- class TriggerFilterSourceAndType
4646
- include Google::Apis::Core::Hashable
4647
-
4648
- #
4649
- # Corresponds to the JSON property `source`
4650
- # @return [String]
4651
- attr_accessor :source
4652
-
4653
- #
4654
- # Corresponds to the JSON property `type`
4655
- # @return [String]
4656
- attr_accessor :type
4657
-
4658
- def initialize(**args)
4659
- update!(**args)
4660
- end
4661
-
4662
- # Update properties of this object
4663
- def update!(**args)
4664
- @source = args[:source] if args.key?(:source)
4665
- @type = args[:type] if args.key?(:type)
4666
- end
4667
- end
4668
-
4669
- # Deprecated, importer specification will be available via GcpImporterDao.
4670
- class TriggerImporterSpec
4671
- include Google::Apis::Core::Hashable
4672
-
4673
- # Arguments to use for the importer. These must match the parameters in the
4674
- # EventType's importer.
4675
- # Corresponds to the JSON property `arguments`
4676
- # @return [Hash<String,String>]
4677
- attr_accessor :arguments
4678
-
4679
- # Name of the EventType that this importer provides.
4680
- # Corresponds to the JSON property `eventTypeName`
4681
- # @return [String]
4682
- attr_accessor :event_type_name
4683
-
4684
- def initialize(**args)
4685
- update!(**args)
4686
- end
4687
-
4688
- # Update properties of this object
4689
- def update!(**args)
4690
- @arguments = args[:arguments] if args.key?(:arguments)
4691
- @event_type_name = args[:event_type_name] if args.key?(:event_type_name)
4692
4870
  end
4693
4871
  end
4694
4872
 
@@ -4703,24 +4881,18 @@ module Google
4703
4881
  # @return [String]
4704
4882
  attr_accessor :broker
4705
4883
 
4706
- # 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
4707
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.
4708
4889
  # Corresponds to the JSON property `filter`
4709
4890
  # @return [Google::Apis::RunV1alpha1::TriggerFilter]
4710
4891
  attr_accessor :filter
4711
4892
 
4712
- # Deprecated, importer specification will be replaced by information stored
4713
- # in GcpImporterDao.
4714
- # Corresponds to the JSON property `importers`
4715
- # @return [Array<Google::Apis::RunV1alpha1::TriggerImporterSpec>]
4716
- attr_accessor :importers
4717
-
4718
- # Subscriber is the addressable that receives events from the Broker that
4719
- # pass the Filter. It is required.
4720
- # E.g. https://us-central1-myproject.cloudfunctions.net/myfunction or
4721
- # /namespaces/my-project/services/my-service.
4893
+ # Sink is the addressable that will receive events.
4722
4894
  # Corresponds to the JSON property `subscriber`
4723
- # @return [Google::Apis::RunV1alpha1::SubscriberSpec]
4895
+ # @return [Google::Apis::RunV1alpha1::Destination]
4724
4896
  attr_accessor :subscriber
4725
4897
 
4726
4898
  def initialize(**args)
@@ -4731,7 +4903,6 @@ module Google
4731
4903
  def update!(**args)
4732
4904
  @broker = args[:broker] if args.key?(:broker)
4733
4905
  @filter = args[:filter] if args.key?(:filter)
4734
- @importers = args[:importers] if args.key?(:importers)
4735
4906
  @subscriber = args[:subscriber] if args.key?(:subscriber)
4736
4907
  end
4737
4908
  end