google-api-client 0.12.0 → 0.13.0

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