google-api-client 0.10.3 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (385) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +12 -18
  3. data/CHANGELOG.md +22 -2
  4. data/Gemfile +5 -7
  5. data/MIGRATING.md +33 -0
  6. data/README.md +10 -2
  7. data/Rakefile +1 -0
  8. data/bin/generate-api +7 -1
  9. data/dl.rb +0 -0
  10. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +6 -6
  11. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +1 -1
  12. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +759 -759
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +152 -152
  16. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +376 -375
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +58 -58
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +45 -45
  19. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -21
  20. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +5 -5
  21. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +5 -5
  22. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -0
  23. data/generated/google/apis/admin_datatransfer_v1/classes.rb +2 -2
  24. data/generated/google/apis/admin_datatransfer_v1/representations.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -1
  26. data/generated/google/apis/admin_directory_v1/classes.rb +11 -11
  27. data/generated/google/apis/admin_directory_v1/representations.rb +11 -11
  28. data/generated/google/apis/admin_directory_v1/service.rb +1 -0
  29. data/generated/google/apis/admin_reports_v1/classes.rb +5 -5
  30. data/generated/google/apis/admin_reports_v1/representations.rb +4 -4
  31. data/generated/google/apis/admin_reports_v1/service.rb +1 -0
  32. data/generated/google/apis/adsense_v1_4.rb +1 -1
  33. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  34. data/generated/google/apis/adsense_v1_4/representations.rb +2 -2
  35. data/generated/google/apis/adsense_v1_4/service.rb +1 -0
  36. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  37. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -1
  38. data/generated/google/apis/adsensehost_v4_1/representations.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1/service.rb +1 -0
  40. data/generated/google/apis/analytics_v3/classes.rb +10 -10
  41. data/generated/google/apis/analytics_v3/representations.rb +10 -10
  42. data/generated/google/apis/analytics_v3/service.rb +1 -0
  43. data/generated/google/apis/analyticsreporting_v4/classes.rb +933 -933
  44. data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
  45. data/generated/google/apis/analyticsreporting_v4/service.rb +5 -4
  46. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  47. data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
  48. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/service.rb +1 -0
  50. data/generated/google/apis/androidpublisher_v2/classes.rb +13 -13
  51. data/generated/google/apis/androidpublisher_v2/representations.rb +13 -13
  52. data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
  53. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  54. data/generated/google/apis/appengine_v1/representations.rb +2 -2
  55. data/generated/google/apis/appengine_v1/service.rb +1 -0
  56. data/generated/google/apis/appsactivity_v1/classes.rb +1 -1
  57. data/generated/google/apis/appsactivity_v1/representations.rb +1 -1
  58. data/generated/google/apis/appsactivity_v1/service.rb +1 -0
  59. data/generated/google/apis/appsmarket_v2.rb +35 -0
  60. data/generated/google/apis/appsmarket_v2/classes.rb +396 -0
  61. data/generated/google/apis/appsmarket_v2/representations.rb +180 -0
  62. data/generated/google/apis/appsmarket_v2/service.rb +187 -0
  63. data/generated/google/apis/appstate_v1.rb +1 -1
  64. data/generated/google/apis/appstate_v1/service.rb +1 -0
  65. data/generated/google/apis/bigquery_v2/classes.rb +39 -39
  66. data/generated/google/apis/bigquery_v2/representations.rb +38 -38
  67. data/generated/google/apis/bigquery_v2/service.rb +3 -2
  68. data/generated/google/apis/blogger_v3/classes.rb +2 -2
  69. data/generated/google/apis/blogger_v3/representations.rb +2 -2
  70. data/generated/google/apis/blogger_v3/service.rb +1 -0
  71. data/generated/google/apis/books_v1/classes.rb +5 -5
  72. data/generated/google/apis/books_v1/representations.rb +4 -4
  73. data/generated/google/apis/books_v1/service.rb +1 -0
  74. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  75. data/generated/google/apis/calendar_v3/representations.rb +1 -1
  76. data/generated/google/apis/calendar_v3/service.rb +1 -0
  77. data/generated/google/apis/civicinfo_v2/classes.rb +6 -6
  78. data/generated/google/apis/civicinfo_v2/representations.rb +6 -6
  79. data/generated/google/apis/civicinfo_v2/service.rb +2 -1
  80. data/generated/google/apis/classroom_v1/service.rb +1 -0
  81. data/generated/google/apis/cloudbilling_v1/service.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1/classes.rb +626 -626
  84. data/generated/google/apis/cloudbuild_v1/representations.rb +109 -109
  85. data/generated/google/apis/cloudbuild_v1/service.rb +159 -158
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +358 -358
  87. data/generated/google/apis/clouddebugger_v2/representations.rb +99 -99
  88. data/generated/google/apis/clouddebugger_v2/service.rb +42 -41
  89. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  90. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +220 -220
  91. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +52 -52
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +59 -58
  93. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -7
  94. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
  95. data/generated/google/apis/cloudfunctions_v1/service.rb +5 -4
  96. data/generated/google/apis/cloudkms_v1/classes.rb +311 -311
  97. data/generated/google/apis/cloudkms_v1/representations.rb +87 -87
  98. data/generated/google/apis/cloudkms_v1/service.rb +168 -167
  99. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +4 -4
  100. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +4 -4
  101. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -0
  102. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  103. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +341 -341
  104. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +62 -62
  105. data/generated/google/apis/cloudresourcemanager_v1/service.rb +458 -457
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +327 -327
  107. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +71 -71
  108. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +237 -236
  109. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  110. data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
  111. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  112. data/generated/google/apis/cloudtrace_v1/service.rb +14 -13
  113. data/generated/google/apis/clouduseraccounts_beta/classes.rb +4 -4
  114. data/generated/google/apis/clouduseraccounts_beta/representations.rb +4 -4
  115. data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -0
  116. data/generated/google/apis/compute_beta/classes.rb +52 -52
  117. data/generated/google/apis/compute_beta/representations.rb +52 -52
  118. data/generated/google/apis/compute_beta/service.rb +2 -1
  119. data/generated/google/apis/compute_v1/classes.rb +48 -48
  120. data/generated/google/apis/compute_v1/representations.rb +48 -48
  121. data/generated/google/apis/compute_v1/service.rb +2 -1
  122. data/generated/google/apis/container_v1/service.rb +1 -0
  123. data/generated/google/apis/content_v2.rb +1 -1
  124. data/generated/google/apis/content_v2/classes.rb +38 -660
  125. data/generated/google/apis/content_v2/representations.rb +37 -303
  126. data/generated/google/apis/content_v2/service.rb +63 -279
  127. data/generated/google/apis/customsearch_v1/classes.rb +2 -2
  128. data/generated/google/apis/customsearch_v1/representations.rb +2 -2
  129. data/generated/google/apis/customsearch_v1/service.rb +1 -0
  130. data/generated/google/apis/dataflow_v1b3/classes.rb +3281 -3281
  131. data/generated/google/apis/dataflow_v1b3/representations.rb +777 -777
  132. data/generated/google/apis/dataflow_v1b3/service.rb +106 -105
  133. data/generated/google/apis/dataproc_v1/classes.rb +395 -395
  134. data/generated/google/apis/dataproc_v1/representations.rb +91 -91
  135. data/generated/google/apis/dataproc_v1/service.rb +356 -355
  136. data/generated/google/apis/datastore_v1/classes.rb +506 -506
  137. data/generated/google/apis/datastore_v1/representations.rb +147 -147
  138. data/generated/google/apis/datastore_v1/service.rb +46 -45
  139. data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
  140. data/generated/google/apis/deploymentmanager_v2/representations.rb +6 -6
  141. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -0
  142. data/generated/google/apis/dfareporting_v2_6/classes.rb +280 -280
  143. data/generated/google/apis/dfareporting_v2_6/representations.rb +266 -266
  144. data/generated/google/apis/dfareporting_v2_6/service.rb +421 -420
  145. data/generated/google/apis/dfareporting_v2_7/classes.rb +280 -280
  146. data/generated/google/apis/dfareporting_v2_7/representations.rb +266 -266
  147. data/generated/google/apis/dfareporting_v2_7/service.rb +423 -422
  148. data/generated/google/apis/discovery_v1/service.rb +1 -0
  149. data/generated/google/apis/dns_v1/classes.rb +2 -2
  150. data/generated/google/apis/dns_v1/representations.rb +2 -2
  151. data/generated/google/apis/dns_v1/service.rb +1 -0
  152. data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
  153. data/generated/google/apis/dns_v2beta1/representations.rb +2 -2
  154. data/generated/google/apis/dns_v2beta1/service.rb +1 -0
  155. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +15 -15
  156. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +13 -13
  157. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +5 -4
  158. data/generated/google/apis/doubleclicksearch_v2/classes.rb +28 -28
  159. data/generated/google/apis/doubleclicksearch_v2/representations.rb +28 -28
  160. data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -12
  161. data/generated/google/apis/drive_v2/classes.rb +17 -17
  162. data/generated/google/apis/drive_v2/representations.rb +17 -17
  163. data/generated/google/apis/drive_v2/service.rb +5 -4
  164. data/generated/google/apis/drive_v3/classes.rb +13 -13
  165. data/generated/google/apis/drive_v3/representations.rb +12 -12
  166. data/generated/google/apis/drive_v3/service.rb +1 -0
  167. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  168. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +81 -81
  169. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +24 -24
  170. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -0
  171. data/generated/google/apis/firebaserules_v1/classes.rb +201 -201
  172. data/generated/google/apis/firebaserules_v1/representations.rb +61 -61
  173. data/generated/google/apis/firebaserules_v1/service.rb +1 -0
  174. data/generated/google/apis/fitness_v1/classes.rb +18 -18
  175. data/generated/google/apis/fitness_v1/representations.rb +18 -18
  176. data/generated/google/apis/fitness_v1/service.rb +6 -5
  177. data/generated/google/apis/fusiontables_v2/classes.rb +2 -2
  178. data/generated/google/apis/fusiontables_v2/representations.rb +2 -2
  179. data/generated/google/apis/fusiontables_v2/service.rb +1 -0
  180. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  181. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  182. data/generated/google/apis/games_configuration_v1configuration/representations.rb +2 -2
  183. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -0
  184. data/generated/google/apis/games_management_v1management.rb +1 -1
  185. data/generated/google/apis/games_management_v1management/classes.rb +6 -6
  186. data/generated/google/apis/games_management_v1management/representations.rb +6 -6
  187. data/generated/google/apis/games_management_v1management/service.rb +1 -0
  188. data/generated/google/apis/games_v1.rb +1 -1
  189. data/generated/google/apis/games_v1/classes.rb +47 -47
  190. data/generated/google/apis/games_v1/representations.rb +47 -47
  191. data/generated/google/apis/games_v1/service.rb +58 -57
  192. data/generated/google/apis/genomics_v1.rb +6 -6
  193. data/generated/google/apis/genomics_v1/classes.rb +2354 -2354
  194. data/generated/google/apis/genomics_v1/representations.rb +487 -487
  195. data/generated/google/apis/genomics_v1/service.rb +1188 -1187
  196. data/generated/google/apis/gmail_v1/classes.rb +11 -11
  197. data/generated/google/apis/gmail_v1/representations.rb +11 -11
  198. data/generated/google/apis/gmail_v1/service.rb +2 -1
  199. data/generated/google/apis/groupsmigration_v1/service.rb +1 -0
  200. data/generated/google/apis/groupssettings_v1/service.rb +1 -0
  201. data/generated/google/apis/iam_v1/classes.rb +437 -437
  202. data/generated/google/apis/iam_v1/representations.rb +95 -95
  203. data/generated/google/apis/iam_v1/service.rb +87 -86
  204. data/generated/google/apis/identitytoolkit_v3/classes.rb +20 -20
  205. data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -20
  206. data/generated/google/apis/identitytoolkit_v3/service.rb +1 -0
  207. data/generated/google/apis/kgsearch_v1/service.rb +9 -8
  208. data/generated/google/apis/language_v1.rb +1 -1
  209. data/generated/google/apis/language_v1/classes.rb +245 -245
  210. data/generated/google/apis/language_v1/representations.rb +65 -65
  211. data/generated/google/apis/language_v1/service.rb +1 -0
  212. data/generated/google/apis/language_v1beta1.rb +1 -1
  213. data/generated/google/apis/language_v1beta1/classes.rb +277 -277
  214. data/generated/google/apis/language_v1beta1/representations.rb +83 -83
  215. data/generated/google/apis/language_v1beta1/service.rb +31 -30
  216. data/generated/google/apis/licensing_v1/service.rb +1 -0
  217. data/generated/google/apis/logging_v2/classes.rb +408 -408
  218. data/generated/google/apis/logging_v2/representations.rb +93 -93
  219. data/generated/google/apis/logging_v2/service.rb +408 -407
  220. data/generated/google/apis/logging_v2beta1.rb +3 -3
  221. data/generated/google/apis/logging_v2beta1/classes.rb +892 -892
  222. data/generated/google/apis/logging_v2beta1/representations.rb +128 -128
  223. data/generated/google/apis/logging_v2beta1/service.rb +89 -88
  224. data/generated/google/apis/manufacturers_v1/classes.rb +309 -309
  225. data/generated/google/apis/manufacturers_v1/representations.rb +64 -64
  226. data/generated/google/apis/manufacturers_v1/service.rb +1 -0
  227. data/generated/google/apis/mirror_v1/service.rb +1 -0
  228. data/generated/google/apis/ml_v1/classes.rb +1185 -1185
  229. data/generated/google/apis/ml_v1/representations.rb +171 -171
  230. data/generated/google/apis/ml_v1/service.rb +282 -281
  231. data/generated/google/apis/monitoring_v3.rb +3 -3
  232. data/generated/google/apis/monitoring_v3/classes.rb +334 -334
  233. data/generated/google/apis/monitoring_v3/representations.rb +86 -86
  234. data/generated/google/apis/monitoring_v3/service.rb +344 -343
  235. data/generated/google/apis/mybusiness_v3/service.rb +1 -0
  236. data/generated/google/apis/oauth2_v2/service.rb +1 -0
  237. data/generated/google/apis/pagespeedonline_v2/classes.rb +8 -8
  238. data/generated/google/apis/pagespeedonline_v2/representations.rb +8 -8
  239. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -0
  240. data/generated/google/apis/partners_v2/classes.rb +1466 -1466
  241. data/generated/google/apis/partners_v2/representations.rb +371 -371
  242. data/generated/google/apis/partners_v2/service.rb +530 -529
  243. data/generated/google/apis/people_v1.rb +4 -4
  244. data/generated/google/apis/people_v1/classes.rb +1009 -1009
  245. data/generated/google/apis/people_v1/representations.rb +249 -249
  246. data/generated/google/apis/people_v1/service.rb +13 -12
  247. data/generated/google/apis/plus_domains_v1/classes.rb +2 -2
  248. data/generated/google/apis/plus_domains_v1/representations.rb +2 -2
  249. data/generated/google/apis/plus_domains_v1/service.rb +1 -0
  250. data/generated/google/apis/plus_v1/service.rb +1 -0
  251. data/generated/google/apis/prediction_v1_6/classes.rb +9 -9
  252. data/generated/google/apis/prediction_v1_6/representations.rb +9 -9
  253. data/generated/google/apis/prediction_v1_6/service.rb +1 -0
  254. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +221 -221
  255. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +55 -55
  256. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +378 -377
  257. data/generated/google/apis/pubsub_v1/classes.rb +99 -99
  258. data/generated/google/apis/pubsub_v1/representations.rb +25 -25
  259. data/generated/google/apis/pubsub_v1/service.rb +236 -235
  260. data/generated/google/apis/qpx_express_v1/service.rb +1 -0
  261. data/generated/google/apis/replicapool_v1beta2/classes.rb +3 -3
  262. data/generated/google/apis/replicapool_v1beta2/representations.rb +3 -3
  263. data/generated/google/apis/replicapool_v1beta2/service.rb +1 -0
  264. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +2 -2
  265. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +2 -2
  266. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -0
  267. data/generated/google/apis/reseller_v1/classes.rb +5 -5
  268. data/generated/google/apis/reseller_v1/representations.rb +5 -5
  269. data/generated/google/apis/reseller_v1/service.rb +1 -0
  270. data/generated/google/apis/resourceviews_v1beta2/classes.rb +2 -2
  271. data/generated/google/apis/resourceviews_v1beta2/representations.rb +2 -2
  272. data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -0
  273. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  274. data/generated/google/apis/runtimeconfig_v1/classes.rb +28 -28
  275. data/generated/google/apis/runtimeconfig_v1/representations.rb +3 -3
  276. data/generated/google/apis/runtimeconfig_v1/service.rb +53 -52
  277. data/generated/google/apis/script_v1.rb +18 -18
  278. data/generated/google/apis/script_v1/classes.rb +84 -84
  279. data/generated/google/apis/script_v1/representations.rb +18 -18
  280. data/generated/google/apis/script_v1/service.rb +11 -10
  281. data/generated/google/apis/searchconsole_v1/classes.rb +75 -75
  282. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  283. data/generated/google/apis/searchconsole_v1/service.rb +11 -10
  284. data/generated/google/apis/servicecontrol_v1/classes.rb +582 -582
  285. data/generated/google/apis/servicecontrol_v1/representations.rb +113 -113
  286. data/generated/google/apis/servicecontrol_v1/service.rb +71 -70
  287. data/generated/google/apis/servicemanagement_v1.rb +3 -3
  288. data/generated/google/apis/servicemanagement_v1/classes.rb +3725 -3725
  289. data/generated/google/apis/servicemanagement_v1/representations.rb +255 -255
  290. data/generated/google/apis/servicemanagement_v1/service.rb +179 -178
  291. data/generated/google/apis/serviceuser_v1.rb +3 -3
  292. data/generated/google/apis/serviceuser_v1/classes.rb +2845 -2845
  293. data/generated/google/apis/serviceuser_v1/representations.rb +228 -228
  294. data/generated/google/apis/serviceuser_v1/service.rb +47 -46
  295. data/generated/google/apis/sheets_v4.rb +1 -1
  296. data/generated/google/apis/sheets_v4/classes.rb +4456 -4456
  297. data/generated/google/apis/sheets_v4/representations.rb +859 -859
  298. data/generated/google/apis/sheets_v4/service.rb +180 -179
  299. data/generated/google/apis/site_verification_v1/service.rb +1 -0
  300. data/generated/google/apis/slides_v1.rb +1 -1
  301. data/generated/google/apis/slides_v1/classes.rb +2856 -2856
  302. data/generated/google/apis/slides_v1/representations.rb +683 -683
  303. data/generated/google/apis/slides_v1/service.rb +27 -26
  304. data/generated/google/apis/sourcerepo_v1/classes.rb +281 -281
  305. data/generated/google/apis/sourcerepo_v1/representations.rb +79 -79
  306. data/generated/google/apis/sourcerepo_v1/service.rb +112 -111
  307. data/generated/google/apis/spanner_v1/classes.rb +2177 -2177
  308. data/generated/google/apis/spanner_v1/representations.rb +325 -325
  309. data/generated/google/apis/spanner_v1/service.rb +374 -373
  310. data/generated/google/apis/speech_v1beta1/classes.rb +197 -197
  311. data/generated/google/apis/speech_v1beta1/representations.rb +36 -36
  312. data/generated/google/apis/speech_v1beta1/service.rb +27 -26
  313. data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -14
  314. data/generated/google/apis/sqladmin_v1beta4/representations.rb +14 -14
  315. data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -2
  316. data/generated/google/apis/storage_v1.rb +1 -1
  317. data/generated/google/apis/storage_v1/classes.rb +11 -11
  318. data/generated/google/apis/storage_v1/representations.rb +11 -11
  319. data/generated/google/apis/storage_v1/service.rb +65 -64
  320. data/generated/google/apis/storagetransfer_v1/classes.rb +239 -239
  321. data/generated/google/apis/storagetransfer_v1/representations.rb +79 -79
  322. data/generated/google/apis/storagetransfer_v1/service.rb +133 -132
  323. data/generated/google/apis/surveys_v2/classes.rb +4 -4
  324. data/generated/google/apis/surveys_v2/representations.rb +4 -4
  325. data/generated/google/apis/surveys_v2/service.rb +1 -0
  326. data/generated/google/apis/tagmanager_v1/classes.rb +7 -7
  327. data/generated/google/apis/tagmanager_v1/representations.rb +7 -7
  328. data/generated/google/apis/tagmanager_v1/service.rb +1 -0
  329. data/generated/google/apis/tagmanager_v2/classes.rb +6 -6
  330. data/generated/google/apis/tagmanager_v2/representations.rb +6 -6
  331. data/generated/google/apis/tagmanager_v2/service.rb +1 -0
  332. data/generated/google/apis/taskqueue_v1beta2/classes.rb +5 -5
  333. data/generated/google/apis/taskqueue_v1beta2/representations.rb +5 -5
  334. data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -0
  335. data/generated/google/apis/tasks_v1/service.rb +3 -2
  336. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  337. data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -4
  338. data/generated/google/apis/toolresults_v1beta3/representations.rb +4 -4
  339. data/generated/google/apis/toolresults_v1beta3/service.rb +1 -0
  340. data/generated/google/apis/tracing_v1/classes.rb +421 -421
  341. data/generated/google/apis/tracing_v1/representations.rb +86 -86
  342. data/generated/google/apis/tracing_v1/service.rb +60 -59
  343. data/generated/google/apis/translate_v2/service.rb +1 -0
  344. data/generated/google/apis/urlshortener_v1/classes.rb +3 -3
  345. data/generated/google/apis/urlshortener_v1/representations.rb +3 -3
  346. data/generated/google/apis/urlshortener_v1/service.rb +1 -0
  347. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  348. data/generated/google/apis/vision_v1/representations.rb +184 -184
  349. data/generated/google/apis/vision_v1/service.rb +11 -10
  350. data/generated/google/apis/webfonts_v1/service.rb +1 -0
  351. data/generated/google/apis/webmasters_v3/classes.rb +5 -5
  352. data/generated/google/apis/webmasters_v3/representations.rb +5 -5
  353. data/generated/google/apis/webmasters_v3/service.rb +1 -0
  354. data/generated/google/apis/youtube_analytics_v1/classes.rb +1 -1
  355. data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -1
  356. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -0
  357. data/generated/google/apis/youtube_partner_v1/classes.rb +13 -13
  358. data/generated/google/apis/youtube_partner_v1/representations.rb +13 -13
  359. data/generated/google/apis/youtube_partner_v1/service.rb +1 -0
  360. data/generated/google/apis/youtube_v3/classes.rb +31 -31
  361. data/generated/google/apis/youtube_v3/representations.rb +31 -31
  362. data/generated/google/apis/youtube_v3/service.rb +2 -1
  363. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  364. data/generated/google/apis/youtubereporting_v1/classes.rb +73 -73
  365. data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
  366. data/generated/google/apis/youtubereporting_v1/service.rb +77 -76
  367. data/google-api-client.gemspec +4 -6
  368. data/lib/google/apis/core/api_command.rb +8 -3
  369. data/lib/google/apis/core/base_service.rb +47 -18
  370. data/lib/google/apis/core/batch.rb +13 -18
  371. data/lib/google/apis/core/composite_io.rb +97 -0
  372. data/lib/google/apis/core/download.rb +24 -20
  373. data/lib/google/apis/core/http_command.rb +49 -38
  374. data/lib/google/apis/core/json_representation.rb +5 -1
  375. data/lib/google/apis/core/multipart.rb +43 -95
  376. data/lib/google/apis/core/upload.rb +59 -84
  377. data/lib/google/apis/generator/model.rb +2 -0
  378. data/lib/google/apis/generator/templates/_representation.tmpl +1 -1
  379. data/lib/google/apis/generator/templates/service.rb.tmpl +1 -0
  380. data/lib/google/apis/options.rb +24 -12
  381. data/lib/google/apis/version.rb +1 -1
  382. data/samples/web/Gemfile +0 -1
  383. metadata +39 -37
  384. data/lib/google/apis/core/http_client_adapter.rb +0 -82
  385. data/third_party/hurley_patches.rb +0 -103
