google-api-client 0.9.8 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +15 -8
  3. data/CHANGELOG.md +84 -0
  4. data/Gemfile +10 -2
  5. data/README.md +10 -2
  6. data/api_names.yaml +37172 -135
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
  13. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  15. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  16. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
  20. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  21. data/generated/google/apis/admin_reports_v1.rb +5 -5
  22. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  23. data/generated/google/apis/adsense_v1_4.rb +1 -1
  24. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  29. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  30. data/generated/google/apis/analytics_v3/service.rb +256 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
  33. data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
  34. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
  38. data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
  41. data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
  42. data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
  43. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  44. data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
  45. data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
  46. data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
  47. data/generated/google/apis/appsactivity_v1.rb +3 -3
  48. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  49. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  50. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  51. data/generated/google/apis/appstate_v1.rb +1 -1
  52. data/generated/google/apis/bigquery_v2.rb +1 -1
  53. data/generated/google/apis/bigquery_v2/classes.rb +360 -38
  54. data/generated/google/apis/bigquery_v2/representations.rb +106 -0
  55. data/generated/google/apis/bigquery_v2/service.rb +18 -4
  56. data/generated/google/apis/books_v1.rb +2 -2
  57. data/generated/google/apis/books_v1/classes.rb +83 -0
  58. data/generated/google/apis/books_v1/representations.rb +35 -0
  59. data/generated/google/apis/books_v1/service.rb +7 -3
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +208 -5
  62. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  63. data/generated/google/apis/civicinfo_v2.rb +3 -2
  64. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  65. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  67. data/generated/google/apis/classroom_v1.rb +22 -25
  68. data/generated/google/apis/classroom_v1/classes.rb +998 -761
  69. data/generated/google/apis/classroom_v1/representations.rb +263 -198
  70. data/generated/google/apis/classroom_v1/service.rb +1349 -672
  71. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  74. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  75. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  76. data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
  77. data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
  78. data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
  79. data/generated/google/apis/clouddebugger_v2.rb +5 -8
  80. data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
  81. data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
  82. data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
  83. data/generated/google/apis/cloudkms_v1.rb +35 -0
  84. data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
  85. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  86. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  87. data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
  88. data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
  89. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  90. data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
  91. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  93. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
  94. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
  99. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
  100. data/generated/google/apis/cloudtrace_v1.rb +9 -9
  101. data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
  102. data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
  103. data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
  104. data/generated/google/apis/compute_beta.rb +1 -1
  105. data/generated/google/apis/compute_beta/classes.rb +7007 -3648
  106. data/generated/google/apis/compute_beta/representations.rb +1459 -120
  107. data/generated/google/apis/compute_beta/service.rb +7943 -3726
  108. data/generated/google/apis/compute_v1.rb +1 -1
  109. data/generated/google/apis/compute_v1/classes.rb +2567 -370
  110. data/generated/google/apis/compute_v1/representations.rb +855 -0
  111. data/generated/google/apis/compute_v1/service.rb +6388 -2908
  112. data/generated/google/apis/container_v1.rb +1 -1
  113. data/generated/google/apis/container_v1/classes.rb +287 -16
  114. data/generated/google/apis/container_v1/representations.rb +113 -2
  115. data/generated/google/apis/container_v1/service.rb +130 -0
  116. data/generated/google/apis/content_v2.rb +1 -1
  117. data/generated/google/apis/content_v2/classes.rb +778 -10
  118. data/generated/google/apis/content_v2/representations.rb +339 -0
  119. data/generated/google/apis/content_v2/service.rb +364 -49
  120. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  121. data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
  122. data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
  123. data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
  124. data/generated/google/apis/dataproc_v1.rb +1 -1
  125. data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
  126. data/generated/google/apis/dataproc_v1/representations.rb +299 -225
  127. data/generated/google/apis/dataproc_v1/service.rb +277 -192
  128. data/generated/google/apis/datastore_v1.rb +38 -0
  129. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  130. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  131. data/generated/google/apis/datastore_v1/service.rb +259 -0
  132. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  133. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  134. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  135. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  136. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  137. data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
  138. data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
  139. data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
  140. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  141. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  142. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  143. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  144. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  145. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  146. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  147. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  148. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  149. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  150. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  151. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  152. data/generated/google/apis/dns_v1.rb +1 -1
  153. data/generated/google/apis/dns_v1/classes.rb +1 -1
  154. data/generated/google/apis/dns_v2beta1.rb +43 -0
  155. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  156. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  157. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  158. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  159. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  160. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  161. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  162. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  163. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  164. data/generated/google/apis/drive_v2.rb +1 -1
  165. data/generated/google/apis/drive_v2/classes.rb +595 -37
  166. data/generated/google/apis/drive_v2/representations.rb +140 -0
  167. data/generated/google/apis/drive_v2/service.rb +406 -40
  168. data/generated/google/apis/drive_v3.rb +1 -1
  169. data/generated/google/apis/drive_v3/classes.rb +507 -40
  170. data/generated/google/apis/drive_v3/representations.rb +105 -0
  171. data/generated/google/apis/drive_v3/service.rb +326 -29
  172. data/generated/google/apis/fitness_v1.rb +38 -2
  173. data/generated/google/apis/fitness_v1/classes.rb +65 -7
  174. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  175. data/generated/google/apis/fitness_v1/service.rb +17 -18
  176. data/generated/google/apis/fusiontables_v2.rb +1 -1
  177. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  178. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_v1.rb +1 -1
  181. data/generated/google/apis/genomics_v1.rb +10 -12
  182. data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
  183. data/generated/google/apis/genomics_v1/representations.rb +468 -496
  184. data/generated/google/apis/genomics_v1/service.rb +978 -882
  185. data/generated/google/apis/gmail_v1.rb +11 -2
  186. data/generated/google/apis/gmail_v1/classes.rb +655 -5
  187. data/generated/google/apis/gmail_v1/representations.rb +261 -0
  188. data/generated/google/apis/gmail_v1/service.rb +1211 -48
  189. data/generated/google/apis/groupssettings_v1.rb +2 -2
  190. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  191. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  192. data/generated/google/apis/iam_v1.rb +2 -2
  193. data/generated/google/apis/iam_v1/classes.rb +446 -368
  194. data/generated/google/apis/iam_v1/representations.rb +109 -91
  195. data/generated/google/apis/iam_v1/service.rb +249 -162
  196. data/generated/google/apis/identitytoolkit_v3.rb +7 -1
  197. data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
  198. data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
  199. data/generated/google/apis/kgsearch_v1.rb +2 -3
  200. data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
  201. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  202. data/generated/google/apis/kgsearch_v1/service.rb +26 -24
  203. data/generated/google/apis/language_v1beta1.rb +36 -0
  204. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  205. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  206. data/generated/google/apis/language_v1beta1/service.rb +185 -0
  207. data/generated/google/apis/licensing_v1.rb +3 -3
  208. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  209. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  210. data/generated/google/apis/licensing_v1/service.rb +1 -1
  211. data/generated/google/apis/logging_v2beta1.rb +6 -6
  212. data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
  213. data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
  214. data/generated/google/apis/logging_v2beta1/service.rb +427 -155
  215. data/generated/google/apis/manufacturers_v1.rb +34 -0
  216. data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
  217. data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
  218. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  219. data/generated/google/apis/mirror_v1.rb +2 -2
  220. data/generated/google/apis/mirror_v1/service.rb +1 -1
  221. data/generated/google/apis/monitoring_v3.rb +45 -0
  222. data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
  223. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  224. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  225. data/generated/google/apis/oauth2_v2.rb +1 -1
  226. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  227. data/generated/google/apis/partners_v2.rb +3 -3
  228. data/generated/google/apis/partners_v2/classes.rb +1831 -477
  229. data/generated/google/apis/partners_v2/representations.rb +571 -114
  230. data/generated/google/apis/partners_v2/service.rb +898 -167
  231. data/generated/google/apis/people_v1.rb +15 -16
  232. data/generated/google/apis/people_v1/classes.rb +1047 -859
  233. data/generated/google/apis/people_v1/representations.rb +252 -213
  234. data/generated/google/apis/people_v1/service.rb +75 -62
  235. data/generated/google/apis/plus_domains_v1.rb +1 -1
  236. data/generated/google/apis/plus_v1.rb +1 -1
  237. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  238. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
  239. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
  240. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
  241. data/generated/google/apis/pubsub_v1.rb +1 -1
  242. data/generated/google/apis/pubsub_v1/classes.rb +363 -310
  243. data/generated/google/apis/pubsub_v1/representations.rb +76 -76
  244. data/generated/google/apis/pubsub_v1/service.rb +464 -335
  245. data/generated/google/apis/qpx_express_v1.rb +1 -1
  246. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  247. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  248. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  249. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  250. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  251. data/generated/google/apis/reseller_v1.rb +1 -1
  252. data/generated/google/apis/reseller_v1/classes.rb +222 -61
  253. data/generated/google/apis/reseller_v1/representations.rb +28 -0
  254. data/generated/google/apis/reseller_v1/service.rb +240 -47
  255. data/generated/google/apis/script_v1.rb +19 -19
  256. data/generated/google/apis/script_v1/classes.rb +151 -137
  257. data/generated/google/apis/script_v1/representations.rb +26 -26
  258. data/generated/google/apis/script_v1/service.rb +9 -8
  259. data/generated/google/apis/sheets_v4.rb +7 -7
  260. data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
  261. data/generated/google/apis/sheets_v4/representations.rb +988 -737
  262. data/generated/google/apis/sheets_v4/service.rb +266 -99
  263. data/generated/google/apis/site_verification_v1.rb +1 -1
  264. data/generated/google/apis/slides_v1.rb +49 -0
  265. data/generated/google/apis/slides_v1/classes.rb +4480 -0
  266. data/generated/google/apis/slides_v1/representations.rb +1926 -0
  267. data/generated/google/apis/slides_v1/service.rb +245 -0
  268. data/generated/google/apis/speech_v1beta1.rb +34 -0
  269. data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
  270. data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
  271. data/generated/google/apis/speech_v1beta1/service.rb +270 -0
  272. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  273. data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
  274. data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
  275. data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
  276. data/generated/google/apis/storage_v1.rb +1 -1
  277. data/generated/google/apis/storage_v1/classes.rb +205 -21
  278. data/generated/google/apis/storage_v1/representations.rb +51 -1
  279. data/generated/google/apis/storage_v1/service.rb +263 -9
  280. data/generated/google/apis/tagmanager_v1.rb +5 -5
  281. data/generated/google/apis/translate_v2.rb +2 -2
  282. data/generated/google/apis/translate_v2/service.rb +1 -1
  283. data/generated/google/apis/vision_v1.rb +1 -1
  284. data/generated/google/apis/vision_v1/classes.rb +1275 -731
  285. data/generated/google/apis/vision_v1/representations.rb +378 -111
  286. data/generated/google/apis/vision_v1/service.rb +4 -4
  287. data/generated/google/apis/webmasters_v3.rb +1 -1
  288. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  289. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  290. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  291. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
  292. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  293. data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
  294. data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
  295. data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
  296. data/generated/google/apis/youtube_v3.rb +1 -1
  297. data/generated/google/apis/youtube_v3/classes.rb +430 -22
  298. data/generated/google/apis/youtube_v3/representations.rb +171 -4
  299. data/generated/google/apis/youtube_v3/service.rb +100 -9
  300. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  301. data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
  302. data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
  303. data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
  304. data/google-api-client.gemspec +4 -3
  305. data/lib/google/apis/core/api_command.rb +16 -6
  306. data/lib/google/apis/core/base_service.rb +17 -9
  307. data/lib/google/apis/core/download.rb +7 -2
  308. data/lib/google/apis/core/http_command.rb +5 -1
  309. data/lib/google/apis/core/json_representation.rb +2 -2
  310. data/lib/google/apis/core/upload.rb +7 -1
  311. data/lib/google/apis/errors.rb +6 -2
  312. data/lib/google/apis/generator/annotator.rb +6 -0
  313. data/lib/google/apis/version.rb +1 -1
  314. data/samples/cli/lib/samples/bigquery.rb +101 -0
  315. data/samples/cli/lib/samples/calendar.rb +1 -1
  316. data/samples/cli/lib/samples/gmail.rb +74 -0
  317. data/samples/cli/lib/samples/sheets.rb +61 -0
  318. data/samples/cli/lib/samples/you_tube.rb +4 -1
  319. data/sync.rb +71 -0
  320. metadata +86 -18
