google-api-client 0.40.1 → 0.42.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +280 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  6. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  11. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/admob_v1/service.rb +1 -1
  14. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  15. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  18. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  19. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  20. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  21. data/generated/google/apis/androidpublisher_v3/classes.rb +494 -698
  22. data/generated/google/apis/androidpublisher_v3/representations.rb +18 -167
  23. data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
  24. data/generated/google/apis/apigee_v1.rb +1 -1
  25. data/generated/google/apis/apigee_v1/classes.rb +1492 -112
  26. data/generated/google/apis/apigee_v1/representations.rb +560 -0
  27. data/generated/google/apis/apigee_v1/service.rb +1162 -117
  28. data/generated/google/apis/appsmarket_v2.rb +1 -1
  29. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  30. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  31. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  32. data/generated/google/apis/bigquery_v2.rb +1 -1
  33. data/generated/google/apis/bigquery_v2/classes.rb +51 -13
  34. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  35. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  36. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  37. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  38. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  39. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  40. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  41. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  42. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  43. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  44. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  46. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  47. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
  50. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  51. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  52. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  53. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  54. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  55. data/generated/google/apis/books_v1.rb +1 -1
  56. data/generated/google/apis/books_v1/service.rb +2 -2
  57. data/generated/google/apis/calendar_v3.rb +1 -1
  58. data/generated/google/apis/chat_v1.rb +1 -1
  59. data/generated/google/apis/chat_v1/classes.rb +2 -0
  60. data/generated/google/apis/civicinfo_v2.rb +2 -2
  61. data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
  62. data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
  63. data/generated/google/apis/civicinfo_v2/service.rb +28 -63
  64. data/generated/google/apis/classroom_v1.rb +1 -1
  65. data/generated/google/apis/classroom_v1/service.rb +4 -3
  66. data/generated/google/apis/cloudasset_v1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  68. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  69. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  70. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  71. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  72. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  73. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  74. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  75. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  76. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  77. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  79. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  80. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  81. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  82. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  83. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  84. data/generated/google/apis/cloudbuild_v1/classes.rb +273 -13
  85. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  86. data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
  87. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  88. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +286 -26
  89. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  90. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  91. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  92. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +286 -26
  93. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  94. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  95. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  96. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  97. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  98. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  99. data/generated/google/apis/cloudfunctions_v1/classes.rb +20 -6
  100. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  101. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  102. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  103. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  104. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  105. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  107. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  108. data/generated/google/apis/cloudkms_v1.rb +1 -1
  109. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  110. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  112. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  113. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  114. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  116. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  118. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  120. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  121. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  122. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  123. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  124. data/generated/google/apis/composer_v1beta1.rb +1 -1
  125. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  126. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  127. data/generated/google/apis/compute_alpha.rb +1 -1
  128. data/generated/google/apis/compute_alpha/classes.rb +725 -107
  129. data/generated/google/apis/compute_alpha/representations.rb +206 -0
  130. data/generated/google/apis/compute_alpha/service.rb +888 -139
  131. data/generated/google/apis/compute_beta.rb +1 -1
  132. data/generated/google/apis/compute_beta/classes.rb +439 -105
  133. data/generated/google/apis/compute_beta/representations.rb +94 -0
  134. data/generated/google/apis/compute_beta/service.rb +308 -33
  135. data/generated/google/apis/compute_v1.rb +1 -1
  136. data/generated/google/apis/compute_v1/classes.rb +701 -71
  137. data/generated/google/apis/compute_v1/representations.rb +200 -0
  138. data/generated/google/apis/compute_v1/service.rb +522 -33
  139. data/generated/google/apis/container_v1.rb +1 -1
  140. data/generated/google/apis/container_v1/classes.rb +123 -5
  141. data/generated/google/apis/container_v1/representations.rb +50 -0
  142. data/generated/google/apis/container_v1beta1.rb +1 -1
  143. data/generated/google/apis/container_v1beta1/classes.rb +142 -24
  144. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  145. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  146. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  147. data/generated/google/apis/content_v2.rb +1 -1
  148. data/generated/google/apis/content_v2/classes.rb +7 -1
  149. data/generated/google/apis/content_v2/representations.rb +1 -0
  150. data/generated/google/apis/content_v2/service.rb +10 -5
  151. data/generated/google/apis/content_v2_1.rb +1 -1
  152. data/generated/google/apis/content_v2_1/classes.rb +265 -7
  153. data/generated/google/apis/content_v2_1/representations.rb +108 -0
  154. data/generated/google/apis/content_v2_1/service.rb +10 -5
  155. data/generated/google/apis/customsearch_v1.rb +1 -1
  156. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  157. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  158. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  159. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  160. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  161. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  162. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  163. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  164. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  165. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  166. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  167. data/generated/google/apis/dataproc_v1.rb +1 -1
  168. data/generated/google/apis/dataproc_v1/classes.rb +49 -2
  169. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  170. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  171. data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -2
  172. data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
  173. data/generated/google/apis/dialogflow_v2.rb +1 -1
  174. data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
  175. data/generated/google/apis/dialogflow_v2/representations.rb +93 -0
  176. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  177. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  178. data/generated/google/apis/dialogflow_v2beta1/classes.rb +272 -30
  179. data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
  180. data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -48
  181. data/generated/google/apis/displayvideo_v1.rb +1 -1
  182. data/generated/google/apis/displayvideo_v1/classes.rb +118 -11
  183. data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
  184. data/generated/google/apis/displayvideo_v1/service.rb +78 -1
  185. data/generated/google/apis/dlp_v2.rb +1 -1
  186. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  187. data/generated/google/apis/dlp_v2/service.rb +170 -64
  188. data/generated/google/apis/dns_v1.rb +4 -4
  189. data/generated/google/apis/dns_v1/classes.rb +313 -162
  190. data/generated/google/apis/dns_v1/service.rb +247 -180
  191. data/generated/google/apis/dns_v1beta2.rb +4 -4
  192. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  193. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  194. data/generated/google/apis/documentai_v1beta2.rb +36 -0
  195. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  196. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  197. data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
  198. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  199. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  200. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  201. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  202. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  203. data/generated/google/apis/drive_v2.rb +1 -1
  204. data/generated/google/apis/drive_v2/classes.rb +9 -0
  205. data/generated/google/apis/drive_v2/representations.rb +1 -0
  206. data/generated/google/apis/drive_v2/service.rb +26 -78
  207. data/generated/google/apis/drive_v3.rb +1 -1
  208. data/generated/google/apis/drive_v3/classes.rb +9 -0
  209. data/generated/google/apis/drive_v3/representations.rb +1 -0
  210. data/generated/google/apis/drive_v3/service.rb +18 -54
  211. data/generated/google/apis/fcm_v1.rb +1 -1
  212. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  213. data/generated/google/apis/file_v1.rb +1 -1
  214. data/generated/google/apis/file_v1beta1.rb +1 -1
  215. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  216. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  217. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  218. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -11
  219. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  220. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  221. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  222. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  223. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  224. data/generated/google/apis/games_v1.rb +6 -4
  225. data/generated/google/apis/games_v1/classes.rb +354 -2112
  226. data/generated/google/apis/games_v1/representations.rb +12 -647
  227. data/generated/google/apis/games_v1/service.rb +212 -1154
  228. data/generated/google/apis/{androidpublisher_v2.rb → gameservices_v1.rb} +11 -11
  229. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  230. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  231. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  232. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  233. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  234. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  235. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  236. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  237. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  238. data/generated/google/apis/gmail_v1.rb +3 -2
  239. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  240. data/generated/google/apis/gmail_v1/service.rb +551 -743
  241. data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
  242. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  243. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  244. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  245. data/generated/google/apis/groupssettings_v1.rb +1 -1
  246. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  247. data/generated/google/apis/healthcare_v1.rb +1 -1
  248. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  249. data/generated/google/apis/healthcare_v1/service.rb +2 -0
  250. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  251. data/generated/google/apis/healthcare_v1beta1/classes.rb +916 -49
  252. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  253. data/generated/google/apis/healthcare_v1beta1/service.rb +517 -0
  254. data/generated/google/apis/iam_v1.rb +1 -1
  255. data/generated/google/apis/iam_v1/classes.rb +92 -81
  256. data/generated/google/apis/iam_v1/service.rb +167 -148
  257. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  258. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  259. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  260. data/generated/google/apis/jobs_v3.rb +1 -1
  261. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  262. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  263. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  264. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  265. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  266. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  267. data/generated/google/apis/logging_v2.rb +1 -1
  268. data/generated/google/apis/logging_v2/classes.rb +69 -21
  269. data/generated/google/apis/managedidentities_v1.rb +1 -1
  270. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  271. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  272. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  273. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  274. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  275. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  276. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  277. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  278. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  279. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  280. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  281. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  282. data/generated/google/apis/memcache_v1beta2/classes.rb +6 -6
  283. data/generated/google/apis/ml_v1.rb +1 -1
  284. data/generated/google/apis/ml_v1/classes.rb +14 -6
  285. data/generated/google/apis/ml_v1/representations.rb +1 -0
  286. data/generated/google/apis/monitoring_v1.rb +1 -1
  287. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  288. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  289. data/generated/google/apis/monitoring_v3.rb +1 -1
  290. data/generated/google/apis/monitoring_v3/classes.rb +78 -21
  291. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  292. data/generated/google/apis/monitoring_v3/service.rb +8 -5
  293. data/generated/google/apis/osconfig_v1.rb +1 -1
  294. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  295. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  296. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  297. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  298. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  299. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  300. data/generated/google/apis/people_v1.rb +4 -1
  301. data/generated/google/apis/people_v1/classes.rb +122 -6
  302. data/generated/google/apis/people_v1/representations.rb +51 -0
  303. data/generated/google/apis/people_v1/service.rb +339 -69
  304. data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
  305. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  306. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  307. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  308. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  309. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  310. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  311. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  312. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  313. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  314. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  315. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
  318. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
  319. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
  320. data/generated/google/apis/pubsub_v1.rb +1 -1
  321. data/generated/google/apis/pubsub_v1/classes.rb +77 -37
  322. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  323. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  324. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  325. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  326. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  327. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  328. data/generated/google/apis/recommender_v1.rb +1 -1
  329. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  330. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  331. data/generated/google/apis/recommender_v1/service.rb +123 -0
  332. data/generated/google/apis/redis_v1.rb +1 -1
  333. data/generated/google/apis/redis_v1/classes.rb +1 -1
  334. data/generated/google/apis/redis_v1/service.rb +1 -1
  335. data/generated/google/apis/redis_v1beta1.rb +1 -1
  336. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  337. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  338. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  339. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  342. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  343. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  344. data/generated/google/apis/run_v1.rb +1 -1
  345. data/generated/google/apis/run_v1/classes.rb +7 -9
  346. data/generated/google/apis/run_v1alpha1.rb +1 -1
  347. data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
  348. data/generated/google/apis/run_v1beta1.rb +1 -1
  349. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  350. data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
  351. data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
  352. data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
  353. data/generated/google/apis/secretmanager_v1.rb +1 -1
  354. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  355. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  356. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  357. data/generated/google/apis/securitycenter_v1.rb +1 -1
  358. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  359. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  360. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  361. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  362. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  363. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  364. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  365. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  366. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  367. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  368. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  369. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  370. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  371. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  372. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +126 -43
  373. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -1
  374. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +132 -43
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +2 -1
  377. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  378. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
  379. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  380. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  381. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  382. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  383. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  384. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  385. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  386. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  387. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  388. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  389. data/generated/google/apis/serviceusage_v1.rb +1 -1
  390. data/generated/google/apis/serviceusage_v1/classes.rb +133 -44
  391. data/generated/google/apis/serviceusage_v1/representations.rb +2 -1
  392. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  393. data/generated/google/apis/serviceusage_v1beta1/classes.rb +184 -44
  394. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -1
  395. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  396. data/generated/google/apis/sheets_v4.rb +1 -1
  397. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  398. data/generated/google/apis/slides_v1.rb +1 -1
  399. data/generated/google/apis/slides_v1/classes.rb +4 -0
  400. data/generated/google/apis/spanner_v1.rb +1 -1
  401. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  402. data/generated/google/apis/spanner_v1/service.rb +7 -0
  403. data/generated/google/apis/speech_v1.rb +1 -1
  404. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/storage_v1.rb +1 -1
  406. data/generated/google/apis/storage_v1/service.rb +2 -3
  407. data/generated/google/apis/testing_v1.rb +1 -1
  408. data/generated/google/apis/testing_v1/classes.rb +17 -6
  409. data/generated/google/apis/testing_v1/representations.rb +1 -0
  410. data/generated/google/apis/texttospeech_v1.rb +1 -1
  411. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  412. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  413. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  414. data/generated/google/apis/{androidpublisher_v1.rb → vectortile_v1.rb} +8 -8
  415. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  416. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  417. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  418. data/generated/google/apis/vision_v1.rb +1 -1
  419. data/generated/google/apis/vision_v1/classes.rb +18 -0
  420. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  421. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  422. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  423. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  424. data/generated/google/apis/webfonts_v1.rb +5 -5
  425. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  426. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  427. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  428. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  429. data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
  430. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  431. data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
  432. data/generated/google/apis/youtube_v3.rb +1 -1
  433. data/generated/google/apis/youtube_v3/classes.rb +592 -0
  434. data/generated/google/apis/youtube_v3/representations.rb +308 -0
  435. data/generated/google/apis/youtube_v3/service.rb +291 -0
  436. data/lib/google/apis/version.rb +1 -1
  437. metadata +31 -19
  438. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  439. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  440. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  441. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  442. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  443. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  444. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  445. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  446. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  447. data/generated/google/apis/groupsmigration_v1/service.rb +0 -107
