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,22 +22,42 @@ module Google
22
22
  module Apis
23
23
  module ClouddebuggerV2
24
24
 
25
- # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
26
- class CloudWorkspaceSourceContext
25
+ # Response for listing debuggees.
26
+ class ListDebuggeesResponse
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # The ID of the snapshot.
30
- # An empty snapshot_id refers to the most recent snapshot.
31
- # Corresponds to the JSON property `snapshotId`
29
+ # List of debuggees accessible to the calling user.
30
+ # Note that the `description` field is the only human readable field
31
+ # that should be displayed to the user.
32
+ # The fields `debuggee.id` and `description` fields are guaranteed to be
33
+ # set on each debuggee.
34
+ # Corresponds to the JSON property `debuggees`
35
+ # @return [Array<Google::Apis::ClouddebuggerV2::Debuggee>]
36
+ attr_accessor :debuggees
37
+
38
+ def initialize(**args)
39
+ update!(**args)
40
+ end
41
+
42
+ # Update properties of this object
43
+ def update!(**args)
44
+ @debuggees = args[:debuggees] if args.key?(:debuggees)
45
+ end
46
+ end
47
+
48
+ # An alias to a repo revision.
49
+ class AliasContext
50
+ include Google::Apis::Core::Hashable
51
+
52
+ # The alias name.
53
+ # Corresponds to the JSON property `name`
32
54
  # @return [String]
33
- attr_accessor :snapshot_id
55
+ attr_accessor :name
34
56
 
35
- # A CloudWorkspaceId is a unique identifier for a cloud workspace.
36
- # A cloud workspace is a place associated with a repo where modified files
37
- # can be stored before they are committed.
38
- # Corresponds to the JSON property `workspaceId`
39
- # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceId]
40
- attr_accessor :workspace_id
57
+ # The alias kind.
58
+ # Corresponds to the JSON property `kind`
59
+ # @return [String]
60
+ attr_accessor :kind
41
61
 
42
62
  def initialize(**args)
43
63
  update!(**args)
@@ -45,14 +65,19 @@ module Google
45
65
 
46
66
  # Update properties of this object
47
67
  def update!(**args)
48
- @snapshot_id = args[:snapshot_id] if args.key?(:snapshot_id)
49
- @workspace_id = args[:workspace_id] if args.key?(:workspace_id)
68
+ @name = args[:name] if args.key?(:name)
69
+ @kind = args[:kind] if args.key?(:kind)
50
70
  end
51
71
  end
52
72
 
53
- # Response for updating an active breakpoint.
54
- # The message is defined to allow future extensions.
55
- class UpdateActiveBreakpointResponse
73
+ # A generic empty message that you can re-use to avoid defining duplicated
74
+ # empty messages in your APIs. A typical example is to use it as the request
75
+ # or the response type of an API method. For instance:
76
+ # service Foo `
77
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
78
+ # `
79
+ # The JSON representation for `Empty` is empty JSON object ````.
80
+ class Empty
56
81
  include Google::Apis::Core::Hashable
57
82
 
58
83
  def initialize(**args)
@@ -64,36 +89,117 @@ module Google
64
89
  end
65
90
  end
66
91
 
67
- # A SourceContext referring to a Gerrit project.
68
- class GerritSourceContext
92
+ # Represents a location in the source code.
93
+ class SourceLocation
69
94
  include Google::Apis::Core::Hashable
70
95
 
71
- # The full project name within the host. Projects may be nested, so
72
- # "project/subproject" is a valid project name.
73
- # The "repo name" is hostURI/project.
74
- # Corresponds to the JSON property `gerritProject`
96
+ # Line inside the file. The first line in the file has the value `1`.
97
+ # Corresponds to the JSON property `line`
98
+ # @return [Fixnum]
99
+ attr_accessor :line
100
+
101
+ # Path to the source file within the source context of the target binary.
102
+ # Corresponds to the JSON property `path`
75
103
  # @return [String]
76
- attr_accessor :gerrit_project
104
+ attr_accessor :path
77
105
 
78
- # An alias to a repo revision.
79
- # Corresponds to the JSON property `aliasContext`
80
- # @return [Google::Apis::ClouddebuggerV2::AliasContext]
81
- attr_accessor :alias_context
106
+ def initialize(**args)
107
+ update!(**args)
108
+ end
82
109
 