@@ -18,24 +18,21 @@ require 'google/apis/clouddebugger_v2/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Google Cloud Debugger API
21
+ # Stackdriver Debugger API
22
22
  #
23
23
  # Examines the call stack and variables of a running application without
24
24
  # stopping or slowing it down.
25
25
  #
26
- # @see https://cloud.google.com/tools/cloud-debugger
26
+ # @see http://cloud.google.com/debugger
27
27
  module ClouddebuggerV2
28
28
  VERSION = 'V2'
29
- REVISION = '20160309'
30
-
31
- # View and manage your data across Google Cloud Platform services
32
- AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
29
+ REVISION = '20170322'
33
30
 
34
31
  # Manage cloud debugger
35
32
  AUTH_CLOUD_DEBUGGER = 'https://www.googleapis.com/auth/cloud_debugger'
36
33
 
37
- # Manage active breakpoints in cloud debugger
38
- AUTH_CLOUD_DEBUGLETCONTROLLER = 'https://www.googleapis.com/auth/cloud_debugletcontroller'
34
+ # View and manage your data across Google Cloud Platform services
35
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
39
36
  end
40
37
  end
41
38
  end
@@ -22,18 +22,22 @@ module Google
22
22
  module Apis
23
23
  module ClouddebuggerV2
24
24
 
25
- # Request to register a debuggee.
26
- class RegisterDebuggeeRequest
25
+ # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
26
+ class CloudWorkspaceSourceContext
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Represents the application to debug. The application may include one or more
30
- # replicated processes executing the same code. Each of these processes is
31
- # attached with a debugger agent, carrying out the debugging commands. The
32
- # agents attached to the same debuggee are identified by using exactly the same
33
- # field values when registering.
34
- # Corresponds to the JSON property `debuggee`
35
- # @return [Google::Apis::ClouddebuggerV2::Debuggee]
36
- attr_accessor :debuggee
29
+ # The ID of the snapshot.
30
+ # An empty snapshot_id refers to the most recent snapshot.
31
+ # Corresponds to the JSON property `snapshotId`
32
+ # @return [String]
33
+ attr_accessor :snapshot_id
34
+
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
37
41
 
38
42
  def initialize(**args)
39
43
  update!(**args)
@@ -41,134 +45,55 @@ module Google
41
45
 
42
46
  # Update properties of this object
43
47
  def update!(**args)
44
- @debuggee = args[:debuggee] if args.key?(:debuggee)
48
+ @snapshot_id = args[:snapshot_id] if args.key?(:snapshot_id)
49
+ @workspace_id = args[:workspace_id] if args.key?(:workspace_id)
45
50
  end
46
51
  end
47
52
 
48
- # Represents the application to debug. The application may include one or more
49
- # replicated processes executing the same code. Each of these processes is
50
- # attached with a debugger agent, carrying out the debugging commands. The
51
- # agents attached to the same debuggee are identified by using exactly the same
52
- # field values when registering.
53
- class Debuggee
53
+ # Response for updating an active breakpoint.
54
+ # The message is defined to allow future extensions.
55
+ class UpdateActiveBreakpointResponse
54
56
  include Google::Apis::Core::Hashable
55
57
 
56
- # Unique identifier for the debuggee generated by the controller service.
57
- # Corresponds to the JSON property `id`
58
- # @return [String]
59
- attr_accessor :id
60
-
61
- # Project the debuggee is associated with. Use the project number when
62
- # registering a Google Cloud Platform project.
63
- # Corresponds to the JSON property `project`
64
- # @return [String]
65
- attr_accessor :project
66
-
67
- # Debuggee uniquifier within the project. Any string that identifies the
68
- # application within the project can be used. Including environment and version
69
- # or build IDs is recommended.
70
- # Corresponds to the JSON property `uniquifier`
71
- # @return [String]
72
- attr_accessor :uniquifier
73
-
74
- # Human readable description of the debuggee. Including a human-readable project
75
- # name, environment name and version information is recommended.
76
- # Corresponds to the JSON property `description`
77
- # @return [String]
78
- attr_accessor :description
79
-
80
- # If set to `true`, indicates that the debuggee is considered as inactive by the
81
- # Controller service.
82
- # Corresponds to the JSON property `isInactive`
83
- # @return [Boolean]
84
- attr_accessor :is_inactive
85
- alias_method :is_inactive?, :is_inactive
86
-
87
- # Version ID of the agent release. The version ID is structured as following: `
88
- # domain/type/vmajor.minor` (for example `google.com/gcp-java/v1.1`).
89
- # Corresponds to the JSON property `agentVersion`
90
- # @return [String]
91
- attr_accessor :agent_version
92
-
93
- # If set to `true`, indicates that the agent should disable itself and detach
94
- # from the debuggee.
95
- # Corresponds to the JSON property `isDisabled`
96
- # @return [Boolean]
97
- attr_accessor :is_disabled
98
- alias_method :is_disabled?, :is_disabled
99
-
100
- # Represents a contextual status message. The message can indicate an error or
101
- # informational status, and refer to specific parts of the containing object.
102
- # For example, the `Breakpoint.status` field can indicate an error referring to
103
- # the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
104
- # Corresponds to the JSON property `status`
105
- # @return [Google::Apis::ClouddebuggerV2::StatusMessage]
106
- attr_accessor :status
107
-
108
- # References to the locations and revisions of the source code used in the
109
- # deployed application. NOTE: This field is deprecated. Consumers should use `
110
- # ext_source_contexts` if it is not empty. Debug agents should populate both
111
- # this field and `ext_source_contexts`.
112
- # Corresponds to the JSON property `sourceContexts`
113
- # @return [Array<Google::Apis::ClouddebuggerV2::SourceContext>]
114
- attr_accessor :source_contexts
115
-
116
- # References to the locations and revisions of the source code used in the
117
- # deployed application. Contexts describing a remote repo related to the source
118
- # code have a `category` label of `remote_repo`. Source snapshot source contexts
119
- # have a `category` of `snapshot`.
120
- # Corresponds to the JSON property `extSourceContexts`
121
- # @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
122
- attr_accessor :ext_source_contexts
123
-
124
- # A set of custom debuggee properties, populated by the agent, to be displayed
125
- # to the user.
126
- # Corresponds to the JSON property `labels`
127
- # @return [Hash<String,String>]
128
- attr_accessor :labels
129
-
130
58
  def initialize(**args)
131
59
  update!(**args)
132
60
  end
133
61
 
134
62
  # Update properties of this object
135
63
  def update!(**args)
136
- @id = args[:id] if args.key?(:id)
137
- @project = args[:project] if args.key?(:project)
138
- @uniquifier = args[:uniquifier] if args.key?(:uniquifier)
139
- @description = args[:description] if args.key?(:description)
140
- @is_inactive = args[:is_inactive] if args.key?(:is_inactive)
141
- @agent_version = args[:agent_version] if args.key?(:agent_version)
142
- @is_disabled = args[:is_disabled] if args.key?(:is_disabled)
143
- @status = args[:status] if args.key?(:status)
144
- @source_contexts = args[:source_contexts] if args.key?(:source_contexts)
145
- @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
146
- @labels = args[:labels] if args.key?(:labels)
147
64
  end
148
65
  end
149
66
 
150
- # Represents a contextual status message. The message can indicate an error or
151
- # informational status, and refer to specific parts of the containing object.
152
- # For example, the `Breakpoint.status` field can indicate an error referring to
153
- # the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
154
- class StatusMessage
67
+ # A SourceContext referring to a Gerrit project.
68
+ class GerritSourceContext
155
69
  include Google::Apis::Core::Hashable
156
70
 