@@ -22,42 +22,6 @@ module Google
22
22
  module Apis
23
23
  module CloudbuildV1
24
24
 
25
- class Empty
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
- class BuildTrigger
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
- class Build
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
- class CancelBuildRequest
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
- class ListBuildsResponse
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class ListOperationsResponse
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
25
  class Source
62
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
27
 
@@ -118,13 +82,13 @@ module Google
118
82
  include Google::Apis::Core::JsonObjectSupport
119
83
  end
120
84
 
121
- class RepoSource
85
+ class BuildStep
122
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
87
 
124
88
  include Google::Apis::Core::JsonObjectSupport
125
89
  end
126
90
 
127
- class BuildStep
91
+ class RepoSource
128
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
93
 
130
94
  include Google::Apis::Core::JsonObjectSupport
@@ -149,78 +113,39 @@ module Google
149
113
  end
150
114
 
151
115
  class Empty
152
- # @private
153
- class Representation < Google::Apis::Core::JsonRepresentation
154
- end
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
155
119
  end
156
120
 
157
121
  class BuildTrigger
158
- # @private
159
- class Representation < Google::Apis::Core::JsonRepresentation
160
- property :disabled, as: 'disabled'
161
- property :create_time, as: 'createTime'
162
- property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
163
-
164
- property :filename, as: 'filename'
165
- property :id, as: 'id'
166
- property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
167
123
 