@@ -106,6 +106,12 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
+ class HttpDelivery
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
109
115
  class HashProp
110
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
117
 
@@ -124,7 +130,37 @@ module Google
124
130
  include Google::Apis::Core::JsonObjectSupport
125
131
  end
126
132
 
127
- class ListOperationsResponse
133
+ class Notification
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class NotifierConfig
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class NotifierMetadata
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class NotifierSecret
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class NotifierSecretRef
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class NotifierSpec
128
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
165
 
130
166
  include Google::Apis::Core::JsonObjectSupport
@@ -166,12 +202,24 @@ module Google
166
202
  include Google::Apis::Core::JsonObjectSupport
167
203
  end
168
204
 
205
+ class SmtpDelivery
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
169
211
  class Secret
170
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
213
 
172
214
  include Google::Apis::Core::JsonObjectSupport
173
215
  end
174
216
 
217
+ class SlackDelivery
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
175
223
  class Source
176
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
225
 
@@ -393,6 +441,13 @@ module Google
393
441
  end
394
442
  end
395
443
 
444
+ class HttpDelivery
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ property :uri, as: 'uri'
448
+ end
449
+ end
450
+
396
451
  class HashProp
397
452
  # @private
398
453
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -419,11 +474,61 @@ module Google
419
474
  end
