google-api-client 0.11.2 → 0.11.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (246) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -1
  3. data/README.md +6 -0
  4. data/api_names.yaml +1 -0
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +38 -38
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +13 -13
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +201 -201
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +46 -46
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +119 -119
  12. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +52 -9
  14. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +9 -0
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +926 -926
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +149 -149
  19. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  20. data/generated/google/apis/androidenterprise_v1/classes.rb +18 -11
  21. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/appengine_v1.rb +1 -1
  24. data/generated/google/apis/appengine_v1/classes.rb +1487 -1487
  25. data/generated/google/apis/appengine_v1/representations.rb +229 -229
  26. data/generated/google/apis/appengine_v1/service.rb +188 -188
  27. data/generated/google/apis/appstate_v1.rb +1 -1
  28. data/generated/google/apis/bigquery_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2/classes.rb +15 -10
  30. data/generated/google/apis/calendar_v3.rb +1 -1
  31. data/generated/google/apis/calendar_v3/service.rb +10 -4
  32. data/generated/google/apis/classroom_v1.rb +26 -17
  33. data/generated/google/apis/classroom_v1/classes.rb +990 -990
  34. data/generated/google/apis/classroom_v1/representations.rb +239 -239
  35. data/generated/google/apis/classroom_v1/service.rb +853 -853
  36. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  37. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  38. data/generated/google/apis/cloudbuild_v1/classes.rb +627 -627
  39. data/generated/google/apis/cloudbuild_v1/representations.rb +116 -116
  40. data/generated/google/apis/cloudbuild_v1/service.rb +162 -157
  41. data/generated/google/apis/clouddebugger_v2/classes.rb +258 -258
  42. data/generated/google/apis/clouddebugger_v2/representations.rb +80 -80
  43. data/generated/google/apis/clouddebugger_v2/service.rb +163 -163
  44. data/generated/google/apis/clouderrorreporting_v1beta1.rb +3 -4
  45. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +202 -167
  46. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +53 -37
  47. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +50 -51
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudkms_v1.rb +1 -1
  50. data/generated/google/apis/cloudkms_v1/classes.rb +628 -622
  51. data/generated/google/apis/cloudkms_v1/representations.rb +134 -133
  52. data/generated/google/apis/cloudkms_v1/service.rb +190 -190
  53. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +835 -835
  55. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +138 -138
  56. data/generated/google/apis/cloudresourcemanager_v1/service.rb +474 -474
  57. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +386 -386
  59. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +75 -75
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +64 -64
  61. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  62. data/generated/google/apis/cloudtrace_v1/classes.rb +114 -114
  63. data/generated/google/apis/cloudtrace_v1/representations.rb +23 -23
  64. data/generated/google/apis/cloudtrace_v1/service.rb +14 -14
  65. data/generated/google/apis/compute_beta.rb +1 -1
  66. data/generated/google/apis/compute_beta/classes.rb +66 -25
  67. data/generated/google/apis/compute_beta/representations.rb +16 -0
  68. data/generated/google/apis/compute_beta/service.rb +85 -3
  69. data/generated/google/apis/compute_v1.rb +1 -1
  70. data/generated/google/apis/compute_v1/classes.rb +375 -24
  71. data/generated/google/apis/compute_v1/representations.rb +155 -0
  72. data/generated/google/apis/compute_v1/service.rb +481 -3
  73. data/generated/google/apis/container_v1.rb +1 -1
  74. data/generated/google/apis/container_v1/classes.rb +301 -301
  75. data/generated/google/apis/container_v1/representations.rb +59 -59
  76. data/generated/google/apis/container_v1/service.rb +178 -178
  77. data/generated/google/apis/content_v2.rb +1 -1
  78. data/generated/google/apis/content_v2/classes.rb +37 -2
  79. data/generated/google/apis/content_v2/representations.rb +15 -0
  80. data/generated/google/apis/content_v2/service.rb +58 -3
  81. data/generated/google/apis/dataflow_v1b3.rb +4 -1
  82. data/generated/google/apis/dataflow_v1b3/classes.rb +3514 -3279
  83. data/generated/google/apis/dataflow_v1b3/representations.rb +530 -440
  84. data/generated/google/apis/dataflow_v1b3/service.rb +378 -137
  85. data/generated/google/apis/dataproc_v1.rb +1 -1
  86. data/generated/google/apis/dataproc_v1/classes.rb +446 -446
  87. data/generated/google/apis/dataproc_v1/representations.rb +96 -96
  88. data/generated/google/apis/dataproc_v1/service.rb +302 -302
  89. data/generated/google/apis/datastore_v1.rb +1 -1
  90. data/generated/google/apis/datastore_v1/classes.rb +370 -374
  91. data/generated/google/apis/datastore_v1/representations.rb +120 -120
  92. data/generated/google/apis/datastore_v1/service.rb +62 -62
  93. data/generated/google/apis/dns_v1.rb +1 -1
  94. data/generated/google/apis/dns_v2beta1.rb +1 -1
  95. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -0
  96. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  97. data/generated/google/apis/drive_v2.rb +1 -1
  98. data/generated/google/apis/drive_v2/classes.rb +24 -21
  99. data/generated/google/apis/drive_v3.rb +1 -1
  100. data/generated/google/apis/drive_v3/classes.rb +24 -22
  101. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  102. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +148 -149
  103. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +42 -42
  104. data/generated/google/apis/firebaserules_v1/classes.rb +71 -71
  105. data/generated/google/apis/firebaserules_v1/representations.rb +22 -22
  106. data/generated/google/apis/firebaserules_v1/service.rb +68 -68
  107. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  108. data/generated/google/apis/games_management_v1management.rb +1 -1
  109. data/generated/google/apis/games_v1.rb +1 -1
  110. data/generated/google/apis/genomics_v1.rb +1 -1
  111. data/generated/google/apis/genomics_v1/classes.rb +2348 -2348
  112. data/generated/google/apis/genomics_v1/representations.rb +430 -430
  113. data/generated/google/apis/genomics_v1/service.rb +1159 -1159
  114. data/generated/google/apis/gmail_v1.rb +1 -1
  115. data/generated/google/apis/gmail_v1/service.rb +2 -2
  116. data/generated/google/apis/iam_v1.rb +1 -1
  117. data/generated/google/apis/iam_v1/classes.rb +305 -298
  118. data/generated/google/apis/iam_v1/representations.rb +97 -96
  119. data/generated/google/apis/iam_v1/service.rb +86 -86
  120. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  121. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  122. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  123. data/generated/google/apis/language_v1.rb +4 -4
  124. data/generated/google/apis/language_v1/classes.rb +452 -452
  125. data/generated/google/apis/language_v1/representations.rb +93 -93
  126. data/generated/google/apis/language_v1/service.rb +48 -48
  127. data/generated/google/apis/language_v1beta1.rb +4 -4
  128. data/generated/google/apis/language_v1beta1/classes.rb +84 -84
  129. data/generated/google/apis/language_v1beta1/representations.rb +22 -22
  130. data/generated/google/apis/language_v1beta1/service.rb +3 -3
  131. data/generated/google/apis/logging_v2.rb +1 -1
  132. data/generated/google/apis/logging_v2/classes.rb +884 -873
  133. data/generated/google/apis/logging_v2/representations.rb +167 -166
  134. data/generated/google/apis/logging_v2/service.rb +430 -430
  135. data/generated/google/apis/logging_v2beta1.rb +1 -1
  136. data/generated/google/apis/logging_v2beta1/classes.rb +550 -539
  137. data/generated/google/apis/logging_v2beta1/representations.rb +124 -123
  138. data/generated/google/apis/logging_v2beta1/service.rb +292 -292
  139. data/generated/google/apis/manufacturers_v1/classes.rb +322 -322
  140. data/generated/google/apis/manufacturers_v1/representations.rb +66 -66
  141. data/generated/google/apis/ml_v1.rb +1 -1
  142. data/generated/google/apis/ml_v1/classes.rb +501 -494
  143. data/generated/google/apis/ml_v1/representations.rb +92 -91
  144. data/generated/google/apis/ml_v1/service.rb +190 -190
  145. data/generated/google/apis/monitoring_v3.rb +1 -1
  146. data/generated/google/apis/monitoring_v3/classes.rb +878 -878
  147. data/generated/google/apis/monitoring_v3/representations.rb +176 -176
  148. data/generated/google/apis/monitoring_v3/service.rb +223 -262
  149. data/generated/google/apis/oauth2_v2.rb +1 -1
  150. data/generated/google/apis/partners_v2.rb +1 -1
  151. data/generated/google/apis/partners_v2/classes.rb +1506 -1506
  152. data/generated/google/apis/partners_v2/representations.rb +370 -370
  153. data/generated/google/apis/partners_v2/service.rb +393 -393
  154. data/generated/google/apis/people_v1.rb +13 -13
  155. data/generated/google/apis/people_v1/classes.rb +597 -594
  156. data/generated/google/apis/people_v1/representations.rb +121 -121
  157. data/generated/google/apis/people_v1/service.rb +39 -48
  158. data/generated/google/apis/plus_domains_v1.rb +1 -1
  159. data/generated/google/apis/plus_v1.rb +1 -1
  160. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  161. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +323 -327
  162. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +100 -100
  163. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +184 -184
  164. data/generated/google/apis/pubsub_v1.rb +1 -1
  165. data/generated/google/apis/pubsub_v1/classes.rb +178 -178
  166. data/generated/google/apis/pubsub_v1/representations.rb +55 -55
  167. data/generated/google/apis/pubsub_v1/service.rb +357 -357
  168. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  169. data/generated/google/apis/runtimeconfig_v1/classes.rb +20 -20
  170. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  171. data/generated/google/apis/runtimeconfig_v1/service.rb +12 -7
  172. data/generated/google/apis/script_v1.rb +16 -16
  173. data/generated/google/apis/script_v1/classes.rb +113 -113
  174. data/generated/google/apis/script_v1/representations.rb +28 -28
  175. data/generated/google/apis/script_v1/service.rb +4 -4
  176. data/generated/google/apis/searchconsole_v1.rb +1 -1
  177. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  178. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  179. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  180. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  181. data/generated/google/apis/servicecontrol_v1/classes.rb +1146 -1145
  182. data/generated/google/apis/servicecontrol_v1/representations.rb +203 -203
  183. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  184. data/generated/google/apis/servicemanagement_v1.rb +4 -4
  185. data/generated/google/apis/servicemanagement_v1/classes.rb +3486 -3360
  186. data/generated/google/apis/servicemanagement_v1/representations.rb +342 -329
  187. data/generated/google/apis/servicemanagement_v1/service.rb +260 -250
  188. data/generated/google/apis/serviceuser_v1.rb +1 -1
  189. data/generated/google/apis/serviceuser_v1/classes.rb +2716 -2596
  190. data/generated/google/apis/serviceuser_v1/representations.rb +391 -379
  191. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  192. data/generated/google/apis/sheets_v4.rb +1 -1
  193. data/generated/google/apis/sheets_v4/classes.rb +4255 -4252
  194. data/generated/google/apis/sheets_v4/representations.rb +548 -548
  195. data/generated/google/apis/sheets_v4/service.rb +170 -170
  196. data/generated/google/apis/slides_v1.rb +4 -4
  197. data/generated/google/apis/slides_v1/classes.rb +2945 -2916
  198. data/generated/google/apis/slides_v1/representations.rb +700 -697
  199. data/generated/google/apis/slides_v1/service.rb +44 -44
  200. data/generated/google/apis/sourcerepo_v1.rb +2 -2
  201. data/generated/google/apis/sourcerepo_v1/classes.rb +419 -410
  202. data/generated/google/apis/sourcerepo_v1/representations.rb +88 -87
  203. data/generated/google/apis/sourcerepo_v1/service.rb +67 -58
  204. data/generated/google/apis/spanner_v1/classes.rb +2187 -2187
  205. data/generated/google/apis/spanner_v1/representations.rb +323 -323
  206. data/generated/google/apis/spanner_v1/service.rb +383 -383
  207. data/generated/google/apis/speech_v1beta1.rb +1 -1
  208. data/generated/google/apis/speech_v1beta1/classes.rb +226 -226
  209. data/generated/google/apis/speech_v1beta1/representations.rb +44 -44
  210. data/generated/google/apis/speech_v1beta1/service.rb +37 -32
  211. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  212. data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -28
  213. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -16
  214. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  215. data/generated/google/apis/storage_v1.rb +1 -1
  216. data/generated/google/apis/storage_v1/classes.rb +26 -0
  217. data/generated/google/apis/storage_v1/representations.rb +15 -0
  218. data/generated/google/apis/storage_v1/service.rb +168 -42
  219. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  220. data/generated/google/apis/storagetransfer_v1/classes.rb +218 -218
  221. data/generated/google/apis/storagetransfer_v1/representations.rb +47 -47
  222. data/generated/google/apis/storagetransfer_v1/service.rb +68 -68
  223. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  224. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -4
  225. data/generated/google/apis/toolresults_v1beta3/service.rb +9 -8
  226. data/generated/google/apis/translate_v2.rb +11 -4
  227. data/generated/google/apis/translate_v2/classes.rb +140 -37
  228. data/generated/google/apis/translate_v2/representations.rb +62 -15
  229. data/generated/google/apis/translate_v2/service.rb +119 -66
  230. data/generated/google/apis/vision_v1.rb +1 -1
  231. data/generated/google/apis/vision_v1/classes.rb +1265 -1273
  232. data/generated/google/apis/vision_v1/representations.rb +202 -202
  233. data/generated/google/apis/vision_v1/service.rb +4 -4
  234. data/generated/google/apis/webmasters_v3.rb +1 -1
  235. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  236. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  237. data/generated/google/apis/youtube_partner_v1/classes.rb +2 -1
  238. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  239. data/generated/google/apis/youtubereporting_v1/classes.rb +91 -91
  240. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  241. data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
  242. data/lib/google/apis/core/api_command.rb +43 -10
  243. data/lib/google/apis/core/json_representation.rb +1 -1
  244. data/lib/google/apis/options.rb +6 -2
  245. data/lib/google/apis/version.rb +1 -1
  246. metadata +3 -3