168
- hash :substitutions, as: 'substitutions'
169
- property :description, as: 'description'
170
- end
124
+ include Google::Apis::Core::JsonObjectSupport
171
125
  end
172
126
 
173
127
  class Build
174
- # @private
175
- class Representation < Google::Apis::Core::JsonRepresentation
176
- property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation
177
-
178
- property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation
179
-
180
- property :status_detail, as: 'statusDetail'
181
- property :status, as: 'status'
182
- property :timeout, as: 'timeout'
183
- property :logs_bucket, as: 'logsBucket'
184
- property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation
185
-
186
- collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1::BuildStep, decorator: Google::Apis::CloudbuildV1::BuildStep::Representation
187
-
188
- property :build_trigger_id, as: 'buildTriggerId'
189
- property :id, as: 'id'
190
- property :start_time, as: 'startTime'
191
- hash :substitutions, as: 'substitutions'
192
- property :create_time, as: 'createTime'
193
- property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
194
129
 
195
- collection :images, as: 'images'
196
- property :project_id, as: 'projectId'
197
- property :finish_time, as: 'finishTime'
198
- property :log_url, as: 'logUrl'
199
- end
130
+ include Google::Apis::Core::JsonObjectSupport
200
131
  end
201
132
 
202
133
  class CancelBuildRequest