157
- # Distinguishes errors from informational messages.
158
- # Corresponds to the JSON property `isError`
159
- # @return [Boolean]
160
- attr_accessor :is_error
161
- alias_method :is_error?, :is_error
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`
75
+ # @return [String]
76
+ attr_accessor :gerrit_project
162
77
 
163
- # Reference to which the message applies.
164
- # Corresponds to the JSON property `refersTo`
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
82
+
83
+ # The URI of a running Gerrit instance.
84
+ # Corresponds to the JSON property `hostUri`
165
85
  # @return [String]
166
- attr_accessor :refers_to
86
+ attr_accessor :host_uri
167
87
 
168
- # Represents a message with parameters.
169
- # Corresponds to the JSON property `description`
170
- # @return [Google::Apis::ClouddebuggerV2::FormatMessage]
171
- attr_accessor :description
88
+ # A revision (commit) ID.
89
+ # Corresponds to the JSON property `revisionId`
90
+ # @return [String]
91
+ attr_accessor :revision_id
92
+
93
+ # The name of an alias (branch, tag, etc.).
94
+ # Corresponds to the JSON property `aliasName`
95
+ # @return [String]
96
+ attr_accessor :alias_name
172
97
 
173
98
  def initialize(**args)
174
99
  update!(**args)
@@ -176,29 +101,30 @@ module Google
176
101
 
177
102
  # Update properties of this object
178
103
  def update!(**args)
179
- @is_error = args[:is_error] if args.key?(:is_error)
180
- @refers_to = args[:refers_to] if args.key?(:refers_to)
181
- @description = args[:description] if args.key?(:description)
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)
182
109
  end
183
110
  end
184
111
 
185
- # Represents a message with parameters.
186
- class FormatMessage
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
187
116
  include Google::Apis::Core::Hashable
188
117
 
189
- # Format template for the message. The `format` uses placeholders `$0`, `$1`,
190
- # etc. to reference parameters. `$$` can be used to denote the `$` character.
191
- # Examples: * `Failed to load '$0' which helps debug $1 the first time it is
192
- # loaded. Again, $0 is very important.` * `Please pay $$10 to use $0 instead of $
193
- # 1.`
194
- # Corresponds to the JSON property `format`
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`
195
121
  # @return [String]
196
- attr_accessor :format
122
+ attr_accessor :name
197
123
 
198
- # Optional parameters to be embedded into the message.
199
- # Corresponds to the JSON property `parameters`
200
- # @return [Array<String>]
201
- attr_accessor :parameters
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
202
128
 
203
129
  def initialize(**args)
204
130
  update!(**args)
@@ -206,37 +132,28 @@ module Google
206
132
 
207
133
  # Update properties of this object
208
134
  def update!(**args)
209
- @format = args[:format] if args.key?(:format)
210
- @parameters = args[:parameters] if args.key?(:parameters)
135
+ @name = args[:name] if args.key?(:name)
136
+ @repo_id = args[:repo_id] if args.key?(:repo_id)
211
137
  end
212
138
  end
213
139
 
214
- # A SourceContext is a reference to a tree of files. A SourceContext together
215
- # with a path point to a unique revision of a single file or directory.
216
- class SourceContext
140
+ # Response for listing breakpoints.
141
+ class ListBreakpointsResponse
217
142
  include Google::Apis::Core::Hashable
218
143
 
219
- # A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo
220
- # hosted by the Google Cloud Platform).
221
- # Corresponds to the JSON property `cloudRepo`
222
- # @return [Google::Apis::ClouddebuggerV2::CloudRepoSourceContext]
223
- attr_accessor :cloud_repo
224
-
225
- # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
226
- # Corresponds to the JSON property `cloudWorkspace`
227
- # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext]
228
- attr_accessor :cloud_workspace
229
-
230
- # A SourceContext referring to a Gerrit project.
231
- # Corresponds to the JSON property `gerrit`
232
- # @return [Google::Apis::ClouddebuggerV2::GerritSourceContext]
233
- attr_accessor :gerrit
144
+ # List of breakpoints matching the request.
145
+ # 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
+ # Corresponds to the JSON property `breakpoints`
149
+ # @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
150
+ attr_accessor :breakpoints
234
151
 
235
- # A GitSourceContext denotes a particular revision in a third party Git
236
- # repository (e.g. GitHub).
237
- # Corresponds to the JSON property `git`
238
- # @return [Google::Apis::ClouddebuggerV2::GitSourceContext]
239
- attr_accessor :git
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.
154
+ # Corresponds to the JSON property `nextWaitToken`
155
+ # @return [String]
156
+ attr_accessor :next_wait_token
240
157
 
241
158
  def initialize(**args)
242
159
  update!(**args)
@@ -244,91 +161,130 @@ module Google
244
161
 
245
162
  # Update properties of this object
246
163
  def update!(**args)
247
- @cloud_repo = args[:cloud_repo] if args.key?(:cloud_repo)
248
- @cloud_workspace = args[:cloud_workspace] if args.key?(:cloud_workspace)
249
- @gerrit = args[:gerrit] if args.key?(:gerrit)
250
- @git = args[:git] if args.key?(:git)
164
+ @breakpoints = args[:breakpoints] if args.key?(:breakpoints)
165
+ @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
251
166
  end
252
167
  end
253
168
 
254
- # A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo
255
- # hosted by the Google Cloud Platform).
256
- class CloudRepoSourceContext
169
+ # Represents the breakpoint specification, status and results.
170
+ class Breakpoint
257
171
  include Google::Apis::Core::Hashable
258
172
 
259
- # A unique identifier for a cloud repo.
260
- # Corresponds to the JSON property `repoId`
261
- # @return [Google::Apis::ClouddebuggerV2::RepoId]
262
- attr_accessor :repo_id
173
+ # List of read-only expressions to evaluate at the breakpoint location.
174
+ # The expressions are composed using expressions in the programming language
175
+ # at the source location. If the breakpoint action is `LOG`, the evaluated
176
+ # expressions are included in log statements.
177
+ # Corresponds to the JSON property `expressions`
178
+ # @return [Array<String>]
179
+ attr_accessor :expressions
263
180
 
264
- # A revision ID.
265
- # Corresponds to the JSON property `revisionId`
266
- # @return [String]
267
- attr_accessor :revision_id
181
+ # Values of evaluated expressions at breakpoint time.
182
+ # The evaluated expressions appear in exactly the same order they
183
+ # are listed in the `expressions` field.
184
+ # The `name` field holds the original expression text, the `value` or
185
+ # `members` field holds the result of the evaluated expression.
186
+ # If the expression cannot be evaluated, the `status` inside the `Variable`
187
+ # will indicate an error and contain the error text.
188
+ # Corresponds to the JSON property `evaluatedExpressions`
189
+ # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
190
+ attr_accessor :evaluated_expressions
268
191
 
269
- # The name of an alias (branch, tag, etc.).
270
- # Corresponds to the JSON property `aliasName`
271
- # @return [String]
272
- attr_accessor :alias_name
192
+ # When true, indicates that this is a final result and the
193
+ # breakpoint state will not change from here on.
194
+ # Corresponds to the JSON property `isFinalState`
195
+ # @return [Boolean]
196
+ attr_accessor :is_final_state
197
+ alias_method :is_final_state?, :is_final_state
273
198
 
274
- # An alias to a repo revision.
275
- # Corresponds to the JSON property `aliasContext`
276
- # @return [Google::Apis::ClouddebuggerV2::AliasContext]
277
- attr_accessor :alias_context
199
+ # The stack at breakpoint time.
200
+ # Corresponds to the JSON property `stackFrames`
201
+ # @return [Array<Google::Apis::ClouddebuggerV2::StackFrame>]
202
+ attr_accessor :stack_frames
278
203
 
279
- def initialize(**args)
280
- update!(**args)
281
- end
204
+ # Condition that triggers the breakpoint.
205
+ # The condition is a compound boolean expression composed using expressions
206
+ # in a programming language at the source location.
207
+ # Corresponds to the JSON property `condition`
208
+ # @return [String]
209
+ attr_accessor :condition
282
210
 
283
- # Update properties of this object
284
- def update!(**args)
285
- @repo_id = args[:repo_id] if args.key?(:repo_id)
286
- @revision_id = args[:revision_id] if args.key?(:revision_id)
287
- @alias_name = args[:alias_name] if args.key?(:alias_name)
288
- @alias_context = args[:alias_context] if args.key?(:alias_context)
289
- end
290
- end
211
+ # Represents a contextual status message.
212
+ # The message can indicate an error or informational status, and refer to
213
+ # specific parts of the containing object.
214
+ # For example, the `Breakpoint.status` field can indicate an error referring
215
+ # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
216
+ # Corresponds to the JSON property `status`
217
+ # @return [Google::Apis::ClouddebuggerV2::StatusMessage]
218
+ attr_accessor :status
291
219
 
292
- # A unique identifier for a cloud repo.
293
- class RepoId
294
- include Google::Apis::Core::Hashable
220
+ # E-mail address of the user that created this breakpoint
221
+ # Corresponds to the JSON property `userEmail`
222
+ # @return [String]
223
+ attr_accessor :user_email
295
224
 
296
- # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31)
297
- # and a repo name within that project.
298
- # Corresponds to the JSON property `projectRepoId`
299
- # @return [Google::Apis::ClouddebuggerV2::ProjectRepoId]
300
- attr_accessor :project_repo_id
225
+ # Action that the agent should perform when the code at the
226
+ # breakpoint location is hit.
227
+ # Corresponds to the JSON property `action`
228
+ # @return [String]
229
+ attr_accessor :action
301
230
 
302
- # A server-assigned, globally unique identifier.
303
- # Corresponds to the JSON property `uid`
231
+ # Indicates the severity of the log. Only relevant when action is `LOG`.
232
+ # Corresponds to the JSON property `logLevel`
304
233
  # @return [String]
305
- attr_accessor :uid
234
+ attr_accessor :log_level
306
235
 
307
- def initialize(**args)
308
- update!(**args)
309
- end
236
+ # Breakpoint identifier, unique in the scope of the debuggee.
237
+ # Corresponds to the JSON property `id`
238
+ # @return [String]
239
+ attr_accessor :id
310
240
 
311
- # Update properties of this object
312
- def update!(**args)
313
- @project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id)
314
- @uid = args[:uid] if args.key?(:uid)
315
- end
316
- end
241
+ # Represents a location in the source code.
242
+ # Corresponds to the JSON property `location`
243
+ # @return [Google::Apis::ClouddebuggerV2::SourceLocation]
244
+ attr_accessor :location
317
245
 
318
- # Selects a repo using a Google Cloud Platform project ID (e.g. winged-cargo-31)
319
- # and a repo name within that project.
320
- class ProjectRepoId
321
- include Google::Apis::Core::Hashable
246
+ # Time this breakpoint was finalized as seen by the server in seconds
247
+ # resolution.
248
+ # Corresponds to the JSON property `finalTime`
249
+ # @return [String]
250
+ attr_accessor :final_time
322
251
 
323
- # The ID of the project.
324
- # Corresponds to the JSON property `projectId`
252
+ # The `variable_table` exists to aid with computation, memory and network
253
+ # traffic optimization. It enables storing a variable once and reference
254
+ # it from multiple variables, including variables stored in the
255
+ # `variable_table` itself.
256
+ # For example, the same `this` object, which may appear at many levels of
257
+ # the stack, can have all of its data stored once in this table. The
258
+ # stack frame variables then would hold only a reference to it.
259
+ # The variable `var_table_index` field is an index into this repeated field.
260
+ # The stored objects are nameless and get their name from the referencing
261
+ # variable. The effective variable is a merge of the referencing variable
262
+ # and the referenced variable.
263
+ # Corresponds to the JSON property `variableTable`
264
+ # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
265
+ attr_accessor :variable_table
266
+
267
+ # Time this breakpoint was created by the server in seconds resolution.
268
+ # Corresponds to the JSON property `createTime`
325
269
  # @return [String]
326
- attr_accessor :project_id
270
+ attr_accessor :create_time
327
271
 
328
- # The name of the repo. Leave empty for the default repo.
329
- # Corresponds to the JSON property `repoName`
272
+ # Only relevant when action is `LOG`. Defines the message to log when
273
+ # the breakpoint hits. The message may include parameter placeholders `$0`,
274
+ # `$1`, etc. These placeholders are replaced with the evaluated value
275
+ # of the appropriate expression. Expressions not referenced in
276
+ # `log_message_format` are not logged.
277
+ # Example: `Message received, id = $0, count = $1` with
278
+ # `expressions` = `[ message.id, message.count ]`.
279
+ # Corresponds to the JSON property `logMessageFormat`
330
280
  # @return [String]
331
- attr_accessor :repo_name
281
+ attr_accessor :log_message_format
282
+
283
+ # A set of custom breakpoint properties, populated by the agent, to be
284
+ # displayed to the user.
285
+ # Corresponds to the JSON property `labels`
286
+ # @return [Hash<String,String>]
287
+ attr_accessor :labels
332
288
 
333
289
  def initialize(**args)
334
290
  update!(**args)
@@ -336,24 +292,33 @@ module Google
336
292
 
337
293
  # Update properties of this object
338
294
  def update!(**args)
339
- @project_id = args[:project_id] if args.key?(:project_id)
340
- @repo_name = args[:repo_name] if args.key?(:repo_name)
295
+ @expressions = args[:expressions] if args.key?(:expressions)
296
+ @evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions)
297
+ @is_final_state = args[:is_final_state] if args.key?(:is_final_state)
298
+ @stack_frames = args[:stack_frames] if args.key?(:stack_frames)
299
+ @condition = args[:condition] if args.key?(:condition)
300
+ @status = args[:status] if args.key?(:status)
301
+ @user_email = args[:user_email] if args.key?(:user_email)
302
+ @action = args[:action] if args.key?(:action)
303
+ @log_level = args[:log_level] if args.key?(:log_level)
304
+ @id = args[:id] if args.key?(:id)
305
+ @location = args[:location] if args.key?(:location)
306
+ @final_time = args[:final_time] if args.key?(:final_time)
307
+ @variable_table = args[:variable_table] if args.key?(:variable_table)
308
+ @create_time = args[:create_time] if args.key?(:create_time)
309
+ @log_message_format = args[:log_message_format] if args.key?(:log_message_format)
310
+ @labels = args[:labels] if args.key?(:labels)
341
311
  end
342
312
  end
343
313
 
344
- # An alias to a repo revision.
345
- class AliasContext
314
+ # Request to update an active breakpoint.
315
+ class UpdateActiveBreakpointRequest
346
316
  include Google::Apis::Core::Hashable
347
317
 
348
- # The alias kind.
349
- # Corresponds to the JSON property `kind`
350
- # @return [String]
351
- attr_accessor :kind
352
-
353
- # The alias name.
354
- # Corresponds to the JSON property `name`
355
- # @return [String]
356
- attr_accessor :name
318
+ # Represents the breakpoint specification, status and results.
319
+ # Corresponds to the JSON property `breakpoint`
320
+ # @return [Google::Apis::ClouddebuggerV2::Breakpoint]
321
+ attr_accessor :breakpoint
357
322
 
358
323
  def initialize(**args)
359
324
  update!(**args)
@@ -361,27 +326,18 @@ module Google
361
326
 
362
327
  # Update properties of this object
363
328
  def update!(**args)
364
- @kind = args[:kind] if args.key?(:kind)
365
- @name = args[:name] if args.key?(:name)
329
+ @breakpoint = args[:breakpoint] if args.key?(:breakpoint)
366
330
  end
367
331
  end
368
332
 
369
- # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
370
- class CloudWorkspaceSourceContext
333
+ # Response for setting a breakpoint.
334
+ class SetBreakpointResponse
371
335
  include Google::Apis::Core::Hashable
372
336
 
373
- # A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud
374
- # workspace is a place associated with a repo where modified files can be stored
375
- # before they are committed.
376
- # Corresponds to the JSON property `workspaceId`
377
- # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceId]
378
- attr_accessor :workspace_id
379
-
380
- # The ID of the snapshot. An empty snapshot_id refers to the most recent
381
- # snapshot.
382
- # Corresponds to the JSON property `snapshotId`
383
- # @return [String]
384
- attr_accessor :snapshot_id
337
+ # Represents the breakpoint specification, status and results.
338
+ # Corresponds to the JSON property `breakpoint`
339
+ # @return [Google::Apis::ClouddebuggerV2::Breakpoint]
340
+ attr_accessor :breakpoint
385
341
 
386
342
  def initialize(**args)
387
343
  update!(**args)
@@ -389,27 +345,36 @@ module Google
389
345
 
390
346
  # Update properties of this object
391
347
  def update!(**args)
392
- @workspace_id = args[:workspace_id] if args.key?(:workspace_id)
393
- @snapshot_id = args[:snapshot_id] if args.key?(:snapshot_id)
348
+ @breakpoint = args[:breakpoint] if args.key?(:breakpoint)
394
349
  end
395
350
  end
396
351
 
397
- # A CloudWorkspaceId is a unique identifier for a cloud workspace. A cloud
398
- # workspace is a place associated with a repo where modified files can be stored
399
- # before they are committed.
400
- class CloudWorkspaceId
352
+ # A SourceContext is a reference to a tree of files. A SourceContext together
353
+ # with a path point to a unique revision of a single file or directory.
354
+ class SourceContext
401
355
  include Google::Apis::Core::Hashable
402
356
 
403
- # A unique identifier for a cloud repo.
404
- # Corresponds to the JSON property `repoId`
405
- # @return [Google::Apis::ClouddebuggerV2::RepoId]
406
- attr_accessor :repo_id
357
+ # A GitSourceContext denotes a particular revision in a third party Git
358
+ # repository (e.g. GitHub).
359
+ # Corresponds to the JSON property `git`
360
+ # @return [Google::Apis::ClouddebuggerV2::GitSourceContext]
361
+ attr_accessor :git
407
362
 
408
- # The unique name of the workspace within the repo. This is the name chosen by
409
- # the client in the Source API's CreateWorkspace method.
410
- # Corresponds to the JSON property `name`
411
- # @return [String]
412
- attr_accessor :name
363
+ # A SourceContext referring to a Gerrit project.
364
+ # Corresponds to the JSON property `gerrit`
365
+ # @return [Google::Apis::ClouddebuggerV2::GerritSourceContext]
366
+ attr_accessor :gerrit
367
+
368
+ # A CloudRepoSourceContext denotes a particular revision in a cloud
369
+ # repo (a repo hosted by the Google Cloud Platform).
370
+ # Corresponds to the JSON property `cloudRepo`
371
+ # @return [Google::Apis::ClouddebuggerV2::CloudRepoSourceContext]
372
+ attr_accessor :cloud_repo
373
+
374
+ # A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
375
+ # Corresponds to the JSON property `cloudWorkspace`
376
+ # @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext]
377
+ attr_accessor :cloud_workspace
413
378
 
414
379
  def initialize(**args)
415
380
  update!(**args)
@@ -417,27 +382,19 @@ module Google
417
382
 
418
383
  # Update properties of this object
419
384
  def update!(**args)
420
- @repo_id = args[:repo_id] if args.key?(:repo_id)
421
- @name = args[:name] if args.key?(:name)
385
+ @git = args[:git] if args.key?(:git)
386
+ @gerrit = args[:gerrit] if args.key?(:gerrit)
387
+ @cloud_repo = args[:cloud_repo] if args.key?(:cloud_repo)
388
+ @cloud_workspace = args[:cloud_workspace] if args.key?(:cloud_workspace)
422
389
  end
423
390
  end
424
391
 
425
- # A SourceContext referring to a Gerrit project.
426
- class GerritSourceContext
392
+ # A CloudRepoSourceContext denotes a particular revision in a cloud
393
+ # repo (a repo hosted by the Google Cloud Platform).
394
+ class CloudRepoSourceContext
427
395
  include Google::Apis::Core::Hashable
428
396
 
429
- # The URI of a running Gerrit instance.
430
- # Corresponds to the JSON property `hostUri`
431
- # @return [String]
432
- attr_accessor :host_uri
433
-
434
- # The full project name within the host. Projects may be nested, so "project/
435
- # subproject" is a valid project name. The "repo name" is hostURI/project.
436
- # Corresponds to the JSON property `gerritProject`
437
- # @return [String]
438
- attr_accessor :gerrit_project
439
-
440
- # A revision (commit) ID.
397
+ # A revision ID.
441
398
  # Corresponds to the JSON property `revisionId`
442
399
  # @return [String]
443
400
  attr_accessor :revision_id
@@ -447,6 +404,11 @@ module Google
447
404
  # @return [String]
448
405
  attr_accessor :alias_name
449
406
 
407
+ # A unique identifier for a cloud repo.
408
+ # Corresponds to the JSON property `repoId`
409
+ # @return [Google::Apis::ClouddebuggerV2::RepoId]
410
+ attr_accessor :repo_id
411
+
450
412
  # An alias to a repo revision.
451
413
  # Corresponds to the JSON property `aliasContext`
452
414
  # @return [Google::Apis::ClouddebuggerV2::AliasContext]
@@ -458,55 +420,25 @@ module Google
458
420
 
459
421
  # Update properties of this object
460
422
  def update!(**args)
461
- @host_uri = args[:host_uri] if args.key?(:host_uri)
462
- @gerrit_project = args[:gerrit_project] if args.key?(:gerrit_project)
463
423
  @revision_id = args[:revision_id] if args.key?(:revision_id)
464
424
  @alias_name = args[:alias_name] if args.key?(:alias_name)
425
+ @repo_id = args[:repo_id] if args.key?(:repo_id)
465
426
  @alias_context = args[:alias_context] if args.key?(:alias_context)
466
427
  end
467
428
  end
468
429
 
469
- # A GitSourceContext denotes a particular revision in a third party Git
470
- # repository (e.g. GitHub).
471
- class GitSourceContext
472
- include Google::Apis::Core::Hashable
473
-
474
- # Git repository URL.
475
- # Corresponds to the JSON property `url`
476
- # @return [String]
477
- attr_accessor :url
478
-
479
- # Git commit hash. required.
480
- # Corresponds to the JSON property `revisionId`
481
- # @return [String]
482
- attr_accessor :revision_id
483
-
484
- def initialize(**args)
485
- update!(**args)
486
- end
487
-
488
- # Update properties of this object
489
- def update!(**args)
490
- @url = args[:url] if args.key?(:url)
491
- @revision_id = args[:revision_id] if args.key?(:revision_id)
492
- end
493
- end
494
-
495
- # An ExtendedSourceContext is a SourceContext combined with additional details
496
- # describing the context.
497
- class ExtendedSourceContext
430
+ # Request to register a debuggee.
431
+ class RegisterDebuggeeRequest
498
432
  include Google::Apis::Core::Hashable
499
433
 
500
- # A SourceContext is a reference to a tree of files. A SourceContext together
501
- # with a path point to a unique revision of a single file or directory.
502
- # Corresponds to the JSON property `context`
503
- # @return [Google::Apis::ClouddebuggerV2::SourceContext]
504
- attr_accessor :context
505
-
506
- # Labels with user defined metadata.
507
- # Corresponds to the JSON property `labels`
508
- # @return [Hash<String,String>]
509
- attr_accessor :labels
434
+ # Represents the application to debug. The application may include one or more
435
+ # replicated processes executing the same code. Each of these processes is
436
+ # attached with a debugger agent, carrying out the debugging commands.
437
+ # The agents attached to the same debuggee are identified by using exactly the
438
+ # same field values when registering.
439
+ # Corresponds to the JSON property `debuggee`
440
+ # @return [Google::Apis::ClouddebuggerV2::Debuggee]
441
+ attr_accessor :debuggee
510
442
 
511
443
  def initialize(**args)
512
444
  update!(**args)
@@ -514,8 +446,7 @@ module Google
514
446
 
515
447
  # Update properties of this object
516
448
  def update!(**args)
517
- @context = args[:context] if args.key?(:context)
518
- @labels = args[:labels] if args.key?(:labels)
449
+ @debuggee = args[:debuggee] if args.key?(:debuggee)
519
450
  end
520
451
  end
521
452
 
@@ -525,9 +456,9 @@ module Google
525
456
 
526
457
  # Represents the application to debug. The application may include one or more
527
458
  # replicated processes executing the same code. Each of these processes is
528
- # attached with a debugger agent, carrying out the debugging commands. The
529
- # agents attached to the same debuggee are identified by using exactly the same
530
- # field values when registering.
459
+ # attached with a debugger agent, carrying out the debugging commands.
460
+ # The agents attached to the same debuggee are identified by using exactly the
461
+ # same field values when registering.
531
462
  # Corresponds to the JSON property `debuggee`
532
463
  # @return [Google::Apis::ClouddebuggerV2::Debuggee]
533
464
  attr_accessor :debuggee
@@ -542,28 +473,14 @@ module Google
542
473
  end
543
474
  end
544
475
 
545
- # Response for listing active breakpoints.
546
- class ListActiveBreakpointsResponse
476
+ # Response for getting breakpoint information.
477
+ class GetBreakpointResponse
547
478
  include Google::Apis::Core::Hashable
548
479
 
549
- # List of all active breakpoints. The fields `id` and `location` are guaranteed
550
- # to be set on each breakpoint.
551
- # Corresponds to the JSON property `breakpoints`
552
- # @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
553
- attr_accessor :breakpoints
554
-
555
- # A wait token that can be used in the next method call to block until the list
556
- # of breakpoints changes.
557
- # Corresponds to the JSON property `nextWaitToken`
558
- # @return [String]
559
- attr_accessor :next_wait_token
560
-
561
- # The `wait_expired` field is set to true by the server when the request times
562
- # out and the field `success_on_timeout` is set to true.
563
- # Corresponds to the JSON property `waitExpired`
564
- # @return [Boolean]
565
- attr_accessor :wait_expired
566
- alias_method :wait_expired?, :wait_expired
480
+ # Represents the breakpoint specification, status and results.
481
+ # Corresponds to the JSON property `breakpoint`
482
+ # @return [Google::Apis::ClouddebuggerV2::Breakpoint]
483
+ attr_accessor :breakpoint
567
484
 
568
485
  def initialize(**args)
569
486
  update!(**args)
@@ -571,126 +488,61 @@ module Google
571
488
 
572
489
  # Update properties of this object
573
490
  def update!(**args)
574
- @breakpoints = args[:breakpoints] if args.key?(:breakpoints)
575
- @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
576
- @wait_expired = args[:wait_expired] if args.key?(:wait_expired)
491
+ @breakpoint = args[:breakpoint] if args.key?(:breakpoint)
577
492
  end
578
493
  end
579
494
 
580
- # Represents the breakpoint specification, status and results.
581
- class Breakpoint
495
+ # Represents a contextual status message.
496
+ # The message can indicate an error or informational status, and refer to
497
+ # specific parts of the containing object.
498
+ # For example, the `Breakpoint.status` field can indicate an error referring
499
+ # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
500
+ class StatusMessage
582
501
  include Google::Apis::Core::Hashable
583
502
 
584
- # Breakpoint identifier, unique in the scope of the debuggee.
585
- # Corresponds to the JSON property `id`
586
- # @return [String]
587
- attr_accessor :id
588
-
589
- # Action that the agent should perform when the code at the breakpoint location
590
- # is hit.
591
- # Corresponds to the JSON property `action`
592
- # @return [String]
593
- attr_accessor :action
594
-
595
- # Represents a location in the source code.
596
- # Corresponds to the JSON property `location`
597
- # @return [Google::Apis::ClouddebuggerV2::SourceLocation]
598
- attr_accessor :location
599
-
600
- # Condition that triggers the breakpoint. The condition is a compound boolean
601
- # expression composed using expressions in a programming language at the source
602
- # location.
603
- # Corresponds to the JSON property `condition`
604
- # @return [String]
605
- attr_accessor :condition
503
+ # Distinguishes errors from informational messages.
504
+ # Corresponds to the JSON property `isError`
505
+ # @return [Boolean]
506
+ attr_accessor :is_error
507
+ alias_method :is_error?, :is_error
606
508
 
607
- # List of read-only expressions to evaluate at the breakpoint location. The
608
- # expressions are composed using expressions in the programming language at the
609
- # source location. If the breakpoint action is `LOG`, the evaluated expressions
610
- # are included in log statements.
611
- # Corresponds to the JSON property `expressions`
612
- # @return [Array<String>]
613
- attr_accessor :expressions
509
+ # Represents a message with parameters.
510
+ # Corresponds to the JSON property `description`
511
+ # @return [Google::Apis::ClouddebuggerV2::FormatMessage]
512
+ attr_accessor :description
614
513
 
615
- # Only relevant when action is `LOG`. Defines the message to log when the
616
- # breakpoint hits. The message may include parameter placeholders `$0`, `$1`,
617
- # etc. These placeholders are replaced with the evaluated value of the
618
- # appropriate expression. Expressions not referenced in `log_message_format` are
619
- # not logged. Example: `Message received, id = $0, count = $1` with `expressions`
620
- # = `[ message.id, message.count ]`.
621
- # Corresponds to the JSON property `logMessageFormat`
514
+ # Reference to which the message applies.
515
+ # Corresponds to the JSON property `refersTo`
622
516
  # @return [String]
623
- attr_accessor :log_message_format
517
+ attr_accessor :refers_to
624
518
 
625
- # Indicates the severity of the log. Only relevant when action is `LOG`.
626
- # Corresponds to the JSON property `logLevel`
627
- # @return [String]
628
- attr_accessor :log_level
519
+ def initialize(**args)
520
+ update!(**args)
521
+ end
629
522
 
630
- # When true, indicates that this is a final result and the breakpoint state will
631
- # not change from here on.
632
- # Corresponds to the JSON property `isFinalState`
633
- # @return [Boolean]
634
- attr_accessor :is_final_state
635
- alias_method :is_final_state?, :is_final_state
523
+ # Update properties of this object
524
+ def update!(**args)
525
+ @is_error = args[:is_error] if args.key?(:is_error)
526
+ @description = args[:description] if args.key?(:description)
527
+ @refers_to = args[:refers_to] if args.key?(:refers_to)
528
+ end
529
+ end
636
530
 
637
- # Time this breakpoint was created by the server in seconds resolution.
638
- # Corresponds to the JSON property `createTime`
639
- # @return [String]
640
- attr_accessor :create_time
531
+ # A GitSourceContext denotes a particular revision in a third party Git
532
+ # repository (e.g. GitHub).
533
+ class GitSourceContext
534
+ include Google::Apis::Core::Hashable
641
535
 
642
- # Time this breakpoint was finalized as seen by the server in seconds resolution.
643
- # Corresponds to the JSON property `finalTime`
536
+ # Git commit hash.
537
+ # required.
538
+ # Corresponds to the JSON property `revisionId`
644
539
  # @return [String]
645
- attr_accessor :final_time
540
+ attr_accessor :revision_id
646
541
 
647
- # E-mail address of the user that created this breakpoint
648
- # Corresponds to the JSON property `userEmail`
542
+ # Git repository URL.
543
+ # Corresponds to the JSON property `url`
649
544
  # @return [String]
650
- attr_accessor :user_email
651
-
652
- # Represents a contextual status message. The message can indicate an error or
653
- # informational status, and refer to specific parts of the containing object.
654
- # For example, the `Breakpoint.status` field can indicate an error referring to
655
- # the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
656
- # Corresponds to the JSON property `status`
657
- # @return [Google::Apis::ClouddebuggerV2::StatusMessage]
658
- attr_accessor :status
659
-
660
- # The stack at breakpoint time.
661
- # Corresponds to the JSON property `stackFrames`
662
- # @return [Array<Google::Apis::ClouddebuggerV2::StackFrame>]
663
- attr_accessor :stack_frames
664
-
665
- # Values of evaluated expressions at breakpoint time. The evaluated expressions
666
- # appear in exactly the same order they are listed in the `expressions` field.
667
- # The `name` field holds the original expression text, the `value` or `members`
668
- # field holds the result of the evaluated expression. If the expression cannot
669
- # be evaluated, the `status` inside the `Variable` will indicate an error and
670
- # contain the error text.
671
- # Corresponds to the JSON property `evaluatedExpressions`
672
- # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
673
- attr_accessor :evaluated_expressions
674
-
675
- # The `variable_table` exists to aid with computation, memory and network
676
- # traffic optimization. It enables storing a variable once and reference it from
677
- # multiple variables, including variables stored in the `variable_table` itself.
678
- # For example, the same `this` object, which may appear at many levels of the
679
- # stack, can have all of its data stored once in this table. The stack frame
680
- # variables then would hold only a reference to it. The variable `
681
- # var_table_index` field is an index into this repeated field. The stored
682
- # objects are nameless and get their name from the referencing variable. The
683
- # effective variable is a merge of the referencing variable and the referenced
684
- # variable.
685
- # Corresponds to the JSON property `variableTable`
686
- # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
687
- attr_accessor :variable_table
688
-
689
- # A set of custom breakpoint properties, populated by the agent, to be displayed
690
- # to the user.
691
- # Corresponds to the JSON property `labels`
692
- # @return [Hash<String,String>]
693
- attr_accessor :labels
545
+ attr_accessor :url
694
546
 