83
- # The URI of a running Gerrit instance.
84
- # Corresponds to the JSON property `hostUri`
110
+ # Update properties of this object
111
+ def update!(**args)
112
+ @line = args[:line] if args.key?(:line)
113
+ @path = args[:path] if args.key?(:path)
114
+ end
115
+ end
116
+
117
+ # Represents the application to debug. The application may include one or more
118
+ # replicated processes executing the same code. Each of these processes is
119
+ # attached with a debugger agent, carrying out the debugging commands.
120
+ # The agents attached to the same debuggee are identified by using exactly the
121
+ # same field values when registering.
122
+ class Debuggee
123
+ include Google::Apis::Core::Hashable
124
+
125
+ # References to the locations and revisions of the source code used in the
126
+ # deployed application.
127
+ # Contexts describing a remote repo related to the source code
128
+ # have a `category` label of `remote_repo`. Source snapshot source
129
+ # contexts have a `category` of `snapshot`.
130
+ # Corresponds to the JSON property `extSourceContexts`
131
+ # @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
132
+ attr_accessor :ext_source_contexts
133
+
134
+ # A set of custom debuggee properties, populated by the agent, to be
135
+ # displayed to the user.
136
+ # Corresponds to the JSON property `labels`
137
+ # @return [Hash<String,String>]
138
+ attr_accessor :labels
139
+
140
+ # Represents a contextual status message.
141
+ # The message can indicate an error or informational status, and refer to
142
+ # specific parts of the containing object.
143
+ # For example, the `Breakpoint.status` field can indicate an error referring
144
+ # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
145
+ # Corresponds to the JSON property `status`
146
+ # @return [Google::Apis::ClouddebuggerV2::StatusMessage]
147
+ attr_accessor :status
148
+
149
+ # If set to `true`, indicates that the debuggee is considered as inactive by
150
+ # the Controller service.
151
+ # Corresponds to the JSON property `isInactive`
152
+ # @return [Boolean]
153
+ attr_accessor :is_inactive
154
+ alias_method :is_inactive?, :is_inactive
155
+
156
+ # Project the debuggee is associated with.
157
+ # Use the project number when registering a Google Cloud Platform project.
158
+ # Corresponds to the JSON property `project`
85
159
  # @return [String]
86
- attr_accessor :host_uri
160
+ attr_accessor :project
87
161
 
88
- # A revision (commit) ID.
89
- # Corresponds to the JSON property `revisionId`
162
+ # Unique identifier for the debuggee generated by the controller service.
163
+ # Corresponds to the JSON property `id`
90
164
  # @return [String]
91
- attr_accessor :revision_id
165
+ attr_accessor :id
92
166
 
93
- # The name of an alias (branch, tag, etc.).
94
- # Corresponds to the JSON property `aliasName`
167
+ # Version ID of the agent release. The version ID is structured as
168
+ # following: `domain/type/vmajor.minor` (for example
169
+ # `google.com/gcp-java/v1.1`).
170
+ # Corresponds to the JSON property `agentVersion`
95
171
  # @return [String]
96
- attr_accessor :alias_name
172
+ attr_accessor :agent_version
173
+
174
+ # If set to `true`, indicates that the agent should disable itself and
175
+ # detach from the debuggee.
176
+ # Corresponds to the JSON property `isDisabled`
177
+ # @return [Boolean]
178
+ attr_accessor :is_disabled
179
+ alias_method :is_disabled?, :is_disabled
180
+
181
+ # Human readable description of the debuggee.
182
+ # Including a human-readable project name, environment name and version
183
+ # information is recommended.
184
+ # Corresponds to the JSON property `description`
185
+ # @return [String]
186
+ attr_accessor :description
187
+
188
+ # Debuggee uniquifier within the project.
189
+ # Any string that identifies the application within the project can be used.
190
+ # Including environment and version or build IDs is recommended.
191
+ # Corresponds to the JSON property `uniquifier`
192
+ # @return [String]
193
+ attr_accessor :uniquifier
194
+
195
+ # References to the locations and revisions of the source code used in the
196
+ # deployed application.
197
+ # NOTE: This field is deprecated. Consumers should use
198
+ # `ext_source_contexts` if it is not empty. Debug agents should populate
199
+ # both this field and `ext_source_contexts`.
200
+ # Corresponds to the JSON property `sourceContexts`
201
+ # @return [Array<Google::Apis::ClouddebuggerV2::SourceContext>]
202
+ attr_accessor :source_contexts
97
203
 
98
204
  def initialize(**args)
99
205
  update!(**args)
@@ -101,30 +207,34 @@ module Google
101
207
 
102
208
  # Update properties of this object
103
209
  def update!(**args)