420
475
  end
421
476
 
422
- class ListOperationsResponse
477
+ class Notification
423
478
  # @private
424
479
  class Representation < Google::Apis::Core::JsonRepresentation
425
- property :next_page_token, as: 'nextPageToken'
426
- collection :operations, as: 'operations', class: Google::Apis::CloudbuildV1::Operation, decorator: Google::Apis::CloudbuildV1::Operation::Representation
480
+ property :filter, as: 'filter'
481
+ property :http_delivery, as: 'httpDelivery', class: Google::Apis::CloudbuildV1::HttpDelivery, decorator: Google::Apis::CloudbuildV1::HttpDelivery::Representation
482
+
483
+ property :slack_delivery, as: 'slackDelivery', class: Google::Apis::CloudbuildV1::SlackDelivery, decorator: Google::Apis::CloudbuildV1::SlackDelivery::Representation
484
+
485
+ property :smtp_delivery, as: 'smtpDelivery', class: Google::Apis::CloudbuildV1::SmtpDelivery, decorator: Google::Apis::CloudbuildV1::SmtpDelivery::Representation
486
+
487
+ hash :struct_delivery, as: 'structDelivery'
488
+ end
489
+ end
490
+
491
+ class NotifierConfig
492
+ # @private
493
+ class Representation < Google::Apis::Core::JsonRepresentation
494
+ property :api_version, as: 'apiVersion'
495
+ property :kind, as: 'kind'
496
+ property :metadata, as: 'metadata', class: Google::Apis::CloudbuildV1::NotifierMetadata, decorator: Google::Apis::CloudbuildV1::NotifierMetadata::Representation
497
+
498
+ property :spec, as: 'spec', class: Google::Apis::CloudbuildV1::NotifierSpec, decorator: Google::Apis::CloudbuildV1::NotifierSpec::Representation
499
+
500
+ end
501
+ end
502
+
503
+ class NotifierMetadata
504
+ # @private
505
+ class Representation < Google::Apis::Core::JsonRepresentation
506
+ property :name, as: 'name'
507
+ property :notifier, as: 'notifier'
508
+ end
509
+ end
510
+
511
+ class NotifierSecret
512
+ # @private
513
+ class Representation < Google::Apis::Core::JsonRepresentation
514
+ property :name, as: 'name'
515
+ property :value, as: 'value'
516
+ end
517
+ end
518
+
519
+ class NotifierSecretRef
520
+ # @private
521
+ class Representation < Google::Apis::Core::JsonRepresentation
522
+ property :secret_ref, as: 'secretRef'
523
+ end
524
+ end
525
+
526
+ class NotifierSpec
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :notification, as: 'notification', class: Google::Apis::CloudbuildV1::Notification, decorator: Google::Apis::CloudbuildV1::Notification::Representation
530
+
531
+ collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1::NotifierSecret, decorator: Google::Apis::CloudbuildV1::NotifierSecret::Representation
427
532
 