203
- # @private
204
- class Representation < Google::Apis::Core::JsonRepresentation
205
- end
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
206
137
  end
207
138
 
208
139
  class ListBuildsResponse
209
- # @private
210
- class Representation < Google::Apis::Core::JsonRepresentation
211
- property :next_page_token, as: 'nextPageToken'
212
- collection :builds, as: 'builds', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
141
 
214
- end
142
+ include Google::Apis::Core::JsonObjectSupport
215
143
  end
216
144
 
217
145
  class ListOperationsResponse
218
- # @private
219
- class Representation < Google::Apis::Core::JsonRepresentation
220
- property :next_page_token, as: 'nextPageToken'
221
- collection :operations, as: 'operations', class: Google::Apis::CloudbuildV1::Operation, decorator: Google::Apis::CloudbuildV1::Operation::Representation
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
222
147
 
223
- end
148
+ include Google::Apis::Core::JsonObjectSupport
224
149
  end
225
150
 
226
151
  class Source
@@ -244,18 +169,18 @@ module Google
244
169
  class StorageSource
245
170
  # @private
246
171
  class Representation < Google::Apis::Core::JsonRepresentation
172
+ property :generation, :numeric_string => true, as: 'generation'
247
173
  property :bucket, as: 'bucket'
248
174
  property :object, as: 'object'
249
- property :generation, as: 'generation'
250
175
  end
251
176
  end
252
177
 
253
178
  class Results
254
179
  # @private
255
180
  class Representation < Google::Apis::Core::JsonRepresentation
256
- collection :build_step_images, as: 'buildStepImages'
257
181
  collection :images, as: 'images', class: Google::Apis::CloudbuildV1::BuiltImage, decorator: Google::Apis::CloudbuildV1::BuiltImage::Representation
258
182
 
183
+ collection :build_step_images, as: 'buildStepImages'
259
184
  end
260
185
  end
261
186
 
@@ -270,12 +195,12 @@ module Google
270
195
  class SourceProvenance
271
196
  # @private
272
197
  class Representation < Google::Apis::Core::JsonRepresentation
198
+ property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
199
+
273
200
  hash :file_hashes, as: 'fileHashes', class: Google::Apis::CloudbuildV1::FileHashes, decorator: Google::Apis::CloudbuildV1::FileHashes::Representation
274
201
 
275
202
  property :resolved_repo_source, as: 'resolvedRepoSource', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
276
203
 
277
- property :resolved_storage_source, as: 'resolvedStorageSource', class: Google::Apis::CloudbuildV1::StorageSource, decorator: Google::Apis::CloudbuildV1::StorageSource::Representation
278
-
279
204
  end
280
205
  end
281
206
 
@@ -313,27 +238,27 @@ module Google
313
238
  end
314
239
  end
315
240
 
316
- class RepoSource
317
- # @private
318
- class Representation < Google::Apis::Core::JsonRepresentation
319
- property :project_id, as: 'projectId'
320
- property :repo_name, as: 'repoName'
321
- property :branch_name, as: 'branchName'
322
- property :tag_name, as: 'tagName'
323
- property :commit_sha, as: 'commitSha'
324
- end
325
- end
326
-
327
241
  class BuildStep
328
242
  # @private
329
243
  class Representation < Google::Apis::Core::JsonRepresentation
