google-api-client 0.29.0 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (489) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +122 -0
  3. data/README.md +1 -1
  4. data/bin/generate-api +4 -2
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
  8. data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
  9. data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
  10. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
  13. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
  16. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  17. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
  20. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
  22. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
  23. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
  24. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
  26. data/generated/google/apis/admin_directory_v1/service.rb +113 -113
  27. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  28. data/generated/google/apis/adsense_v1_4/service.rb +39 -39
  29. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
  30. data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
  31. data/generated/google/apis/analytics_v2_4/service.rb +6 -6
  32. data/generated/google/apis/analytics_v3/service.rb +88 -88
  33. data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
  34. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  35. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
  36. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
  38. data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
  39. data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
  40. data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
  41. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  42. data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
  43. data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
  44. data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
  45. data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
  46. data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
  47. data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
  48. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  49. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  50. data/generated/google/apis/appengine_v1/service.rb +38 -38
  51. data/generated/google/apis/appengine_v1.rb +1 -1
  52. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
  53. data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
  54. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  55. data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
  56. data/generated/google/apis/appengine_v1beta/service.rb +38 -38
  57. data/generated/google/apis/appengine_v1beta.rb +1 -1
  58. data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
  59. data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
  60. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  61. data/generated/google/apis/appsmarket_v2/service.rb +3 -3
  62. data/generated/google/apis/appstate_v1/service.rb +5 -5
  63. data/generated/google/apis/bigquery_v2/classes.rb +53 -33
  64. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  65. data/generated/google/apis/bigquery_v2/service.rb +26 -26
  66. data/generated/google/apis/bigquery_v2.rb +1 -1
  67. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
  68. data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
  69. data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
  70. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
  71. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  72. data/generated/google/apis/blogger_v2/service.rb +9 -9
  73. data/generated/google/apis/blogger_v3/service.rb +33 -33
  74. data/generated/google/apis/books_v1/service.rb +51 -51
  75. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  76. data/generated/google/apis/calendar_v3/service.rb +45 -45
  77. data/generated/google/apis/calendar_v3.rb +1 -1
  78. data/generated/google/apis/chat_v1/service.rb +8 -8
  79. data/generated/google/apis/civicinfo_v2/service.rb +5 -5
  80. data/generated/google/apis/classroom_v1/service.rb +57 -56
  81. data/generated/google/apis/classroom_v1.rb +1 -1
  82. data/generated/google/apis/cloudasset_v1/service.rb +3 -3
  83. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  84. data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
  85. data/generated/google/apis/cloudbuild_v1/classes.rb +7 -1
  86. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  87. data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
  88. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  89. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
  90. data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
  91. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
  92. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  93. data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
  94. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  95. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  96. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
  97. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  98. data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
  99. data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
  100. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  101. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  102. data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
  103. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudiot_v1/service.rb +23 -330
  105. data/generated/google/apis/cloudiot_v1.rb +1 -1
  106. data/generated/google/apis/cloudkms_v1/service.rb +30 -30
  107. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
  108. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
  109. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
  110. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
  111. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
  112. data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
  113. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  114. data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
  115. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
  117. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
  119. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  120. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  121. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
  122. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  123. data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
  124. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
  125. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
  127. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  128. data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
  129. data/generated/google/apis/cloudshell_v1/service.rb +4 -4
  130. data/generated/google/apis/cloudshell_v1.rb +1 -1
  131. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
  132. data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
  133. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  134. data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
  135. data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
  136. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  137. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
  138. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
  139. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  140. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
  141. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
  142. data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
  143. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  144. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  145. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  146. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
  147. data/generated/google/apis/composer_v1/service.rb +9 -9
  148. data/generated/google/apis/composer_v1beta1/service.rb +9 -9
  149. data/generated/google/apis/compute_alpha/classes.rb +29 -0
  150. data/generated/google/apis/compute_alpha/representations.rb +15 -0
  151. data/generated/google/apis/compute_alpha/service.rb +625 -623
  152. data/generated/google/apis/compute_alpha.rb +1 -1
  153. data/generated/google/apis/compute_beta/service.rb +504 -503
  154. data/generated/google/apis/compute_beta.rb +1 -1
  155. data/generated/google/apis/compute_v1/service.rb +411 -410
  156. data/generated/google/apis/compute_v1.rb +1 -1
  157. data/generated/google/apis/container_v1/classes.rb +2 -1
  158. data/generated/google/apis/container_v1/service.rb +63 -63
  159. data/generated/google/apis/container_v1.rb +1 -1
  160. data/generated/google/apis/container_v1beta1/classes.rb +52 -4
  161. data/generated/google/apis/container_v1beta1/representations.rb +20 -0
  162. data/generated/google/apis/container_v1beta1/service.rb +64 -64
  163. data/generated/google/apis/container_v1beta1.rb +1 -1
  164. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
  165. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
  166. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  167. data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
  168. data/generated/google/apis/content_v2/classes.rb +9 -3
  169. data/generated/google/apis/content_v2/service.rb +101 -105
  170. data/generated/google/apis/content_v2.rb +1 -1
  171. data/generated/google/apis/content_v2_1/classes.rb +9 -3
  172. data/generated/google/apis/content_v2_1/service.rb +89 -93
  173. data/generated/google/apis/content_v2_1.rb +1 -1
  174. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  175. data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
  176. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  177. data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
  178. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  179. data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
  180. data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
  181. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  182. data/generated/google/apis/dataproc_v1/classes.rb +2 -2
  183. data/generated/google/apis/dataproc_v1/service.rb +261 -45
  184. data/generated/google/apis/dataproc_v1.rb +1 -1
  185. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
  186. data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
  187. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  188. data/generated/google/apis/datastore_v1/service.rb +15 -15
  189. data/generated/google/apis/datastore_v1.rb +1 -1
  190. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  191. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  192. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  193. data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
  194. data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
  195. data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
  196. data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
  197. data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
  198. data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
  199. data/generated/google/apis/dialogflow_v2/classes.rb +8 -8
  200. data/generated/google/apis/dialogflow_v2/service.rb +36 -36
  201. data/generated/google/apis/dialogflow_v2.rb +1 -1
  202. data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
  203. data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
  204. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  205. data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
  206. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  207. data/generated/google/apis/discovery_v1/service.rb +2 -2
  208. data/generated/google/apis/dlp_v2/classes.rb +8 -2
  209. data/generated/google/apis/dlp_v2/service.rb +51 -46
  210. data/generated/google/apis/dlp_v2.rb +1 -1
  211. data/generated/google/apis/dns_v1/service.rb +15 -15
  212. data/generated/google/apis/dns_v1beta2/service.rb +21 -21
  213. data/generated/google/apis/dns_v2beta1/service.rb +16 -16
  214. data/generated/google/apis/dns_v2beta1.rb +1 -1
  215. data/generated/google/apis/docs_v1/classes.rb +137 -0
  216. data/generated/google/apis/docs_v1/representations.rb +57 -0
  217. data/generated/google/apis/docs_v1/service.rb +3 -3
  218. data/generated/google/apis/docs_v1.rb +1 -1
  219. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
  220. data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
  221. data/generated/google/apis/drive_v2/classes.rb +10 -21
  222. data/generated/google/apis/drive_v2/service.rb +152 -100
  223. data/generated/google/apis/drive_v2.rb +1 -1
  224. data/generated/google/apis/drive_v3/classes.rb +9 -20
  225. data/generated/google/apis/drive_v3/service.rb +100 -64
  226. data/generated/google/apis/drive_v3.rb +1 -1
  227. data/generated/google/apis/driveactivity_v2/service.rb +1 -1
  228. data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
  229. data/generated/google/apis/fcm_v1/classes.rb +424 -0
  230. data/generated/google/apis/fcm_v1/representations.rb +167 -0
  231. data/generated/google/apis/fcm_v1/service.rb +97 -0
  232. data/generated/google/apis/fcm_v1.rb +35 -0
  233. data/generated/google/apis/file_v1/classes.rb +52 -1
  234. data/generated/google/apis/file_v1/representations.rb +16 -0
  235. data/generated/google/apis/file_v1/service.rb +11 -11
  236. data/generated/google/apis/file_v1.rb +1 -1
  237. data/generated/google/apis/file_v1beta1/classes.rb +52 -1
  238. data/generated/google/apis/file_v1beta1/representations.rb +16 -0
  239. data/generated/google/apis/file_v1beta1/service.rb +11 -11
  240. data/generated/google/apis/file_v1beta1.rb +1 -1
  241. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
  242. data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
  243. data/generated/google/apis/firebaserules_v1/service.rb +11 -11
  244. data/generated/google/apis/firestore_v1/service.rb +28 -28
  245. data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
  246. data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
  247. data/generated/google/apis/fitness_v1/service.rb +13 -13
  248. data/generated/google/apis/fusiontables_v1/service.rb +32 -32
  249. data/generated/google/apis/fusiontables_v2/service.rb +34 -34
  250. data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
  251. data/generated/google/apis/games_management_v1management/service.rb +27 -27
  252. data/generated/google/apis/games_v1/service.rb +53 -53
  253. data/generated/google/apis/genomics_v1/service.rb +3 -3
  254. data/generated/google/apis/genomics_v1.rb +1 -1
  255. data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
  256. data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
  257. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  258. data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
  259. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  260. data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
  261. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  262. data/generated/google/apis/gmail_v1/service.rb +68 -68
  263. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  264. data/generated/google/apis/groupssettings_v1/service.rb +3 -3
  265. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
  266. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
  267. data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
  268. data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
  269. data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
  270. data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
  271. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  272. data/generated/google/apis/iam_v1/classes.rb +48 -0
  273. data/generated/google/apis/iam_v1/representations.rb +28 -0
  274. data/generated/google/apis/iam_v1/service.rb +59 -42
  275. data/generated/google/apis/iam_v1.rb +1 -1
  276. data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
  277. data/generated/google/apis/iap_v1/service.rb +3 -3
  278. data/generated/google/apis/iap_v1beta1/service.rb +3 -3
  279. data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
  280. data/generated/google/apis/indexing_v3/service.rb +2 -2
  281. data/generated/google/apis/jobs_v2/service.rb +17 -17
  282. data/generated/google/apis/jobs_v3/service.rb +15 -15
  283. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
  284. data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
  285. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/service.rb +1 -1
  287. data/generated/google/apis/language_v1/service.rb +6 -6
  288. data/generated/google/apis/language_v1.rb +1 -1
  289. data/generated/google/apis/language_v1beta1/service.rb +4 -4
  290. data/generated/google/apis/language_v1beta2/service.rb +6 -6
  291. data/generated/google/apis/language_v1beta2.rb +1 -1
  292. data/generated/google/apis/libraryagent_v1/service.rb +6 -6
  293. data/generated/google/apis/licensing_v1/service.rb +7 -7
  294. data/generated/google/apis/logging_v2/classes.rb +6 -0
  295. data/generated/google/apis/logging_v2/representations.rb +1 -0
  296. data/generated/google/apis/logging_v2/service.rb +72 -72
  297. data/generated/google/apis/logging_v2.rb +1 -1
  298. data/generated/google/apis/manufacturers_v1/service.rb +4 -4
  299. data/generated/google/apis/mirror_v1/service.rb +24 -24
  300. data/generated/google/apis/ml_v1/classes.rb +73 -55
  301. data/generated/google/apis/ml_v1/service.rb +31 -31
  302. data/generated/google/apis/ml_v1.rb +1 -1
  303. data/generated/google/apis/monitoring_v3/classes.rb +14 -1
  304. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  305. data/generated/google/apis/monitoring_v3/service.rb +36 -36
  306. data/generated/google/apis/monitoring_v3.rb +1 -1
  307. data/generated/google/apis/oauth2_v1/service.rb +3 -3
  308. data/generated/google/apis/oauth2_v2/service.rb +4 -4
  309. data/generated/google/apis/oslogin_v1/service.rb +6 -6
  310. data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
  311. data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
  312. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  313. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  314. data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
  315. data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
  316. data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
  317. data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
  318. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  319. data/generated/google/apis/people_v1/service.rb +13 -13
  320. data/generated/google/apis/people_v1.rb +1 -1
  321. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  322. data/generated/google/apis/plus_domains_v1/service.rb +10 -10
  323. data/generated/google/apis/plus_v1/service.rb +9 -9
  324. data/generated/google/apis/poly_v1/service.rb +4 -4
  325. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
  326. data/generated/google/apis/pubsub_v1/service.rb +32 -32
  327. data/generated/google/apis/pubsub_v1.rb +1 -1
  328. data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
  329. data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
  330. data/generated/google/apis/redis_v1/service.rb +19 -19
  331. data/generated/google/apis/redis_v1.rb +1 -1
  332. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  333. data/generated/google/apis/redis_v1beta1/service.rb +15 -15
  334. data/generated/google/apis/redis_v1beta1.rb +1 -1
  335. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  336. data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
  337. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  338. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  339. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  342. data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
  343. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  344. data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
  345. data/generated/google/apis/reseller_v1/service.rb +17 -17
  346. data/generated/google/apis/run_v1/service.rb +1 -1
  347. data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
  348. data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
  349. data/generated/google/apis/run_v1alpha1/service.rb +446 -38
  350. data/generated/google/apis/run_v1alpha1.rb +1 -1
  351. data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
  352. data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
  353. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  354. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
  355. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
  356. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  357. data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
  358. data/generated/google/apis/script_v1/classes.rb +167 -0
  359. data/generated/google/apis/script_v1/representations.rb +79 -0
  360. data/generated/google/apis/script_v1/service.rb +16 -16
  361. data/generated/google/apis/script_v1.rb +1 -1
  362. data/generated/google/apis/searchconsole_v1/service.rb +1 -1
  363. data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
  364. data/generated/google/apis/securitycenter_v1/service.rb +23 -23
  365. data/generated/google/apis/securitycenter_v1.rb +1 -1
  366. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
  367. data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
  368. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  369. data/generated/google/apis/servicebroker_v1/service.rb +3 -3
  370. data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
  371. data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
  372. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +14 -60
  373. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -29
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
  375. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  376. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
  377. data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
  378. data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
  379. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  380. data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
  381. data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
  382. data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
  383. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  384. data/generated/google/apis/servicenetworking_v1/classes.rb +14 -60
  385. data/generated/google/apis/servicenetworking_v1/representations.rb +2 -29
  386. data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
  387. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  388. data/generated/google/apis/servicenetworking_v1beta/classes.rb +14 -60
  389. data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
  390. data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
  391. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  392. data/generated/google/apis/serviceusage_v1/classes.rb +14 -60
  393. data/generated/google/apis/serviceusage_v1/representations.rb +2 -29
  394. data/generated/google/apis/serviceusage_v1/service.rb +17 -19
  395. data/generated/google/apis/serviceusage_v1.rb +1 -1
  396. data/generated/google/apis/serviceusage_v1beta1/classes.rb +14 -60
  397. data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -29
  398. data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
  399. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  400. data/generated/google/apis/sheets_v4/service.rb +17 -17
  401. data/generated/google/apis/sheets_v4.rb +1 -1
  402. data/generated/google/apis/site_verification_v1/service.rb +7 -7
  403. data/generated/google/apis/slides_v1/service.rb +5 -5
  404. data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
  405. data/generated/google/apis/spanner_v1/classes.rb +51 -9
  406. data/generated/google/apis/spanner_v1/representations.rb +17 -0
  407. data/generated/google/apis/spanner_v1/service.rb +41 -41
  408. data/generated/google/apis/spanner_v1.rb +1 -1
  409. data/generated/google/apis/speech_v1/classes.rb +2 -2
  410. data/generated/google/apis/speech_v1/service.rb +7 -7
  411. data/generated/google/apis/speech_v1.rb +1 -1
  412. data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
  413. data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
  414. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  415. data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
  416. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  417. data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
  418. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  419. data/generated/google/apis/storage_v1/classes.rb +2 -2
  420. data/generated/google/apis/storage_v1/representations.rb +2 -1
  421. data/generated/google/apis/storage_v1/service.rb +52 -52
  422. data/generated/google/apis/storage_v1.rb +1 -1
  423. data/generated/google/apis/storage_v1beta1/service.rb +24 -24
  424. data/generated/google/apis/storage_v1beta2/service.rb +34 -34
  425. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
  426. data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
  427. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  428. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  429. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
  430. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  431. data/generated/google/apis/surveys_v2/service.rb +8 -8
  432. data/generated/google/apis/tagmanager_v1/service.rb +49 -49
  433. data/generated/google/apis/tagmanager_v2/service.rb +74 -74
  434. data/generated/google/apis/tasks_v1/service.rb +14 -14
  435. data/generated/google/apis/testing_v1/classes.rb +25 -12
  436. data/generated/google/apis/testing_v1/representations.rb +2 -0
  437. data/generated/google/apis/testing_v1/service.rb +5 -5
  438. data/generated/google/apis/testing_v1.rb +1 -1
  439. data/generated/google/apis/texttospeech_v1/service.rb +2 -2
  440. data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
  441. data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
  442. data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
  443. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  444. data/generated/google/apis/tpu_v1/classes.rb +1 -1
  445. data/generated/google/apis/tpu_v1/service.rb +17 -17
  446. data/generated/google/apis/tpu_v1.rb +1 -1
  447. data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
  448. data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
  449. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  450. data/generated/google/apis/translate_v2/service.rb +5 -5
  451. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  452. data/generated/google/apis/vault_v1/service.rb +28 -28
  453. data/generated/google/apis/videointelligence_v1/service.rb +5 -5
  454. data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
  455. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
  456. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
  457. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
  458. data/generated/google/apis/vision_v1/classes.rb +2372 -73
  459. data/generated/google/apis/vision_v1/representations.rb +1643 -651
  460. data/generated/google/apis/vision_v1/service.rb +98 -35
  461. data/generated/google/apis/vision_v1.rb +1 -1
  462. data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
  463. data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
  464. data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
  465. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  466. data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
  467. data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
  468. data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
  469. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  470. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  471. data/generated/google/apis/webmasters_v3/service.rb +9 -9
  472. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
  473. data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
  474. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  475. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  476. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
  477. data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
  478. data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
  479. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  480. data/generated/google/apis/youtube_v3/service.rb +71 -71
  481. data/generated/google/apis/youtube_v3.rb +1 -1
  482. data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
  483. data/google-api-client.gemspec +1 -1
  484. data/lib/google/apis/core/json_representation.rb +4 -0
  485. data/lib/google/apis/core/upload.rb +3 -3
  486. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  487. data/lib/google/apis/version.rb +1 -1
  488. metadata +13 -6
  489. data/samples/web/.env +0 -2