695
547
  def initialize(**args)
696
548
  update!(**args)
@@ -698,38 +550,134 @@ module Google
698
550
 
699
551
  # Update properties of this object
700
552
  def update!(**args)
701
- @id = args[:id] if args.key?(:id)
702
- @action = args[:action] if args.key?(:action)
703
- @location = args[:location] if args.key?(:location)
704
- @condition = args[:condition] if args.key?(:condition)
705
- @expressions = args[:expressions] if args.key?(:expressions)
706
- @log_message_format = args[:log_message_format] if args.key?(:log_message_format)
707
- @log_level = args[:log_level] if args.key?(:log_level)
708
- @is_final_state = args[:is_final_state] if args.key?(:is_final_state)
709
- @create_time = args[:create_time] if args.key?(:create_time)
710
- @final_time = args[:final_time] if args.key?(:final_time)
711
- @user_email = args[:user_email] if args.key?(:user_email)
712
- @status = args[:status] if args.key?(:status)
713
- @stack_frames = args[:stack_frames] if args.key?(:stack_frames)
714
- @evaluated_expressions = args[:evaluated_expressions] if args.key?(:evaluated_expressions)
715
- @variable_table = args[:variable_table] if args.key?(:variable_table)
716
- @labels = args[:labels] if args.key?(:labels)
553
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
554
+ @url = args[:url] if args.key?(:url)
717
555
  end
