google-api-client 0.39.4 → 0.41.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 +283 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/admob_v1.rb +1 -1
  6. data/generated/google/apis/admob_v1/classes.rb +5 -6
  7. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  8. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  9. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  10. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  13. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  14. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  15. data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
  16. data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
  17. data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
  18. data/generated/google/apis/apigee_v1.rb +1 -1
  19. data/generated/google/apis/apigee_v1/classes.rb +58 -10
  20. data/generated/google/apis/apigee_v1/representations.rb +7 -0
  21. data/generated/google/apis/apigee_v1/service.rb +24 -14
  22. data/generated/google/apis/appsmarket_v2.rb +3 -3
  23. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  24. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  25. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  26. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  27. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1132 -0
  28. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +442 -0
  29. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/bigquery_v2/classes.rb +54 -1
  32. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  33. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  34. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  35. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  36. data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
  37. data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
  38. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  39. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
  40. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  41. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  42. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  43. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
  45. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  46. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  47. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  48. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  49. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  50. data/generated/google/apis/books_v1.rb +1 -1
  51. data/generated/google/apis/books_v1/service.rb +2 -2
  52. data/generated/google/apis/calendar_v3.rb +1 -1
  53. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  54. data/generated/google/apis/chat_v1.rb +1 -1
  55. data/generated/google/apis/chat_v1/classes.rb +2 -0
  56. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  57. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  58. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  59. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  60. data/generated/google/apis/cloudasset_v1.rb +1 -1
  61. data/generated/google/apis/cloudasset_v1/classes.rb +82 -46
  62. data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
  63. data/generated/google/apis/cloudasset_v1/service.rb +14 -11
  64. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  65. data/generated/google/apis/cloudasset_v1beta1/classes.rb +977 -52
  66. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  67. data/generated/google/apis/cloudasset_v1beta1/service.rb +20 -11
  68. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
  70. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  71. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  72. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  74. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  75. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  76. data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
  77. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  78. data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
  79. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
  81. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
  82. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  83. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  84. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
  85. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
  86. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  87. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  88. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  89. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  90. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  91. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  92. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  93. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  94. data/generated/google/apis/cloudiot_v1.rb +1 -1
  95. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  96. data/generated/google/apis/cloudkms_v1.rb +1 -1
  97. data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
  98. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  99. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +20 -15
  101. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  102. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -8
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  105. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  107. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  108. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  109. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  110. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  111. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  112. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
  113. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  114. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
  115. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  116. data/generated/google/apis/compute_alpha.rb +1 -1
  117. data/generated/google/apis/compute_alpha/classes.rb +711 -151
  118. data/generated/google/apis/compute_alpha/representations.rb +220 -33
  119. data/generated/google/apis/compute_alpha/service.rb +1618 -831
  120. data/generated/google/apis/compute_beta.rb +1 -1
  121. data/generated/google/apis/compute_beta/classes.rb +173 -71
  122. data/generated/google/apis/compute_beta/representations.rb +25 -0
  123. data/generated/google/apis/compute_beta/service.rb +591 -591
  124. data/generated/google/apis/compute_v1.rb +1 -1
  125. data/generated/google/apis/compute_v1/classes.rb +66 -18
  126. data/generated/google/apis/compute_v1/representations.rb +6 -0
  127. data/generated/google/apis/container_v1.rb +1 -1
  128. data/generated/google/apis/container_v1/classes.rb +2 -4
  129. data/generated/google/apis/container_v1beta1.rb +1 -1
  130. data/generated/google/apis/container_v1beta1/classes.rb +82 -10
  131. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +41 -1
  134. data/generated/google/apis/content_v2/representations.rb +17 -0
  135. data/generated/google/apis/content_v2/service.rb +15 -6
  136. data/generated/google/apis/content_v2_1.rb +1 -1
  137. data/generated/google/apis/content_v2_1/classes.rb +450 -6
  138. data/generated/google/apis/content_v2_1/representations.rb +173 -0
  139. data/generated/google/apis/content_v2_1/service.rb +95 -6
  140. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  141. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  142. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  143. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  144. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  145. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  146. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  147. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  148. data/generated/google/apis/dataproc_v1.rb +1 -1
  149. data/generated/google/apis/dataproc_v1/classes.rb +68 -22
  150. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  151. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  152. data/generated/google/apis/dataproc_v1beta2/classes.rb +61 -35
  153. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  154. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  155. data/generated/google/apis/datastore_v1.rb +1 -1
  156. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  157. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  158. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  159. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  160. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  161. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  162. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  163. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  164. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  165. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  166. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  167. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  168. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  169. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  170. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  171. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  172. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  173. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  174. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  175. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  176. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  177. data/generated/google/apis/dialogflow_v2.rb +1 -1
  178. data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
  179. data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
  180. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  181. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  182. data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
  183. data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
  184. data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -6
  185. data/generated/google/apis/displayvideo_v1.rb +1 -1
  186. data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
  187. data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
  188. data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
  189. data/generated/google/apis/dlp_v2.rb +1 -1
  190. data/generated/google/apis/dlp_v2/classes.rb +17 -27
  191. data/generated/google/apis/dlp_v2/service.rb +247 -204
  192. data/generated/google/apis/dns_v1.rb +1 -1
  193. data/generated/google/apis/dns_v1/classes.rb +160 -261
  194. data/generated/google/apis/dns_v1/representations.rb +17 -0
  195. data/generated/google/apis/dns_v1/service.rb +21 -141
  196. data/generated/google/apis/dns_v1beta2.rb +1 -1
  197. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  198. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  199. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  200. data/generated/google/apis/dns_v2beta1.rb +1 -1
  201. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  202. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  203. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  204. data/generated/google/apis/documentai_v1beta2.rb +36 -0
  205. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  206. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  207. data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
  208. data/generated/google/apis/drive_v2.rb +1 -1
  209. data/generated/google/apis/drive_v2/service.rb +26 -78
  210. data/generated/google/apis/drive_v3.rb +1 -1
  211. data/generated/google/apis/drive_v3/service.rb +18 -54
  212. data/generated/google/apis/fcm_v1.rb +1 -1
  213. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  214. data/generated/google/apis/file_v1.rb +1 -1
  215. data/generated/google/apis/file_v1/classes.rb +31 -1156
  216. data/generated/google/apis/file_v1/representations.rb +12 -378
  217. data/generated/google/apis/file_v1beta1.rb +1 -1
  218. data/generated/google/apis/file_v1beta1/classes.rb +98 -1156
  219. data/generated/google/apis/file_v1beta1/representations.rb +26 -373
  220. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  221. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  222. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  223. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  224. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  225. data/generated/google/apis/{pagespeedonline_v2.rb → firebaseml_v1.rb} +12 -10
  226. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  227. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  228. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  229. data/generated/google/apis/fitness_v1.rb +4 -4
  230. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  231. data/generated/google/apis/fitness_v1/service.rb +187 -215
  232. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  233. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  234. data/generated/google/apis/games_management_v1management.rb +1 -1
  235. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  236. data/generated/google/apis/games_v1.rb +1 -1
  237. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  238. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  239. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  240. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  241. data/generated/google/apis/gmail_v1.rb +3 -2
  242. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  243. data/generated/google/apis/gmail_v1/service.rb +551 -743
  244. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  245. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  246. data/generated/google/apis/healthcare_v1.rb +1 -1
  247. data/generated/google/apis/healthcare_v1/classes.rb +39 -30
  248. data/generated/google/apis/healthcare_v1/service.rb +66 -32
  249. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  250. data/generated/google/apis/healthcare_v1beta1/classes.rb +948 -77
  251. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  252. data/generated/google/apis/healthcare_v1beta1/service.rb +682 -147
  253. data/generated/google/apis/homegraph_v1.rb +1 -1
  254. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  255. data/generated/google/apis/iam_v1.rb +1 -1
  256. data/generated/google/apis/iam_v1/classes.rb +116 -93
  257. data/generated/google/apis/iam_v1/service.rb +170 -144
  258. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  259. data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
  260. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  261. data/generated/google/apis/jobs_v3.rb +1 -1
  262. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  263. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  264. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  265. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  266. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  267. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  268. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  269. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
  270. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  271. data/generated/google/apis/monitoring_v1.rb +1 -1
  272. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  273. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  274. data/generated/google/apis/monitoring_v3.rb +1 -1
  275. data/generated/google/apis/monitoring_v3/classes.rb +73 -17
  276. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  277. data/generated/google/apis/{pagespeedonline_v4.rb → networkmanagement_v1.rb} +13 -10
  278. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  279. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  280. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  281. data/generated/google/apis/osconfig_v1.rb +1 -1
  282. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  283. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  284. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  285. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  286. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  287. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  288. data/generated/google/apis/people_v1.rb +1 -1
  289. data/generated/google/apis/people_v1/classes.rb +216 -0
  290. data/generated/google/apis/people_v1/representations.rb +82 -0
  291. data/generated/google/apis/people_v1/service.rb +371 -8
  292. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  293. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  294. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  295. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  296. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  297. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  298. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  299. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  300. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  301. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  302. data/generated/google/apis/pubsub_v1.rb +1 -1
  303. data/generated/google/apis/pubsub_v1/classes.rb +64 -8
  304. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  305. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  306. data/generated/google/apis/{customsearch_v1.rb → recommender_v1.rb} +11 -8
  307. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  308. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  309. data/generated/google/apis/recommender_v1/service.rb +266 -0
  310. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  311. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  312. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  313. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  314. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  315. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  316. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  317. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  318. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  319. data/generated/google/apis/run_v1.rb +1 -1
  320. data/generated/google/apis/run_v1/classes.rb +15 -6
  321. data/generated/google/apis/run_v1/representations.rb +1 -0
  322. data/generated/google/apis/run_v1alpha1.rb +1 -1
  323. data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
  324. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  325. data/generated/google/apis/run_v1beta1.rb +1 -1
  326. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  327. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  328. data/generated/google/apis/secretmanager_v1.rb +1 -1
  329. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  330. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  331. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  332. data/generated/google/apis/securitycenter_v1.rb +1 -1
  333. data/generated/google/apis/securitycenter_v1/classes.rb +143 -28
  334. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  335. data/generated/google/apis/securitycenter_v1/service.rb +10 -10
  336. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  337. data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
  338. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  339. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  340. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  341. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  342. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  343. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +143 -28
  344. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  345. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +10 -10
  346. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  347. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -74
  348. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -2
  349. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  350. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -74
  351. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -2
  352. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  353. data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
  354. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  355. data/generated/google/apis/servicemanagement_v1/classes.rb +123 -80
  356. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
  357. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1/classes.rb +498 -74
  359. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
  360. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  361. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  362. data/generated/google/apis/servicenetworking_v1beta/classes.rb +307 -74
  363. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
  364. data/generated/google/apis/serviceusage_v1.rb +1 -1
  365. data/generated/google/apis/serviceusage_v1/classes.rb +221 -74
  366. data/generated/google/apis/serviceusage_v1/representations.rb +34 -2
  367. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  368. data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -74
  369. data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -2
  370. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  371. data/generated/google/apis/slides_v1.rb +1 -1
  372. data/generated/google/apis/slides_v1/classes.rb +4 -0
  373. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  374. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  375. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  376. data/generated/google/apis/spanner_v1.rb +1 -1
  377. data/generated/google/apis/spanner_v1/classes.rb +30 -12
  378. data/generated/google/apis/spanner_v1/service.rb +8 -8
  379. data/generated/google/apis/sql_v1beta4.rb +1 -1
  380. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  381. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  382. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  383. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  384. data/generated/google/apis/tasks_v1.rb +3 -3
  385. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  386. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  387. data/generated/google/apis/tasks_v1/service.rb +79 -128
  388. data/generated/google/apis/testing_v1.rb +1 -1
  389. data/generated/google/apis/testing_v1/classes.rb +2 -1
  390. data/generated/google/apis/texttospeech_v1.rb +1 -1
  391. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  392. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  393. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  394. data/generated/google/apis/tpu_v1.rb +1 -1
  395. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  396. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  397. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  398. data/generated/google/apis/translate_v3.rb +1 -1
  399. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  400. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  401. data/generated/google/apis/videointelligence_v1.rb +1 -1
  402. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  403. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  404. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  406. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  407. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  409. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  410. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  412. data/generated/google/apis/vision_v1.rb +1 -1
  413. data/generated/google/apis/vision_v1/classes.rb +18 -0
  414. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  415. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  416. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  417. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  418. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  419. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  420. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  421. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  422. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  423. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  424. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  425. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  426. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  427. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  428. data/generated/google/apis/youtube_v3.rb +5 -5
  429. data/generated/google/apis/youtube_v3/classes.rb +1298 -1244
  430. data/generated/google/apis/youtube_v3/representations.rb +91 -192
  431. data/generated/google/apis/youtube_v3/service.rb +1857 -2152
  432. data/lib/google/apis/core/api_command.rb +12 -7
  433. data/lib/google/apis/options.rb +5 -1
  434. data/lib/google/apis/version.rb +1 -1
  435. metadata +27 -19
  436. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  437. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  438. data/generated/google/apis/customsearch_v1/service.rb +0 -608
  439. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  440. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  441. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  442. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  443. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  444. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  445. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  446. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  447. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/cloud-build/docs/