428
533
  end
429
534
  end
@@ -492,6 +597,19 @@ module Google
492
597
  end
493
598
  end
494
599
 
600
+ class SmtpDelivery
601
+ # @private
602
+ class Representation < Google::Apis::Core::JsonRepresentation
603
+ property :from_address, as: 'fromAddress'
604
+ property :password, as: 'password', class: Google::Apis::CloudbuildV1::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1::NotifierSecretRef::Representation
605
+
606
+ property :port, as: 'port'
607
+ collection :recipient_addresses, as: 'recipientAddresses'
608
+ property :sender_address, as: 'senderAddress'
609
+ property :server, as: 'server'
610
+ end
611
+ end
612
+
495
613
  class Secret
496
614
  # @private
497
615
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -500,6 +618,14 @@ module Google
500
618
  end
501
619
  end
502
620
 
621
+ class SlackDelivery
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ property :webhook_uri, as: 'webhookUri', class: Google::Apis::CloudbuildV1::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1::NotifierSecretRef::Representation
625
+
626
+ end
627
+ end
628
+
503
629
  class Source
504
630
  # @private
505
631
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -121,53 +121,6 @@ module Google
121
121
  execute_or_queue_command(command, &block)
122
122
  end
123
123
 
124
- # Lists operations that match the specified filter in the request. If the
125
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
126
- # NOTE: the `name` binding allows API services to override the binding
127
- # to use different resource name schemes, such as `users/*/operations`. To
128
- # override the binding, API services can add a binding such as
129
- # `"/v1/`name=users/*`/operations"` to their service configuration.
130
- # For backwards compatibility, the default name includes the operations
131
- # collection id, however overriding users must ensure the name binding
132
- # is the parent resource, without the operations collection id.
133
- # @param [String] name
134
- # The name of the operation's parent resource.
135
- # @param [String] filter
136
- # The standard list filter.
137
- # @param [Fixnum] page_size
138
- # The standard list page size.
139
- # @param [String] page_token
140
- # The standard list page token.
141
- # @param [String] fields
142
- # Selector specifying which fields to include in a partial response.
143
- # @param [String] quota_user
144
- # Available to use for quota purposes for server-side applications. Can be any
145
- # arbitrary string assigned to a user, but should not exceed 40 characters.
146
- # @param [Google::Apis::RequestOptions] options
147
- # Request-specific options
148
- #
149
- # @yield [result, err] Result & error if block supplied
150
- # @yieldparam result [Google::Apis::CloudbuildV1::ListOperationsResponse] parsed result object
151
- # @yieldparam err [StandardError] error object if request failed
152
- #
153
- # @return [Google::Apis::CloudbuildV1::ListOperationsResponse]
154
- #
155
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
156
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
- # @raise [Google::Apis::AuthorizationError] Authorization is required
158
- def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
159
- command = make_simple_command(:get, 'v1/{+name}', options)
160
- command.response_representation = Google::Apis::CloudbuildV1::ListOperationsResponse::Representation
161
- command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse
162
- command.params['name'] = name unless name.nil?
163
- command.query['filter'] = filter unless filter.nil?
164
- command.query['pageSize'] = page_size unless page_size.nil?
165
- command.query['pageToken'] = page_token unless page_token.nil?
166
- command.query['fields'] = fields unless fields.nil?
167
- command.query['quotaUser'] = quota_user unless quota_user.nil?
168
- execute_or_queue_command(command, &block)
169
- end
170
-
171
124
  # Cancels a build in progress.