104
- @gerrit_project = args[:gerrit_project] if args.key?(:gerrit_project)
105
- @alias_context = args[:alias_context] if args.key?(:alias_context)
106
- @host_uri = args[:host_uri] if args.key?(:host_uri)
107
- @revision_id = args[:revision_id] if args.key?(:revision_id)
108
- @alias_name = args[:alias_name] if args.key?(:alias_name)
210
+ @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
211
+ @labels = args[:labels] if args.key?(:labels)
212
+ @status = args[:status] if args.key?(:status)
213
+ @is_inactive = args[:is_inactive] if args.key?(:is_inactive)
214
+ @project = args[:project] if args.key?(:project)
215
+ @id = args[:id] if args.key?(:id)
216
+ @agent_version = args[:agent_version] if args.key?(:agent_version)
217
+ @is_disabled = args[:is_disabled] if args.key?(:is_disabled)
218
+ @description = args[:description] if args.key?(:description)
219
+ @uniquifier = args[:uniquifier] if args.key?(:uniquifier)
220
+ @source_contexts = args[:source_contexts] if args.key?(:source_contexts)
109
221
  end
110
222
  end
111
223
 
112
- # A CloudWorkspaceId is a unique identifier for a cloud workspace.
113
- # A cloud workspace is a place associated with a repo where modified files
114
- # can be stored before they are committed.
115
- class CloudWorkspaceId
224
+ # Selects a repo using a Google Cloud Platform project ID
225
+ # (e.g. winged-cargo-31) and a repo name within that project.
226
+ class ProjectRepoId
116
227
  include Google::Apis::Core::Hashable
117
228
 
118
- # The unique name of the workspace within the repo. This is the name
119
- # chosen by the client in the Source API's CreateWorkspace method.
120
- # Corresponds to the JSON property `name`
229
+ # The ID of the project.
230
+ # Corresponds to the JSON property `projectId`
121
231
  # @return [String]
122
- attr_accessor :name
232
+ attr_accessor :project_id
123
233
 
124
- # A unique identifier for a cloud repo.
125
- # Corresponds to the JSON property `repoId`
126
- # @return [Google::Apis::ClouddebuggerV2::RepoId]
127
- attr_accessor :repo_id
234
+ # The name of the repo. Leave empty for the default repo.
235
+ # Corresponds to the JSON property `repoName`
236
+ # @return [String]
237
+ attr_accessor :repo_name
128
238
 
129
239
  def initialize(**args)
130
240
  update!(**args)
@@ -132,25 +242,30 @@ module Google
132
242
 
133
243
  # Update properties of this object
134
244
  def update!(**args)
135
- @name = args[:name] if args.key?(:name)
136
- @repo_id = args[:repo_id] if args.key?(:repo_id)
245
+ @project_id = args[:project_id] if args.key?(:project_id)
246
+ @repo_name = args[:repo_name] if args.key?(:repo_name)
137
247
  end
138
248
  end
139
249
 
140
- # Response for listing breakpoints.
141
- class ListBreakpointsResponse
250
+ # Response for listing active breakpoints.
251
+ class ListActiveBreakpointsResponse
142
252
  include Google::Apis::Core::Hashable
143
253
 
144
- # List of breakpoints matching the request.
254
+ # List of all active breakpoints.
145
255
  # The fields `id` and `location` are guaranteed to be set on each breakpoint.
146
- # The fields: `stack_frames`, `evaluated_expressions` and `variable_table`
147
- # are cleared on each breakpoint regardless of it's status.
148
256
  # Corresponds to the JSON property `breakpoints`
149
257
  # @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
150
258
  attr_accessor :breakpoints
151
259
 
152
- # A wait token that can be used in the next call to `list` (REST) or
153
- # `ListBreakpoints` (RPC) to block until the list of breakpoints has changes.
260
+ # The `wait_expired` field is set to true by the server when the
261
+ # request times out and the field `success_on_timeout` is set to true.
262
+ # Corresponds to the JSON property `waitExpired`
263
+ # @return [Boolean]
264
+ attr_accessor :wait_expired
265
+ alias_method :wait_expired?, :wait_expired
266
+
267
+ # A wait token that can be used in the next method call to block until
268
+ # the list of breakpoints changes.
154
269
  # Corresponds to the JSON property `nextWaitToken`
155
270
  # @return [String]
156
271
  attr_accessor :next_wait_token
@@ -162,29 +277,158 @@ module Google
162
277
  # Update properties of this object
163
278
  def update!(**args)
164
279
  @breakpoints = args[:breakpoints] if args.key?(:breakpoints)
280
+ @wait_expired = args[:wait_expired] if args.key?(:wait_expired)
165
281
  @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