26
26
  module CloudbuildV1alpha2
27
27
  VERSION = 'V1alpha2'
28
- REVISION = '20200317'
28
+ REVISION = '20200606'
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'
@@ -262,6 +262,7 @@ module Google
262
262
  # Amount of time that this build should be allowed to run, to second
263
263
  # granularity. If this amount of time elapses, work on the build will cease
264
264
  # and the build status will be `TIMEOUT`.
265
+ # `timeout` starts ticking from `startTime`.
265
266
  # Default time is ten minutes.
266
267
  # Corresponds to the JSON property `timeout`
267
268
  # @return [String]
@@ -356,6 +357,15 @@ module Google
356
357
  # @return [Fixnum]
357
358
  attr_accessor :disk_size_gb
358
359
 
360
+ # Option to specify whether or not to apply bash style string
361
+ # operations to the substitutions.
362
+ # NOTE: this is always enabled for triggered builds and cannot be
363
+ # overridden in the build configuration file.
364
+ # Corresponds to the JSON property `dynamicSubstitutions`
365
+ # @return [Boolean]
366
+ attr_accessor :dynamic_substitutions
367
+ alias_method :dynamic_substitutions?, :dynamic_substitutions
368
+
359
369
  # A list of global environment variable definitions that will exist for all
360
370
  # build steps in this build. If a variable is defined in both globally and in