244
+ property :entrypoint, as: 'entrypoint'
245
+ property :id, as: 'id'
330
246
  property :dir, as: 'dir'
331
247
  collection :env, as: 'env'
332
248
  collection :wait_for, as: 'waitFor'
333
249
  collection :args, as: 'args'
334
250
  property :name, as: 'name'
335
- property :entrypoint, as: 'entrypoint'
336
- property :id, as: 'id'
251
+ end
252
+ end
253
+
254
+ class RepoSource
255
+ # @private
256
+ class Representation < Google::Apis::Core::JsonRepresentation
257
+ property :tag_name, as: 'tagName'
258
+ property :commit_sha, as: 'commitSha'
259
+ property :project_id, as: 'projectId'
260
+ property :repo_name, as: 'repoName'
261
+ property :branch_name, as: 'branchName'
337
262
  end
338
263
  end
339
264
 
@@ -356,9 +281,84 @@ module Google
356
281
  class Status
357
282
  # @private
358
283
  class Representation < Google::Apis::Core::JsonRepresentation
359
- property :code, as: 'code'
360
284
  property :message, as: 'message'
361
285
  collection :details, as: 'details'
286
+ property :code, as: 'code'
287
+ end
288
+ end
289
+
290
+ class Empty
291
+ # @private
292
+ class Representation < Google::Apis::Core::JsonRepresentation
293
+ end
294
+ end
295
+
296
+ class BuildTrigger
297
+ # @private
298
+ class Representation < Google::Apis::Core::JsonRepresentation
299
+ property :id, as: 'id'
300
+ property :build, as: 'build', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
301
+
302
+ hash :substitutions, as: 'substitutions'
303
+ property :description, as: 'description'
304
+ property :disabled, as: 'disabled'
305
+ property :create_time, as: 'createTime'
306
+ property :trigger_template, as: 'triggerTemplate', class: Google::Apis::CloudbuildV1::RepoSource, decorator: Google::Apis::CloudbuildV1::RepoSource::Representation
307
+
308
+ property :filename, as: 'filename'
309
+ end
310
+ end
311
+
312
+ class Build
313
+ # @private
314
+ class Representation < Google::Apis::Core::JsonRepresentation
315
+ property :logs_bucket, as: 'logsBucket'
316
+ property :results, as: 'results', class: Google::Apis::CloudbuildV1::Results, decorator: Google::Apis::CloudbuildV1::Results::Representation
317
+
318
+ collection :steps, as: 'steps', class: Google::Apis::CloudbuildV1::BuildStep, decorator: Google::Apis::CloudbuildV1::BuildStep::Representation
319
+
320
+ property :build_trigger_id, as: 'buildTriggerId'
321
+ property :id, as: 'id'
322
+ property :start_time, as: 'startTime'
323
+ hash :substitutions, as: 'substitutions'
324
+ property :create_time, as: 'createTime'
325
+ property :source_provenance, as: 'sourceProvenance', class: Google::Apis::CloudbuildV1::SourceProvenance, decorator: Google::Apis::CloudbuildV1::SourceProvenance::Representation
326
+
327
+ collection :images, as: 'images'
328
+ property :project_id, as: 'projectId'
329
+ property :finish_time, as: 'finishTime'
330
+ property :log_url, as: 'logUrl'
331
+ property :options, as: 'options', class: Google::Apis::CloudbuildV1::BuildOptions, decorator: Google::Apis::CloudbuildV1::BuildOptions::Representation
332
+
333
+ property :source, as: 'source', class: Google::Apis::CloudbuildV1::Source, decorator: Google::Apis::CloudbuildV1::Source::Representation
334
+
335
+ property :status_detail, as: 'statusDetail'
336
+ property :status, as: 'status'
337
+ property :timeout, as: 'timeout'
338
+ end
339
+ end
340
+
341
+ class CancelBuildRequest
342
+ # @private
343
+ class Representation < Google::Apis::Core::JsonRepresentation
344
+ end
345
+ end
346
+
347
+ class ListBuildsResponse
348
+ # @private
349
+ class Representation < Google::Apis::Core::JsonRepresentation
350
+ property :next_page_token, as: 'nextPageToken'
351
+ collection :builds, as: 'builds', class: Google::Apis::CloudbuildV1::Build, decorator: Google::Apis::CloudbuildV1::Build::Representation
352
+
353
+ end
354
+ end
355
+
356
+ class ListOperationsResponse
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ property :next_page_token, as: 'nextPageToken'
360
+ collection :operations, as: 'operations', class: Google::Apis::CloudbuildV1::Operation, decorator: Google::Apis::CloudbuildV1::Operation::Representation
361
+
362
362
  end
363
363
  end
364
364
  end
@@ -44,15 +44,15 @@ module Google
44
44
 
45
45
  def initialize
46
46
  super('https://cloudbuild.googleapis.com/', '')
47
+ @batch_path = 'batch'
47
48
  end
48
49
 
49
- # Returns information about a previously requested build.
50
- # The Build that is returned includes its status (e.g., success or failure,
51
- # or in-progress), and timing information.
50
+ # Deletes an BuildTrigger by its project ID and trigger ID.
51
+ # This API is experimental.
52
52
  # @param [String] project_id
53
- # ID of the project.
54
- # @param [String] id
55
- # ID of the build.
53
+ # ID of the project that owns the trigger.
54
+ # @param [String] trigger_id
55
+ # ID of the BuildTrigger to delete.
56
56
  # @param [String] fields
57
57
  # Selector specifying which fields to include in a partial response.
58
58
  # @param [String] quota_user
@@ -62,36 +62,31 @@ module Google
62
62
  # Request-specific options
63
63
  #
64
64
  # @yield [result, err] Result & error if block supplied
65
- # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object
65
+ # @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object
66
66
  # @yieldparam err [StandardError] error object if request failed
67
67
  #
68
- # @return [Google::Apis::CloudbuildV1::Build]
68
+ # @return [Google::Apis::CloudbuildV1::Empty]
69
69
  #
70
70
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
71
71
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
72
72
  # @raise [Google::Apis::AuthorizationError] Authorization is required
73
- def get_project_build(project_id, id, fields: nil, quota_user: nil, options: nil, &block)
74
- command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options)
75
- command.response_representation = Google::Apis::CloudbuildV1::Build::Representation
76
- command.response_class = Google::Apis::CloudbuildV1::Build
73
+ def delete_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block)
74
+ command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options)
75
+ command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
76
+ command.response_class = Google::Apis::CloudbuildV1::Empty
77
77
  command.params['projectId'] = project_id unless project_id.nil?
78
- command.params['id'] = id unless id.nil?
78
+ command.params['triggerId'] = trigger_id unless trigger_id.nil?
79
79
  command.query['fields'] = fields unless fields.nil?
80
80
  command.query['quotaUser'] = quota_user unless quota_user.nil?
81
81
  execute_or_queue_command(command, &block)
82
82
  end
83
83
 
84
- # Lists previously requested builds.
85
- # Previously requested builds may still be in-progress, or may have finished
86
- # successfully or unsuccessfully.
84
+ # Gets information about a BuildTrigger.
85
+ # This API is experimental.
87
86
  # @param [String] project_id
88
- # ID of the project.
89
- # @param [Fixnum] page_size
90
- # Number of results to return in the list.
91
- # @param [String] filter
92
- # The raw filter text to constrain the results.
93
- # @param [String] page_token
94
- # Token to provide to skip to a particular spot in the list.
87
+ # ID of the project that owns the trigger.
88
+ # @param [String] trigger_id
89
+ # ID of the BuildTrigger to get.
95
90
  # @param [String] fields
96
91
  # Selector specifying which fields to include in a partial response.