718
556
  end
719
557
 
720
- # Represents a location in the source code.
721
- class SourceLocation
558
+ # Represents a variable or an argument possibly of a compound object type.
559
+ # Note how the following variables are represented:
560
+ # 1) A simple variable:
561
+ # int x = 5
562
+ # ` name: "x", value: "5", type: "int" ` // Captured variable
563
+ # 2) A compound object:
564
+ # struct T `
565
+ # int m1;
566
+ # int m2;
567
+ # `;
568
+ # T x = ` 3, 7 `;
569
+ # ` // Captured variable
570
+ # name: "x",
571
+ # type: "T",
572
+ # members ` name: "m1", value: "3", type: "int" `,
573
+ # members ` name: "m2", value: "7", type: "int" `
574
+ # `
575
+ # 3) A pointer where the pointee was captured:
576
+ # T x = ` 3, 7 `;
577
+ # T* p = &x;
578
+ # ` // Captured variable
579
+ # name: "p",
580
+ # type: "T*",
581
+ # value: "0x00500500",
582
+ # members ` name: "m1", value: "3", type: "int" `,
583
+ # members ` name: "m2", value: "7", type: "int" `
584
+ # `
585
+ # 4) A pointer where the pointee was not captured:
586
+ # T* p = new T;
587
+ # ` // Captured variable
588
+ # name: "p",
589
+ # type: "T*",
590
+ # value: "0x00400400"
591
+ # status ` is_error: true, description ` format: "unavailable" ` `
592
+ # `
593
+ # The status should describe the reason for the missing value,
594
+ # such as `<optimized out>`, `<inaccessible>`, `<pointers limit reached>`.
595
+ # Note that a null pointer should not have members.
596
+ # 5) An unnamed value:
597
+ # int* p = new int(7);
598
+ # ` // Captured variable
599
+ # name: "p",
600
+ # value: "0x00500500",
601
+ # type: "int*",
602
+ # members ` value: "7", type: "int" ` `
603
+ # 6) An unnamed pointer where the pointee was not captured:
604
+ # int* p = new int(7);
605
+ # int** pp = &p;
606
+ # ` // Captured variable
607
+ # name: "pp",
608
+ # value: "0x00500500",
609
+ # type: "int**",
610
+ # members `
611
+ # value: "0x00400400",
612
+ # type: "int*"
613
+ # status `
614
+ # is_error: true,
615
+ # description: ` format: "unavailable" ` `
616
+ # `
617
+ # `
618
+ # `
619
+ # To optimize computation, memory and network traffic, variables that
620
+ # repeat in the output multiple times can be stored once in a shared
621
+ # variable table and be referenced using the `var_table_index` field. The
622
+ # variables stored in the shared table are nameless and are essentially
623
+ # a partition of the complete variable. To reconstruct the complete
624
+ # variable, merge the referencing variable with the referenced variable.
625
+ # When using the shared variable table, the following variables:
626
+ # T x = ` 3, 7 `;
627
+ # T* p = &x;
628
+ # T& r = x;
629
+ # ` name: "x", var_table_index: 3, type: "T" ` // Captured variables
630
+ # ` name: "p", value "0x00500500", type="T*", var_table_index: 3 `
631
+ # ` name: "r", type="T&", var_table_index: 3 `
632
+ # ` // Shared variable table entry #3:
633
+ # members ` name: "m1", value: "3", type: "int" `,
634
+ # members ` name: "m2", value: "7", type: "int" `
635
+ # `
636
+ # Note that the pointer address is stored with the referencing variable
637
+ # and not with the referenced variable. This allows the referenced variable
638
+ # to be shared between pointers and references.
639
+ # The type field is optional. The debugger agent may or may not support it.
640
+ class Variable
722
641
  include Google::Apis::Core::Hashable