361
371
  # a build step, the variable will use the build step value.
@@ -371,8 +381,8 @@ module Google
371
381
  # @return [String]
372
382
  attr_accessor :log_streaming_option
373
383
 
374
- # Option to specify the logging mode, which determines where the logs are
375
- # stored.
384
+ # Option to specify the logging mode, which determines if and where build
385
+ # logs are stored.
376
386
  # Corresponds to the JSON property `logging`
377
387
  # @return [String]
378
388
  attr_accessor :logging
@@ -402,6 +412,8 @@ module Google
402
412
 
403
413
  # Option to specify behavior when there is an error in the substitution
404
414
  # checks.
415
+ # NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot
416
+ # be overridden in the build configuration file.
405
417
  # Corresponds to the JSON property `substitutionOption`
406
418
  # @return [String]
407
419
  attr_accessor :substitution_option
@@ -431,6 +443,7 @@ module Google
431
443
  # Update properties of this object
432
444
  def update!(**args)
433
445
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
446
+ @dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
434
447
  @env = args[:env] if args.key?(:env)
435
448
  @log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
436
449
  @logging = args[:logging] if args.key?(:logging)
@@ -611,6 +624,19 @@ module Google
611
624
  end
612
625
  end
613
626
 
627
+ # The request message for Operations.CancelOperation.
628
+ class CancelOperationRequest
629
+ include Google::Apis::Core::Hashable
630
+
631
+ def initialize(**args)
632
+ update!(**args)
633
+ end
634
+
635
+ # Update properties of this object
636
+ def update!(**args)
637
+ end
638
+ end
639
+
614
640
  # A generic empty message that you can re-use to avoid defining duplicated