@@ -413,6 +413,13 @@ module Google
413
413
  # @return [Google::Apis::RunV1alpha1::RevisionTemplate]
414
414
  attr_accessor :revision_template
415
415
 
416
+ # RevisionTemplateSpec describes the data a revision should have when created
417
+ # from a template. Based on:
418
+ # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
419
+ # Corresponds to the JSON property `template`
420
+ # @return [Google::Apis::RunV1alpha1::RevisionTemplate]
421
+ attr_accessor :template
422
+
416
423
  def initialize(**args)
417
424
  update!(**args)
418
425
  end
@@ -421,6 +428,7 @@ module Google
421
428
  def update!(**args)
422
429
  @generation = args[:generation] if args.key?(:generation)
423
430
  @revision_template = args[:revision_template] if args.key?(:revision_template)
431
+ @template = args[:template] if args.key?(:template)
424
432
  end
425
433
  end
426
434
 
@@ -1615,6 +1623,51 @@ module Google
1615
1623
  end
1616
1624
  end
1617
1625
 
1626
+ # ListTriggersResponse is a list of Trigger resources.
1627
+ class ListTriggersResponse
1628
+ include Google::Apis::Core::Hashable
1629
+
1630
+ # The API version for this call such as "v1alpha1".
1631
+ # Corresponds to the JSON property `apiVersion`
1632
+ # @return [String]
1633
+ attr_accessor :api_version
1634
+
1635
+ # List of Triggers.
1636
+ # Corresponds to the JSON property `items`
1637
+ # @return [Array<Google::Apis::RunV1alpha1::Trigger>]
1638
+ attr_accessor :items
1639
+
1640
+ # The kind of this resource, in this case "TriggerList".
1641
+ # Corresponds to the JSON property `kind`
1642
+ # @return [String]
1643
+ attr_accessor :kind
1644
+
1645
+ # ListMeta describes metadata that synthetic resources must have, including
1646
+ # lists and various status objects. A resource may have only one of
1647
+ # `ObjectMeta, ListMeta`.
1648
+ # Corresponds to the JSON property `metadata`
1649
+ # @return [Google::Apis::RunV1alpha1::ListMeta]
1650
+ attr_accessor :metadata
1651
+
1652
+ # Locations that could not be reached.
1653
+ # Corresponds to the JSON property `unreachable`
1654
+ # @return [Array<String>]
1655
+ attr_accessor :unreachable
1656
+
1657
+ def initialize(**args)
1658
+ update!(**args)
1659
+ end
1660
+
1661
+ # Update properties of this object
1662
+ def update!(**args)
1663
+ @api_version = args[:api_version] if args.key?(:api_version)
1664
+ @items = args[:items] if args.key?(:items)
1665
+ @kind = args[:kind] if args.key?(:kind)
1666
+ @metadata = args[:metadata] if args.key?(:metadata)
1667
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1668
+ end
1669
+ end
1670
+
1618
1671
  # LocalObjectReference contains enough information to let you locate the