723
642
 
724
- # Path to the source file within the source context of the target binary.
725
- # Corresponds to the JSON property `path`
643
+ # Reference to a variable in the shared variable table. More than
644
+ # one variable can reference the same variable in the table. The
645
+ # `var_table_index` field is an index into `variable_table` in Breakpoint.
646
+ # Corresponds to the JSON property `varTableIndex`
647
+ # @return [Fixnum]
648
+ attr_accessor :var_table_index
649
+
650
+ # Simple value of the variable.
651
+ # Corresponds to the JSON property `value`
726
652
  # @return [String]
727
- attr_accessor :path
653
+ attr_accessor :value
728
654
 
729
- # Line inside the file. The first line in the file has the value `1`.
730
- # Corresponds to the JSON property `line`
731
- # @return [Fixnum]
732
- attr_accessor :line
655
+ # Members contained or pointed to by the variable.
656
+ # Corresponds to the JSON property `members`
657
+ # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
658
+ attr_accessor :members
659
+
660
+ # Represents a contextual status message.
661
+ # The message can indicate an error or informational status, and refer to
662
+ # specific parts of the containing object.
663
+ # For example, the `Breakpoint.status` field can indicate an error referring
664
+ # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
665
+ # Corresponds to the JSON property `status`
666
+ # @return [Google::Apis::ClouddebuggerV2::StatusMessage]
667
+ attr_accessor :status
668
+
669
+ # Name of the variable, if any.
670
+ # Corresponds to the JSON property `name`
671
+ # @return [String]
672
+ attr_accessor :name
673
+
674
+ # Variable type (e.g. `MyClass`). If the variable is split with
675
+ # `var_table_index`, `type` goes next to `value`. The interpretation of
676
+ # a type is agent specific. It is recommended to include the dynamic type
677
+ # rather than a static type of an object.
678
+ # Corresponds to the JSON property `type`
679
+ # @return [String]
680
+ attr_accessor :type
733
681
 
734
682
  def initialize(**args)
735
683
  update!(**args)
@@ -737,8 +685,12 @@ module Google
737
685
 
738
686
  # Update properties of this object
739
687
  def update!(**args)
740
- @path = args[:path] if args.key?(:path)
741
- @line = args[:line] if args.key?(:line)
688
+ @var_table_index = args[:var_table_index] if args.key?(:var_table_index)
689
+ @value = args[:value] if args.key?(:value)
690
+ @members = args[:members] if args.key?(:members)
691
+ @status = args[:status] if args.key?(:status)
692
+ @name = args[:name] if args.key?(:name)
693
+ @type = args[:type] if args.key?(:type)
742
694
  end
