google-api-client 0.30.8 → 0.30.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (329) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +108 -0
  3. data/README.md +1 -1
  4. data/api_names.yaml +16 -0
  5. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  6. data/generated/google/apis/accessapproval_v1beta1/classes.rb +51 -0
  7. data/generated/google/apis/accessapproval_v1beta1/representations.rb +16 -0
  8. data/generated/google/apis/accessapproval_v1beta1/service.rb +30 -6
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  11. data/generated/google/apis/adexperiencereport_v1/classes.rb +2 -0
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +55 -5
  14. data/generated/google/apis/admin_directory_v1/representations.rb +6 -0
  15. data/generated/google/apis/admin_directory_v1/service.rb +11 -10
  16. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  17. data/generated/google/apis/alertcenter_v1beta1/classes.rb +235 -0
  18. data/generated/google/apis/alertcenter_v1beta1/representations.rb +95 -0
  19. data/generated/google/apis/alertcenter_v1beta1/service.rb +99 -1
  20. data/generated/google/apis/analytics_v3.rb +1 -1
  21. data/generated/google/apis/analytics_v3/classes.rb +6 -0
  22. data/generated/google/apis/analytics_v3/representations.rb +1 -0
  23. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -1
  25. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  26. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidmanagement_v1/classes.rb +65 -0
  29. data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -2
  32. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  33. data/generated/google/apis/androidpublisher_v2/service.rb +12 -12
  34. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v3/classes.rb +39 -2
  36. data/generated/google/apis/androidpublisher_v3/representations.rb +4 -0
  37. data/generated/google/apis/androidpublisher_v3/service.rb +25 -13
  38. data/generated/google/apis/bigquery_v2.rb +4 -1
  39. data/generated/google/apis/bigquery_v2/classes.rb +137 -5
  40. data/generated/google/apis/bigquery_v2/representations.rb +64 -0
  41. data/generated/google/apis/bigquery_v2/service.rb +5 -1
  42. data/generated/google/apis/bigquerydatatransfer_v1.rb +4 -1
  43. data/generated/google/apis/bigqueryreservation_v1.rb +37 -0
  44. data/generated/google/apis/bigqueryreservation_v1/classes.rb +216 -0
  45. data/generated/google/apis/bigqueryreservation_v1/representations.rb +112 -0
  46. data/generated/google/apis/bigqueryreservation_v1/service.rb +139 -0
  47. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +37 -0
  48. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +514 -0
  49. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +237 -0
  50. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +714 -0
  51. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  52. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
  53. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -2
  54. data/generated/google/apis/cloudasset_v1.rb +1 -1
  55. data/generated/google/apis/cloudasset_v1/classes.rb +0 -9
  56. data/generated/google/apis/cloudasset_v1/representations.rb +0 -1
  57. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  58. data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -9
  59. data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
  60. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  61. data/generated/google/apis/cloudbilling_v1/service.rb +1 -1
  62. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1/classes.rb +14 -4
  64. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  65. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -2
  67. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  68. data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -22
  69. data/generated/google/apis/cloudfunctions_v1/service.rb +7 -1
  70. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  71. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -11
  72. data/generated/google/apis/cloudiot_v1.rb +1 -1
  73. data/generated/google/apis/cloudiot_v1/classes.rb +1 -1
  74. data/generated/google/apis/cloudkms_v1.rb +1 -1
  75. data/generated/google/apis/cloudkms_v1/classes.rb +26 -11
  76. data/generated/google/apis/cloudkms_v1/representations.rb +2 -0
  77. data/generated/google/apis/cloudkms_v1/service.rb +28 -16
  78. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  79. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +0 -9
  80. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -1
  81. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1 -1
  82. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  85. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
  88. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  90. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  91. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -4
  92. data/generated/google/apis/cloudscheduler_v1/service.rb +7 -14
  93. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  94. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -4
  95. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +7 -14
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +0 -18
  98. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -2
  99. data/generated/google/apis/cloudsearch_v1/service.rb +17 -9
  100. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2/classes.rb +59 -17
  102. data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
  103. data/generated/google/apis/cloudtasks_v2/service.rb +12 -24
  104. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  105. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +35 -12
  106. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +15 -0
  107. data/generated/google/apis/cloudtasks_v2beta2/service.rb +16 -32
  108. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  109. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +30 -2
  110. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +15 -0
  111. data/generated/google/apis/cloudtasks_v2beta3/service.rb +12 -24
  112. data/generated/google/apis/compute_v1/service.rb +1 -1
  113. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  114. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +138 -138
  115. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +54 -32
  116. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  117. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +19 -135
  118. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +2 -32
  119. data/generated/google/apis/content_v2.rb +1 -1
  120. data/generated/google/apis/content_v2/classes.rb +10 -5
  121. data/generated/google/apis/content_v2/service.rb +3 -2
  122. data/generated/google/apis/content_v2_1.rb +1 -1
  123. data/generated/google/apis/content_v2_1/classes.rb +618 -6
  124. data/generated/google/apis/content_v2_1/representations.rb +271 -0
  125. data/generated/google/apis/content_v2_1/service.rb +357 -2
  126. data/generated/google/apis/dataproc_v1.rb +1 -1
  127. data/generated/google/apis/dataproc_v1/classes.rb +69 -8
  128. data/generated/google/apis/dataproc_v1/representations.rb +18 -0
  129. data/generated/google/apis/dataproc_v1/service.rb +121 -57
  130. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  131. data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -11
  132. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  133. data/generated/google/apis/dataproc_v1beta2/service.rb +203 -97
  134. data/generated/google/apis/dialogflow_v2.rb +1 -1
  135. data/generated/google/apis/dialogflow_v2/service.rb +94 -0
  136. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  137. data/generated/google/apis/dialogflow_v2beta1/classes.rb +51 -0
  138. data/generated/google/apis/dialogflow_v2beta1/representations.rb +16 -0
  139. data/generated/google/apis/dialogflow_v2beta1/service.rb +1989 -0
  140. data/generated/google/apis/dlp_v2.rb +1 -1
  141. data/generated/google/apis/dlp_v2/classes.rb +1 -1
  142. data/generated/google/apis/docs_v1.rb +1 -1
  143. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  144. data/generated/google/apis/doubleclicksearch_v2.rb +2 -2
  145. data/generated/google/apis/doubleclicksearch_v2/classes.rb +1 -1
  146. data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
  147. data/generated/google/apis/drive_v2/service.rb +6 -6
  148. data/generated/google/apis/drive_v3/service.rb +6 -6
  149. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  150. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +6 -0
  151. data/generated/google/apis/factchecktools_v1alpha1/representations.rb +1 -0
  152. data/generated/google/apis/fcm_v1.rb +1 -1
  153. data/generated/google/apis/fcm_v1/classes.rb +419 -0
  154. data/generated/google/apis/fcm_v1/representations.rb +45 -0
  155. data/generated/google/apis/file_v1.rb +1 -1
  156. data/generated/google/apis/file_v1/classes.rb +12 -1
  157. data/generated/google/apis/file_v1/representations.rb +1 -0
  158. data/generated/google/apis/file_v1beta1.rb +1 -1
  159. data/generated/google/apis/file_v1beta1/classes.rb +12 -1
  160. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  161. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  162. data/generated/google/apis/firebase_v1beta1/classes.rb +164 -4
  163. data/generated/google/apis/firebase_v1beta1/representations.rb +71 -0
  164. data/generated/google/apis/firebase_v1beta1/service.rb +165 -2
  165. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  166. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +27 -6
  167. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +3 -0
  168. data/generated/google/apis/firebaserules_v1.rb +1 -1
  169. data/generated/google/apis/firebaserules_v1/classes.rb +6 -0
  170. data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
  171. data/generated/google/apis/games_management_v1management.rb +1 -1
  172. data/generated/google/apis/games_management_v1management/classes.rb +1 -2
  173. data/generated/google/apis/games_v1.rb +1 -1
  174. data/generated/google/apis/games_v1/classes.rb +1 -2
  175. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  176. data/generated/google/apis/genomics_v2alpha1/classes.rb +18 -7
  177. data/generated/google/apis/genomics_v2alpha1/service.rb +5 -1
  178. data/generated/google/apis/groupssettings_v1.rb +1 -1
  179. data/generated/google/apis/groupssettings_v1/classes.rb +367 -99
  180. data/generated/google/apis/groupssettings_v1/service.rb +3 -3
  181. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  182. data/generated/google/apis/healthcare_v1alpha2/classes.rb +4 -21
  183. data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -2
  184. data/generated/google/apis/healthcare_v1alpha2/service.rb +101 -117
  185. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  186. data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -13
  187. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
  188. data/generated/google/apis/healthcare_v1beta1/service.rb +90 -22
  189. data/generated/google/apis/iam_v1.rb +1 -1
  190. data/generated/google/apis/iam_v1/classes.rb +31 -1
  191. data/generated/google/apis/iam_v1/representations.rb +14 -0
  192. data/generated/google/apis/iam_v1/service.rb +45 -4
  193. data/generated/google/apis/iap_v1.rb +1 -1
  194. data/generated/google/apis/iap_v1/classes.rb +1 -1
  195. data/generated/google/apis/iap_v1beta1.rb +1 -1
  196. data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
  197. data/generated/google/apis/jobs_v3.rb +1 -1
  198. data/generated/google/apis/jobs_v3/classes.rb +2 -1
  199. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  200. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -1
  201. data/generated/google/apis/libraryagent_v1.rb +1 -1
  202. data/generated/google/apis/libraryagent_v1/service.rb +5 -5
  203. data/generated/google/apis/logging_v2.rb +1 -1
  204. data/generated/google/apis/logging_v2/classes.rb +2 -2
  205. data/generated/google/apis/ml_v1.rb +1 -1
  206. data/generated/google/apis/ml_v1/classes.rb +63 -9
  207. data/generated/google/apis/ml_v1/representations.rb +16 -1
  208. data/generated/google/apis/ml_v1/service.rb +2 -2
  209. data/generated/google/apis/monitoring_v3.rb +1 -1
  210. data/generated/google/apis/monitoring_v3/classes.rb +29 -2
  211. data/generated/google/apis/monitoring_v3/representations.rb +4 -0
  212. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  213. data/generated/google/apis/people_v1.rb +1 -1
  214. data/generated/google/apis/people_v1/classes.rb +7 -0
  215. data/generated/google/apis/people_v1/representations.rb +1 -0
  216. data/generated/google/apis/people_v1/service.rb +5 -4
  217. data/generated/google/apis/pubsub_v1.rb +1 -1
  218. data/generated/google/apis/pubsub_v1/classes.rb +12 -11
  219. data/generated/google/apis/pubsub_v1/service.rb +3 -3
  220. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  221. data/generated/google/apis/pubsub_v1beta2/classes.rb +2 -2
  222. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -2
  223. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  224. data/generated/google/apis/remotebuildexecution_v1/classes.rb +32 -0
  225. data/generated/google/apis/remotebuildexecution_v1/representations.rb +16 -0
  226. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +32 -0
  228. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +16 -0
  229. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v2/classes.rb +32 -0
  231. data/generated/google/apis/remotebuildexecution_v2/representations.rb +16 -0
  232. data/generated/google/apis/run_v1.rb +1 -1
  233. data/generated/google/apis/run_v1/classes.rb +25 -0
  234. data/generated/google/apis/run_v1/representations.rb +15 -0
  235. data/generated/google/apis/run_v1/service.rb +39 -0
  236. data/generated/google/apis/run_v1alpha1.rb +1 -1
  237. data/generated/google/apis/run_v1alpha1/classes.rb +338 -22
  238. data/generated/google/apis/run_v1alpha1/representations.rb +141 -1
  239. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  240. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  241. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
  242. data/generated/google/apis/securitycenter_v1.rb +1 -1
  243. data/generated/google/apis/securitycenter_v1/classes.rb +16 -13
  244. data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
  245. data/generated/google/apis/securitycenter_v1/service.rb +19 -6
  246. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  247. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -10
  248. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
  249. data/generated/google/apis/servicebroker_v1.rb +1 -1
  250. data/generated/google/apis/servicebroker_v1/service.rb +1 -1
  251. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  252. data/generated/google/apis/servicebroker_v1alpha1/service.rb +1 -1
  253. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  254. data/generated/google/apis/servicebroker_v1beta1/service.rb +1 -1
  255. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  256. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +4 -0
  257. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  258. data/generated/google/apis/servicecontrol_v1/classes.rb +54 -19
  259. data/generated/google/apis/servicecontrol_v1/representations.rb +17 -2
  260. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  261. data/generated/google/apis/servicemanagement_v1/classes.rb +11 -20
  262. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  263. data/generated/google/apis/serviceusage_v1.rb +1 -1
  264. data/generated/google/apis/serviceusage_v1/classes.rb +0 -2
  265. data/generated/google/apis/serviceusage_v1/service.rb +1 -0
  266. data/generated/google/apis/sheets_v4.rb +1 -1
  267. data/generated/google/apis/sheets_v4/classes.rb +53 -10
  268. data/generated/google/apis/sheets_v4/representations.rb +17 -0
  269. data/generated/google/apis/spanner_v1.rb +1 -1
  270. data/generated/google/apis/spanner_v1/classes.rb +50 -54
  271. data/generated/google/apis/spanner_v1/service.rb +8 -15
  272. data/generated/google/apis/speech_v1.rb +1 -1
  273. data/generated/google/apis/speech_v1/classes.rb +2 -1
  274. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  275. data/generated/google/apis/speech_v1p1beta1/classes.rb +9 -16
  276. data/generated/google/apis/{run_v1beta1.rb → speech_v2beta.rb} +9 -10
  277. data/generated/google/apis/speech_v2beta/classes.rb +355 -0
  278. data/generated/google/apis/speech_v2beta/representations.rb +152 -0
  279. data/generated/google/apis/speech_v2beta/service.rb +138 -0
  280. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  281. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -12
  282. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  283. data/generated/google/apis/toolresults_v1beta3/classes.rb +44 -9
  284. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  285. data/generated/google/apis/toolresults_v1beta3/service.rb +3 -6
  286. data/generated/google/apis/tpu_v1.rb +1 -1
  287. data/generated/google/apis/tpu_v1/classes.rb +12 -0
  288. data/generated/google/apis/tpu_v1/representations.rb +2 -0
  289. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  290. data/generated/google/apis/tpu_v1alpha1/classes.rb +12 -0
  291. data/generated/google/apis/tpu_v1alpha1/representations.rb +2 -0
  292. data/generated/google/apis/translate_v3beta1.rb +1 -1
  293. data/generated/google/apis/translate_v3beta1/classes.rb +72 -0
  294. data/generated/google/apis/translate_v3beta1/representations.rb +32 -0
  295. data/generated/google/apis/translate_v3beta1/service.rb +82 -7
  296. data/generated/google/apis/vision_v1.rb +1 -1
  297. data/generated/google/apis/vision_v1/classes.rb +579 -0
  298. data/generated/google/apis/vision_v1/representations.rb +172 -0
  299. data/generated/google/apis/vision_v1/service.rb +404 -0
  300. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  301. data/generated/google/apis/vision_v1p1beta1/classes.rb +523 -0
  302. data/generated/google/apis/vision_v1p1beta1/representations.rb +143 -0
  303. data/generated/google/apis/vision_v1p1beta1/service.rb +352 -0
  304. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  305. data/generated/google/apis/vision_v1p2beta1/classes.rb +187 -0
  306. data/generated/google/apis/vision_v1p2beta1/representations.rb +23 -0
  307. data/generated/google/apis/vision_v1p2beta1/service.rb +352 -0
  308. data/generated/google/apis/websecurityscanner_v1.rb +4 -1
  309. data/generated/google/apis/websecurityscanner_v1/classes.rb +924 -0
  310. data/generated/google/apis/websecurityscanner_v1/representations.rb +426 -0
  311. data/generated/google/apis/websecurityscanner_v1/service.rb +487 -0
  312. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  313. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  314. data/generated/google/apis/youtube_partner_v1/service.rb +2 -3
  315. data/generated/google/apis/youtube_v3.rb +1 -1
  316. data/generated/google/apis/youtube_v3/classes.rb +322 -0
  317. data/generated/google/apis/youtube_v3/representations.rb +139 -0
  318. data/generated/google/apis/youtube_v3/service.rb +85 -0
  319. data/lib/google/api_client/client_secrets.rb +1 -2
  320. data/lib/google/apis/core/api_command.rb +12 -0
  321. data/lib/google/apis/core/batch.rb +2 -0
  322. data/lib/google/apis/core/http_command.rb +8 -1
  323. data/lib/google/apis/core/json_representation.rb +1 -1
  324. data/lib/google/apis/generator/annotator.rb +1 -0
  325. data/lib/google/apis/version.rb +1 -1
  326. metadata +14 -6
  327. data/generated/google/apis/run_v1beta1/classes.rb +0 -98
  328. data/generated/google/apis/run_v1beta1/representations.rb +0 -58
  329. data/generated/google/apis/run_v1beta1/service.rb +0 -99