166
282
  end
167
283
  end
168
284
 
169
- # Represents the breakpoint specification, status and results.
170
- class Breakpoint
285
+ # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
286
+ class CloudWorkspaceSourceContext
171
287
  include Google::Apis::Core::Hashable
172
288
 
173
- # Breakpoint identifier, unique in the scope of the debuggee.
174
- # Corresponds to the JSON property `id`
289
+ # The ID of the snapshot.
290
+ # An empty snapshot_id refers to the most recent snapshot.
291
+ # Corresponds to the JSON property `snapshotId`
175
292
  # @return [String]
176
- attr_accessor :id
293
+ attr_accessor :snapshot_id
177
294
 
178
- # Represents a location in the source code.
179
- # Corresponds to the JSON property `location`
180
- # @return [Google::Apis::ClouddebuggerV2::SourceLocation]
181
- attr_accessor :location
295
+ # A CloudWorkspaceId is a unique identifier for a cloud workspace.
296
+ # A cloud workspace is a place associated with a repo where modified files
297
+ # can be stored before they are committed.
298
+ # Corresponds to the JSON property `workspaceId`
299
+ # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceId]
300
+ attr_accessor :workspace_id
182
301
 
183
- # Time this breakpoint was finalized as seen by the server in seconds
184
- # resolution.
185
- # Corresponds to the JSON property `finalTime`
302
+ def initialize(**args)
303
+ update!(**args)
304
+ end
305
+
306
+ # Update properties of this object
307
+ def update!(**args)
308
+ @snapshot_id = args[:snapshot_id] if args.key?(:snapshot_id)
309
+ @workspace_id = args[:workspace_id] if args.key?(:workspace_id)
310
+ end
311
+ end
312
+
313
+ # Response for updating an active breakpoint.
314
+ # The message is defined to allow future extensions.
315
+ class UpdateActiveBreakpointResponse
316
+ include Google::Apis::Core::Hashable
317
+
318
+ def initialize(**args)
319
+ update!(**args)
320
+ end
321
+
322
+ # Update properties of this object
323
+ def update!(**args)
324
+ end
325
+ end
326
+
327
+ # A SourceContext referring to a Gerrit project.
328
+ class GerritSourceContext
329
+ include Google::Apis::Core::Hashable
330
+
331
+ # The URI of a running Gerrit instance.
332
+ # Corresponds to the JSON property `hostUri`
186
333
  # @return [String]
187
- attr_accessor :final_time
334
+ attr_accessor :host_uri
335
+
336
+ # A revision (commit) ID.
337
+ # Corresponds to the JSON property `revisionId`
338
+ # @return [String]
339
+ attr_accessor :revision_id
340
+
341
+ # The name of an alias (branch, tag, etc.).
342
+ # Corresponds to the JSON property `aliasName`
343
+ # @return [String]
344
+ attr_accessor :alias_name
345
+
346
+ # The full project name within the host. Projects may be nested, so
347
+ # "project/subproject" is a valid project name.
348
+ # The "repo name" is hostURI/project.
349
+ # Corresponds to the JSON property `gerritProject`
350
+ # @return [String]
351
+ attr_accessor :gerrit_project
352
+
353
+ # An alias to a repo revision.
354
+ # Corresponds to the JSON property `aliasContext`
355
+ # @return [Google::Apis::ClouddebuggerV2::AliasContext]
356
+ attr_accessor :alias_context
357
+
358
+ def initialize(**args)
359
+ update!(**args)
360
+ end
361
+
362
+ # Update properties of this object
363
+ def update!(**args)
364
+ @host_uri = args[:host_uri] if args.key?(:host_uri)
365
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
366
+ @alias_name = args[:alias_name] if args.key?(:alias_name)
367
+ @gerrit_project = args[:gerrit_project] if args.key?(:gerrit_project)
368
+ @alias_context = args[:alias_context] if args.key?(:alias_context)
369
+ end
370
+ end
371
+
372
+ # A CloudWorkspaceId is a unique identifier for a cloud workspace.
373
+ # A cloud workspace is a place associated with a repo where modified files
374
+ # can be stored before they are committed.
375
+ class CloudWorkspaceId
376
+ include Google::Apis::Core::Hashable
377
+
378
+ # A unique identifier for a cloud repo.
379
+ # Corresponds to the JSON property `repoId`
380
+ # @return [Google::Apis::ClouddebuggerV2::RepoId]
381
+ attr_accessor :repo_id
382
+
383
+ # The unique name of the workspace within the repo. This is the name
384
+ # chosen by the client in the Source API's CreateWorkspace method.
385
+ # Corresponds to the JSON property `name`
386
+ # @return [String]
387
+ attr_accessor :name
388
+
389
+ def initialize(**args)
390
+ update!(**args)
391
+ end
392
+
393
+ # Update properties of this object
394
+ def update!(**args)
395
+ @repo_id = args[:repo_id] if args.key?(:repo_id)
396
+ @name = args[:name] if args.key?(:name)
397
+ end
398
+ end
399
+
400
+ # Response for listing breakpoints.
401
+ class ListBreakpointsResponse
402
+ include Google::Apis::Core::Hashable
403
+
404
+ # List of breakpoints matching the request.
405
+ # The fields `id` and `location` are guaranteed to be set on each breakpoint.
406
+ # The fields: `stack_frames`, `evaluated_expressions` and `variable_table`
407
+ # are cleared on each breakpoint regardless of it's status.
408
+ # Corresponds to the JSON property `breakpoints`
409
+ # @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
410
+ attr_accessor :breakpoints
411
+
412
+ # A wait token that can be used in the next call to `list` (REST) or
413
+ # `ListBreakpoints` (RPC) to block until the list of breakpoints has changes.
414
+ # Corresponds to the JSON property `nextWaitToken`
415
+ # @return [String]
416
+ attr_accessor :next_wait_token
417
+
418
+ def initialize(**args)
419
+ update!(**args)
420
+ end
421
+
422
+ # Update properties of this object
423
+ def update!(**args)
424
+ @breakpoints = args[:breakpoints] if args.key?(:breakpoints)
425
+ @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
426
+ end
427
+ end
428
+
429
+ # Represents the breakpoint specification, status and results.
430
+ class Breakpoint
431
+ include Google::Apis::Core::Hashable
188
432
 