743
695
  end
744
696
 
@@ -751,23 +703,23 @@ module Google
751
703
  # @return [String]
752
704
  attr_accessor :function
753
705
 
754
- # Represents a location in the source code.
755
- # Corresponds to the JSON property `location`
756
- # @return [Google::Apis::ClouddebuggerV2::SourceLocation]
757
- attr_accessor :location
758
-
759
- # Set of arguments passed to this function. Note that this might not be
760
- # populated for all stack frames.
706
+ # Set of arguments passed to this function.
707
+ # Note that this might not be populated for all stack frames.
761
708
  # Corresponds to the JSON property `arguments`
762
709
  # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
763
710
  attr_accessor :arguments
764
711
 
765
- # Set of local variables at the stack frame location. Note that this might not
766
- # be populated for all stack frames.
712
+ # Set of local variables at the stack frame location.
713
+ # Note that this might not be populated for all stack frames.
767
714
  # Corresponds to the JSON property `locals`
768
715
  # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
769
716
  attr_accessor :locals
770
717
 
718
+ # Represents a location in the source code.
719
+ # Corresponds to the JSON property `location`
720
+ # @return [Google::Apis::ClouddebuggerV2::SourceLocation]
721
+ attr_accessor :location
722
+
771
723
  def initialize(**args)
772
724
  update!(**args)
773
725
  end
@@ -775,85 +727,57 @@ module Google
775
727
  # Update properties of this object
776
728
  def update!(**args)
777
729
  @function = args[:function] if args.key?(:function)
778
- @location = args[:location] if args.key?(:location)
779
730
  @arguments = args[:arguments] if args.key?(:arguments)
780
731
  @locals = args[:locals] if args.key?(:locals)
732
+ @location = args[:location] if args.key?(:location)
781
733
  end
782
734
  end
783
735
 
784
- # Represents a variable or an argument possibly of a compound object type. Note
785
- # how the following variables are represented: 1) A simple variable: int x = 5 `
786
- # name: "x", value: "5", type: "int" ` // Captured variable 2) A compound object:
787
- # struct T ` int m1; int m2; `; T x = ` 3, 7 `; ` // Captured variable name: "x"
788
- # , type: "T", members ` name: "m1", value: "3", type: "int" `, members ` name: "
789
- # m2", value: "7", type: "int" ` ` 3) A pointer where the pointee was captured:
790
- # T x = ` 3, 7 `; T* p = &x; ` // Captured variable name: "p", type: "T*", value:
791
- # "0x00500500", members ` name: "m1", value: "3", type: "int" `, members ` name:
792
- # "m2", value: "7", type: "int" ` ` 4) A pointer where the pointee was not
793
- # captured: T* p = new T; ` // Captured variable name: "p", type: "T*", value: "
794
- # 0x00400400" status ` is_error: true, description ` format: "unavailable" ` ` `
795
- # The status should describe the reason for the missing value, such as ``, ``, `
796
- # `. Note that a null pointer should not have members. 5) An unnamed value: int*
797
- # p = new int(7); ` // Captured variable name: "p", value: "0x00500500", type: "
798
- # int*", members ` value: "7", type: "int" ` ` 6) An unnamed pointer where the
799
- # pointee was not captured: int* p = new int(7); int** pp = &p; ` // Captured
800
- # variable name: "pp", value: "0x00500500", type: "int**", members ` value: "
801
- # 0x00400400", type: "int*" status ` is_error: true, description: ` format: "
802
- # unavailable" ` ` ` ` ` To optimize computation, memory and network traffic,
803
- # variables that repeat in the output multiple times can be stored once in a
804
- # shared variable table and be referenced using the `var_table_index` field. The
805
- # variables stored in the shared table are nameless and are essentially a
806
- # partition of the complete variable. To reconstruct the complete variable,
807
- # merge the referencing variable with the referenced variable. When using the
808
- # shared variable table, the following variables: T x = ` 3, 7 `; T* p = &x; T&
809
- # r = x; ` name: "x", var_table_index: 3, type: "T" ` // Captured variables `
810
- # name: "p", value "0x00500500", type="T*", var_table_index: 3 ` ` name: "r",
811
- # type="T&", var_table_index: 3 ` ` // Shared variable table entry #3: members `
812
- # name: "m1", value: "3", type: "int" `, members ` name: "m2", value: "7", type:
813
- # "int" ` ` Note that the pointer address is stored with the referencing
814
- # variable and not with the referenced variable. This allows the referenced
815
- # variable to be shared between pointers and references. The type field is
816
- # optional. The debugger agent may or may not support it.
817
- class Variable
736
+ # A unique identifier for a cloud repo.
737
+ class RepoId
818
738
  include Google::Apis::Core::Hashable
819
739
 
820
- # Name of the variable, if any.
821
- # Corresponds to the JSON property `name`
740
+ # A server-assigned, globally unique identifier.
741
+ # Corresponds to the JSON property `uid`
822
742
  # @return [String]
823
- attr_accessor :name
743
+ attr_accessor :uid
824
744
 
825
- # Simple value of the variable.
826
- # Corresponds to the JSON property `value`
827
- # @return [String]
828
- attr_accessor :value
745
+ # Selects a repo using a Google Cloud Platform project ID
746
+ # (e.g. winged-cargo-31) and a repo name within that project.
747
+ # Corresponds to the JSON property `projectRepoId`
748
+ # @return [Google::Apis::ClouddebuggerV2::ProjectRepoId]
749
+ attr_accessor :project_repo_id
829
750
 
830
- # Variable type (e.g. `MyClass`). If the variable is split with `var_table_index`
831
- # , `type` goes next to `value`. The interpretation of a type is agent specific.
832
- # It is recommended to include the dynamic type rather than a static type of an
833
- # object.
834
- # Corresponds to the JSON property `type`
835
- # @return [String]
836
- attr_accessor :type
751
+ def initialize(**args)
752
+ update!(**args)
753
+ end
837
754
 
838
- # Members contained or pointed to by the variable.
839
- # Corresponds to the JSON property `members`
840
- # @return [Array<Google::Apis::ClouddebuggerV2::Variable>]
841
- attr_accessor :members
755
+ # Update properties of this object
756
+ def update!(**args)
757
+ @uid = args[:uid] if args.key?(:uid)
758
+ @project_repo_id = args[:project_repo_id] if args.key?(:project_repo_id)
759
+ end
760
+ end
842
761
 
843
- # Reference to a variable in the shared variable table. More than one variable
844
- # can reference the same variable in the table. The `var_table_index` field is
845
- # an index into `variable_table` in Breakpoint.
846
- # Corresponds to the JSON property `varTableIndex`
847
- # @return [Fixnum]
848
- attr_accessor :var_table_index
762
+ # Represents a message with parameters.
763
+ class FormatMessage
764
+ include Google::Apis::Core::Hashable
849
765
 
850
- # Represents a contextual status message. The message can indicate an error or
851
- # informational status, and refer to specific parts of the containing object.
852
- # For example, the `Breakpoint.status` field can indicate an error referring to
853
- # the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
854
- # Corresponds to the JSON property `status`
855
- # @return [Google::Apis::ClouddebuggerV2::StatusMessage]
856
- attr_accessor :status
766
+ # Optional parameters to be embedded into the message.
767
+ # Corresponds to the JSON property `parameters`
768
+ # @return [Array<String>]
769
+ attr_accessor :parameters
770
+
771
+ # Format template for the message. The `format` uses placeholders `$0`,
772
+ # `$1`, etc. to reference parameters. `$$` can be used to denote the `$`
773
+ # character.
774
+ # Examples:
775
+ # * `Failed to load '$0' which helps debug $1 the first time it
776
+ # is loaded. Again, $0 is very important.`
777
+ # * `Please pay $$10 to use $0 instead of $1.`
778
+ # Corresponds to the JSON property `format`
779
+ # @return [String]
780
+ attr_accessor :format
857
781
 
858
782
  def initialize(**args)
859
783
  update!(**args)
@@ -861,23 +785,26 @@ module Google
861
785
 
862
786
  # Update properties of this object
863
787
  def update!(**args)
864
- @name = args[:name] if args.key?(:name)
865
- @value = args[:value] if args.key?(:value)
866
- @type = args[:type] if args.key?(:type)
867
- @members = args[:members] if args.key?(:members)
868
- @var_table_index = args[:var_table_index] if args.key?(:var_table_index)
869
- @status = args[:status] if args.key?(:status)
788
+ @parameters = args[:parameters] if args.key?(:parameters)
789
+ @format = args[:format] if args.key?(:format)
870
790
  end
871
791
  end
872
792
 
873
- # Request to update an active breakpoint.
874
- class UpdateActiveBreakpointRequest
793
+ # An ExtendedSourceContext is a SourceContext combined with additional
794
+ # details describing the context.
795
+ class ExtendedSourceContext
875
796
  include Google::Apis::Core::Hashable
876
797
 
877
- # Represents the breakpoint specification, status and results.
878
- # Corresponds to the JSON property `breakpoint`
879
- # @return [Google::Apis::ClouddebuggerV2::Breakpoint]
880
- attr_accessor :breakpoint
798
+ # A SourceContext is a reference to a tree of files. A SourceContext together
799
+ # with a path point to a unique revision of a single file or directory.
800
+ # Corresponds to the JSON property `context`
801
+ # @return [Google::Apis::ClouddebuggerV2::SourceContext]
802
+ attr_accessor :context
803
+
804
+ # Labels with user defined metadata.
805
+ # Corresponds to the JSON property `labels`
806
+ # @return [Hash<String,String>]
807
+ attr_accessor :labels
881
808
 
882
809
  def initialize(**args)
883
810
  update!(**args)
@@ -885,32 +812,47 @@ module Google
885
812
 
886
813
  # Update properties of this object
887
814
  def update!(**args)
888
- @breakpoint = args[:breakpoint] if args.key?(:breakpoint)
815
+ @context = args[:context] if args.key?(:context)
816
+ @labels = args[:labels] if args.key?(:labels)
889
817
  end