@@ -292,6 +292,12 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
+ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
295
301
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
296
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
303
 
@@ -1012,6 +1018,14 @@ module Google
1012
1018
  end
1013
1019
  end
1014
1020
 
1021
+ class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
1022
+ # @private
1023
+ class Representation < Google::Apis::Core::JsonRepresentation
1024
+ property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
1025
+ property :accelerator_type, as: 'acceleratorType'
1026
+ end
1027
+ end
1028
+
1015
1029
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
1016
1030
  # @private
1017
1031
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1113,6 +1127,8 @@ module Google
1113
1127
  class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
1114
1128
  # @private
1115
1129
  class Representation < Google::Apis::Core::JsonRepresentation
1130
+ property :accelerator, as: 'accelerator', class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig, decorator: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig::Representation
1131
+
1116
1132
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
1117
1133
  property :disk_type, as: 'diskType'
1118
1134
  hash :labels, as: 'labels'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190329'
29
+ REVISION = '20190809'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,6 +22,31 @@ module Google
22
22
  module Apis
23
23
  module RunV1
24
24
 
25
+ # The response message for Locations.ListLocations.
26
+ class ListLocationsResponse
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # A list of locations that matches the specified filter in the request.
30
+ # Corresponds to the JSON property `locations`
31
+ # @return [Array<Google::Apis::RunV1::Location>]
32
+ attr_accessor :locations
33
+
34
+ # The standard List next-page token.
35
+ # Corresponds to the JSON property `nextPageToken`
36
+ # @return [String]
37
+ attr_accessor :next_page_token
38
+
39
+ def initialize(**args)
40
+ update!(**args)
41
+ end
42
+
43
+ # Update properties of this object
44
+ def update!(**args)
45
+ @locations = args[:locations] if args.key?(:locations)
46
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
47
+ end
48
+ end
49
+
25
50
  # A resource that represents Google Cloud Platform location.