@@ -22,36 +22,6 @@ module Google
22
22
  module Apis
23
23
  module ClouddebuggerV2
24
24
 
25
- class ListActiveBreakpointsResponse
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
- class ProjectRepoId
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
- class CloudWorkspaceSourceContext
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
- class UpdateActiveBreakpointResponse
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
- class GerritSourceContext
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
25
  class CloudWorkspaceId
56
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
27
 
@@ -94,13 +64,13 @@ module Google
94
64
  include Google::Apis::Core::JsonObjectSupport
95
65
  end
96
66
 
97
- class RegisterDebuggeeRequest
67
+ class RegisterDebuggeeResponse
98
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
69
 
100
70
  include Google::Apis::Core::JsonObjectSupport
101
71
  end
102
72
 
103
- class RegisterDebuggeeResponse
73
+ class RegisterDebuggeeRequest
104
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
75
 
106
76
  include Google::Apis::Core::JsonObjectSupport
@@ -185,48 +155,33 @@ module Google
185
155
  end
186
156
 
187
157
  class ListActiveBreakpointsResponse
188
- # @private
189
- class Representation < Google::Apis::Core::JsonRepresentation
190
- collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
191
159
 
192
- property :wait_expired, as: 'waitExpired'
193
- property :next_wait_token, as: 'nextWaitToken'
194
- end
160
+ include Google::Apis::Core::JsonObjectSupport
195
161
  end