1619
1672
  # referenced object inside the same namespace.
1620
1673
  class LocalObjectReference
@@ -1895,6 +1948,87 @@ module Google
1895
1948
  end
1896
1949
  end
1897
1950
 
1951
+ # ObjectReference contains enough information to let you inspect or modify the
1952
+ # referred object.
1953
+ class ObjectReference
1954
+ include Google::Apis::Core::Hashable
1955
+
1956
+ # API version of the referent.
1957
+ # +optional
1958
+ # Corresponds to the JSON property `apiVersion`
1959
+ # @return [String]
1960
+ attr_accessor :api_version
1961
+
1962
+ # If referring to a piece of an object instead of an entire object, this
1963
+ # string should contain a valid JSON/Go field access statement, such as
1964
+ # desiredState.manifest.containers[2]. For example, if the object reference
1965
+ # is to a container within a pod, this would take on a value like:
1966
+ # "spec.containers`name`" (where "name" refers to the name of the container
1967
+ # that triggered the event) or if no container name is specified
1968
+ # "spec.containers[2]" (container with index 2 in this pod). This syntax is
1969
+ # chosen only to have some well-defined way of referencing a part of an
1970
+ # object.
1971
+ # Corresponds to the JSON property `fieldPath`
1972
+ # @return [String]
1973
+ attr_accessor :field_path
1974
+
1975
+ # Kind of the referent.
1976
+ # More info:
1977
+ # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
1978
+ # +optional
1979
+ # Corresponds to the JSON property `kind`
1980
+ # @return [String]
1981
+ attr_accessor :kind
1982
+
1983
+ # Name of the referent.
1984
+ # More info:
1985
+ # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1986
+ # +optional
1987
+ # Corresponds to the JSON property `name`
1988
+ # @return [String]
1989
+ attr_accessor :name
1990
+
1991
+ # Namespace of the referent.
1992
+ # More info:
1993
+ # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
1994
+ # +optional
1995
+ # Corresponds to the JSON property `namespace`
1996
+ # @return [String]
1997
+ attr_accessor :namespace
1998
+
1999
+ # Specific resourceVersion to which this reference is made, if any.
2000
+ # More info:
2001
+ # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-
2002
+ # control-and-consistency
2003
+ # +optional
2004
+ # Corresponds to the JSON property `resourceVersion`
2005
+ # @return [String]
2006
+ attr_accessor :resource_version
2007
+
2008
+ # UID of the referent.
2009
+ # More info:
2010
+ # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
2011
+ # +optional
2012
+ # Corresponds to the JSON property `uid`
2013
+ # @return [String]
2014
+ attr_accessor :uid
2015
+
2016
+ def initialize(**args)
2017
+ update!(**args)
2018
+ end
2019
+
2020
+ # Update properties of this object
2021
+ def update!(**args)
2022
+ @api_version = args[:api_version] if args.key?(:api_version)
2023
+ @field_path = args[:field_path] if args.key?(:field_path)
2024
+ @kind = args[:kind] if args.key?(:kind)
2025
+ @name = args[:name] if args.key?(:name)
2026
+ @namespace = args[:namespace] if args.key?(:namespace)
2027
+ @resource_version = args[:resource_version] if args.key?(:resource_version)
2028
+ @uid = args[:uid] if args.key?(:uid)
2029
+ end
2030
+ end
2031
+
1898
2032
  # OwnerReference contains enough information to let you identify an owning