26
51
  class Location
27
52
  include Google::Apis::Core::Hashable
@@ -22,12 +22,27 @@ module Google
22
22
  module Apis
23
23
  module RunV1
24
24
 
25
+ class ListLocationsResponse
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class Location
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
28
34
  include Google::Apis::Core::JsonObjectSupport
29
35
  end
30
36
 
37
+ class ListLocationsResponse
38
+ # @private
39
+ class Representation < Google::Apis::Core::JsonRepresentation
40
+ collection :locations, as: 'locations', class: Google::Apis::RunV1::Location, decorator: Google::Apis::RunV1::Location::Representation
41
+
42
+ property :next_page_token, as: 'nextPageToken'
43
+ end
44
+ end
45
+
31
46
  class Location
32
47
  # @private
33
48
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -77,6 +77,45 @@ module Google
77
77
  command.query['quotaUser'] = quota_user unless quota_user.nil?
78
78
  execute_or_queue_command(command, &block)
79
79
  end
80
+
81
+ # Lists information about the supported locations for this service.
82
+ # @param [String] name
83
+ # The resource that owns the locations collection, if applicable.
84
+ # @param [String] filter
85
+ # The standard list filter.
86
+ # @param [Fixnum] page_size
87
+ # The standard list page size.
88
+ # @param [String] page_token
89
+ # The standard list page token.
90
+ # @param [String] fields
91
+ # Selector specifying which fields to include in a partial response.
92
+ # @param [String] quota_user
93
+ # Available to use for quota purposes for server-side applications. Can be any
94
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
95
+ # @param [Google::Apis::RequestOptions] options
96
+ # Request-specific options
97
+ #
98
+ # @yield [result, err] Result & error if block supplied
99
+ # @yieldparam result [Google::Apis::RunV1::ListLocationsResponse] parsed result object
100
+ # @yieldparam err [StandardError] error object if request failed
101
+ #
102
+ # @return [Google::Apis::RunV1::ListLocationsResponse]
103
+ #
104
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
105
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
106
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
107
+ def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
108
+ command = make_simple_command(:get, 'v1/{+name}/locations', options)
109
+ command.response_representation = Google::Apis::RunV1::ListLocationsResponse::Representation
110
+ command.response_class = Google::Apis::RunV1::ListLocationsResponse
111
+ command.params['name'] = name unless name.nil?
112
+ command.query['filter'] = filter unless filter.nil?
113
+ command.query['pageSize'] = page_size unless page_size.nil?
114
+ command.query['pageToken'] = page_token unless page_token.nil?
115
+ command.query['fields'] = fields unless fields.nil?
116
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
117
+ execute_or_queue_command(command, &block)
118
+ end
80
119
 