172
125
  # @param [String] project_id
173
126
  # Required. ID of the project.
@@ -445,53 +398,6 @@ module Google
445
398
  execute_or_queue_command(command, &block)
446
399
  end
447
400
 
448
- # Lists operations that match the specified filter in the request. If the
449
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
450
- # NOTE: the `name` binding allows API services to override the binding
451
- # to use different resource name schemes, such as `users/*/operations`. To
452
- # override the binding, API services can add a binding such as
453
- # `"/v1/`name=users/*`/operations"` to their service configuration.
454
- # For backwards compatibility, the default name includes the operations
455
- # collection id, however overriding users must ensure the name binding
456
- # is the parent resource, without the operations collection id.
457
- # @param [String] name
458
- # The name of the operation's parent resource.
459
- # @param [String] filter
460
- # The standard list filter.
461
- # @param [Fixnum] page_size
462
- # The standard list page size.
463
- # @param [String] page_token
464
- # The standard list page token.
465
- # @param [String] fields
466
- # Selector specifying which fields to include in a partial response.
467
- # @param [String] quota_user
468
- # Available to use for quota purposes for server-side applications. Can be any
469
- # arbitrary string assigned to a user, but should not exceed 40 characters.
470
- # @param [Google::Apis::RequestOptions] options
471
- # Request-specific options
472
- #
473
- # @yield [result, err] Result & error if block supplied
474
- # @yieldparam result [Google::Apis::CloudbuildV1::ListOperationsResponse] parsed result object
475
- # @yieldparam err [StandardError] error object if request failed
476
- #
477
- # @return [Google::Apis::CloudbuildV1::ListOperationsResponse]
478
- #
479
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
480
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
481
- # @raise [Google::Apis::AuthorizationError] Authorization is required
482
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
483
- command = make_simple_command(:get, 'v1/{+name}/operations', options)
484
- command.response_representation = Google::Apis::CloudbuildV1::ListOperationsResponse::Representation
485
- command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse
486
- command.params['name'] = name unless name.nil?
487
- command.query['filter'] = filter unless filter.nil?
488
- command.query['pageSize'] = page_size unless page_size.nil?
489
- command.query['pageToken'] = page_token unless page_token.nil?
490
- command.query['fields'] = fields unless fields.nil?
491
- command.query['quotaUser'] = quota_user unless quota_user.nil?
492
- execute_or_queue_command(command, &block)
493
- end
494
-
495
401
  # Creates a new `BuildTrigger`.
496
402
  # This API is experimental.
497
403
  # @param [String] project_id
@@ -703,48 +609,6 @@ module Google
703
609
  command.query['quotaUser'] = quota_user unless quota_user.nil?
704
610
  execute_or_queue_command(command, &block)
705
611
  end
706
-
707
- # Starts asynchronous cancellation on a long-running operation. The server
708
- # makes a best effort to cancel the operation, but success is not
709
- # guaranteed. If the server doesn't support this method, it returns
710
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
711
- # Operations.GetOperation or
712
- # other methods to check whether the cancellation succeeded or whether the
713
- # operation completed despite cancellation. On successful cancellation,
714
- # the operation is not deleted; instead, it becomes an operation with
715
- # an Operation.error value with a google.rpc.Status.code of 1,
716
- # corresponding to `Code.CANCELLED`.
717
- # @param [String] name
718
- # The name of the operation resource to be cancelled.
719
- # @param [Google::Apis::CloudbuildV1::CancelOperationRequest] cancel_operation_request_object
720
- # @param [String] fields
721
- # Selector specifying which fields to include in a partial response.
722
- # @param [String] quota_user
723
- # Available to use for quota purposes for server-side applications. Can be any
724
- # arbitrary string assigned to a user, but should not exceed 40 characters.
725
- # @param [Google::Apis::RequestOptions] options
726
- # Request-specific options
727
- #
728
- # @yield [result, err] Result & error if block supplied
729
- # @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object
730
- # @yieldparam err [StandardError] error object if request failed
731
- #
732
- # @return [Google::Apis::CloudbuildV1::Empty]
733
- #
734
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
735
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
736
- # @raise [Google::Apis::AuthorizationError] Authorization is required
737
- def cancel_vbeta1_project_location_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
738
- command = make_simple_command(:post, 'vbeta1/{+name}:cancel', options)
739
- command.request_representation = Google::Apis::CloudbuildV1::CancelOperationRequest::Representation
740
- command.request_object = cancel_operation_request_object
741
- command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
742
- command.response_class = Google::Apis::CloudbuildV1::Empty
743
- command.params['name'] = name unless name.nil?
744
- command.query['fields'] = fields unless fields.nil?
745
- command.query['quotaUser'] = quota_user unless quota_user.nil?
746
- execute_or_queue_command(command, &block)
747
- end
748
612
 