189
433
  # The `variable_table` exists to aid with computation, memory and network
190
434
  # traffic optimization. It enables storing a variable once and reference
@@ -286,15 +530,28 @@ module Google
286
530
  # @return [String]
287
531
  attr_accessor :log_level
288
532
 
533
+ # Breakpoint identifier, unique in the scope of the debuggee.
534
+ # Corresponds to the JSON property `id`
535
+ # @return [String]
536
+ attr_accessor :id
537
+
538
+ # Represents a location in the source code.
539
+ # Corresponds to the JSON property `location`
540
+ # @return [Google::Apis::ClouddebuggerV2::SourceLocation]
541
+ attr_accessor :location
542
+
543
+ # Time this breakpoint was finalized as seen by the server in seconds
544
+ # resolution.
545
+ # Corresponds to the JSON property `finalTime`
546
+ # @return [String]
547
+ attr_accessor :final_time
548
+
289
549
  def initialize(**args)
290
550
  update!(**args)
291
551
  end
292
552
 
293
553
  # Update properties of this object
294
554
  def update!(**args)
295
- @id = args[:id] if args.key?(:id)
296
- @location = args[:location] if args.key?(:location)
297
- @final_time = args[:final_time] if args.key?(:final_time)
298
555
  @variable_table = args[:variable_table] if args.key?(:variable_table)
299
556
  @create_time = args[:create_time] if args.key?(:create_time)
300
557
  @log_message_format = args[:log_message_format] if args.key?(:log_message_format)
@@ -308,6 +565,9 @@ module Google
308
565
  @user_email = args[:user_email] if args.key?(:user_email)
309
566
  @action = args[:action] if args.key?(:action)
310
567
  @log_level = args[:log_level] if args.key?(:log_level)
568
+ @id = args[:id] if args.key?(:id)
569
+ @location = args[:location] if args.key?(:location)
570
+ @final_time = args[:final_time] if args.key?(:final_time)
311
571
  end
312
572
  end
313
573
 
@@ -354,6 +614,12 @@ module Google
354
614
  class SourceContext
355
615
  include Google::Apis::Core::Hashable
356
616
 
617
+ # A GitSourceContext denotes a particular revision in a third party Git
618
+ # repository (e.g. GitHub).
619
+ # Corresponds to the JSON property `git`
620
+ # @return [Google::Apis::ClouddebuggerV2::GitSourceContext]
621
+ attr_accessor :git
622
+
357
623
  # A SourceContext referring to a Gerrit project.
358
624
  # Corresponds to the JSON property `gerrit`
359
625
  # @return [Google::Apis::ClouddebuggerV2::GerritSourceContext]
@@ -370,22 +636,16 @@ module Google
370
636
  # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext]
371
637
  attr_accessor :cloud_workspace
372
638
 