81
120
  protected
82
121
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/run/
27
27
  module RunV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20190703'
29
+ REVISION = '20190816'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -64,7 +64,7 @@ module Google
64
64
  # `
65
65
  # "log_type": "DATA_READ",
66
66
  # "exempted_members": [
67
- # "user:foo@gmail.com"
67
+ # "user:jose@example.com"
68
68
  # ]
69
69
  # `,
70
70
  # `
@@ -76,7 +76,7 @@ module Google
76
76
  # ]
77
77
  # `,
78
78
  # `
79
- # "service": "fooservice.googleapis.com"
79
+ # "service": "sampleservice.googleapis.com"
80
80
  # "audit_log_configs": [
81
81
  # `
82
82
  # "log_type": "DATA_READ",
@@ -84,16 +84,16 @@ module Google
84
84
  # `
85
85
  # "log_type": "DATA_WRITE",
86
86
  # "exempted_members": [
87
- # "user:bar@gmail.com"
87
+ # "user:aliya@example.com"
88
88
  # ]
89
89
  # `
90
90
  # ]
91
91
  # `
92
92
  # ]
93
93
  # `
94
- # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
95
- # logging. It also exempts foo@gmail.com from DATA_READ logging, and
96
- # bar@gmail.com from DATA_WRITE logging.
94
+ # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
95
+ # logging. It also exempts jose@example.com from DATA_READ logging, and
96
+ # aliya@example.com from DATA_WRITE logging.
97
97
  class AuditConfig
98
98
  include Google::Apis::Core::Hashable
99
99
 
@@ -127,7 +127,7 @@ module Google
127
127
  # `
128
128
  # "log_type": "DATA_READ",
129
129
  # "exempted_members": [
130
- # "user:foo@gmail.com"
130
+ # "user:jose@example.com"
131
131
  # ]
132
132
  # `,
133
133
  # `
@@ -136,7 +136,7 @@ module Google
136
136
  # ]
137
137
  # `
138
138
  # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
139
- # foo@gmail.com from DATA_READ logging.
139
+ # jose@example.com from DATA_READ logging.
140
140
  class AuditLogConfig
141
141
  include Google::Apis::Core::Hashable
142
142
 
@@ -147,14 +147,6 @@ module Google
147
147
  # @return [Array<String>]
148
148
  attr_accessor :exempted_members
149
149
 
150
- # Specifies whether principals can be exempted for the same LogType in
151
- # lower-level resource policies. If true, any lower-level exemptions will
152
- # be ignored.
153
- # Corresponds to the JSON property `ignoreChildExemptions`
154
- # @return [Boolean]
155
- attr_accessor :ignore_child_exemptions
156
- alias_method :ignore_child_exemptions?, :ignore_child_exemptions
157
-
158
150
  # The log type that this config enables.