615
641
  # empty messages in your APIs. A typical example is to use it as the request
616
642
  # or the response type of an API method. For instance:
@@ -676,6 +702,31 @@ module Google
676
702
  end
677
703
  end
678
704
 
705
+ # The response message for Operations.ListOperations.
706
+ class ListOperationsResponse
707
+ include Google::Apis::Core::Hashable
708
+
709
+ # The standard List next-page token.
710
+ # Corresponds to the JSON property `nextPageToken`
711
+ # @return [String]
712
+ attr_accessor :next_page_token
713
+
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::CloudbuildV1alpha2::Operation>]
717
+ attr_accessor :operations
718
+
719
+ def initialize(**args)
720
+ update!(**args)
721
+ end
722
+
723
+ # Update properties of this object
724
+ 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)
727
+ end
728
+ end
729
+
679
730
  # Response containing existing `WorkerPools`.
680
731
  class ListWorkerPoolsResponse
681
732
  include Google::Apis::Core::Hashable
@@ -719,6 +770,70 @@ module Google
719
770
  end
720
771
  end
721
772
 
773
+ # This resource represents a long-running operation that is the result of a
774
+ # network API call.
775
+ class Operation
776
+ include Google::Apis::Core::Hashable
777
+
778
+ # If the value is `false`, it means the operation is still in progress.
779
+ # If `true`, the operation is completed, and either `error` or `response` is
780
+ # available.
781
+ # Corresponds to the JSON property `done`
782
+ # @return [Boolean]
783
+ attr_accessor :done
784
+ alias_method :done?, :done
785
+
786
+ # The `Status` type defines a logical error model that is suitable for
787
+ # different programming environments, including REST APIs and RPC APIs. It is
788
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
789
+ # three pieces of data: error code, error message, and error details.
790
+ # You can find out more about this error model and how to work with it in the
791
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
792
+ # Corresponds to the JSON property `error`
793
+ # @return [Google::Apis::CloudbuildV1alpha2::Status]
794
+ attr_accessor :error
795
+
796
+ # Service-specific metadata associated with the operation. It typically
797
+ # contains progress information and common metadata such as create time.
798
+ # Some services might not provide such metadata. Any method that returns a
799
+ # long-running operation should document the metadata type, if any.
800
+ # Corresponds to the JSON property `metadata`
801
+ # @return [Hash<String,Object>]
802
+ attr_accessor :metadata
803
+
804
+ # The server-assigned name, which is only unique within the same service that
805
+ # originally returns it. If you use the default HTTP mapping, the
806
+ # `name` should be a resource name ending with `operations/`unique_id``.
807
+ # Corresponds to the JSON property `name`
808
+ # @return [String]
809
+ attr_accessor :name
810
+
811
+ # The normal response of the operation in case of success. If the original
812
+ # method returns no data on success, such as `Delete`, the response is
813
+ # `google.protobuf.Empty`. If the original method is standard
814
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
815
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
816
+ # is the original method name. For example, if the original method name
817
+ # is `TakeSnapshot()`, the inferred response type is
818
+ # `TakeSnapshotResponse`.
819
+ # Corresponds to the JSON property `response`
820
+ # @return [Hash<String,Object>]
821
+ attr_accessor :response
822
+
823
+ def initialize(**args)
824
+ update!(**args)
825
+ end
826
+
827
+ # Update properties of this object
828
+ def update!(**args)
829
+ @done = args[:done] if args.key?(:done)
830
+ @error = args[:error] if args.key?(:error)
831
+ @metadata = args[:metadata] if args.key?(:metadata)
832
+ @name = args[:name] if args.key?(:name)
833
+ @response = args[:response] if args.key?(:response)
834
+ end
835
+ end
836
+
722
837
  # Location of the source in a Google Cloud Source Repository.