1899
2033
  # object. Currently, an owning object must be in the same namespace, so there
1900
2034
  # is no namespace field.
@@ -2352,6 +2486,13 @@ module Google
2352
2486
  # @return [Fixnum]
2353
2487
  attr_accessor :container_concurrency
2354
2488
 
2489
+ # Containers holds the single container that defines the unit of execution
2490
+ # for this Revision. In the context of a Revision, we disallow a number of
2491
+ # fields on this Container, including: name and lifecycle.
2492
+ # Corresponds to the JSON property `containers`
2493
+ # @return [Array<Google::Apis::RunV1alpha1::Container>]
2494
+ attr_accessor :containers
2495
+
2355
2496
  # Deprecated and not currently populated by Cloud Run. See
2356
2497
  # metadata.generation instead, which is the sequence number containing the
2357
2498
  # latest generation of the desired state.
@@ -2391,6 +2532,7 @@ module Google
2391
2532
  @concurrency_model = args[:concurrency_model] if args.key?(:concurrency_model)
2392
2533
  @container = args[:container] if args.key?(:container)
2393
2534
  @container_concurrency = args[:container_concurrency] if args.key?(:container_concurrency)
2535
+ @containers = args[:containers] if args.key?(:containers)
2394
2536
  @generation = args[:generation] if args.key?(:generation)