196
162
 
197
163
  class ProjectRepoId
198
- # @private
199
- class Representation < Google::Apis::Core::JsonRepresentation
200
- property :project_id, as: 'projectId'
201
- property :repo_name, as: 'repoName'
202
- end
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
203
167
  end
204
168
 
205
169
  class CloudWorkspaceSourceContext
206
- # @private
207
- class Representation < Google::Apis::Core::JsonRepresentation
208
- property :snapshot_id, as: 'snapshotId'
209
- property :workspace_id, as: 'workspaceId', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceId, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceId::Representation
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
210
171
 
211
- end
172
+ include Google::Apis::Core::JsonObjectSupport
212
173
  end
213
174
 
214
175
  class UpdateActiveBreakpointResponse
215
- # @private
216
- class Representation < Google::Apis::Core::JsonRepresentation
217
- end
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
218
179
  end
219
180
 
220
181
  class GerritSourceContext
221
- # @private
222
- class Representation < Google::Apis::Core::JsonRepresentation
223
- property :host_uri, as: 'hostUri'
224
- property :revision_id, as: 'revisionId'
225
- property :alias_name, as: 'aliasName'
226
- property :gerrit_project, as: 'gerritProject'
227
- property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
228
183
 
229
- end
184
+ include Google::Apis::Core::JsonObjectSupport
230
185
  end
231
186
 
232
187
  class CloudWorkspaceId
@@ -241,15 +196,18 @@ module Google
241
196
  class ListBreakpointsResponse
242
197
  # @private
243
198
  class Representation < Google::Apis::Core::JsonRepresentation
199
+ property :next_wait_token, as: 'nextWaitToken'
244
200
  collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
245
201
 
246
- property :next_wait_token, as: 'nextWaitToken'
247
202
  end
248
203
  end
249
204
 
250
205
  class Breakpoint
251
206
  # @private
252
207
  class Representation < Google::Apis::Core::JsonRepresentation
208
+ property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
209
+
210
+ property :final_time, as: 'finalTime'
253
211
  collection :variable_table, as: 'variableTable', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
254
212
 
255
213
  hash :labels, as: 'labels'
@@ -268,9 +226,6 @@ module Google
268
226
  property :action, as: 'action'
269
227
  property :log_level, as: 'logLevel'
270
228
  property :id, as: 'id'
271
- property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
272
-
273
- property :final_time, as: 'finalTime'
274
229
  end
275
230
  end
276
231
 
@@ -293,30 +248,30 @@ module Google
293
248
  class SourceContext
294
249
  # @private
295
250
  class Representation < Google::Apis::Core::JsonRepresentation
296
- property :git, as: 'git', class: Google::Apis::ClouddebuggerV2::GitSourceContext, decorator: Google::Apis::ClouddebuggerV2::GitSourceContext::Representation
297
-
298
251
  property :gerrit, as: 'gerrit', class: Google::Apis::ClouddebuggerV2::GerritSourceContext, decorator: Google::Apis::ClouddebuggerV2::GerritSourceContext::Representation