97
92
  # @param [String] quota_user
@@ -101,34 +96,29 @@ module Google
101
96
  # Request-specific options
102
97
  #
103
98
  # @yield [result, err] Result & error if block supplied
104
- # @yieldparam result [Google::Apis::CloudbuildV1::ListBuildsResponse] parsed result object
99
+ # @yieldparam result [Google::Apis::CloudbuildV1::BuildTrigger] parsed result object
105
100
  # @yieldparam err [StandardError] error object if request failed
106
101
  #
107
- # @return [Google::Apis::CloudbuildV1::ListBuildsResponse]
102
+ # @return [Google::Apis::CloudbuildV1::BuildTrigger]
108
103
  #
109
104
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
110
105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
111
106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
112
- def list_project_builds(project_id, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
113
- command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options)
114
- command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation
115
- command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse
107
+ def get_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block)
108
+ command = make_simple_command(:get, 'v1/projects/{projectId}/triggers/{triggerId}', options)
109
+ command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
110
+ command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
116
111
  command.params['projectId'] = project_id unless project_id.nil?
117
- command.query['pageSize'] = page_size unless page_size.nil?
118
- command.query['filter'] = filter unless filter.nil?
119
- command.query['pageToken'] = page_token unless page_token.nil?
112
+ command.params['triggerId'] = trigger_id unless trigger_id.nil?
120
113
  command.query['fields'] = fields unless fields.nil?
121
114
  command.query['quotaUser'] = quota_user unless quota_user.nil?
122
115
  execute_or_queue_command(command, &block)
123
116
  end
124
117
 
125
- # Starts a build with the specified configuration.
126
- # The long-running Operation returned by this method will include the ID of
127
- # the build, which can be passed to GetBuild to determine its status (e.g.,
128
- # success or failure).
118
+ # Lists existing BuildTrigger.
119
+ # This API is experimental.
129
120
  # @param [String] project_id
130
- # ID of the project.
131
- # @param [Google::Apis::CloudbuildV1::Build] build_object
121
+ # ID of the project for which to list BuildTriggers.
132
122
  # @param [String] fields
133
123
  # Selector specifying which fields to include in a partial response.
134
124
  # @param [String] quota_user
@@ -138,32 +128,31 @@ module Google
138
128
  # Request-specific options
139
129
  #
140
130
  # @yield [result, err] Result & error if block supplied
141
- # @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object
131
+ # @yieldparam result [Google::Apis::CloudbuildV1::ListBuildTriggersResponse] parsed result object
142
132
  # @yieldparam err [StandardError] error object if request failed
143
133
  #
144
- # @return [Google::Apis::CloudbuildV1::Operation]
134
+ # @return [Google::Apis::CloudbuildV1::ListBuildTriggersResponse]
145
135
  #
146
136
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
147
137
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
148
138
  # @raise [Google::Apis::AuthorizationError] Authorization is required
149
- def create_project_build(project_id, build_object = nil, fields: nil, quota_user: nil, options: nil, &block)
150
- command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options)
151
- command.request_representation = Google::Apis::CloudbuildV1::Build::Representation
152
- command.request_object = build_object
153
- command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
154
- command.response_class = Google::Apis::CloudbuildV1::Operation
139
+ def list_project_triggers(project_id, fields: nil, quota_user: nil, options: nil, &block)
140
+ command = make_simple_command(:get, 'v1/projects/{projectId}/triggers', options)
141
+ command.response_representation = Google::Apis::CloudbuildV1::ListBuildTriggersResponse::Representation
142
+ command.response_class = Google::Apis::CloudbuildV1::ListBuildTriggersResponse
155
143
  command.params['projectId'] = project_id unless project_id.nil?
156
144
  command.query['fields'] = fields unless fields.nil?
157
145
  command.query['quotaUser'] = quota_user unless quota_user.nil?
158
146
  execute_or_queue_command(command, &block)
159
147
  end
160
148
 
161
- # Cancels a requested build in progress.
149
+ # Updates an BuildTrigger by its project ID and trigger ID.
150
+ # This API is experimental.
162
151
  # @param [String] project_id
163
- # ID of the project.
164
- # @param [String] id
165
- # ID of the build.
166
- # @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_request_object
152
+ # ID of the project that owns the trigger.
153
+ # @param [String] trigger_id
154
+ # ID of the BuildTrigger to update.
155
+ # @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
167
156
  # @param [String] fields
168
157
  # Selector specifying which fields to include in a partial response.
169
158
  # @param [String] quota_user
@@ -173,33 +162,32 @@ module Google
173
162
  # Request-specific options
174
163
  #
175
164
  # @yield [result, err] Result & error if block supplied
176
- # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object
165
+ # @yieldparam result [Google::Apis::CloudbuildV1::BuildTrigger] parsed result object
177
166
  # @yieldparam err [StandardError] error object if request failed
178
167
  #
179
- # @return [Google::Apis::CloudbuildV1::Build]
168
+ # @return [Google::Apis::CloudbuildV1::BuildTrigger]
180
169
  #
181
170
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
182
171
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
183
172
  # @raise [Google::Apis::AuthorizationError] Authorization is required