373
- # A GitSourceContext denotes a particular revision in a third party Git
374
- # repository (e.g. GitHub).
375
- # Corresponds to the JSON property `git`
376
- # @return [Google::Apis::ClouddebuggerV2::GitSourceContext]
377
- attr_accessor :git
378
-
379
639
  def initialize(**args)
380
640
  update!(**args)
381
641
  end
382
642
 
383
643
  # Update properties of this object
384
644
  def update!(**args)
645
+ @git = args[:git] if args.key?(:git)
385
646
  @gerrit = args[:gerrit] if args.key?(:gerrit)
386
647
  @cloud_repo = args[:cloud_repo] if args.key?(:cloud_repo)
387
648
  @cloud_workspace = args[:cloud_workspace] if args.key?(:cloud_workspace)
388
- @git = args[:git] if args.key?(:git)
389
649
  end
390
650
  end
391
651
 
@@ -394,11 +654,6 @@ module Google
394
654
  class CloudRepoSourceContext
395
655
  include Google::Apis::Core::Hashable
396
656
 
397
- # An alias to a repo revision.
398
- # Corresponds to the JSON property `aliasContext`
399
- # @return [Google::Apis::ClouddebuggerV2::AliasContext]
400
- attr_accessor :alias_context
401
-
402
657
  # A revision ID.
403
658
  # Corresponds to the JSON property `revisionId`
404
659
  # @return [String]
@@ -414,16 +669,21 @@ module Google
414
669
  # @return [Google::Apis::ClouddebuggerV2::RepoId]
415
670
  attr_accessor :repo_id
416
671
 
672
+ # An alias to a repo revision.
673
+ # Corresponds to the JSON property `aliasContext`
674
+ # @return [Google::Apis::ClouddebuggerV2::AliasContext]
675
+ attr_accessor :alias_context
676
+
417
677
  def initialize(**args)
418
678
  update!(**args)
419
679
  end
420
680
 
421
681
  # Update properties of this object
422
682
  def update!(**args)
423
- @alias_context = args[:alias_context] if args.key?(:alias_context)
424
683
  @revision_id = args[:revision_id] if args.key?(:revision_id)
425
684
  @alias_name = args[:alias_name] if args.key?(:alias_name)
426
685
  @repo_id = args[:repo_id] if args.key?(:repo_id)
686
+ @alias_context = args[:alias_context] if args.key?(:alias_context)
427
687
  end
428
688
  end
429
689
 
@@ -698,11 +958,6 @@ module Google
698
958
  class StackFrame
699
959
  include Google::Apis::Core::Hashable
700
960
 
701
- # Demangled function name at the call site.
702
- # Corresponds to the JSON property `function`
703
- # @return [String]
704
- attr_accessor :function
705
-
706
961
  # Set of arguments passed to this function.
707
962
  # Note that this might not be populated for all stack frames.
708
963
  # Corresponds to the JSON property `arguments`
@@ -720,16 +975,21 @@ module Google
720
975
  # @return [Google::Apis::ClouddebuggerV2::SourceLocation]
721
976
  attr_accessor :location
722
977
 
978
+ # Demangled function name at the call site.
979
+ # Corresponds to the JSON property `function`
980
+ # @return [String]
981
+ attr_accessor :function
982
+
723
983
  def initialize(**args)
724
984
  update!(**args)
725
985
  end
726
986
 
727
987
  # Update properties of this object
728
988
  def update!(**args)
729
- @function = args[:function] if args.key?(:function)
730
989
  @arguments = args[:arguments] if args.key?(:arguments)
731
990
  @locals = args[:locals] if args.key?(:locals)
732
991
  @location = args[:location] if args.key?(:location)
992
+ @function = args[:function] if args.key?(:function)
733
993
  end
734
994
  end
735
995
 
@@ -816,266 +1076,6 @@ module Google
816
1076
  @labels = args[:labels] if args.key?(:labels)
817
1077
  end
818
1078
  end