890
818
  end
891
819
 
892
- # Response for updating an active breakpoint. The message is defined to allow
893
- # future extensions.
894
- class UpdateActiveBreakpointResponse
820
+ # Response for listing debuggees.
821
+ class ListDebuggeesResponse
895
822
  include Google::Apis::Core::Hashable
896
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
+
897
833
  def initialize(**args)
898
834
  update!(**args)
899
835
  end
900
836
 
901
837
  # Update properties of this object
902
838
  def update!(**args)
839
+ @debuggees = args[:debuggees] if args.key?(:debuggees)
903
840
  end
904
841
  end
905
842
 
906
- # Response for setting a breakpoint.
907
- class SetBreakpointResponse
843
+ # An alias to a repo revision.
844
+ class AliasContext
908
845
  include Google::Apis::Core::Hashable
909
846
 
910
- # Represents the breakpoint specification, status and results.
911
- # Corresponds to the JSON property `breakpoint`
912
- # @return [Google::Apis::ClouddebuggerV2::Breakpoint]
913
- attr_accessor :breakpoint
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
914
856
 
915
857
  def initialize(**args)
916
858
  update!(**args)
@@ -918,18 +860,43 @@ module Google
918
860
 
919
861
  # Update properties of this object
920
862
  def update!(**args)
921
- @breakpoint = args[:breakpoint] if args.key?(:breakpoint)
863
+ @name = args[:name] if args.key?(:name)
864
+ @kind = args[:kind] if args.key?(:kind)
922
865
  end
923
866
  end
924
867
 
925
- # Response for getting breakpoint information.
926
- class GetBreakpointResponse
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
927
876
  include Google::Apis::Core::Hashable
928
877
 
929
- # Represents the breakpoint specification, status and results.
930
- # Corresponds to the JSON property `breakpoint`
931
- # @return [Google::Apis::ClouddebuggerV2::Breakpoint]
932
- attr_accessor :breakpoint
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
+ # Path to the source file within the source context of the target binary.
892
+ # Corresponds to the JSON property `path`
893
+ # @return [String]
894
+ attr_accessor :path
895
+
896
+ # Line inside the file. The first line in the file has the value `1`.
897
+ # Corresponds to the JSON property `line`
898
+ # @return [Fixnum]
899
+ attr_accessor :line
933
900
 
934
901
  def initialize(**args)
935
902
  update!(**args)
@@ -937,42 +904,132 @@ module Google
937
904
 
938
905
  # Update properties of this object
939
906
  def update!(**args)
940
- @breakpoint = args[:breakpoint] if args.key?(:breakpoint)
907
+ @path = args[:path] if args.key?(:path)
908
+ @line = args[:line] if args.key?(:line)
941
909
  end
942
910
  end
943
911
 
944
- # A generic empty message that you can re-use to avoid defining duplicated empty
945
- # messages in your APIs. A typical example is to use it as the request or the
946
- # response type of an API method. For instance: service Foo ` rpc Bar(google.
947
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
948
- # `Empty` is empty JSON object ````.
949
- class Empty
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
950
918
  include Google::Apis::Core::Hashable
951
919
 
920
+ # Unique identifier for the debuggee generated by the controller service.
921
+ # Corresponds to the JSON property `id`
922
+ # @return [String]
923
+ attr_accessor :id
924
+
925
+ # Version ID of the agent release. The version ID is structured as
926
+ # following: `domain/type/vmajor.minor` (for example
927
+ # `google.com/gcp-java/v1.1`).
928
+ # Corresponds to the JSON property `agentVersion`
929
+ # @return [String]
930
+ attr_accessor :agent_version
931
+
932
+ # If set to `true`, indicates that the agent should disable itself and
933
+ # detach from the debuggee.
934
+ # Corresponds to the JSON property `isDisabled`
935
+ # @return [Boolean]
936
+ attr_accessor :is_disabled
937
+ alias_method :is_disabled?, :is_disabled
938
+
939
+ # Debuggee uniquifier within the project.
940
+ # Any string that identifies the application within the project can be used.
941
+ # Including environment and version or build IDs is recommended.
942
+ # Corresponds to the JSON property `uniquifier`
943
+ # @return [String]
944
+ attr_accessor :uniquifier
945
+
946
+ # Human readable description of the debuggee.
947
+ # Including a human-readable project name, environment name and version
948
+ # information is recommended.
949
+ # Corresponds to the JSON property `description`
950
+ # @return [String]
951
+ attr_accessor :description
952
+
953
+ # References to the locations and revisions of the source code used in the
954
+ # deployed application.
955
+ # NOTE: This field is deprecated. Consumers should use
956
+ # `ext_source_contexts` if it is not empty. Debug agents should populate
957
+ # both this field and `ext_source_contexts`.
958
+ # Corresponds to the JSON property `sourceContexts`
959
+ # @return [Array<Google::Apis::ClouddebuggerV2::SourceContext>]
960
+ attr_accessor :source_contexts
961
+
962
+ # References to the locations and revisions of the source code used in the
963
+ # deployed application.
964
+ # Contexts describing a remote repo related to the source code
965
+ # have a `category` label of `remote_repo`. Source snapshot source
966
+ # contexts have a `category` of `snapshot`.
967
+ # Corresponds to the JSON property `extSourceContexts`
968
+ # @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
969
+ attr_accessor :ext_source_contexts
970
+
971
+ # A set of custom debuggee properties, populated by the agent, to be
972
+ # displayed to the user.
973
+ # Corresponds to the JSON property `labels`
974
+ # @return [Hash<String,String>]
975
+ attr_accessor :labels
976
+
977
+ # Represents a contextual status message.
978
+ # The message can indicate an error or informational status, and refer to
979
+ # specific parts of the containing object.
980
+ # For example, the `Breakpoint.status` field can indicate an error referring
981
+ # to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`.
982
+ # Corresponds to the JSON property `status`
983
+ # @return [Google::Apis::ClouddebuggerV2::StatusMessage]
984
+ attr_accessor :status
985
+
986
+ # If set to `true`, indicates that the debuggee is considered as inactive by
987
+ # the Controller service.
988
+ # Corresponds to the JSON property `isInactive`
989
+ # @return [Boolean]
990
+ attr_accessor :is_inactive
991
+ alias_method :is_inactive?, :is_inactive
992
+
993
+ # Project the debuggee is associated with.
994
+ # Use the project number when registering a Google Cloud Platform project.
995
+ # Corresponds to the JSON property `project`
996
+ # @return [String]
997
+ attr_accessor :project
998
+
952
999
  def initialize(**args)
953
1000
  update!(**args)
954
1001
  end
955
1002
 
956
1003
  # Update properties of this object
957
1004
  def update!(**args)
1005
+ @id = args[:id] if args.key?(:id)
1006
+ @agent_version = args[:agent_version] if args.key?(:agent_version)
1007
+ @is_disabled = args[:is_disabled] if args.key?(:is_disabled)
1008
+ @uniquifier = args[:uniquifier] if args.key?(:uniquifier)
1009
+ @description = args[:description] if args.key?(:description)
1010
+ @source_contexts = args[:source_contexts] if args.key?(:source_contexts)
1011
+ @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts)
1012
+ @labels = args[:labels] if args.key?(:labels)
1013
+ @status = args[:status] if args.key?(:status)
1014
+ @is_inactive = args[:is_inactive] if args.key?(:is_inactive)
1015
+ @project = args[:project] if args.key?(:project)
958
1016
  end
959
1017
  end
960
1018
 
961
- # Response for listing breakpoints.
962
- class ListBreakpointsResponse
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
963
1022
  include Google::Apis::Core::Hashable
964
1023
 
965
- # List of all breakpoints with complete state. The fields `id` and `location`
966
- # are guaranteed to be set on each breakpoint.
967
- # Corresponds to the JSON property `breakpoints`
968
- # @return [Array<Google::Apis::ClouddebuggerV2::Breakpoint>]
969
- attr_accessor :breakpoints
1024
+ # The ID of the project.
1025
+ # Corresponds to the JSON property `projectId`
1026
+ # @return [String]
1027
+ attr_accessor :project_id
970
1028
 
971
- # A wait token that can be used in the next call to `list` (REST) or `
972
- # ListBreakpoints` (RPC) to block until the list of breakpoints has changes.
973
- # Corresponds to the JSON property `nextWaitToken`
1029
+ # The name of the repo. Leave empty for the default repo.
1030
+ # Corresponds to the JSON property `repoName`
974
1031
  # @return [String]
975
- attr_accessor :next_wait_token
1032
+ attr_accessor :repo_name
976
1033
 
977
1034
  def initialize(**args)
978
1035
  update!(**args)
@@ -980,22 +1037,33 @@ module Google
980
1037
 
981
1038
  # Update properties of this object
982
1039
  def update!(**args)
983
- @breakpoints = args[:breakpoints] if args.key?(:breakpoints)
984
- @next_wait_token = args[:next_wait_token] if args.key?(:next_wait_token)
1040
+ @project_id = args[:project_id] if args.key?(:project_id)
1041
+ @repo_name = args[:repo_name] if args.key?(:repo_name)
985
1042
  end
986
1043
  end
987
1044
 
988
- # Response for listing debuggees.
989
- class ListDebuggeesResponse
1045
+ # Response for listing active breakpoints.
1046
+ class ListActiveBreakpointsResponse
990
1047
  include Google::Apis::Core::Hashable
991
1048
 
992
- # List of debuggees accessible to the calling user. Note that the `description`
993
- # field is the only human readable field that should be displayed to the user.
994
- # The fields `debuggee.id` and `description` fields are guaranteed to be set on
995
- # each debuggee.
996
- # Corresponds to the JSON property `debuggees`
997
- # @return [Array<Google::Apis::ClouddebuggerV2::Debuggee>]
998
- attr_accessor :debuggees
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
999
1067
 
1000
1068
  def initialize(**args)
1001
1069
  update!(**args)
@@ -1003,7 +1071,9 @@ module Google
1003
1071
 
1004
1072
  # Update properties of this object
1005
1073
  def update!(**args)
1006
- @debuggees = args[:debuggees] if args.key?(:debuggees)
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)
1007
1077
  end
1008
1078
  end
1009
1079
  end