299
252
 
300
253
  property :cloud_repo, as: 'cloudRepo', class: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudRepoSourceContext::Representation
301
254
 
302
255
  property :cloud_workspace, as: 'cloudWorkspace', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext::Representation
303
256
 
257
+ property :git, as: 'git', class: Google::Apis::ClouddebuggerV2::GitSourceContext, decorator: Google::Apis::ClouddebuggerV2::GitSourceContext::Representation
258
+
304
259
  end
305
260
  end
306
261
 
307
262
  class CloudRepoSourceContext
308
263
  # @private
309
264
  class Representation < Google::Apis::Core::JsonRepresentation
310
- property :alias_name, as: 'aliasName'
311
265
  property :repo_id, as: 'repoId', class: Google::Apis::ClouddebuggerV2::RepoId, decorator: Google::Apis::ClouddebuggerV2::RepoId::Representation
312
266
 
313
267
  property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
314
268
 
315
269
  property :revision_id, as: 'revisionId'
270
+ property :alias_name, as: 'aliasName'
316
271
  end
317
272
  end
318
273
 
319
- class RegisterDebuggeeRequest
274
+ class RegisterDebuggeeResponse
320
275
  # @private
321
276
  class Representation < Google::Apis::Core::JsonRepresentation
322
277
  property :debuggee, as: 'debuggee', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation
@@ -324,7 +279,7 @@ module Google
324
279
  end
325
280
  end
326
281
 
327
- class RegisterDebuggeeResponse
282
+ class RegisterDebuggeeRequest
328
283
  # @private
329
284
  class Representation < Google::Apis::Core::JsonRepresentation
330
285
  property :debuggee, as: 'debuggee', class: Google::Apis::ClouddebuggerV2::Debuggee, decorator: Google::Apis::ClouddebuggerV2::Debuggee::Representation
@@ -353,8 +308,8 @@ module Google
353
308
  class GitSourceContext
354
309
  # @private
355
310
  class Representation < Google::Apis::Core::JsonRepresentation
356
- property :url, as: 'url'
357
311
  property :revision_id, as: 'revisionId'
312
+ property :url, as: 'url'
358
313
  end
359
314
  end
360
315
 
@@ -375,22 +330,22 @@ module Google
375
330
  class StackFrame
376
331
  # @private
377
332
  class Representation < Google::Apis::Core::JsonRepresentation
378
- collection :locals, as: 'locals', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
379
-
380
333
  property :location, as: 'location', class: Google::Apis::ClouddebuggerV2::SourceLocation, decorator: Google::Apis::ClouddebuggerV2::SourceLocation::Representation
381
334
 
382
335
  property :function, as: 'function'
383
336
  collection :arguments, as: 'arguments', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
384
337
 
338
+ collection :locals, as: 'locals', class: Google::Apis::ClouddebuggerV2::Variable, decorator: Google::Apis::ClouddebuggerV2::Variable::Representation
339
+
385
340
  end
386
341
  end
387
342
 
388
343
  class RepoId
389
344
  # @private
390
345
  class Representation < Google::Apis::Core::JsonRepresentation
346
+ property :uid, as: 'uid'
391
347
  property :project_repo_id, as: 'projectRepoId', class: Google::Apis::ClouddebuggerV2::ProjectRepoId, decorator: Google::Apis::ClouddebuggerV2::ProjectRepoId::Representation
392
348
 
393
- property :uid, as: 'uid'
394
349
  end
395
350
  end
396
351
 
@@ -436,28 +391,73 @@ module Google
436
391
  class SourceLocation
437
392
  # @private
438
393
  class Representation < Google::Apis::Core::JsonRepresentation
439
- property :line, as: 'line'
440
394
  property :path, as: 'path'
395
+ property :line, as: 'line'
441
396
  end
442
397
  end
443
398
 
444
399
  class Debuggee
445
400
  # @private
446
401
  class Representation < Google::Apis::Core::JsonRepresentation
447
- property :is_disabled, as: 'isDisabled'
448
- property :agent_version, as: 'agentVersion'
402
+ hash :labels, as: 'labels'
403
+ property :is_inactive, as: 'isInactive'
404
+ property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
405
+
406
+ property :project, as: 'project'
449
407
  property :id, as: 'id'
450
- property :description, as: 'description'
408
+ property :agent_version, as: 'agentVersion'
409
+ property :is_disabled, as: 'isDisabled'
451
410
  property :uniquifier, as: 'uniquifier'
411
+ property :description, as: 'description'
452
412
  collection :source_contexts, as: 'sourceContexts', class: Google::Apis::ClouddebuggerV2::SourceContext, decorator: Google::Apis::ClouddebuggerV2::SourceContext::Representation
453
413
 
454
414
  collection :ext_source_contexts, as: 'extSourceContexts', class: Google::Apis::ClouddebuggerV2::ExtendedSourceContext, decorator: Google::Apis::ClouddebuggerV2::ExtendedSourceContext::Representation
455
415
 
456
- hash :labels, as: 'labels'
457
- property :status, as: 'status', class: Google::Apis::ClouddebuggerV2::StatusMessage, decorator: Google::Apis::ClouddebuggerV2::StatusMessage::Representation
416
+ end
417
+ end
418
+
419
+ class ListActiveBreakpointsResponse
420
+ # @private
421
+ class Representation < Google::Apis::Core::JsonRepresentation
422
+ property :next_wait_token, as: 'nextWaitToken'
423
+ collection :breakpoints, as: 'breakpoints', class: Google::Apis::ClouddebuggerV2::Breakpoint, decorator: Google::Apis::ClouddebuggerV2::Breakpoint::Representation
424
+
425
+ property :wait_expired, as: 'waitExpired'
426
+ end
427
+ end
428
+
429
+ class ProjectRepoId
430
+ # @private
431
+ class Representation < Google::Apis::Core::JsonRepresentation
432
+ property :project_id, as: 'projectId'
433
+ property :repo_name, as: 'repoName'
434
+ end
435
+ end
436
+
437
+ class CloudWorkspaceSourceContext
438
+ # @private
439
+ class Representation < Google::Apis::Core::JsonRepresentation
440
+ property :workspace_id, as: 'workspaceId', class: Google::Apis::ClouddebuggerV2::CloudWorkspaceId, decorator: Google::Apis::ClouddebuggerV2::CloudWorkspaceId::Representation
441
+
442
+ property :snapshot_id, as: 'snapshotId'
443
+ end
444
+ end
445
+
446
+ class UpdateActiveBreakpointResponse
447
+ # @private
448
+ class Representation < Google::Apis::Core::JsonRepresentation
449
+ end
450
+ end
451
+
452
+ class GerritSourceContext
453
+ # @private
454
+ class Representation < Google::Apis::Core::JsonRepresentation
455
+ property :host_uri, as: 'hostUri'
456
+ property :revision_id, as: 'revisionId'
457
+ property :alias_name, as: 'aliasName'
458
+ property :gerrit_project, as: 'gerritProject'
459
+ property :alias_context, as: 'aliasContext', class: Google::Apis::ClouddebuggerV2::AliasContext, decorator: Google::Apis::ClouddebuggerV2::AliasContext::Representation
458
460
 