819
-
820
- # Response for listing debuggees.
821
- class ListDebuggeesResponse
822
- include Google::Apis::Core::Hashable
823
-
824
- # List of debuggees accessible to the calling user.
825
- # Note that the `description` field is the only human readable field
826
- # that should be displayed to the user.
827
- # The fields `debuggee.id` and `description` fields are guaranteed to be
828
- # set on each debuggee.
829
- # Corresponds to the JSON property `debuggees`
830
- # @return [Array<Google::Apis::ClouddebuggerV2::Debuggee>]
831
- attr_accessor :debuggees
832
-
833
- def initialize(**args)
834
- update!(**args)
835
- end
836
-
837
- # Update properties of this object
838
- def update!(**args)
839
- @debuggees = args[:debuggees] if args.key?(:debuggees)
840
- end
841
- end
842
-
843
- # An alias to a repo revision.
844
- class AliasContext
845
- include Google::Apis::Core::Hashable
846
-
847
- # The alias name.
848
- # Corresponds to the JSON property `name`
849
- # @return [String]
850
- attr_accessor :name
851
-
852
- # The alias kind.
853
- # Corresponds to the JSON property `kind`
854
- # @return [String]
855
- attr_accessor :kind
856
-
857
- def initialize(**args)
858
- update!(**args)
859
- end
860
-
861
- # Update properties of this object
862
- def update!(**args)
863
- @name = args[:name] if args.key?(:name)
864
- @kind = args[:kind] if args.key?(:kind)
865
- end
866
- end
867
-
868
- # A generic empty message that you can re-use to avoid defining duplicated
869
- # empty messages in your APIs. A typical example is to use it as the request
870
- # or the response type of an API method. For instance:
871
- # service Foo `
872
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
873
- # `
874
- # The JSON representation for `Empty` is empty JSON object ````.
875
- class Empty
876
- include Google::Apis::Core::Hashable
877
-
878
- def initialize(**args)
879
- update!(**args)
880
- end
881
-
882
- # Update properties of this object
883
- def update!(**args)
884
- end
885
- end
886
-
887
- # Represents a location in the source code.
888
- class SourceLocation
889
- include Google::Apis::Core::Hashable
890
-
891
- # Line inside the file. The first line in the file has the value `1`.
892
- # Corresponds to the JSON property `line`
893
- # @return [Fixnum]
894
- attr_accessor :line
895
-
896
- # Path to the source file within the source context of the target binary.
897
- # Corresponds to the JSON property `path`
898
- # @return [String]
899
- attr_accessor :path
900
-
901
- def initialize(**args)
902
- update!(**args)
903
- end
904
-
905
- # Update properties of this object
906
- def update!(**args)
907
- @line = args[:line] if args.key?(:line)
908
- @path = args[:path] if args.key?(:path)
909
- end
910
- end
911
-
912
- # Represents the application to debug. The application may include one or more
913
- # replicated processes executing the same code. Each of these processes is
914
- # attached with a debugger agent, carrying out the debugging commands.
915
- # The agents attached to the same debuggee are identified by using exactly the
916
- # same field values when registering.
917
- class Debuggee
918
- include Google::Apis::Core::Hashable
919
-
920
- # Human readable description of the debuggee.
921
- # Including a human-readable project name, environment name and version
922
- # information is recommended.
923
- # Corresponds to the JSON property `description`
924
- # @return [String]
925
- attr_accessor :description
926
-
927
- # Debuggee uniquifier within the project.
928
- # Any string that identifies the application within the project can be used.
929
- # Including environment and version or build IDs is recommended.
930
- # Corresponds to the JSON property `uniquifier`
931
- # @return [String]
932
- attr_accessor :uniquifier
933
-
934
- # References to the locations and revisions of the source code used in the
935
- # deployed application.
936
- # NOTE: This field is deprecated. Consumers should use
937
- # `ext_source_contexts` if it is not empty. Debug agents should populate
938
- # both this field and `ext_source_contexts`.
939
- # Corresponds to the JSON property `sourceContexts`
940
- # @return [Array<Google::Apis::ClouddebuggerV2::SourceContext>]
941
- attr_accessor :source_contexts
942
-
943
- # References to the locations and revisions of the source code used in the
944
- # deployed application.
945
- # Contexts describing a remote repo related to the source code
946
- # have a `category` label of `remote_repo`. Source snapshot source
947
- # contexts have a `category` of `snapshot`.
948
- # Corresponds to the JSON property `extSourceContexts`
949
- # @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
950
- attr_accessor :ext_source_contexts
951
-
952
- # A set of custom debuggee properties, populated by the agent, to be
953
- # displayed to the user.
954
- # Corresponds to the JSON property `labels`
955
- # @return [Hash<String,String>]
956
- attr_accessor :labels
957
-
958
- # If set to `true`, indicates that the debuggee is considered as inactive by
959
- # the Controller service.
960
- # Corresponds to the JSON property `isInactive`
961
- # @return [Boolean]
962
- attr_accessor :is_inactive
963
- alias_method :is_inactive?, :is_inactive
964
-
965
- # Represents a contextual status message.
966
- # The message can indicate an error or informational status, and refer to
967
- # specific parts of the containing object.
968
- # For example, the `Breakpoint.status` field can indicate an error referring
969
- # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
970
- # Corresponds to the JSON property `status`
971
- # @return [Google::Apis::ClouddebuggerV2::StatusMessage]
972
- attr_accessor :status
973
-
974
- # Project the debuggee is associated with.
975
- # Use the project number when registering a Google Cloud Platform project.
976
- # Corresponds to the JSON property `project`
977
- # @return [String]
978
- attr_accessor :project
979
-
980
- # If set to `true`, indicates that the agent should disable itself and
981
- # detach from the debuggee.
982
- # Corresponds to the JSON property `isDisabled`
983
- # @return [Boolean]
984
- attr_accessor :is_disabled
985
- alias_method :is_disabled?, :is_disabled
986
-
987
- # Version ID of the agent release. The version ID is structured as
988
- # following: `domain/type/vmajor.minor` (for example
989
- # `google.com/gcp-java/v1.1`).
990
- # Corresponds to the JSON property `agentVersion`
991
- # @return [String]
992
- attr_accessor :agent_version
993
-
994
- # Unique identifier for the debuggee generated by the controller service.
995
- # Corresponds to the JSON property `id`
996
- # @return [String]
997
- attr_accessor :id
998
-
999
- def initialize(**args)
1000
- update!(**args)
1001
- end
1002
-
1003
- # Update properties of this object
1004
- def update!(**args)
1005
- @description = args[:description] if args.key?(:description)
1006
- @uniquifier = args[:uniquifier] if args.key?(:uniquifier)
1007
- @source_contexts = args[:source_contexts] if args.key?(:source_contexts)
1008
- @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
1009
- @labels = args[:labels] if args.key?(:labels)
1010
- @is_inactive = args[:is_inactive] if args.key?(:is_inactive)
1011
- @status = args[:status] if args.key?(:status)
1012
- @project = args[:project] if args.key?(:project)
1013
- @is_disabled = args[:is_disabled] if args.key?(:is_disabled)
1014
- @agent_version = args[:agent_version] if args.key?(:agent_version)
1015
- @id = args[:id] if args.key?(:id)
1016
- end
1017
- end
1018
-
1019
- # Selects a repo using a Google Cloud Platform project ID
1020
- # (e.g. winged-cargo-31) and a repo name within that project.
1021
- class ProjectRepoId
1022
- include Google::Apis::Core::Hashable
1023
-
1024
- # The ID of the project.
1025
- # Corresponds to the JSON property `projectId`
1026
- # @return [String]
1027
- attr_accessor :project_id
1028
-
1029
- # The name of the repo. Leave empty for the default repo.
1030
- # Corresponds to the JSON property `repoName`
1031
- # @return [String]
1032
- attr_accessor :repo_name
1033
-
1034
- def initialize(**args)
1035
- update!(**args)
1036
- end
1037
-
1038
- # Update properties of this object
1039
- def update!(**args)
1040
- @project_id = args[:project_id] if args.key?(:project_id)
1041
- @repo_name = args[:repo_name] if args.key?(:repo_name)
1042
- end
1043
- end
1044
-
1045
- # Response for listing active breakpoints.
1046
- class ListActiveBreakpointsResponse
1047
- include Google::Apis::Core::Hashable
1048
-
1049
- # A wait token that can be used in the next method call to block until
1050
- # the list of breakpoints changes.
1051
- # Corresponds to the JSON property `nextWaitToken`
1052
- # @return [String]
1053
- attr_accessor :next_wait_token
1054
-
1055
- # List of all active breakpoints.
1056
- # The fields `id` and `location` are guaranteed to be set on each breakpoint.
1057
- # Corresponds to the JSON property `breakpoints`
1058
- # @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
1059
- attr_accessor :breakpoints
1060
-
1061
- # The `wait_expired` field is set to true by the server when the
1062
- # request times out and the field `success_on_timeout` is set to true.
1063
- # Corresponds to the JSON property `waitExpired`
1064
- # @return [Boolean]
1065
- attr_accessor :wait_expired
1066
- alias_method :wait_expired?, :wait_expired
1067
-
1068
- def initialize(**args)
1069
- update!(**args)
1070
- end
1071
-
1072
- # Update properties of this object
1073
- def update!(**args)
1074
- @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
1075
- @breakpoints = args[:breakpoints] if args.key?(:breakpoints)
1076
- @wait_expired = args[:wait_expired] if args.key?(:wait_expired)
1077
- end
1078
- end
1079
1079
  end
1080
1080
  end
1081
1081
  end