159
151
  # Corresponds to the JSON property `logType`
160
152
  # @return [String]
@@ -167,7 +159,6 @@ module Google
167
159
  # Update properties of this object
168
160
  def update!(**args)
169
161
  @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
170
- @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
171
162
  @log_type = args[:log_type] if args.key?(:log_type)
172
163
  end
173
164
  end
@@ -219,7 +210,7 @@ module Google
219
210
  # * `allAuthenticatedUsers`: A special identifier that represents anyone
220
211
  # who is authenticated with a Google account or a service account.
221
212
  # * `user:`emailid``: An email address that represents a specific Google
222
- # account. For example, `alice@gmail.com` .
213
+ # account. For example, `alice@example.com` .
223
214
  # * `serviceAccount:`emailid``: An email address that represents a service
224
215
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
225
216
  # * `group:`emailid``: An email address that represents a Google group.
@@ -306,6 +297,46 @@ module Google
306
297
  end
307
298
  end
308
299
 
300
+ # Cloud Run fully managed: not supported
301
+ # Cloud Run on GKE: supported
302
+ # Selects a key from a ConfigMap.
303
+ class ConfigMapKeySelector
304
+ include Google::Apis::Core::Hashable
305
+
306
+ # Cloud Run fully managed: not supported
307
+ # Cloud Run on GKE: supported
308
+ # The key to select.
309
+ # Corresponds to the JSON property `key`
310
+ # @return [String]
311
+ attr_accessor :key
312
+
313
+ # LocalObjectReference contains enough information to let you locate the
314
+ # referenced object inside the same namespace.
315
+ # Corresponds to the JSON property `localObjectReference`
316
+ # @return [Google::Apis::RunV1alpha1::LocalObjectReference]
317
+ attr_accessor :local_object_reference
318
+
319
+ # Cloud Run fully managed: not supported
320
+ # Cloud Run on GKE: supported
321
+ # Specify whether the ConfigMap or its key must be defined
322
+ # +optional
323
+ # Corresponds to the JSON property `optional`
324
+ # @return [Boolean]
325
+ attr_accessor :optional
326
+ alias_method :optional?, :optional
327
+
328
+ def initialize(**args)
329
+ update!(**args)
330
+ end
331
+
332
+ # Update properties of this object
333
+ def update!(**args)
334
+ @key = args[:key] if args.key?(:key)
335
+ @local_object_reference = args[:local_object_reference] if args.key?(:local_object_reference)
336
+ @optional = args[:optional] if args.key?(:optional)
337
+ end
338
+ end
339
+
309
340
  # Adapts a ConfigMap into a volume.
310
341
  # The contents of the target ConfigMap's Data field will be presented in a
311
342
  # volume as files using the keys in the Data field as the file names, unless
@@ -1092,6 +1123,13 @@ module Google
1092
1123
  # @return [String]
1093
1124
  attr_accessor :value
1094
1125
 
1126
+ # Cloud Run fully managed: not supported
1127
+ # Cloud Run on GKE: supported
1128
+ # EnvVarSource represents a source for the value of an EnvVar.
1129
+ # Corresponds to the JSON property `valueFrom`
1130
+ # @return [Google::Apis::RunV1alpha1::EnvVarSource]
1131
+ attr_accessor :value_from
1132
+
1095
1133
  def initialize(**args)
1096
1134
  update!(**args)
1097
1135
  end
@@ -1100,6 +1138,38 @@ module Google
1100
1138
  def update!(**args)
1101
1139
  @name = args[:name] if args.key?(:name)
1102
1140
  @value = args[:value] if args.key?(:value)
1141
+ @value_from = args[:value_from] if args.key?(:value_from)
1142
+ end
1143
+ end
1144
+
1145
+ # Cloud Run fully managed: not supported
1146
+ # Cloud Run on GKE: supported
1147
+ # EnvVarSource represents a source for the value of an EnvVar.
1148
+ class EnvVarSource
1149
+ include Google::Apis::Core::Hashable
1150
+
1151
+ # Cloud Run fully managed: not supported
1152
+ # Cloud Run on GKE: supported
1153
+ # Selects a key from a ConfigMap.
1154
+ # Corresponds to the JSON property `configMapKeyRef`
1155
+ # @return [Google::Apis::RunV1alpha1::ConfigMapKeySelector]
1156
+ attr_accessor :config_map_key_ref
1157
+
1158
+ # Cloud Run fully managed: not supported
1159
+ # Cloud Run on GKE: supported
1160
+ # SecretKeySelector selects a key of a Secret.
1161
+ # Corresponds to the JSON property `secretKeyRef`
1162
+ # @return [Google::Apis::RunV1alpha1::SecretKeySelector]
1163
+ attr_accessor :secret_key_ref
1164
+
1165
+ def initialize(**args)
1166
+ update!(**args)
1167
+ end
1168
+
1169
+ # Update properties of this object
1170
+ def update!(**args)
1171
+ @config_map_key_ref = args[:config_map_key_ref] if args.key?(:config_map_key_ref)
1172
+ @secret_key_ref = args[:secret_key_ref] if args.key?(:secret_key_ref)
1103
1173
  end
1104
1174
  end
1105
1175
 
@@ -1141,6 +1211,62 @@ module Google
1141
1211
  end
1142
1212
  end
1143
1213
 