2395
2537
  @service_account_name = args[:service_account_name] if args.key?(:service_account_name)
2396
2538
  @serving_state = args[:serving_state] if args.key?(:serving_state)
@@ -2992,6 +3134,22 @@ module Google
2992
3134
  # @return [Google::Apis::RunV1alpha1::ServiceSpecRunLatest]
2993
3135
  attr_accessor :run_latest
2994
3136
 
3137
+ # RevisionTemplateSpec describes the data a revision should have when created
3138
+ # from a template. Based on:
3139
+ # https://github.com/kubernetes/api/blob/e771f807/core/v1/types.go#L3179-L3190
3140
+ # Corresponds to the JSON property `template`
3141
+ # @return [Google::Apis::RunV1alpha1::RevisionTemplate]
3142
+ attr_accessor :template
3143
+
3144
+ # Traffic specifies how to distribute traffic over a collection of Knative
3145
+ # Revisions and Configurations. This will replace existing service specs
3146
+ # (ServiceSpecRunLatest, ServiceSpecPinnedType, ServiceSpecReleaseType, and
3147
+ # ServiceSpecManualType).
3148
+ # Not currently supported by Cloud Run.
3149
+ # Corresponds to the JSON property `traffic`
3150
+ # @return [Array<Google::Apis::RunV1alpha1::TrafficTarget>]
3151
+ attr_accessor :traffic
3152
+
2995
3153
  def initialize(**args)