723
838
  class RepoSource
724
839
  include Google::Apis::Core::Hashable
@@ -938,6 +1053,45 @@ module Google
938
1053
  end
939
1054
  end
940
1055
 
1056
+ # The `Status` type defines a logical error model that is suitable for
1057
+ # different programming environments, including REST APIs and RPC APIs. It is
1058
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1059
+ # three pieces of data: error code, error message, and error details.
1060
+ # You can find out more about this error model and how to work with it in the
1061
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1062
+ class Status
1063
+ include Google::Apis::Core::Hashable
1064
+
1065
+ # The status code, which should be an enum value of google.rpc.Code.
1066
+ # Corresponds to the JSON property `code`
1067
+ # @return [Fixnum]
1068
+ attr_accessor :code
1069
+
1070
+ # A list of messages that carry the error details. There is a common set of
1071
+ # message types for APIs to use.
1072
+ # Corresponds to the JSON property `details`
1073
+ # @return [Array<Hash<String,Object>>]
1074
+ attr_accessor :details
1075
+
1076
+ # A developer-facing error message, which should be in English. Any
1077
+ # user-facing error message should be localized and sent in the
1078
+ # google.rpc.Status.details field, or localized by the client.
1079
+ # Corresponds to the JSON property `message`
1080
+ # @return [String]
1081
+ attr_accessor :message
1082
+
1083
+ def initialize(**args)
1084
+ update!(**args)
1085
+ end
1086
+
1087
+ # Update properties of this object
1088
+ def update!(**args)
1089
+ @code = args[:code] if args.key?(:code)
1090
+ @details = args[:details] if args.key?(:details)
1091
+ @message = args[:message] if args.key?(:message)
1092
+ end
1093
+ end
1094
+
941
1095
  # Location of the source in an archive file in Google Cloud Storage.