749
613
  protected
750
614
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/cloud-build/docs/
26
26
  module CloudbuildV1alpha1
27
27
  VERSION = 'V1alpha1'
28
- REVISION = '20200601'
28
+ REVISION = '20200626'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -381,8 +381,8 @@ module Google
381
381
  # @return [String]
382
382
  attr_accessor :log_streaming_option
383
383
 
384
- # Option to specify the logging mode, which determines where the logs are
385
- # stored.
384
+ # Option to specify the logging mode, which determines if and where build
385
+ # logs are stored.
386
386
  # Corresponds to the JSON property `logging`
387
387
  # @return [String]
388
388
  attr_accessor :logging
@@ -676,20 +676,14 @@ module Google
676
676
  end
677
677
  end
678
678
 
679
- # Container message for hash values.
680
- class HashProp
679
+ # HTTPDelivery is the delivery configuration for an HTTP notification.
680
+ class HttpDelivery
681
681
  include Google::Apis::Core::Hashable
682
682
 
683
- # The type of hash that was performed.
684
- # Corresponds to the JSON property `type`
683
+ # The URI to which JSON-containing HTTP POST requests should be sent.
684
+ # Corresponds to the JSON property `uri`
685
685
  # @return [String]
686
- attr_accessor :type
687
-
688
- # The hash value.
689
- # Corresponds to the JSON property `value`
690
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
691
- # @return [String]
692
- attr_accessor :value
686
+ attr_accessor :uri
693
687
 
694
688
  def initialize(**args)
695
689
  update!(**args)
@@ -697,24 +691,24 @@ module Google
697
691
 
698
692
  # Update properties of this object
699
693
  def update!(**args)
700
- @type = args[:type] if args.key?(:type)
701
- @value = args[:value] if args.key?(:value)
694
+ @uri = args[:uri] if args.key?(:uri)
702
695
  end
703
696
  end
704
697
 
705
- # The response message for Operations.ListOperations.
706
- class ListOperationsResponse
698
+ # Container message for hash values.
699
+ class HashProp
707
700
  include Google::Apis::Core::Hashable
708
701
 
709
- # The standard List next-page token.
710
- # Corresponds to the JSON property `nextPageToken`
702
+ # The type of hash that was performed.
703
+ # Corresponds to the JSON property `type`
711
704
  # @return [String]
712
- attr_accessor :next_page_token
705
+ attr_accessor :type
713
706
 
714
- # A list of operations that matches the specified filter in the request.
715
- # Corresponds to the JSON property `operations`
716
- # @return [Array<Google::Apis::CloudbuildV1alpha1::Operation>]
717
- attr_accessor :operations
707
+ # The hash value.
708
+ # Corresponds to the JSON property `value`
709
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
710
+ # @return [String]
711
+ attr_accessor :value
718
712
 
719
713
  def initialize(**args)
720
714
  update!(**args)
@@ -722,8 +716,8 @@ module Google
722
716
 
723
717
  # Update properties of this object
724
718
  def update!(**args)
725
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
726
- @operations = args[:operations] if args.key?(:operations)
719
+ @type = args[:type] if args.key?(:type)
720
+ @value = args[:value] if args.key?(:value)
727
721
  end
728
722
  end
729
723
 
@@ -783,6 +777,198 @@ module Google
783
777
  end
784
778
  end
785
779
 