2996
3154
  update!(**args)
2997
3155
  end
@@ -3003,6 +3161,8 @@ module Google
3003
3161
  @pinned = args[:pinned] if args.key?(:pinned)
3004
3162
  @release = args[:release] if args.key?(:release)
3005
3163
  @run_latest = args[:run_latest] if args.key?(:run_latest)
3164
+ @template = args[:template] if args.key?(:template)
3165
+ @traffic = args[:traffic] if args.key?(:traffic)
3006
3166
  end
3007
3167
  end
3008
3168
 
@@ -3250,6 +3410,34 @@ module Google
3250
3410
  end
3251
3411
  end
3252
3412
 
3413
+ #
3414
+ class SubscriberSpec
3415
+ include Google::Apis::Core::Hashable
3416
+
3417
+ # ObjectReference contains enough information to let you inspect or modify the
3418
+ # referred object.
3419
+ # Corresponds to the JSON property `ref`
3420
+ # @return [Google::Apis::RunV1alpha1::ObjectReference]
3421
+ attr_accessor :ref
3422
+
3423
+ # Reference to a 'known' endpoint where no resolving is done.
3424
+ # http://k8s-service for example
3425
+ # http://myexternalhandler.example.com/foo/bar
3426
+ # Corresponds to the JSON property `uri`
3427
+ # @return [String]
3428
+ attr_accessor :uri
3429
+
3430
+ def initialize(**args)
3431
+ update!(**args)
3432
+ end
3433
+
3434
+ # Update properties of this object
3435
+ def update!(**args)
3436
+ @ref = args[:ref] if args.key?(:ref)
3437
+ @uri = args[:uri] if args.key?(:uri)
3438
+ end
3439
+ end
3440
+
3253
3441
  # TCPSocketAction describes an action based on opening a socket
3254
3442
  class TcpSocketAction
3255
3443
  include Google::Apis::Core::Hashable
@@ -3336,6 +3524,17 @@ module Google
3336
3524
  # @return [String]
3337
3525
  attr_accessor :configuration_name
3338
3526
 
3527
+ # LatestRevision may be optionally provided to indicate that the latest
3528
+ # ready Revision of the Configuration should be used for this traffic
3529
+ # target. When provided LatestRevision must be true if RevisionName is
3530
+ # empty; it must be false when RevisionName is non-empty.
3531
+ # Not currently supported in Cloud Run.
3532
+ # +optional
3533
+ # Corresponds to the JSON property `latestRevision`
3534
+ # @return [Boolean]
3535
+ attr_accessor :latest_revision
3536
+ alias_method :latest_revision?, :latest_revision
3537
+
3339
3538
  # Name is optionally used to expose a dedicated hostname for referencing this
