google-api-client 0.10.0 → 0.10.1

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