942
1096
  class StorageSource
943
1097
  include Google::Apis::Core::Hashable
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class CancelOperationRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class Empty
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -88,6 +94,12 @@ module Google
88
94
  include Google::Apis::Core::JsonObjectSupport
89
95
  end
90
96
 
97
+ class ListOperationsResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
91
103
  class ListWorkerPoolsResponse
92
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
105
 
@@ -100,6 +112,12 @@ module Google
100
112
  include Google::Apis::Core::JsonObjectSupport
101
113
  end
102
114
 
115
+ class Operation
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
103
121
  class RepoSource
104
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
123
 
@@ -130,6 +148,12 @@ module Google
130
148
  include Google::Apis::Core::JsonObjectSupport
131
149
  end
132
150
 
151
+ class Status
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
133
157
  class StorageSource
134
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
159
 
@@ -237,6 +261,7 @@ module Google
237
261
  # @private
238
262
  class Representation < Google::Apis::Core::JsonRepresentation
239
263
  property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
264
+ property :dynamic_substitutions, as: 'dynamicSubstitutions'
240
265
  collection :env, as: 'env'
241
266
  property :log_streaming_option, as: 'logStreamingOption'
242
267
  property :logging, as: 'logging'
@@ -283,6 +308,12 @@ module Google
283
308
  end
284
309
  end
285
310
 
311
+ class CancelOperationRequest
312
+ # @private
313
+ class Representation < Google::Apis::Core::JsonRepresentation
314
+ end
315
+ end
316
+
286
317
  class Empty
287
318
  # @private
288
319
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -305,6 +336,15 @@ module Google
305
336
  end
306
337
  end
307
338
 
339
+ class ListOperationsResponse
340
+ # @private
341
+ class Representation < Google::Apis::Core::JsonRepresentation
342
+ property :next_page_token, as: 'nextPageToken'
343
+ collection :operations, as: 'operations', class: Google::Apis::CloudbuildV1alpha2::Operation, decorator: Google::Apis::CloudbuildV1alpha2::Operation::Representation
344
+
345
+ end
346
+ end
347
+
308
348
  class ListWorkerPoolsResponse
309
349
  # @private
310
350
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -320,6 +360,18 @@ module Google
320
360
  end
321
361
  end
322
362
 
363
+ class Operation
364
+ # @private
365
+ class Representation < Google::Apis::Core::JsonRepresentation
366
+ property :done, as: 'done'
367
+ property :error, as: 'error', class: Google::Apis::CloudbuildV1alpha2::Status, decorator: Google::Apis::CloudbuildV1alpha2::Status::Representation
368
+
369
+ hash :metadata, as: 'metadata'
370
+ property :name, as: 'name'
371
+ hash :response, as: 'response'
372
+ end
373
+ end
374
+
323
375
  class RepoSource
324
376
  # @private
325
377
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -378,6 +430,15 @@ module Google
378
430
  end
379
431
  end
380
432
 
433
+ class Status
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :code, as: 'code'
437
+ collection :details, as: 'details'
438
+ property :message, as: 'message'
439
+ end
440
+ end
441
+
381
442
  class StorageSource