3340
3539
  # target exclusively.
3341
3540
  # Not currently supported by Cloud Run.
@@ -3359,6 +3558,23 @@ module Google
3359
3558
  # @return [String]
3360
3559
  attr_accessor :revision_name
3361
3560
 
3561
+ # Tag is optionally used to expose a dedicated url for referencing
3562
+ # this target exclusively.
3563
+ # Not currently supported in Cloud Run.
3564
+ # +optional
3565
+ # Corresponds to the JSON property `tag`
3566
+ # @return [String]
3567
+ attr_accessor :tag
3568
+
3569
+ # Output only. URL displays the URL for accessing named traffic targets. URL
3570
+ # is displayed in status, and is disallowed on spec. URL must contain a
3571
+ # scheme (e.g. http://) and a hostname, but may not contain anything else
3572
+ # (e.g. basic auth, url path, etc.
3573
+ # Not currently supported in Cloud Run.
3574
+ # Corresponds to the JSON property `url`
3575
+ # @return [String]
3576
+ attr_accessor :url
3577
+
3362
3578
  def initialize(**args)
3363
3579
  update!(**args)
3364
3580
  end
@@ -3366,9 +3582,220 @@ module Google
3366
3582
  # Update properties of this object
3367
3583
  def update!(**args)
3368
3584
  @configuration_name = args[:configuration_name] if args.key?(:configuration_name)
3585
+ @latest_revision = args[:latest_revision] if args.key?(:latest_revision)
3369
3586
  @name = args[:name] if args.key?(:name)
3370
3587
  @percent = args[:percent] if args.key?(:percent)
3371
3588
  @revision_name = args[:revision_name] if args.key?(:revision_name)