184
- def cancel_build(project_id, id, cancel_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
185
- command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:cancel', options)
186
- command.request_representation = Google::Apis::CloudbuildV1::CancelBuildRequest::Representation
187
- command.request_object = cancel_build_request_object
188
- command.response_representation = Google::Apis::CloudbuildV1::Build::Representation
189
- command.response_class = Google::Apis::CloudbuildV1::Build
173
+ def patch_project_trigger(project_id, trigger_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
174
+ command = make_simple_command(:patch, 'v1/projects/{projectId}/triggers/{triggerId}', options)
175
+ command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
176
+ command.request_object = build_trigger_object
177
+ command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
178
+ command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
190
179
  command.params['projectId'] = project_id unless project_id.nil?
191
- command.params['id'] = id unless id.nil?
180
+ command.params['triggerId'] = trigger_id unless trigger_id.nil?
192
181
  command.query['fields'] = fields unless fields.nil?
193
182
  command.query['quotaUser'] = quota_user unless quota_user.nil?
194
183
  execute_or_queue_command(command, &block)
195
184
  end
196
185
 
197
- # Gets information about a BuildTrigger.
186
+ # Creates a new BuildTrigger.
198
187
  # This API is experimental.
199
188
  # @param [String] project_id
200
- # ID of the project that owns the trigger.
201
- # @param [String] trigger_id
202
- # ID of the BuildTrigger to get.
189
+ # ID of the project for which to configure automatic builds.
190
+ # @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
203
191
  # @param [String] fields
204
192
  # Selector specifying which fields to include in a partial response.
205
193
  # @param [String] quota_user
@@ -217,21 +205,24 @@ module Google
217
205
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
218
206
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
219
207
  # @raise [Google::Apis::AuthorizationError] Authorization is required
220
- def get_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block)
221
- command = make_simple_command(:get, 'v1/projects/{projectId}/triggers/{triggerId}', options)
208
+ def create_project_trigger(project_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
209
+ command = make_simple_command(:post, 'v1/projects/{projectId}/triggers', options)
210
+ command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
211
+ command.request_object = build_trigger_object
222
212
  command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
223
213
  command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
224
214
  command.params['projectId'] = project_id unless project_id.nil?
225
- command.params['triggerId'] = trigger_id unless trigger_id.nil?
226
215
  command.query['fields'] = fields unless fields.nil?
227
216
  command.query['quotaUser'] = quota_user unless quota_user.nil?
228
217
  execute_or_queue_command(command, &block)
229
218
  end
230
219
 
231
- # Lists existing BuildTrigger.
232
- # This API is experimental.
220
+ # Cancels a requested build in progress.
233
221
  # @param [String] project_id
234
- # ID of the project for which to list BuildTriggers.
222
+ # ID of the project.
223
+ # @param [String] id
224
+ # ID of the build.
225
+ # @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_request_object
235
226
  # @param [String] fields
236
227
  # Selector specifying which fields to include in a partial response.
237
228
  # @param [String] quota_user
@@ -241,31 +232,34 @@ module Google
241
232
  # Request-specific options
242
233
  #
243
234
  # @yield [result, err] Result & error if block supplied
244
- # @yieldparam result [Google::Apis::CloudbuildV1::ListBuildTriggersResponse] parsed result object
235
+ # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object
245
236
  # @yieldparam err [StandardError] error object if request failed
246
237
  #
247
- # @return [Google::Apis::CloudbuildV1::ListBuildTriggersResponse]
238
+ # @return [Google::Apis::CloudbuildV1::Build]
248
239
  #
249
240
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
250
241
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
251
242
  # @raise [Google::Apis::AuthorizationError] Authorization is required
252
- def list_project_triggers(project_id, fields: nil, quota_user: nil, options: nil, &block)
253
- command = make_simple_command(:get, 'v1/projects/{projectId}/triggers', options)
254
- command.response_representation = Google::Apis::CloudbuildV1::ListBuildTriggersResponse::Representation
255
- command.response_class = Google::Apis::CloudbuildV1::ListBuildTriggersResponse
243
+ def cancel_build(project_id, id, cancel_build_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
244
+ command = make_simple_command(:post, 'v1/projects/{projectId}/builds/{id}:cancel', options)
245
+ command.request_representation = Google::Apis::CloudbuildV1::CancelBuildRequest::Representation
246
+ command.request_object = cancel_build_request_object
247
+ command.response_representation = Google::Apis::CloudbuildV1::Build::Representation
248
+ command.response_class = Google::Apis::CloudbuildV1::Build
256
249
  command.params['projectId'] = project_id unless project_id.nil?
250
+ command.params['id'] = id unless id.nil?
257
251
  command.query['fields'] = fields unless fields.nil?
258
252
  command.query['quotaUser'] = quota_user unless quota_user.nil?
259
253
  execute_or_queue_command(command, &block)
260
254
  end
261
255
 
262
- # Updates an BuildTrigger by its project ID and trigger ID.
263
- # This API is experimental.
256
+ # Returns information about a previously requested build.
257
+ # The Build that is returned includes its status (e.g., success or failure,
258
+ # or in-progress), and timing information.
264
259
  # @param [String] project_id
265
- # ID of the project that owns the trigger.
266
- # @param [String] trigger_id
267
- # ID of the BuildTrigger to update.
268
- # @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
260
+ # ID of the project.
261
+ # @param [String] id
262
+ # ID of the build.
269
263
  # @param [String] fields
270
264
  # Selector specifying which fields to include in a partial response.
271
265
  # @param [String] quota_user
@@ -275,32 +269,36 @@ module Google
275
269
  # Request-specific options
276
270
  #
277
271
  # @yield [result, err] Result & error if block supplied
278
- # @yieldparam result [Google::Apis::CloudbuildV1::BuildTrigger] parsed result object
272
+ # @yieldparam result [Google::Apis::CloudbuildV1::Build] parsed result object
279
273
  # @yieldparam err [StandardError] error object if request failed
280
274
  #
281
- # @return [Google::Apis::CloudbuildV1::BuildTrigger]
275
+ # @return [Google::Apis::CloudbuildV1::Build]
282
276
  #
283
277
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
284
278
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
285
279
  # @raise [Google::Apis::AuthorizationError] Authorization is required
286
- def patch_project_trigger(project_id, trigger_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
287
- command = make_simple_command(:patch, 'v1/projects/{projectId}/triggers/{triggerId}', options)
288
- command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
289
- command.request_object = build_trigger_object
290
- command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
291
- command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
280
+ def get_project_build(project_id, id, fields: nil, quota_user: nil, options: nil, &block)
281
+ command = make_simple_command(:get, 'v1/projects/{projectId}/builds/{id}', options)
282
+ command.response_representation = Google::Apis::CloudbuildV1::Build::Representation
283
+ command.response_class = Google::Apis::CloudbuildV1::Build
292
284
  command.params['projectId'] = project_id unless project_id.nil?
293
- command.params['triggerId'] = trigger_id unless trigger_id.nil?
285
+ command.params['id'] = id unless id.nil?
294
286
  command.query['fields'] = fields unless fields.nil?
295
287
  command.query['quotaUser'] = quota_user unless quota_user.nil?
296
288
  execute_or_queue_command(command, &block)
297
289
  end
298
290
 
299
- # Creates a new BuildTrigger.
300
- # This API is experimental.
291
+ # Lists previously requested builds.
292
+ # Previously requested builds may still be in-progress, or may have finished
293
+ # successfully or unsuccessfully.
301
294
  # @param [String] project_id
302
- # ID of the project for which to configure automatic builds.
303
- # @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
295
+ # ID of the project.
296
+ # @param [String] page_token
297
+ # Token to provide to skip to a particular spot in the list.
298
+ # @param [Fixnum] page_size
299
+ # Number of results to return in the list.
300
+ # @param [String] filter
301
+ # The raw filter text to constrain the results.
304
302
  # @param [String] fields
305
303
  # Selector specifying which fields to include in a partial response.
306
304
  # @param [String] quota_user
@@ -310,32 +308,76 @@ module Google
310
308
  # Request-specific options
311
309
  #
312
310
  # @yield [result, err] Result & error if block supplied
313
- # @yieldparam result [Google::Apis::CloudbuildV1::BuildTrigger] parsed result object
311
+ # @yieldparam result [Google::Apis::CloudbuildV1::ListBuildsResponse] parsed result object
314
312
  # @yieldparam err [StandardError] error object if request failed
315
313
  #
316
- # @return [Google::Apis::CloudbuildV1::BuildTrigger]
314
+ # @return [Google::Apis::CloudbuildV1::ListBuildsResponse]
317
315
  #
318
316
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
319
317
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
320
318
  # @raise [Google::Apis::AuthorizationError] Authorization is required
321
- def create_project_trigger(project_id, build_trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
322
- command = make_simple_command(:post, 'v1/projects/{projectId}/triggers', options)
323
- command.request_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
324
- command.request_object = build_trigger_object
325
- command.response_representation = Google::Apis::CloudbuildV1::BuildTrigger::Representation
326
- command.response_class = Google::Apis::CloudbuildV1::BuildTrigger
319
+ def list_project_builds(project_id, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
320
+ command = make_simple_command(:get, 'v1/projects/{projectId}/builds', options)
321
+ command.response_representation = Google::Apis::CloudbuildV1::ListBuildsResponse::Representation
322
+ command.response_class = Google::Apis::CloudbuildV1::ListBuildsResponse
327
323
  command.params['projectId'] = project_id unless project_id.nil?
324
+ command.query['pageToken'] = page_token unless page_token.nil?
325
+ command.query['pageSize'] = page_size unless page_size.nil?
326
+ command.query['filter'] = filter unless filter.nil?
328
327
  command.query['fields'] = fields unless fields.nil?
329
328
  command.query['quotaUser'] = quota_user unless quota_user.nil?
330
329
  execute_or_queue_command(command, &block)
331
330
  end
332
331
 
333
- # Deletes an BuildTrigger by its project ID and trigger ID.
334
- # This API is experimental.
332
+ # Starts a build with the specified configuration.
333
+ # The long-running Operation returned by this method will include the ID of
334
+ # the build, which can be passed to GetBuild to determine its status (e.g.,
335
+ # success or failure).
335
336
  # @param [String] project_id
336
- # ID of the project that owns the trigger.
337
- # @param [String] trigger_id
338
- # ID of the BuildTrigger to delete.
337
+ # ID of the project.
338
+ # @param [Google::Apis::CloudbuildV1::Build] build_object
339
+ # @param [String] fields
340
+ # Selector specifying which fields to include in a partial response.
341
+ # @param [String] quota_user
342
+ # Available to use for quota purposes for server-side applications. Can be any
343
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
344
+ # @param [Google::Apis::RequestOptions] options
345
+ # Request-specific options
346
+ #
347
+ # @yield [result, err] Result & error if block supplied
348
+ # @yieldparam result [Google::Apis::CloudbuildV1::Operation] parsed result object
349
+ # @yieldparam err [StandardError] error object if request failed
350
+ #
351
+ # @return [Google::Apis::CloudbuildV1::Operation]
352
+ #
353
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
354
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
355
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
356
+ def create_project_build(project_id, build_object = nil, fields: nil, quota_user: nil, options: nil, &block)
357
+ command = make_simple_command(:post, 'v1/projects/{projectId}/builds', options)
358
+ command.request_representation = Google::Apis::CloudbuildV1::Build::Representation
359
+ command.request_object = build_object
360
+ command.response_representation = Google::Apis::CloudbuildV1::Operation::Representation
361
+ command.response_class = Google::Apis::CloudbuildV1::Operation
362
+ command.params['projectId'] = project_id unless project_id.nil?
363
+ command.query['fields'] = fields unless fields.nil?
364
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
365
+ execute_or_queue_command(command, &block)
366
+ end
367
+
368
+ # Starts asynchronous cancellation on a long-running operation. The server
369
+ # makes a best effort to cancel the operation, but success is not
370
+ # guaranteed. If the server doesn't support this method, it returns
371
+ # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
372
+ # Operations.GetOperation or
373
+ # other methods to check whether the cancellation succeeded or whether the
374
+ # operation completed despite cancellation. On successful cancellation,
375
+ # the operation is not deleted; instead, it becomes an operation with
376
+ # an Operation.error value with a google.rpc.Status.code of 1,
377
+ # corresponding to `Code.CANCELLED`.
378
+ # @param [String] name
379
+ # The name of the operation resource to be cancelled.
380
+ # @param [Google::Apis::CloudbuildV1::CancelOperationRequest] cancel_operation_request_object
339
381
  # @param [String] fields
340
382
  # Selector specifying which fields to include in a partial response.
341
383
  # @param [String] quota_user
@@ -353,12 +395,13 @@ module Google
353
395
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
354
396
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
355
397
  # @raise [Google::Apis::AuthorizationError] Authorization is required
356
- def delete_project_trigger(project_id, trigger_id, fields: nil, quota_user: nil, options: nil, &block)
357
- command = make_simple_command(:delete, 'v1/projects/{projectId}/triggers/{triggerId}', options)
398
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
399
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
400
+ command.request_representation = Google::Apis::CloudbuildV1::CancelOperationRequest::Representation
401
+ command.request_object = cancel_operation_request_object
358
402
  command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
359
403
  command.response_class = Google::Apis::CloudbuildV1::Empty
360
- command.params['projectId'] = project_id unless project_id.nil?
361
- command.params['triggerId'] = trigger_id unless trigger_id.nil?
404
+ command.params['name'] = name unless name.nil?
362
405
  command.query['fields'] = fields unless fields.nil?
363
406
  command.query['quotaUser'] = quota_user unless quota_user.nil?
364
407
  execute_or_queue_command(command, &block)
@@ -370,12 +413,12 @@ module Google
370
413
  # to use different resource name schemes, such as `users/*/operations`.
371
414
  # @param [String] name
372
415
  # The name of the operation collection.
416
+ # @param [String] page_token
417
+ # The standard list page token.
373
418
  # @param [Fixnum] page_size
374
419
  # The standard list page size.
375
420
  # @param [String] filter
376
421
  # The standard list filter.
377
- # @param [String] page_token
378
- # The standard list page token.
379
422
  # @param [String] fields
380
423
  # Selector specifying which fields to include in a partial response.
381
424
  # @param [String] quota_user
@@ -393,14 +436,14 @@ module Google
393
436
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
394
437
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
395
438
  # @raise [Google::Apis::AuthorizationError] Authorization is required
396
- def list_operations(name, page_size: nil, filter: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
439
+ def list_operations(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
397
440
  command = make_simple_command(:get, 'v1/{+name}', options)
398
441
  command.response_representation = Google::Apis::CloudbuildV1::ListOperationsResponse::Representation
399
442
  command.response_class = Google::Apis::CloudbuildV1::ListOperationsResponse
400
443
  command.params['name'] = name unless name.nil?
444
+ command.query['pageToken'] = page_token unless page_token.nil?
401
445
  command.query['pageSize'] = page_size unless page_size.nil?
402
446
  command.query['filter'] = filter unless filter.nil?
403
- command.query['pageToken'] = page_token unless page_token.nil?
404
447
  command.query['fields'] = fields unless fields.nil?
405
448
  command.query['quotaUser'] = quota_user unless quota_user.nil?
406
449
  execute_or_queue_command(command, &block)
@@ -437,48 +480,6 @@ module Google
437
480
  command.query['quotaUser'] = quota_user unless quota_user.nil?
438
481
  execute_or_queue_command(command, &block)
439
482
  end
440
-
441
- # Starts asynchronous cancellation on a long-running operation. The server
442
- # makes a best effort to cancel the operation, but success is not
443
- # guaranteed. If the server doesn't support this method, it returns
444
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
445
- # Operations.GetOperation or
446
- # other methods to check whether the cancellation succeeded or whether the
447
- # operation completed despite cancellation. On successful cancellation,
448
- # the operation is not deleted; instead, it becomes an operation with
449
- # an Operation.error value with a google.rpc.Status.code of 1,
450
- # corresponding to `Code.CANCELLED`.
451
- # @param [String] name
452
- # The name of the operation resource to be cancelled.
453
- # @param [Google::Apis::CloudbuildV1::CancelOperationRequest] cancel_operation_request_object
454
- # @param [String] fields
455
- # Selector specifying which fields to include in a partial response.
456
- # @param [String] quota_user
457
- # Available to use for quota purposes for server-side applications. Can be any
458
- # arbitrary string assigned to a user, but should not exceed 40 characters.
459
- # @param [Google::Apis::RequestOptions] options
460
- # Request-specific options
461
- #
462
- # @yield [result, err] Result & error if block supplied
463
- # @yieldparam result [Google::Apis::CloudbuildV1::Empty] parsed result object
464
- # @yieldparam err [StandardError] error object if request failed
465
- #
466
- # @return [Google::Apis::CloudbuildV1::Empty]
467
- #
468
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
469
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
470
- # @raise [Google::Apis::AuthorizationError] Authorization is required
471
- def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
472
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
473
- command.request_representation = Google::Apis::CloudbuildV1::CancelOperationRequest::Representation
474
- command.request_object = cancel_operation_request_object
475
- command.response_representation = Google::Apis::CloudbuildV1::Empty::Representation
476
- command.response_class = Google::Apis::CloudbuildV1::Empty
477
- command.params['name'] = name unless name.nil?
478
- command.query['fields'] = fields unless fields.nil?
479
- command.query['quotaUser'] = quota_user unless quota_user.nil?
480
- execute_or_queue_command(command, &block)
481
- end
482
483
 
483
484
  protected
484
485