780
+ # Notification is the container which holds the data that is relevant to this
781
+ # particular notification.
782
+ class Notification
783
+ include Google::Apis::Core::Hashable
784
+
785
+ # The filter string to use for notification filtering.
786
+ # Currently, this is assumed to be a CEL program.
787
+ # See https://opensource.google/projects/cel for more.
788
+ # Corresponds to the JSON property `filter`
789
+ # @return [String]
790
+ attr_accessor :filter
791
+
792
+ # HTTPDelivery is the delivery configuration for an HTTP notification.
793
+ # Corresponds to the JSON property `httpDelivery`
794
+ # @return [Google::Apis::CloudbuildV1alpha1::HttpDelivery]
795
+ attr_accessor :http_delivery
796
+
797
+ # SlackDelivery is the delivery configuration for delivering Slack messages via
798
+ # webhooks. See Slack webhook documentation at:
799
+ # https://api.slack.com/messaging/webhooks.
800
+ # Corresponds to the JSON property `slackDelivery`
801
+ # @return [Google::Apis::CloudbuildV1alpha1::SlackDelivery]
802
+ attr_accessor :slack_delivery
803
+
804
+ # SMTPDelivery is the delivery configuration for an SMTP (email) notification.
805
+ # Corresponds to the JSON property `smtpDelivery`
806
+ # @return [Google::Apis::CloudbuildV1alpha1::SmtpDelivery]
807
+ attr_accessor :smtp_delivery
808
+
809
+ # Escape hatch for users to supply custom delivery configs.
810
+ # Corresponds to the JSON property `structDelivery`
811
+ # @return [Hash<String,Object>]
812
+ attr_accessor :struct_delivery
813
+
814
+ def initialize(**args)
815
+ update!(**args)
816
+ end
817
+
818
+ # Update properties of this object
819
+ def update!(**args)
820
+ @filter = args[:filter] if args.key?(:filter)
821
+ @http_delivery = args[:http_delivery] if args.key?(:http_delivery)
822
+ @slack_delivery = args[:slack_delivery] if args.key?(:slack_delivery)
823
+ @smtp_delivery = args[:smtp_delivery] if args.key?(:smtp_delivery)
824
+ @struct_delivery = args[:struct_delivery] if args.key?(:struct_delivery)
825
+ end
826
+ end
827
+
828
+ # NotifierConfig is the top-level configuration message.
829
+ class NotifierConfig
830
+ include Google::Apis::Core::Hashable
831
+
832
+ # The API version of this configuration format.
833
+ # Corresponds to the JSON property `apiVersion`
834
+ # @return [String]
835
+ attr_accessor :api_version
836
+
837
+ # The type of notifier to use (e.g. SMTPNotifier).
838
+ # Corresponds to the JSON property `kind`
839
+ # @return [String]
840
+ attr_accessor :kind
841
+
842
+ # NotifierMetadata contains the data which can be used to reference or describe
843
+ # this notifier.
844
+ # Corresponds to the JSON property `metadata`
845
+ # @return [Google::Apis::CloudbuildV1alpha1::NotifierMetadata]
846
+ attr_accessor :metadata
847
+
848
+ # NotifierSpec is the configuration container for notifications.
849
+ # Corresponds to the JSON property `spec`
850
+ # @return [Google::Apis::CloudbuildV1alpha1::NotifierSpec]
851
+ attr_accessor :spec
852
+
853
+ def initialize(**args)
854
+ update!(**args)
855
+ end
856
+
857
+ # Update properties of this object
858
+ def update!(**args)
859
+ @api_version = args[:api_version] if args.key?(:api_version)
860
+ @kind = args[:kind] if args.key?(:kind)
861
+ @metadata = args[:metadata] if args.key?(:metadata)
862
+ @spec = args[:spec] if args.key?(:spec)
863
+ end
864
+ end
865
+
866
+ # NotifierMetadata contains the data which can be used to reference or describe
867
+ # this notifier.
868
+ class NotifierMetadata
869
+ include Google::Apis::Core::Hashable
870
+
871
+ # The human-readable and user-given name for the notifier.
872
+ # For example: "repo-merge-email-notifier".
873
+ # Corresponds to the JSON property `name`
874
+ # @return [String]
875
+ attr_accessor :name
876
+
877
+ # The string representing the name and version of notifier to deploy.
878
+ # Expected to be of the form of "<registry-path>/<name>:<version>".
879
+ # For example: "gcr.io/my-project/notifiers/smtp:1.2.34".
880
+ # Corresponds to the JSON property `notifier`
881
+ # @return [String]
882
+ attr_accessor :notifier
883
+
884
+ def initialize(**args)
885
+ update!(**args)
886
+ end
887
+
888
+ # Update properties of this object
889
+ def update!(**args)
890
+ @name = args[:name] if args.key?(:name)
891
+ @notifier = args[:notifier] if args.key?(:notifier)
892
+ end
893
+ end
894
+
895
+ # NotifierSecret is the container that maps a secret name (reference) to its
896
+ # Google Cloud Secret Manager resource path.
897
+ class NotifierSecret
898
+ include Google::Apis::Core::Hashable
899
+
900
+ # Name is the local name of the secret, such as the verbatim string
901
+ # "my-smtp-password".
902
+ # Corresponds to the JSON property `name`
903
+ # @return [String]
904
+ attr_accessor :name
905
+
906
+ # Value is interpreted to be a resource path for fetching the actual
907
+ # (versioned) secret data for this secret. For example, this would be a
908
+ # Google Cloud Secret Manager secret version resource path like:
909
+ # "projects/my-project/secrets/my-secret/versions/latest".
910
+ # Corresponds to the JSON property `value`
911
+ # @return [String]
912
+ attr_accessor :value
913
+
914
+ def initialize(**args)
915
+ update!(**args)
916
+ end
917
+
918
+ # Update properties of this object
919
+ def update!(**args)
920
+ @name = args[:name] if args.key?(:name)
921
+ @value = args[:value] if args.key?(:value)
922
+ end
923
+ end
924
+
925
+ # NotifierSecretRef contains the reference to a secret stored in the
926
+ # corresponding NotifierSpec.
927
+ class NotifierSecretRef
928
+ include Google::Apis::Core::Hashable
929
+
930
+ # The value of `secret_ref` should be a `name` that is registered in a
931
+ # `Secret` in the `secrets` list of the `Spec`.
932
+ # Corresponds to the JSON property `secretRef`
933
+ # @return [String]
934
+ attr_accessor :secret_ref
935
+
936
+ def initialize(**args)
937
+ update!(**args)
938
+ end
939
+
940
+ # Update properties of this object
941
+ def update!(**args)
942
+ @secret_ref = args[:secret_ref] if args.key?(:secret_ref)
943
+ end
944
+ end
945
+
946
+ # NotifierSpec is the configuration container for notifications.
947
+ class NotifierSpec
948
+ include Google::Apis::Core::Hashable
949
+
950
+ # Notification is the container which holds the data that is relevant to this
951
+ # particular notification.
952
+ # Corresponds to the JSON property `notification`
953
+ # @return [Google::Apis::CloudbuildV1alpha1::Notification]
954
+ attr_accessor :notification
955
+
956
+ # Configurations for secret resources used by this particular notifier.
957
+ # Corresponds to the JSON property `secrets`
958
+ # @return [Array<Google::Apis::CloudbuildV1alpha1::NotifierSecret>]
959
+ attr_accessor :secrets
960
+
961
+ def initialize(**args)
962
+ update!(**args)
963
+ end
964
+
965
+ # Update properties of this object
966
+ def update!(**args)
967
+ @notification = args[:notification] if args.key?(:notification)
968
+ @secrets = args[:secrets] if args.key?(:secrets)
969
+ end
970
+ end
971
+
786
972
  # This resource represents a long-running operation that is the result of a