3589
+ @tag = args[:tag] if args.key?(:tag)
3590
+ @url = args[:url] if args.key?(:url)
3591
+ end
3592
+ end
3593
+
3594
+ #
3595
+ class Trigger
3596
+ include Google::Apis::Core::Hashable
3597
+
3598
+ # The API version for this call such as "v1alpha1".
3599
+ # Corresponds to the JSON property `apiVersion`
3600
+ # @return [String]
3601
+ attr_accessor :api_version
3602
+
3603
+ # The kind of resource, in this case "Trigger".
3604
+ # Corresponds to the JSON property `kind`
3605
+ # @return [String]
3606
+ attr_accessor :kind
3607
+
3608
+ # ObjectMeta is metadata that all persisted resources must have, which includes
3609
+ # all objects users must create.
3610
+ # Corresponds to the JSON property `metadata`
3611
+ # @return [Google::Apis::RunV1alpha1::ObjectMeta]
3612
+ attr_accessor :metadata
3613
+
3614
+ # The desired state of the Trigger.
3615
+ # Corresponds to the JSON property `spec`
3616
+ # @return [Google::Apis::RunV1alpha1::TriggerSpec]
3617
+ attr_accessor :spec
3618
+
3619
+ # TriggerStatus represents the current state of a Trigger.
3620
+ # Corresponds to the JSON property `status`
3621
+ # @return [Google::Apis::RunV1alpha1::TriggerStatus]
3622
+ attr_accessor :status
3623
+
3624
+ def initialize(**args)
3625
+ update!(**args)
3626
+ end
3627
+
3628
+ # Update properties of this object
3629
+ def update!(**args)
3630
+ @api_version = args[:api_version] if args.key?(:api_version)
3631
+ @kind = args[:kind] if args.key?(:kind)
3632
+ @metadata = args[:metadata] if args.key?(:metadata)
3633
+ @spec = args[:spec] if args.key?(:spec)
3634
+ @status = args[:status] if args.key?(:status)
3635
+ end
3636
+ end
3637
+
3638
+ # TriggerCondition contains state information for an Trigger.
3639
+ class TriggerCondition
3640
+ include Google::Apis::Core::Hashable
3641
+
3642
+ # Last time the condition transitioned from one status to another.
3643
+ # +optional
3644
+ # Corresponds to the JSON property `lastTransitionTime`
3645
+ # @return [String]
3646
+ attr_accessor :last_transition_time
3647
+
3648
+ # Human readable message indicating details about the current status.
3649
+ # +optional
3650
+ # Corresponds to the JSON property `message`
3651
+ # @return [String]
3652
+ attr_accessor :message
3653
+
3654
+ # One-word CamelCase reason for the condition's current status.
3655
+ # +optional
3656
+ # Corresponds to the JSON property `reason`
3657
+ # @return [String]
3658
+ attr_accessor :reason
3659
+
3660
+ # Status of the condition, one of True, False, Unknown.
3661
+ # Corresponds to the JSON property `status`
3662
+ # @return [String]
3663
+ attr_accessor :status
3664
+
3665
+ # Type of Trigger condition.
3666
+ # Corresponds to the JSON property `type`
3667
+ # @return [String]
3668
+ attr_accessor :type
3669
+
3670
+ def initialize(**args)
3671
+ update!(**args)
3672
+ end
3673
+
3674
+ # Update properties of this object
3675
+ def update!(**args)
3676
+ @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
3677
+ @message = args[:message] if args.key?(:message)
3678
+ @reason = args[:reason] if args.key?(:reason)
3679
+ @status = args[:status] if args.key?(:status)
3680
+ @type = args[:type] if args.key?(:type)
3681
+ end
3682
+ end
3683
+
3684
+ #
3685
+ class TriggerFilter
3686
+ include Google::Apis::Core::Hashable
3687
+
3688
+ # TriggerFilterSourceAndType filters events based on exact matches on the cloud
3689
+ # event's type and source attributes. Only exact matches will pass the filter.
3690
+ # Corresponds to the JSON property `sourceAndType`
3691
+ # @return [Google::Apis::RunV1alpha1::TriggerFilterSourceAndType]
3692
+ attr_accessor :source_and_type
3693
+
3694
+ def initialize(**args)
3695
+ update!(**args)
3696
+ end
3697
+
3698
+ # Update properties of this object
3699
+ def update!(**args)
3700
+ @source_and_type = args[:source_and_type] if args.key?(:source_and_type)
3701
+ end
3702
+ end
3703
+
3704
+ # TriggerFilterSourceAndType filters events based on exact matches on the cloud
3705
+ # event's type and source attributes. Only exact matches will pass the filter.
3706
+ class TriggerFilterSourceAndType
3707
+ include Google::Apis::Core::Hashable
3708
+
3709
+ #
3710
+ # Corresponds to the JSON property `source`
3711
+ # @return [String]
3712
+ attr_accessor :source
3713
+
3714
+ #
3715
+ # Corresponds to the JSON property `type`
3716
+ # @return [String]
3717
+ attr_accessor :type
3718
+
3719
+ def initialize(**args)
3720
+ update!(**args)
3721
+ end
3722
+
3723
+ # Update properties of this object
3724
+ def update!(**args)
3725
+ @source = args[:source] if args.key?(:source)
3726
+ @type = args[:type] if args.key?(:type)
3727
+ end
3728
+ end
3729
+
3730
+ # The desired state of the Trigger.
3731
+ class TriggerSpec
3732
+ include Google::Apis::Core::Hashable
3733
+
3734
+ # Broker is the broker that this trigger receives events from. If not
3735
+ # specified, will default to 'default'.
3736
+ # Not currently supported by Cloud Run.
3737
+ # Corresponds to the JSON property `broker`
3738
+ # @return [String]
3739
+ attr_accessor :broker
3740
+
3741
+ # Filter is the filter to apply against all events from the Broker. Only
3742
+ # events that pass this filter will be sent to the Subscriber. If not
3743
+ # specified, will default to allowing all events.
3744
+ # This must be specified in Cloud Run.
3745
+ # Corresponds to the JSON property `filter`
3746
+ # @return [Google::Apis::RunV1alpha1::TriggerFilter]
3747
+ attr_accessor :filter
3748
+
3749
+ # Subscriber is the addressable that receives events from the Broker that
3750
+ # pass the Filter. It is required.
3751
+ # E.g. https://us-central1-myproject.cloudfunctions.net/myfunction or
3752
+ # /namespaces/my-project/services/my-service.
3753
+ # Corresponds to the JSON property `subscriber`
3754
+ # @return [Google::Apis::RunV1alpha1::SubscriberSpec]
3755
+ attr_accessor :subscriber
3756
+
3757
+ def initialize(**args)
3758
+ update!(**args)
3759
+ end
3760
+
3761
+ # Update properties of this object
3762
+ def update!(**args)
3763
+ @broker = args[:broker] if args.key?(:broker)
3764
+ @filter = args[:filter] if args.key?(:filter)
3765
+ @subscriber = args[:subscriber] if args.key?(:subscriber)
3766
+ end
3767
+ end
3768
+
3769
+ # TriggerStatus represents the current state of a Trigger.
3770
+ class TriggerStatus
3771
+ include Google::Apis::Core::Hashable
3772
+
3773
+ # Array of observed TriggerConditions, indicating the current state
3774
+ # of the Trigger.
3775
+ # Corresponds to the JSON property `conditions`
3776
+ # @return [Array<Google::Apis::RunV1alpha1::TriggerCondition>]
3777
+ attr_accessor :conditions
3778
+
3779
+ # ObservedGeneration is the 'Generation' of the Trigger that
3780
+ # was last processed by the controller.
3781
+ # Corresponds to the JSON property `observedGeneration`
3782
+ # @return [Fixnum]
3783
+ attr_accessor :observed_generation
3784
+
3785
+ # SubscriberURI is the resolved URI of the receiver for this Trigger.
3786
+ # Corresponds to the JSON property `subscriberUri`
3787
+ # @return [String]
3788
+ attr_accessor :subscriber_uri
3789
+
3790
+ def initialize(**args)
3791
+ update!(**args)
3792
+ end
3793
+
3794
+ # Update properties of this object
3795
+ def update!(**args)
3796
+ @conditions = args[:conditions] if args.key?(:conditions)
3797
+ @observed_generation = args[:observed_generation] if args.key?(:observed_generation)
3798
+ @subscriber_uri = args[:subscriber_uri] if args.key?(:subscriber_uri)
3372
3799
  end
3373
3800
  end
3374
3801