1214
+ #
1215
+ class EventTypeImporter
1216
+ include Google::Apis::Core::Hashable
1217
+
1218
+ # The API version of the importer CRD.
1219
+ # Corresponds to the JSON property `apiVersion`
1220
+ # @return [String]
1221
+ attr_accessor :api_version
1222
+
1223
+ # The kind of the importer CRD.
1224
+ # Corresponds to the JSON property `kind`
1225
+ # @return [String]
1226
+ attr_accessor :kind
1227
+
1228
+ # Parameters required to create an importer for the EventType.
1229
+ # Corresponds to the JSON property `parameters`
1230
+ # @return [Array<Google::Apis::RunV1alpha1::EventTypeParameter>]
1231
+ attr_accessor :parameters
1232
+
1233
+ def initialize(**args)
1234
+ update!(**args)
1235
+ end
1236
+
1237
+ # Update properties of this object
1238
+ def update!(**args)
1239
+ @api_version = args[:api_version] if args.key?(:api_version)
1240
+ @kind = args[:kind] if args.key?(:kind)
1241
+ @parameters = args[:parameters] if args.key?(:parameters)
1242
+ end
1243
+ end
1244
+
1245
+ #
1246
+ class EventTypeParameter
1247
+ include Google::Apis::Core::Hashable
1248
+
1249
+ # Description of the parameter. E.g. "Google Cloud Project Id."
1250
+ # Corresponds to the JSON property `description`
1251
+ # @return [String]
1252
+ attr_accessor :description
1253
+
1254
+ # Name of the parameter. E.g. googleCloudProject.
1255
+ # Corresponds to the JSON property `name`
1256
+ # @return [String]
1257
+ attr_accessor :name
1258
+
1259
+ def initialize(**args)
1260
+ update!(**args)
1261
+ end
1262
+
1263
+ # Update properties of this object
1264
+ def update!(**args)
1265
+ @description = args[:description] if args.key?(:description)
1266
+ @name = args[:name] if args.key?(:name)
1267
+ end
1268
+ end
1269
+
1144
1270
  #
1145
1271
  class EventTypeSpec
1146
1272
  include Google::Apis::Core::Hashable
@@ -1156,6 +1282,11 @@ module Google
1156
1282
  # @return [String]
1157
1283
  attr_accessor :description
1158
1284
 
1285
+ # The importer that provides this EventType to the eventing mesh.
1286
+ # Corresponds to the JSON property `importer`
1287
+ # @return [Google::Apis::RunV1alpha1::EventTypeImporter]
1288
+ attr_accessor :importer
1289
+
1159
1290
  # Schema is a URI with the EventType schema. It may be a JSON schema, a
1160
1291
  # protobuf schema, etc.
1161
1292
  # +optional
@@ -1183,6 +1314,7 @@ module Google
1183
1314
  def update!(**args)
1184
1315
  @broker = args[:broker] if args.key?(:broker)
1185
1316
  @description = args[:description] if args.key?(:description)
1317
+ @importer = args[:importer] if args.key?(:importer)
1186
1318
  @schema = args[:schema] if args.key?(:schema)
1187
1319
  @source = args[:source] if args.key?(:source)
1188
1320
  @type = args[:type] if args.key?(:type)
@@ -1260,6 +1392,45 @@ module Google
1260
1392
  end
1261
1393
  end
1262
1394
 
1395
+ # The `Status` type defines a logical error model that is suitable for
1396
+ # different programming environments, including REST APIs and RPC APIs. It is
1397
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1398
+ # three pieces of data: error code, error message, and error details.
1399
+ # You can find out more about this error model and how to work with it in the
1400
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1401
+ class GoogleRpcStatus
1402
+ include Google::Apis::Core::Hashable
1403
+
1404
+ # The status code, which should be an enum value of google.rpc.Code.
1405
+ # Corresponds to the JSON property `code`
1406
+ # @return [Fixnum]
1407
+ attr_accessor :code
1408
+
1409
+ # A list of messages that carry the error details. There is a common set of
1410
+ # message types for APIs to use.
1411
+ # Corresponds to the JSON property `details`
1412
+ # @return [Array<Hash<String,Object>>]
1413
+ attr_accessor :details
1414
+
1415
+ # A developer-facing error message, which should be in English. Any
1416
+ # user-facing error message should be localized and sent in the
1417
+ # google.rpc.Status.details field, or localized by the client.
1418
+ # Corresponds to the JSON property `message`
1419
+ # @return [String]
1420
+ attr_accessor :message
1421
+
1422
+ def initialize(**args)
1423
+ update!(**args)
1424
+ end
1425
+
1426
+ # Update properties of this object
1427
+ def update!(**args)
1428
+ @code = args[:code] if args.key?(:code)
1429
+ @details = args[:details] if args.key?(:details)
1430
+ @message = args[:message] if args.key?(:message)
1431
+ end
1432
+ end
1433
+
1263
1434
  # HTTPGetAction describes an action based on HTTP Get requests.
1264
1435
  class HttpGetAction
1265
1436
  include Google::Apis::Core::Hashable
@@ -1562,6 +1733,12 @@ module Google
1562
1733
  # @return [Google::Apis::RunV1alpha1::ListMeta]
1563
1734
  attr_accessor :metadata
1564
1735
 
1736
+ # Details for the regions used during a global call including any failures.
1737
+ # This is not populated when targeting a specific region.
1738
+ # Corresponds to the JSON property `regionDetails`
1739
+ # @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
1740
+ attr_accessor :region_details
1741
+
1565
1742
  # Locations that could not be reached.
1566
1743
  # Corresponds to the JSON property `unreachable`
1567
1744
  # @return [Array<String>]
@@ -1577,6 +1754,7 @@ module Google
1577
1754
  @items = args[:items] if args.key?(:items)
1578
1755
  @kind = args[:kind] if args.key?(:kind)
1579
1756
  @metadata = args[:metadata] if args.key?(:metadata)
1757
+ @region_details = args[:region_details] if args.key?(:region_details)
1580
1758
  @unreachable = args[:unreachable] if args.key?(:unreachable)
1581
1759
  end
1582
1760
  end
@@ -1607,6 +1785,12 @@ module Google
1607
1785
  # @return [Google::Apis::RunV1alpha1::ListMeta]
1608
1786
  attr_accessor :metadata
1609
1787
 
1788
+ # Details for the regions used during a global call including any failures.
1789
+ # This is not populated when targeting a specific region.
1790
+ # Corresponds to the JSON property `regionDetails`
1791
+ # @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
1792
+ attr_accessor :region_details
1793
+
1610
1794
  def initialize(**args)
1611
1795
  update!(**args)
1612
1796
  end
@@ -1617,6 +1801,7 @@ module Google
1617
1801
  @items = args[:items] if args.key?(:items)