382
443
  # @private
383
444
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -47,6 +47,127 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
+ # Starts asynchronous cancellation on a long-running operation. The server
51
+ # makes a best effort to cancel the operation, but success is not
52
+ # guaranteed. If the server doesn't support this method, it returns
53
+ # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
54
+ # Operations.GetOperation or
55
+ # other methods to check whether the cancellation succeeded or whether the
56
+ # operation completed despite cancellation. On successful cancellation,
57
+ # the operation is not deleted; instead, it becomes an operation with
58
+ # an Operation.error value with a google.rpc.Status.code of 1,
59
+ # corresponding to `Code.CANCELLED`.
60
+ # @param [String] name
61
+ # The name of the operation resource to be cancelled.
62
+ # @param [Google::Apis::CloudbuildV1alpha2::CancelOperationRequest] cancel_operation_request_object
63
+ # @param [String] fields
64
+ # Selector specifying which fields to include in a partial response.
65
+ # @param [String] quota_user
66
+ # Available to use for quota purposes for server-side applications. Can be any
67
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68
+ # @param [Google::Apis::RequestOptions] options
69
+ # Request-specific options
70
+ #
71
+ # @yield [result, err] Result & error if block supplied
72
+ # @yieldparam result [Google::Apis::CloudbuildV1alpha2::Empty] parsed result object
73
+ # @yieldparam err [StandardError] error object if request failed
74
+ #
75
+ # @return [Google::Apis::CloudbuildV1alpha2::Empty]
76
+ #
77
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
80
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
81
+ command = make_simple_command(:post, 'v1alpha2/{+name}:cancel', options)
82
+ command.request_representation = Google::Apis::CloudbuildV1alpha2::CancelOperationRequest::Representation
83
+ command.request_object = cancel_operation_request_object
84
+ command.response_representation = Google::Apis::CloudbuildV1alpha2::Empty::Representation
85
+ command.response_class = Google::Apis::CloudbuildV1alpha2::Empty
86
+ command.params['name'] = name unless name.nil?
87
+ command.query['fields'] = fields unless fields.nil?
88
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
89
+ execute_or_queue_command(command, &block)
90
+ end
91
+
92
+ # Gets the latest state of a long-running operation. Clients can use this
93
+ # method to poll the operation result at intervals as recommended by the API
94
+ # service.
95
+ # @param [String] name
96
+ # The name of the operation resource.
97
+ # @param [String] fields
98
+ # Selector specifying which fields to include in a partial response.
99
+ # @param [String] quota_user
100
+ # Available to use for quota purposes for server-side applications. Can be any
101
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
102
+ # @param [Google::Apis::RequestOptions] options
103
+ # Request-specific options
104
+ #
105
+ # @yield [result, err] Result & error if block supplied
106
+ # @yieldparam result [Google::Apis::CloudbuildV1alpha2::Operation] parsed result object
107
+ # @yieldparam err [StandardError] error object if request failed
108
+ #
109
+ # @return [Google::Apis::CloudbuildV1alpha2::Operation]
110
+ #
111
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
114
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
115
+ command = make_simple_command(:get, 'v1alpha2/{+name}', options)
116
+ command.response_representation = Google::Apis::CloudbuildV1alpha2::Operation::Representation
117
+ command.response_class = Google::Apis::CloudbuildV1alpha2::Operation
118
+ command.params['name'] = name unless name.nil?
119
+ command.query['fields'] = fields unless fields.nil?
120
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
121
+ execute_or_queue_command(command, &block)
122
+ end
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::CloudbuildV1alpha2::ListOperationsResponse] parsed result object
151
+ # @yieldparam err [StandardError] error object if request failed
152
+ #
153
+ # @return [Google::Apis::CloudbuildV1alpha2::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_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
159
+ command = make_simple_command(:get, 'v1alpha2/{+name}/operations', options)
160
+ command.response_representation = Google::Apis::CloudbuildV1alpha2::ListOperationsResponse::Representation
161
+ command.response_class = Google::Apis::CloudbuildV1alpha2::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
+
50
171
  # Creates a `WorkerPool` to run the builds, and returns the new worker pool.
51
172
  # @param [String] parent
52
173
  # Required. The parent resource where this book will be created.