459
- property :is_inactive, as: 'isInactive'
460
- property :project, as: 'project'
461
461
  end
462
462
  end
463
463
  end
@@ -33,167 +33,35 @@ module Google
33
33
  #
34
34
  # @see http://cloud.google.com/debugger
35
35
  class CloudDebuggerService < Google::Apis::Core::BaseService
36
- # @return [String]
37
- # Available to use for quota purposes for server-side applications. Can be any
38
- # arbitrary string assigned to a user, but should not exceed 40 characters.
39
- attr_accessor :quota_user
40
-
41
36
  # @return [String]
42
37
  # API key. Your API key identifies your project and provides you with API access,
43
38
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
44
39
  attr_accessor :key
45
40
 
41
+ # @return [String]
42
+ # Available to use for quota purposes for server-side applications. Can be any
43
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
44
+ attr_accessor :quota_user
45
+
46
46
  def initialize
47
47
  super('https://clouddebugger.googleapis.com/', '')
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
- # Registers the debuggee with the controller service.
52
- # All agents attached to the same application should call this method with
53
- # the same request content to get back the same stable `debuggee_id`. Agents
54
- # should call this method again whenever `google.rpc.Code.NOT_FOUND` is
55
- # returned from any controller method.
56
- # This allows the controller service to disable the agent or recover from any
57
- # data loss. If the debuggee is disabled by the server, the response will
58
- # have `is_disabled` set to `true`.
59
- # @param [Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest] register_debuggee_request_object
60
- # @param [String] quota_user
61
- # Available to use for quota purposes for server-side applications. Can be any
62
- # arbitrary string assigned to a user, but should not exceed 40 characters.
63
- # @param [String] fields
64
- # Selector specifying which fields to include in a partial response.
65
- # @param [Google::Apis::RequestOptions] options
66
- # Request-specific options
67
- #
68
- # @yield [result, err] Result & error if block supplied
69
- # @yieldparam result [Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse] parsed result object
70
- # @yieldparam err [StandardError] error object if request failed
71
- #
72
- # @return [Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse]
73
- #
74
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
75
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
76
- # @raise [Google::Apis::AuthorizationError] Authorization is required
77
- def register_debuggee(register_debuggee_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
78
- command = make_simple_command(:post, 'v2/controller/debuggees/register', options)
79
- command.request_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest::Representation
80
- command.request_object = register_debuggee_request_object
81
- command.response_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse::Representation
82
- command.response_class = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse
83
- command.query['quotaUser'] = quota_user unless quota_user.nil?
84
- command.query['fields'] = fields unless fields.nil?
85
- execute_or_queue_command(command, &block)
86
- end
87
-
88
- # Returns the list of all active breakpoints for the debuggee.
89
- # The breakpoint specification (location, condition, and expression
90
- # fields) is semantically immutable, although the field values may
91
- # change. For example, an agent may update the location line number
92
- # to reflect the actual line where the breakpoint was set, but this
93
- # doesn't change the breakpoint semantics.
94
- # This means that an agent does not need to check if a breakpoint has changed
95
- # when it encounters the same breakpoint on a successive call.
96
- # Moreover, an agent should remember the breakpoints that are completed
97
- # until the controller removes them from the active list to avoid
98
- # setting those breakpoints again.
99
- # @param [String] debuggee_id
100
- # Identifies the debuggee.
101
- # @param [Boolean] success_on_timeout
102
- # If set to `true`, returns `google.rpc.Code.OK` status and sets the
103
- # `wait_expired` response field to `true` when the server-selected timeout
104
- # has expired (recommended).
105
- # If set to `false`, returns `google.rpc.Code.ABORTED` status when the
106
- # server-selected timeout has expired (deprecated).
107
- # @param [String] wait_token
108
- # A wait token that, if specified, blocks the method call until the list
109
- # of active breakpoints has changed, or a server selected timeout has
110
- # expired. The value should be set from the last returned response.
111
- # @param [String] quota_user
112
- # Available to use for quota purposes for server-side applications. Can be any
113
- # arbitrary string assigned to a user, but should not exceed 40 characters.
114
- # @param [String] fields
115
- # Selector specifying which fields to include in a partial response.
116
- # @param [Google::Apis::RequestOptions] options
117
- # Request-specific options
118
- #
119
- # @yield [result, err] Result & error if block supplied
120
- # @yieldparam result [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse] parsed result object
121
- # @yieldparam err [StandardError] error object if request failed
122
- #
123
- # @return [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse]
124
- #
125
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
126
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
127
- # @raise [Google::Apis::AuthorizationError] Authorization is required
128
- def list_controller_debuggee_breakpoints(debuggee_id, success_on_timeout: nil, wait_token: nil, quota_user: nil, fields: nil, options: nil, &block)
129
- command = make_simple_command(:get, 'v2/controller/debuggees/{debuggeeId}/breakpoints', options)
130
- command.response_representation = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse::Representation
131
- command.response_class = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse
132
- command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
133
- command.query['successOnTimeout'] = success_on_timeout unless success_on_timeout.nil?
134
- command.query['waitToken'] = wait_token unless wait_token.nil?
135
- command.query['quotaUser'] = quota_user unless quota_user.nil?
136
- command.query['fields'] = fields unless fields.nil?
137
- execute_or_queue_command(command, &block)
138
- end
139
-
140
- # Updates the breakpoint state or mutable fields.
141
- # The entire Breakpoint message must be sent back to the controller
142
- # service.
143
- # Updates to active breakpoint fields are only allowed if the new value
144
- # does not change the breakpoint specification. Updates to the `location`,
145
- # `condition` and `expression` fields should not alter the breakpoint
146
- # semantics. These may only make changes such as canonicalizing a value
147
- # or snapping the location to the correct line of code.
148
- # @param [String] debuggee_id
149
- # Identifies the debuggee being debugged.
150
- # @param [String] id
151
- # Breakpoint identifier, unique in the scope of the debuggee.
152
- # @param [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest] update_active_breakpoint_request_object
153
- # @param [String] quota_user
154
- # Available to use for quota purposes for server-side applications. Can be any
155
- # arbitrary string assigned to a user, but should not exceed 40 characters.
156
- # @param [String] fields
157
- # Selector specifying which fields to include in a partial response.
158
- # @param [Google::Apis::RequestOptions] options
159
- # Request-specific options
160
- #
161
- # @yield [result, err] Result & error if block supplied
162
- # @yieldparam result [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse] parsed result object
163
- # @yieldparam err [StandardError] error object if request failed
164
- #
165
- # @return [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse]
166
- #
167
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
168
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
169
- # @raise [Google::Apis::AuthorizationError] Authorization is required
170
- def update_active_breakpoint(debuggee_id, id, update_active_breakpoint_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
171
- command = make_simple_command(:put, 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', options)
172
- command.request_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest::Representation
173
- command.request_object = update_active_breakpoint_request_object
174
- command.response_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse::Representation
175
- command.response_class = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse
176
- command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
177
- command.params['id'] = id unless id.nil?
178
- command.query['quotaUser'] = quota_user unless quota_user.nil?
179
- command.query['fields'] = fields unless fields.nil?
180
- execute_or_queue_command(command, &block)
181
- end
182
-
183
51
  # Lists all the debuggees that the user can set breakpoints to.
52
+ # @param [String] project
53
+ # Project number of a Google Cloud project whose debuggees to list.
184
54
  # @param [String] client_version
185
55
  # The client version making the call.
186
56
  # Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
187
57
  # @param [Boolean] include_inactive
188
58
  # When set to `true`, the result includes all debuggees. Otherwise, the
189
59
  # result includes only debuggees that are active.
190
- # @param [String] project
191
- # Project number of a Google Cloud project whose debuggees to list.
60
+ # @param [String] fields
61
+ # Selector specifying which fields to include in a partial response.
192
62
  # @param [String] quota_user
193
63
  # Available to use for quota purposes for server-side applications. Can be any
194
64
  # arbitrary string assigned to a user, but should not exceed 40 characters.
195
- # @param [String] fields
196
- # Selector specifying which fields to include in a partial response.
197
65
  # @param [Google::Apis::RequestOptions] options
198
66
  # Request-specific options
199
67
  #
@@ -206,15 +74,15 @@ module Google
206
74
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
207
75
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
208
76
  # @raise [Google::Apis::AuthorizationError] Authorization is required
209
- def list_debugger_debuggees(client_version: nil, include_inactive: nil, project: nil, quota_user: nil, fields: nil, options: nil, &block)
77
+ def list_debugger_debuggees(project: nil, client_version: nil, include_inactive: nil, fields: nil, quota_user: nil, options: nil, &block)
210
78
  command = make_simple_command(:get, 'v2/debugger/debuggees', options)
211
79
  command.response_representation = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse::Representation
212
80
  command.response_class = Google::Apis::ClouddebuggerV2::ListDebuggeesResponse
81
+ command.query['project'] = project unless project.nil?
213
82
  command.query['clientVersion'] = client_version unless client_version.nil?
214
83
  command.query['includeInactive'] = include_inactive unless include_inactive.nil?
215
- command.query['project'] = project unless project.nil?
216
- command.query['quotaUser'] = quota_user unless quota_user.nil?
217
84
  command.query['fields'] = fields unless fields.nil?
85
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
218
86
  execute_or_queue_command(command, &block)
219
87
  end
220
88
 
@@ -225,11 +93,11 @@ module Google
225
93
  # @param [String] client_version
226
94
  # The client version making the call.
227
95
  # Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
96
+ # @param [String] fields
97
+ # Selector specifying which fields to include in a partial response.
228
98
  # @param [String] quota_user
229
99
  # Available to use for quota purposes for server-side applications. Can be any
230
100
  # arbitrary string assigned to a user, but should not exceed 40 characters.
231
- # @param [String] fields
232
- # Selector specifying which fields to include in a partial response.
233
101
  # @param [Google::Apis::RequestOptions] options
234
102
  # Request-specific options
235
103
  #
@@ -242,7 +110,7 @@ module Google
242
110
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
243
111
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
244
112
  # @raise [Google::Apis::AuthorizationError] Authorization is required
245
- def set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, client_version: nil, quota_user: nil, fields: nil, options: nil, &block)
113
+ def set_debugger_debuggee_breakpoint(debuggee_id, breakpoint_object = nil, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
246
114
  command = make_simple_command(:post, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/set', options)
247
115
  command.request_representation = Google::Apis::ClouddebuggerV2::Breakpoint::Representation
248
116
  command.request_object = breakpoint_object
@@ -250,8 +118,8 @@ module Google
250
118
  command.response_class = Google::Apis::ClouddebuggerV2::SetBreakpointResponse
251
119
  command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
252
120
  command.query['clientVersion'] = client_version unless client_version.nil?
253
- command.query['quotaUser'] = quota_user unless quota_user.nil?
254
121
  command.query['fields'] = fields unless fields.nil?
122
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
255
123
  execute_or_queue_command(command, &block)
256
124
  end
257
125
 
@@ -263,11 +131,11 @@ module Google
263
131
  # @param [String] client_version
264
132
  # The client version making the call.
265
133
  # Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
134
+ # @param [String] fields
135
+ # Selector specifying which fields to include in a partial response.
266
136
  # @param [String] quota_user
267
137
  # Available to use for quota purposes for server-side applications. Can be any
268
138
  # arbitrary string assigned to a user, but should not exceed 40 characters.
269
- # @param [String] fields
270
- # Selector specifying which fields to include in a partial response.
271
139
  # @param [Google::Apis::RequestOptions] options
272
140
  # Request-specific options
273
141
  #
@@ -280,15 +148,15 @@ module Google
280
148
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
281
149
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
282
150
  # @raise [Google::Apis::AuthorizationError] Authorization is required
283
- def delete_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, quota_user: nil, fields: nil, options: nil, &block)
151
+ def delete_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
284
152
  command = make_simple_command(:delete, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
285
153
  command.response_representation = Google::Apis::ClouddebuggerV2::Empty::Representation
286
154
  command.response_class = Google::Apis::ClouddebuggerV2::Empty
287
155
  command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
288
156
  command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil?
289
157
  command.query['clientVersion'] = client_version unless client_version.nil?
290
- command.query['quotaUser'] = quota_user unless quota_user.nil?
291
158
  command.query['fields'] = fields unless fields.nil?
159
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
292
160
  execute_or_queue_command(command, &block)
293
161
  end
294
162
 
@@ -300,11 +168,11 @@ module Google
300
168
  # @param [String] client_version
301
169
  # The client version making the call.
302
170
  # Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
171
+ # @param [String] fields
172
+ # Selector specifying which fields to include in a partial response.
303
173
  # @param [String] quota_user
304
174
  # Available to use for quota purposes for server-side applications. Can be any
305
175
  # arbitrary string assigned to a user, but should not exceed 40 characters.
306
- # @param [String] fields
307
- # Selector specifying which fields to include in a partial response.
308
176
  # @param [Google::Apis::RequestOptions] options
309
177
  # Request-specific options
310
178
  #
@@ -317,15 +185,15 @@ module Google
317
185
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
318
186
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
319
187
  # @raise [Google::Apis::AuthorizationError] Authorization is required
320
- def get_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, quota_user: nil, fields: nil, options: nil, &block)
188
+ def get_debugger_debuggee_breakpoint(debuggee_id, breakpoint_id, client_version: nil, fields: nil, quota_user: nil, options: nil, &block)
321
189
  command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}', options)
322
190
  command.response_representation = Google::Apis::ClouddebuggerV2::GetBreakpointResponse::Representation
323
191
  command.response_class = Google::Apis::ClouddebuggerV2::GetBreakpointResponse
324
192
  command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
325
193
  command.params['breakpointId'] = breakpoint_id unless breakpoint_id.nil?
326
194
  command.query['clientVersion'] = client_version unless client_version.nil?
327
- command.query['quotaUser'] = quota_user unless quota_user.nil?
328
195
  command.query['fields'] = fields unless fields.nil?
196
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
329
197
  execute_or_queue_command(command, &block)
330
198
  end
331
199
 
@@ -341,22 +209,22 @@ module Google
341
209
  # should be set from the last response. The error code
342
210
  # `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which
343
211
  # should be called again with the same `wait_token`.
212
+ # @param [String] action_value
213
+ # Only breakpoints with the specified action will pass the filter.
344
214
  # @param [String] client_version
345
215
  # The client version making the call.
346
216
  # Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
347
- # @param [String] action_value
348
- # Only breakpoints with the specified action will pass the filter.
349
217
  # @param [Boolean] include_inactive
350
218
  # When set to `true`, the response includes active and inactive
351
219
  # breakpoints. Otherwise, it includes only active breakpoints.
352
220
  # @param [Boolean] include_all_users
353
221
  # When set to `true`, the response includes the list of breakpoints set by
354
222
  # any user. Otherwise, it includes only breakpoints set by the caller.
223
+ # @param [String] fields
224
+ # Selector specifying which fields to include in a partial response.
355
225
  # @param [String] quota_user
356
226
  # Available to use for quota purposes for server-side applications. Can be any
357
227
  # arbitrary string assigned to a user, but should not exceed 40 characters.
358
- # @param [String] fields
359
- # Selector specifying which fields to include in a partial response.
360
228
  # @param [Google::Apis::RequestOptions] options
361
229
  # Request-specific options
362
230
  #
@@ -369,27 +237,159 @@ module Google
369
237
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
370
238
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
371
239
  # @raise [Google::Apis::AuthorizationError] Authorization is required
372
- def list_debugger_debuggee_breakpoints(debuggee_id, strip_results: nil, wait_token: nil, client_version: nil, action_value: nil, include_inactive: nil, include_all_users: nil, quota_user: nil, fields: nil, options: nil, &block)
240
+ def list_debugger_debuggee_breakpoints(debuggee_id, strip_results: nil, wait_token: nil, action_value: nil, client_version: nil, include_inactive: nil, include_all_users: nil, fields: nil, quota_user: nil, options: nil, &block)
373
241
  command = make_simple_command(:get, 'v2/debugger/debuggees/{debuggeeId}/breakpoints', options)
374
242
  command.response_representation = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse::Representation
375
243
  command.response_class = Google::Apis::ClouddebuggerV2::ListBreakpointsResponse
376
244
  command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
377
245
  command.query['stripResults'] = strip_results unless strip_results.nil?
378
246
  command.query['waitToken'] = wait_token unless wait_token.nil?
379
- command.query['clientVersion'] = client_version unless client_version.nil?
380
247
  command.query['action.value'] = action_value unless action_value.nil?
248
+ command.query['clientVersion'] = client_version unless client_version.nil?
381
249
  command.query['includeInactive'] = include_inactive unless include_inactive.nil?
382
250
  command.query['includeAllUsers'] = include_all_users unless include_all_users.nil?
251
+ command.query['fields'] = fields unless fields.nil?
383
252
  command.query['quotaUser'] = quota_user unless quota_user.nil?
253
+ execute_or_queue_command(command, &block)
254
+ end
255
+
256
+ # Registers the debuggee with the controller service.
257
+ # All agents attached to the same application should call this method with
258
+ # the same request content to get back the same stable `debuggee_id`. Agents
259
+ # should call this method again whenever `google.rpc.Code.NOT_FOUND` is
260
+ # returned from any controller method.
261
+ # This allows the controller service to disable the agent or recover from any
262
+ # data loss. If the debuggee is disabled by the server, the response will
263
+ # have `is_disabled` set to `true`.
264
+ # @param [Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest] register_debuggee_request_object
265
+ # @param [String] fields
266
+ # Selector specifying which fields to include in a partial response.
267
+ # @param [String] quota_user
268
+ # Available to use for quota purposes for server-side applications. Can be any
269
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
270
+ # @param [Google::Apis::RequestOptions] options
271
+ # Request-specific options
272
+ #
273
+ # @yield [result, err] Result & error if block supplied
274
+ # @yieldparam result [Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse] parsed result object
275
+ # @yieldparam err [StandardError] error object if request failed
276
+ #
277
+ # @return [Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse]
278
+ #
279
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
280
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
281
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
282
+ def register_debuggee(register_debuggee_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
283
+ command = make_simple_command(:post, 'v2/controller/debuggees/register', options)
284
+ command.request_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeRequest::Representation
285
+ command.request_object = register_debuggee_request_object
286
+ command.response_representation = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse::Representation
287
+ command.response_class = Google::Apis::ClouddebuggerV2::RegisterDebuggeeResponse
384
288
  command.query['fields'] = fields unless fields.nil?
289
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
290
+ execute_or_queue_command(command, &block)
291
+ end
292
+
293
+ # Returns the list of all active breakpoints for the debuggee.
294
+ # The breakpoint specification (location, condition, and expression
295
+ # fields) is semantically immutable, although the field values may
296
+ # change. For example, an agent may update the location line number
297
+ # to reflect the actual line where the breakpoint was set, but this
298
+ # doesn't change the breakpoint semantics.
299
+ # This means that an agent does not need to check if a breakpoint has changed
300
+ # when it encounters the same breakpoint on a successive call.
301
+ # Moreover, an agent should remember the breakpoints that are completed
302
+ # until the controller removes them from the active list to avoid
303
+ # setting those breakpoints again.
304
+ # @param [String] debuggee_id
305
+ # Identifies the debuggee.
306
+ # @param [String] wait_token
307
+ # A wait token that, if specified, blocks the method call until the list
308
+ # of active breakpoints has changed, or a server selected timeout has
309
+ # expired. The value should be set from the last returned response.
310
+ # @param [Boolean] success_on_timeout
311
+ # If set to `true`, returns `google.rpc.Code.OK` status and sets the
312
+ # `wait_expired` response field to `true` when the server-selected timeout
313
+ # has expired (recommended).
314
+ # If set to `false`, returns `google.rpc.Code.ABORTED` status when the
315
+ # server-selected timeout has expired (deprecated).
316
+ # @param [String] fields
317
+ # Selector specifying which fields to include in a partial response.
318
+ # @param [String] quota_user
319
+ # Available to use for quota purposes for server-side applications. Can be any
320
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
321
+ # @param [Google::Apis::RequestOptions] options
322
+ # Request-specific options
323
+ #
324
+ # @yield [result, err] Result & error if block supplied
325
+ # @yieldparam result [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse] parsed result object
326
+ # @yieldparam err [StandardError] error object if request failed
327
+ #
328
+ # @return [Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse]
329
+ #
330
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
331
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
332
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
333
+ def list_controller_debuggee_breakpoints(debuggee_id, wait_token: nil, success_on_timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
334
+ command = make_simple_command(:get, 'v2/controller/debuggees/{debuggeeId}/breakpoints', options)
335
+ command.response_representation = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse::Representation
336
+ command.response_class = Google::Apis::ClouddebuggerV2::ListActiveBreakpointsResponse
337
+ command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
338
+ command.query['waitToken'] = wait_token unless wait_token.nil?
339
+ command.query['successOnTimeout'] = success_on_timeout unless success_on_timeout.nil?
340
+ command.query['fields'] = fields unless fields.nil?
341
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
342
+ execute_or_queue_command(command, &block)
343
+ end
344
+
345
+ # Updates the breakpoint state or mutable fields.
346
+ # The entire Breakpoint message must be sent back to the controller
347
+ # service.
348
+ # Updates to active breakpoint fields are only allowed if the new value
349
+ # does not change the breakpoint specification. Updates to the `location`,
350
+ # `condition` and `expression` fields should not alter the breakpoint
351
+ # semantics. These may only make changes such as canonicalizing a value
352
+ # or snapping the location to the correct line of code.
353
+ # @param [String] debuggee_id
354
+ # Identifies the debuggee being debugged.
355
+ # @param [String] id
356
+ # Breakpoint identifier, unique in the scope of the debuggee.
357
+ # @param [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest] update_active_breakpoint_request_object
358
+ # @param [String] fields
359
+ # Selector specifying which fields to include in a partial response.
360
+ # @param [String] quota_user
361
+ # Available to use for quota purposes for server-side applications. Can be any
362
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
363
+ # @param [Google::Apis::RequestOptions] options
364
+ # Request-specific options
365
+ #
366
+ # @yield [result, err] Result & error if block supplied
367
+ # @yieldparam result [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse] parsed result object
368
+ # @yieldparam err [StandardError] error object if request failed
369
+ #
370
+ # @return [Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse]
371
+ #
372
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
373
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
374
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
375
+ def update_active_breakpoint(debuggee_id, id, update_active_breakpoint_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
376
+ command = make_simple_command(:put, 'v2/controller/debuggees/{debuggeeId}/breakpoints/{id}', options)
377
+ command.request_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointRequest::Representation
378
+ command.request_object = update_active_breakpoint_request_object
379
+ command.response_representation = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse::Representation
380
+ command.response_class = Google::Apis::ClouddebuggerV2::UpdateActiveBreakpointResponse
381
+ command.params['debuggeeId'] = debuggee_id unless debuggee_id.nil?
382
+ command.params['id'] = id unless id.nil?
383
+ command.query['fields'] = fields unless fields.nil?
384
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
385
385
  execute_or_queue_command(command, &block)
386
386
  end
387
387
 
388
388
  protected
389
389
 
390
390
  def apply_command_defaults(command)
391
- command.query['quotaUser'] = quota_user unless quota_user.nil?
392
391
  command.query['key'] = key unless key.nil?
392
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
393
393
  end
394
394
  end
395
395
  end