1618
1802
  @kind = args[:kind] if args.key?(:kind)
1619
1803
  @metadata = args[:metadata] if args.key?(:metadata)
1804
+ @region_details = args[:region_details] if args.key?(:region_details)
1620
1805
  end
1621
1806
  end
1622
1807
 
@@ -1646,6 +1831,12 @@ module Google
1646
1831
  # @return [Google::Apis::RunV1alpha1::ListMeta]
1647
1832
  attr_accessor :metadata
1648
1833
 
1834
+ # Details for the regions used during a global call including any failures.
1835
+ # This is not populated when targeting a specific region.
1836
+ # Corresponds to the JSON property `regionDetails`
1837
+ # @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
1838
+ attr_accessor :region_details
1839
+
1649
1840
  # Locations that could not be reached.
1650
1841
  # Corresponds to the JSON property `unreachable`
1651
1842
  # @return [Array<String>]
@@ -1661,6 +1852,7 @@ module Google
1661
1852
  @items = args[:items] if args.key?(:items)
1662
1853
  @kind = args[:kind] if args.key?(:kind)
1663
1854
  @metadata = args[:metadata] if args.key?(:metadata)
1855
+ @region_details = args[:region_details] if args.key?(:region_details)
1664
1856
  @unreachable = args[:unreachable] if args.key?(:unreachable)
1665
1857
  end
1666
1858
  end
@@ -1767,6 +1959,12 @@ module Google
1767
1959
  # @return [Google::Apis::RunV1alpha1::ListMeta]
1768
1960
  attr_accessor :metadata
1769
1961
 
1962
+ # Details for the regions used during a global call including any failures.
1963
+ # This is not populated when targeting a specific region.
1964
+ # Corresponds to the JSON property `regionDetails`
1965
+ # @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
1966
+ attr_accessor :region_details
1967
+
1770
1968
  # Locations that could not be reached.
1771
1969
  # Corresponds to the JSON property `unreachable`
1772
1970
  # @return [Array<String>]
@@ -1782,6 +1980,7 @@ module Google
1782
1980
  @items = args[:items] if args.key?(:items)
1783
1981
  @kind = args[:kind] if args.key?(:kind)
1784
1982
  @metadata = args[:metadata] if args.key?(:metadata)
1983
+ @region_details = args[:region_details] if args.key?(:region_details)
1785
1984
  @unreachable = args[:unreachable] if args.key?(:unreachable)
1786
1985
  end
1787
1986
  end
@@ -1812,6 +2011,12 @@ module Google
1812
2011
  # @return [Google::Apis::RunV1alpha1::ListMeta]
1813
2012
  attr_accessor :metadata
1814
2013
 
2014
+ # Details for the regions used during a global call including any failures.
2015
+ # This is not populated when targeting a specific region.
2016
+ # Corresponds to the JSON property `regionDetails`
2017
+ # @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
2018
+ attr_accessor :region_details
2019
+
1815
2020
  # Locations that could not be reached.
1816
2021
  # Corresponds to the JSON property `unreachable`
1817
2022
  # @return [Array<String>]
@@ -1827,6 +2032,7 @@ module Google
1827
2032
  @items = args[:items] if args.key?(:items)
1828
2033
  @kind = args[:kind] if args.key?(:kind)
1829
2034
  @metadata = args[:metadata] if args.key?(:metadata)
2035
+ @region_details = args[:region_details] if args.key?(:region_details)
1830
2036
  @unreachable = args[:unreachable] if args.key?(:unreachable)
1831
2037
  end
1832
2038
  end
@@ -1857,6 +2063,12 @@ module Google
1857
2063
  # @return [Google::Apis::RunV1alpha1::ListMeta]
1858
2064
  attr_accessor :metadata
1859
2065
 
2066
+ # Details for the regions used during a global call including any failures.
2067
+ # This is not populated when targeting a specific region.
2068
+ # Corresponds to the JSON property `regionDetails`
2069
+ # @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
2070
+ attr_accessor :region_details
2071
+
1860
2072
  # Locations that could not be reached.
1861
2073
  # Corresponds to the JSON property `unreachable`
1862
2074
  # @return [Array<String>]
@@ -1872,6 +2084,7 @@ module Google
1872
2084
  @items = args[:items] if args.key?(:items)
1873
2085
  @kind = args[:kind] if args.key?(:kind)
1874
2086
  @metadata = args[:metadata] if args.key?(:metadata)
2087
+ @region_details = args[:region_details] if args.key?(:region_details)
1875
2088
  @unreachable = args[:unreachable] if args.key?(:unreachable)
1876
2089
  end
1877
2090
  end
@@ -1902,6 +2115,12 @@ module Google
1902
2115
  # @return [Google::Apis::RunV1alpha1::ListMeta]
1903
2116
  attr_accessor :metadata
1904
2117
 
2118
+ # Details for the regions used during a global call including any failures.
2119
+ # This is not populated when targeting a specific region.
2120
+ # Corresponds to the JSON property `regionDetails`
2121
+ # @return [Hash<String,Google::Apis::RunV1alpha1::RegionDetails>]
2122
+ attr_accessor :region_details
2123
+
1905
2124
  # Locations that could not be reached.
1906
2125
  # Corresponds to the JSON property `unreachable`
1907
2126
  # @return [Array<String>]
@@ -1917,6 +2136,7 @@ module Google
1917
2136
  @items = args[:items] if args.key?(:items)
1918
2137
  @kind = args[:kind] if args.key?(:kind)
1919
2138
  @metadata = args[:metadata] if args.key?(:metadata)
2139
+ @region_details = args[:region_details] if args.key?(:region_details)
1920
2140
  @unreachable = args[:unreachable] if args.key?(:unreachable)
1921
2141
  end
1922
2142
  end
@@ -2405,7 +2625,7 @@ module Google
2405
2625
  # systems are expected to put that etag in the request to `setIamPolicy` to
2406
2626
  # ensure that their change will be applied to the same version of the policy.
2407
2627
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
2408
- # policy is overwritten blindly.
2628
+ # policy is overwritten.
2409
2629
  # Corresponds to the JSON property `etag`