787
973
  # network API call.
788
974
  class Operation
@@ -972,6 +1158,58 @@ module Google
972
1158
  end
973
1159
  end
974
1160
 
1161
+ # SMTPDelivery is the delivery configuration for an SMTP (email) notification.
1162
+ class SmtpDelivery
1163
+ include Google::Apis::Core::Hashable
1164
+
1165
+ # This is the SMTP account/email that appears in the `From:` of the email.
1166
+ # If empty, it is assumed to be sender.
1167
+ # Corresponds to the JSON property `fromAddress`
1168
+ # @return [String]
1169
+ attr_accessor :from_address
1170
+
1171
+ # NotifierSecretRef contains the reference to a secret stored in the
1172
+ # corresponding NotifierSpec.
1173
+ # Corresponds to the JSON property `password`
1174
+ # @return [Google::Apis::CloudbuildV1alpha1::NotifierSecretRef]
1175
+ attr_accessor :password
1176
+
1177
+ # The SMTP port of the server.
1178
+ # Corresponds to the JSON property `port`
1179
+ # @return [String]
1180
+ attr_accessor :port
1181
+
1182
+ # This is the list of addresses to which we send the email (i.e. in the `To:`
1183
+ # of the email).
1184
+ # Corresponds to the JSON property `recipientAddresses`
1185
+ # @return [Array<String>]
1186
+ attr_accessor :recipient_addresses
1187
+
1188
+ # This is the SMTP account/email that is used to send the message.
1189
+ # Corresponds to the JSON property `senderAddress`
1190
+ # @return [String]
1191
+ attr_accessor :sender_address
1192
+
1193
+ # The address of the SMTP server.
1194
+ # Corresponds to the JSON property `server`
1195
+ # @return [String]
1196
+ attr_accessor :server
1197
+
1198
+ def initialize(**args)
1199
+ update!(**args)
1200
+ end
1201
+
1202
+ # Update properties of this object
1203
+ def update!(**args)
1204
+ @from_address = args[:from_address] if args.key?(:from_address)
1205
+ @password = args[:password] if args.key?(:password)
1206
+ @port = args[:port] if args.key?(:port)
1207
+ @recipient_addresses = args[:recipient_addresses] if args.key?(:recipient_addresses)
1208
+ @sender_address = args[:sender_address] if args.key?(:sender_address)
1209
+ @server = args[:server] if args.key?(:server)
1210
+ end
1211
+ end
1212
+
975
1213
  # Pairs a set of secret environment variables containing encrypted
976
1214
  # values with the Cloud KMS key to use to decrypt the value.
977
1215
  class Secret
@@ -1002,6 +1240,28 @@ module Google
1002
1240
  end
1003
1241
  end
1004
1242
 
1243
+ # SlackDelivery is the delivery configuration for delivering Slack messages via
1244
+ # webhooks. See Slack webhook documentation at:
1245
+ # https://api.slack.com/messaging/webhooks.
1246
+ class SlackDelivery
1247
+ include Google::Apis::Core::Hashable
1248
+
1249
+ # NotifierSecretRef contains the reference to a secret stored in the
1250
+ # corresponding NotifierSpec.
1251
+ # Corresponds to the JSON property `webhookUri`
1252
+ # @return [Google::Apis::CloudbuildV1alpha1::NotifierSecretRef]
1253
+ attr_accessor :webhook_uri
1254
+
1255
+ def initialize(**args)
1256
+ update!(**args)
1257
+ end
1258
+
1259
+ # Update properties of this object
1260
+ def update!(**args)
1261
+ @webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
1262
+ end
1263
+ end
1264
+
1005
1265
  # Location of the source in a supported storage service.
1006
1266
  class Source
1007
1267
  include Google::Apis::Core::Hashable