2410
2630
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
2411
2631
  # @return [String]
@@ -2514,6 +2734,30 @@ module Google
2514
2734
  end
2515
2735
  end
2516
2736
 
2737
+ # Information for a regional call used for a global API.
2738
+ class RegionDetails
2739
+ include Google::Apis::Core::Hashable
2740
+
2741
+ # The `Status` type defines a logical error model that is suitable for
2742
+ # different programming environments, including REST APIs and RPC APIs. It is
2743
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2744
+ # three pieces of data: error code, error message, and error details.
2745
+ # You can find out more about this error model and how to work with it in the
2746
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
2747
+ # Corresponds to the JSON property `error`
2748
+ # @return [Google::Apis::RunV1alpha1::GoogleRpcStatus]
2749
+ attr_accessor :error
2750
+
2751
+ def initialize(**args)
2752
+ update!(**args)
2753
+ end
2754
+
2755
+ # Update properties of this object
2756
+ def update!(**args)
2757
+ @error = args[:error] if args.key?(:error)
2758
+ end
2759
+ end
2760
+
2517
2761
  # A DNS resource record.
2518
2762
  class ResourceRecord
2519
2763
  include Google::Apis::Core::Hashable
@@ -3182,6 +3426,46 @@ module Google
3182
3426
  end
3183
3427
  end
3184
3428
 
3429
+ # Cloud Run fully managed: not supported
3430
+ # Cloud Run on GKE: supported
3431
+ # SecretKeySelector selects a key of a Secret.
3432
+ class SecretKeySelector
3433
+ include Google::Apis::Core::Hashable
3434
+
3435
+ # Cloud Run fully managed: not supported
3436
+ # Cloud Run on GKE: supported
3437
+ # The key of the secret to select from. Must be a valid secret key.
3438
+ # Corresponds to the JSON property `key`
3439
+ # @return [String]
3440
+ attr_accessor :key
3441
+
3442
+ # LocalObjectReference contains enough information to let you locate the
3443
+ # referenced object inside the same namespace.
3444
+ # Corresponds to the JSON property `localObjectReference`
3445
+ # @return [Google::Apis::RunV1alpha1::LocalObjectReference]
3446
+ attr_accessor :local_object_reference
3447
+
3448
+ # Cloud Run fully managed: not supported
3449
+ # Cloud Run on GKE: supported
3450
+ # Specify whether the Secret or its key must be defined
3451
+ # +optional
3452
+ # Corresponds to the JSON property `optional`
3453
+ # @return [Boolean]
3454
+ attr_accessor :optional
3455
+ alias_method :optional?, :optional
3456
+
3457
+ def initialize(**args)
3458
+ update!(**args)
3459
+ end
3460
+
3461
+ # Update properties of this object
3462
+ def update!(**args)
3463
+ @key = args[:key] if args.key?(:key)
3464
+ @local_object_reference = args[:local_object_reference] if args.key?(:local_object_reference)
3465
+ @optional = args[:optional] if args.key?(:optional)
3466
+ end
3467
+ end
3468
+
3185
3469
  # The contents of the target Secret's Data field will be presented in a volume
3186
3470
  # as files using the keys in the Data field as the file names.
3187
3471
  class SecretVolumeSource
@@ -4079,6 +4363,32 @@ module Google
4079
4363
  end
4080
4364
  end
4081
4365
 
4366
+ #
4367
+ class TriggerImporterSpec
4368
+ include Google::Apis::Core::Hashable
4369
+
4370
+ # Arguments to use for the importer. These must match the parameters in the
4371
+ # EventType's importer.
4372
+ # Corresponds to the JSON property `arguments`
4373
+ # @return [Hash<String,String>]
4374
+ attr_accessor :arguments
4375
+
4376
+ # Name of the EventType that this importer provides.
4377
+ # Corresponds to the JSON property `eventTypeName`
4378
+ # @return [String]
4379
+ attr_accessor :event_type_name
4380
+
4381
+ def initialize(**args)
4382
+ update!(**args)
4383
+ end
4384
+
4385
+ # Update properties of this object
4386
+ def update!(**args)
4387
+ @arguments = args[:arguments] if args.key?(:arguments)
4388
+ @event_type_name = args[:event_type_name] if args.key?(:event_type_name)
4389
+ end
4390
+ end
4391
+
4082
4392
  # The desired state of the Trigger.
4083
4393
  class TriggerSpec
4084
4394
  include Google::Apis::Core::Hashable
@@ -4091,13 +4401,18 @@ module Google
4091
4401
  attr_accessor :broker
4092
4402
 
4093
4403
  # Filter is the filter to apply against all events from the Broker. Only
4094
- # events that pass this filter will be sent to the Subscriber. If not
4095
- # specified, will default to allowing all events.
4096
- # This must be specified in Cloud Run.
4404
+ # events that pass this filter will be sent to the Subscriber.
4097
4405
  # Corresponds to the JSON property `filter`
4098
4406
  # @return [Google::Apis::RunV1alpha1::TriggerFilter]
4099
4407
  attr_accessor :filter
4100
4408
 
4409
+ # Specification of the importers that will provide events to the trigger.
4410
+ # Note, for Cloud Run, the importers will only be used if a filter is not
4411
+ # specified.
4412
+ # Corresponds to the JSON property `importers`
4413
+ # @return [Array<Google::Apis::RunV1alpha1::TriggerImporterSpec>]
4414
+ attr_accessor :importers
4415
+
4101
4416
  # Subscriber is the addressable that receives events from the Broker that
4102
4417
  # pass the Filter. It is required.
4103
4418
  # E.g. https://us-central1-myproject.cloudfunctions.net/myfunction or
@@ -4114,6 +4429,7 @@ module Google
4114
4429
  def update!(**args)
4115
4430
  @broker = args[:broker] if args.key?(:broker)
4116
4431
  @filter = args[:filter] if args.key?(:filter)
4432
+ @importers = args[:importers] if args.key?(:importers)
4117
4433
  @subscriber = args[:subscriber] if args.key?(:subscriber)
4118
4434
  end
4119
4435
  end