google-cloud-debugger 0.28.2 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/README.md +33 -33
- data/lib/google-cloud-debugger.rb +12 -9
- data/lib/google/cloud/debugger.rb +23 -17
- data/lib/google/cloud/debugger/credentials.rb +32 -15
- data/lib/google/cloud/debugger/debuggee.rb +16 -1
- data/lib/google/cloud/debugger/middleware.rb +1 -1
- data/lib/google/cloud/debugger/project.rb +6 -5
- data/lib/google/cloud/debugger/rails.rb +9 -3
- data/lib/google/cloud/debugger/service.rb +4 -24
- data/lib/google/cloud/debugger/v2.rb +182 -0
- data/lib/google/cloud/debugger/v2/controller2_client.rb +85 -58
- data/lib/google/cloud/debugger/v2/debugger2_client.rb +81 -56
- data/lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/data.rb +24 -27
- data/lib/google/cloud/debugger/v2/doc/google/devtools/clouddebugger/v2/debugger.rb +23 -11
- data/lib/google/cloud/debugger/v2/doc/google/protobuf/timestamp.rb +26 -1
- data/lib/google/cloud/debugger/v2/doc/overview.rb +54 -0
- data/lib/google/cloud/debugger/version.rb +1 -1
- data/lib/google/devtools/clouddebugger/v2/controller_services_pb.rb +10 -11
- data/lib/google/devtools/clouddebugger/v2/debugger_services_pb.rb +4 -4
- metadata +8 -7
@@ -28,6 +28,7 @@ require "pathname"
|
|
28
28
|
require "google/gax"
|
29
29
|
|
30
30
|
require "google/devtools/clouddebugger/v2/debugger_pb"
|
31
|
+
require "google/cloud/debugger/credentials"
|
31
32
|
|
32
33
|
module Google
|
33
34
|
module Cloud
|
@@ -38,9 +39,9 @@ module Google
|
|
38
39
|
# and without modifying its state. An application may include one or
|
39
40
|
# more replicated processes performing the same work.
|
40
41
|
#
|
41
|
-
#
|
42
|
-
# service provides a way to query for available
|
43
|
-
# provide a way to create one. A debuggee is created using the Controller
|
42
|
+
# A debugged application is represented using the Debuggee concept. The
|
43
|
+
# Debugger service provides a way to query for available debuggees, but does
|
44
|
+
# not provide a way to create one. A debuggee is created using the Controller
|
44
45
|
# service, usually by running a debugger agent with the application.
|
45
46
|
#
|
46
47
|
# The Debugger service enables the client to set one or more Breakpoints on a
|
@@ -66,21 +67,24 @@ module Google
|
|
66
67
|
"https://www.googleapis.com/auth/cloud_debugger"
|
67
68
|
].freeze
|
68
69
|
|
69
|
-
# @param
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
# A
|
75
|
-
#
|
76
|
-
# A
|
77
|
-
#
|
78
|
-
# A
|
79
|
-
#
|
70
|
+
# @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
|
71
|
+
# Provides the means for authenticating requests made by the client. This parameter can
|
72
|
+
# be many types.
|
73
|
+
# A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
|
74
|
+
# authenticating requests made by this client.
|
75
|
+
# A `String` will be treated as the path to the keyfile to be used for the construction of
|
76
|
+
# credentials for this client.
|
77
|
+
# A `Hash` will be treated as the contents of a keyfile to be used for the construction of
|
78
|
+
# credentials for this client.
|
79
|
+
# A `GRPC::Core::Channel` will be used to make calls through.
|
80
|
+
# A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
|
81
|
+
# should already be composed with a `GRPC::Core::CallCredentials` object.
|
82
|
+
# A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
|
83
|
+
# metadata for requests, generally, to give OAuth credentials.
|
80
84
|
# @param scopes [Array<String>]
|
81
85
|
# The OAuth scopes for this service. This parameter is ignored if
|
82
86
|
# an updater_proc is supplied.
|
83
|
-
# @param client_config[Hash]
|
87
|
+
# @param client_config [Hash]
|
84
88
|
# A Hash for call options for each method. See
|
85
89
|
# Google::Gax#construct_settings for the structure of
|
86
90
|
# this data. Falls back to the default config if not specified
|
@@ -93,11 +97,10 @@ module Google
|
|
93
97
|
channel: nil,
|
94
98
|
chan_creds: nil,
|
95
99
|
updater_proc: nil,
|
100
|
+
credentials: nil,
|
96
101
|
scopes: ALL_SCOPES,
|
97
102
|
client_config: {},
|
98
103
|
timeout: DEFAULT_TIMEOUT,
|
99
|
-
app_name: nil,
|
100
|
-
app_version: nil,
|
101
104
|
lib_name: nil,
|
102
105
|
lib_version: ""
|
103
106
|
# These require statements are intentionally placed here to initialize
|
@@ -106,14 +109,38 @@ module Google
|
|
106
109
|
require "google/gax/grpc"
|
107
110
|
require "google/devtools/clouddebugger/v2/debugger_services_pb"
|
108
111
|
|
112
|
+
if channel || chan_creds || updater_proc
|
113
|
+
warn "The `channel`, `chan_creds`, and `updater_proc` parameters will be removed " \
|
114
|
+
"on 2017/09/08"
|
115
|
+
credentials ||= channel
|
116
|
+
credentials ||= chan_creds
|
117
|
+
credentials ||= updater_proc
|
118
|
+
end
|
119
|
+
if service_path != SERVICE_ADDRESS || port != DEFAULT_SERVICE_PORT
|
120
|
+
warn "`service_path` and `port` parameters are deprecated and will be removed"
|
121
|
+
end
|
122
|
+
|
123
|
+
credentials ||= Google::Cloud::Debugger::Credentials.default
|
109
124
|
|
110
|
-
if
|
111
|
-
|
125
|
+
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
126
|
+
updater_proc = Google::Cloud::Debugger::Credentials.new(credentials).updater_proc
|
127
|
+
end
|
128
|
+
if credentials.is_a?(GRPC::Core::Channel)
|
129
|
+
channel = credentials
|
130
|
+
end
|
131
|
+
if credentials.is_a?(GRPC::Core::ChannelCredentials)
|
132
|
+
chan_creds = credentials
|
133
|
+
end
|
134
|
+
if credentials.is_a?(Proc)
|
135
|
+
updater_proc = credentials
|
136
|
+
end
|
137
|
+
if credentials.is_a?(Google::Auth::Credentials)
|
138
|
+
updater_proc = credentials.updater_proc
|
112
139
|
end
|
113
140
|
|
114
141
|
google_api_client = "gl-ruby/#{RUBY_VERSION}"
|
115
142
|
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
|
116
|
-
google_api_client << " gapic/0.
|
143
|
+
google_api_client << " gapic/0.1.0 gax/#{Google::Gax::VERSION}"
|
117
144
|
google_api_client << " grpc/#{GRPC::VERSION}"
|
118
145
|
google_api_client.freeze
|
119
146
|
|
@@ -170,12 +197,14 @@ module Google
|
|
170
197
|
#
|
171
198
|
# @param debuggee_id [String]
|
172
199
|
# ID of the debuggee where the breakpoint is to be set.
|
173
|
-
# @param breakpoint [Google::Devtools::Clouddebugger::V2::Breakpoint]
|
200
|
+
# @param breakpoint [Google::Devtools::Clouddebugger::V2::Breakpoint | Hash]
|
174
201
|
# Breakpoint specification to set.
|
175
|
-
# The field
|
202
|
+
# The field +location+ of the breakpoint must be set.
|
203
|
+
# A hash of the same form as `Google::Devtools::Clouddebugger::V2::Breakpoint`
|
204
|
+
# can also be provided.
|
176
205
|
# @param client_version [String]
|
177
206
|
# The client version making the call.
|
178
|
-
#
|
207
|
+
# Schema: +domain/type/version+ (e.g., +google.com/intellij/v1+).
|
179
208
|
# @param options [Google::Gax::CallOptions]
|
180
209
|
# Overrides the default settings for this call, e.g, timeout,
|
181
210
|
# retries, etc.
|
@@ -184,12 +213,9 @@ module Google
|
|
184
213
|
# @example
|
185
214
|
# require "google/cloud/debugger/v2"
|
186
215
|
#
|
187
|
-
#
|
188
|
-
# Debugger2Client = Google::Cloud::Debugger::V2::Debugger2Client
|
189
|
-
#
|
190
|
-
# debugger2_client = Debugger2Client.new
|
216
|
+
# debugger2_client = Google::Cloud::Debugger::V2::Debugger2.new
|
191
217
|
# debuggee_id = ''
|
192
|
-
# breakpoint =
|
218
|
+
# breakpoint = {}
|
193
219
|
# client_version = ''
|
194
220
|
# response = debugger2_client.set_breakpoint(debuggee_id, breakpoint, client_version)
|
195
221
|
|
@@ -198,11 +224,12 @@ module Google
|
|
198
224
|
breakpoint,
|
199
225
|
client_version,
|
200
226
|
options: nil
|
201
|
-
req =
|
227
|
+
req = {
|
202
228
|
debuggee_id: debuggee_id,
|
203
229
|
breakpoint: breakpoint,
|
204
230
|
client_version: client_version
|
205
|
-
}.delete_if { |_, v| v.nil? }
|
231
|
+
}.delete_if { |_, v| v.nil? }
|
232
|
+
req = Google::Gax::to_proto(req, Google::Devtools::Clouddebugger::V2::SetBreakpointRequest)
|
206
233
|
@set_breakpoint.call(req, options)
|
207
234
|
end
|
208
235
|
|
@@ -214,7 +241,7 @@ module Google
|
|
214
241
|
# ID of the breakpoint to get.
|
215
242
|
# @param client_version [String]
|
216
243
|
# The client version making the call.
|
217
|
-
#
|
244
|
+
# Schema: +domain/type/version+ (e.g., +google.com/intellij/v1+).
|
218
245
|
# @param options [Google::Gax::CallOptions]
|
219
246
|
# Overrides the default settings for this call, e.g, timeout,
|
220
247
|
# retries, etc.
|
@@ -223,9 +250,7 @@ module Google
|
|
223
250
|
# @example
|
224
251
|
# require "google/cloud/debugger/v2"
|
225
252
|
#
|
226
|
-
#
|
227
|
-
#
|
228
|
-
# debugger2_client = Debugger2Client.new
|
253
|
+
# debugger2_client = Google::Cloud::Debugger::V2::Debugger2.new
|
229
254
|
# debuggee_id = ''
|
230
255
|
# breakpoint_id = ''
|
231
256
|
# client_version = ''
|
@@ -236,11 +261,12 @@ module Google
|
|
236
261
|
breakpoint_id,
|
237
262
|
client_version,
|
238
263
|
options: nil
|
239
|
-
req =
|
264
|
+
req = {
|
240
265
|
debuggee_id: debuggee_id,
|
241
266
|
breakpoint_id: breakpoint_id,
|
242
267
|
client_version: client_version
|
243
|
-
}.delete_if { |_, v| v.nil? }
|
268
|
+
}.delete_if { |_, v| v.nil? }
|
269
|
+
req = Google::Gax::to_proto(req, Google::Devtools::Clouddebugger::V2::GetBreakpointRequest)
|
244
270
|
@get_breakpoint.call(req, options)
|
245
271
|
end
|
246
272
|
|
@@ -252,7 +278,7 @@ module Google
|
|
252
278
|
# ID of the breakpoint to delete.
|
253
279
|
# @param client_version [String]
|
254
280
|
# The client version making the call.
|
255
|
-
#
|
281
|
+
# Schema: +domain/type/version+ (e.g., +google.com/intellij/v1+).
|
256
282
|
# @param options [Google::Gax::CallOptions]
|
257
283
|
# Overrides the default settings for this call, e.g, timeout,
|
258
284
|
# retries, etc.
|
@@ -260,9 +286,7 @@ module Google
|
|
260
286
|
# @example
|
261
287
|
# require "google/cloud/debugger/v2"
|
262
288
|
#
|
263
|
-
#
|
264
|
-
#
|
265
|
-
# debugger2_client = Debugger2Client.new
|
289
|
+
# debugger2_client = Google::Cloud::Debugger::V2::Debugger2.new
|
266
290
|
# debuggee_id = ''
|
267
291
|
# breakpoint_id = ''
|
268
292
|
# client_version = ''
|
@@ -273,11 +297,12 @@ module Google
|
|
273
297
|
breakpoint_id,
|
274
298
|
client_version,
|
275
299
|
options: nil
|
276
|
-
req =
|
300
|
+
req = {
|
277
301
|
debuggee_id: debuggee_id,
|
278
302
|
breakpoint_id: breakpoint_id,
|
279
303
|
client_version: client_version
|
280
|
-
}.delete_if { |_, v| v.nil? }
|
304
|
+
}.delete_if { |_, v| v.nil? }
|
305
|
+
req = Google::Gax::to_proto(req, Google::Devtools::Clouddebugger::V2::DeleteBreakpointRequest)
|
281
306
|
@delete_breakpoint.call(req, options)
|
282
307
|
nil
|
283
308
|
end
|
@@ -288,15 +313,17 @@ module Google
|
|
288
313
|
# ID of the debuggee whose breakpoints to list.
|
289
314
|
# @param client_version [String]
|
290
315
|
# The client version making the call.
|
291
|
-
#
|
316
|
+
# Schema: +domain/type/version+ (e.g., +google.com/intellij/v1+).
|
292
317
|
# @param include_all_users [true, false]
|
293
318
|
# When set to +true+, the response includes the list of breakpoints set by
|
294
319
|
# any user. Otherwise, it includes only breakpoints set by the caller.
|
295
320
|
# @param include_inactive [true, false]
|
296
321
|
# When set to +true+, the response includes active and inactive
|
297
322
|
# breakpoints. Otherwise, it includes only active breakpoints.
|
298
|
-
# @param action [Google::Devtools::Clouddebugger::V2::ListBreakpointsRequest::BreakpointActionValue]
|
323
|
+
# @param action [Google::Devtools::Clouddebugger::V2::ListBreakpointsRequest::BreakpointActionValue | Hash]
|
299
324
|
# When set, the response includes only breakpoints with the specified action.
|
325
|
+
# A hash of the same form as `Google::Devtools::Clouddebugger::V2::ListBreakpointsRequest::BreakpointActionValue`
|
326
|
+
# can also be provided.
|
300
327
|
# @param strip_results [true, false]
|
301
328
|
# This field is deprecated. The following fields are always stripped out of
|
302
329
|
# the result: +stack_frames+, +evaluated_expressions+ and +variable_table+.
|
@@ -314,9 +341,7 @@ module Google
|
|
314
341
|
# @example
|
315
342
|
# require "google/cloud/debugger/v2"
|
316
343
|
#
|
317
|
-
#
|
318
|
-
#
|
319
|
-
# debugger2_client = Debugger2Client.new
|
344
|
+
# debugger2_client = Google::Cloud::Debugger::V2::Debugger2.new
|
320
345
|
# debuggee_id = ''
|
321
346
|
# client_version = ''
|
322
347
|
# response = debugger2_client.list_breakpoints(debuggee_id, client_version)
|
@@ -330,7 +355,7 @@ module Google
|
|
330
355
|
strip_results: nil,
|
331
356
|
wait_token: nil,
|
332
357
|
options: nil
|
333
|
-
req =
|
358
|
+
req = {
|
334
359
|
debuggee_id: debuggee_id,
|
335
360
|
client_version: client_version,
|
336
361
|
include_all_users: include_all_users,
|
@@ -338,17 +363,18 @@ module Google
|
|
338
363
|
action: action,
|
339
364
|
strip_results: strip_results,
|
340
365
|
wait_token: wait_token
|
341
|
-
}.delete_if { |_, v| v.nil? }
|
366
|
+
}.delete_if { |_, v| v.nil? }
|
367
|
+
req = Google::Gax::to_proto(req, Google::Devtools::Clouddebugger::V2::ListBreakpointsRequest)
|
342
368
|
@list_breakpoints.call(req, options)
|
343
369
|
end
|
344
370
|
|
345
|
-
# Lists all the debuggees that the user
|
371
|
+
# Lists all the debuggees that the user has access to.
|
346
372
|
#
|
347
373
|
# @param project [String]
|
348
374
|
# Project number of a Google Cloud project whose debuggees to list.
|
349
375
|
# @param client_version [String]
|
350
376
|
# The client version making the call.
|
351
|
-
#
|
377
|
+
# Schema: +domain/type/version+ (e.g., +google.com/intellij/v1+).
|
352
378
|
# @param include_inactive [true, false]
|
353
379
|
# When set to +true+, the result includes all debuggees. Otherwise, the
|
354
380
|
# result includes only debuggees that are active.
|
@@ -360,9 +386,7 @@ module Google
|
|
360
386
|
# @example
|
361
387
|
# require "google/cloud/debugger/v2"
|
362
388
|
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
# debugger2_client = Debugger2Client.new
|
389
|
+
# debugger2_client = Google::Cloud::Debugger::V2::Debugger2.new
|
366
390
|
# project = ''
|
367
391
|
# client_version = ''
|
368
392
|
# response = debugger2_client.list_debuggees(project, client_version)
|
@@ -372,11 +396,12 @@ module Google
|
|
372
396
|
client_version,
|
373
397
|
include_inactive: nil,
|
374
398
|
options: nil
|
375
|
-
req =
|
399
|
+
req = {
|
376
400
|
project: project,
|
377
401
|
client_version: client_version,
|
378
402
|
include_inactive: include_inactive
|
379
|
-
}.delete_if { |_, v| v.nil? }
|
403
|
+
}.delete_if { |_, v| v.nil? }
|
404
|
+
req = Google::Gax::to_proto(req, Google::Devtools::Clouddebugger::V2::ListDebuggeesRequest)
|
380
405
|
@list_debuggees.call(req, options)
|
381
406
|
end
|
382
407
|
end
|
@@ -25,9 +25,9 @@ module Google
|
|
25
25
|
#
|
26
26
|
# Examples:
|
27
27
|
#
|
28
|
-
# *
|
29
|
-
#
|
30
|
-
# *
|
28
|
+
# * +Failed to load '$0' which helps debug $1 the first time it
|
29
|
+
# is loaded. Again, $0 is very important.+
|
30
|
+
# * +Please pay $$10 to use $0 instead of $1.+
|
31
31
|
# @!attribute [rw] parameters
|
32
32
|
# @return [Array<String>]
|
33
33
|
# Optional parameters to be embedded into the message.
|
@@ -229,9 +229,9 @@ module Google
|
|
229
229
|
#
|
230
230
|
# Examples of error message applied to value:
|
231
231
|
#
|
232
|
-
# *
|
233
|
-
# *
|
234
|
-
# *
|
232
|
+
# * +Malformed string+,
|
233
|
+
# * +Field f not found in class C+
|
234
|
+
# * +Null pointer dereference+
|
235
235
|
class Variable; end
|
236
236
|
|
237
237
|
# Represents a stack frame context.
|
@@ -315,8 +315,8 @@ module Google
|
|
315
315
|
#
|
316
316
|
# Examples (final state):
|
317
317
|
#
|
318
|
-
# *
|
319
|
-
# *
|
318
|
+
# * +Invalid line number+ referring to location
|
319
|
+
# * +Field f not found in class C+ referring to condition
|
320
320
|
# @!attribute [rw] stack_frames
|
321
321
|
# @return [Array<Google::Devtools::Clouddebugger::V2::StackFrame>]
|
322
322
|
# The stack at breakpoint time.
|
@@ -374,23 +374,26 @@ module Google
|
|
374
374
|
end
|
375
375
|
end
|
376
376
|
|
377
|
-
# Represents the application
|
377
|
+
# Represents the debugged application. The application may include one or more
|
378
378
|
# replicated processes executing the same code. Each of these processes is
|
379
379
|
# attached with a debugger agent, carrying out the debugging commands.
|
380
|
-
#
|
381
|
-
# same
|
380
|
+
# Agents attached to the same debuggee identify themselves as such by using
|
381
|
+
# exactly the same Debuggee message value when registering.
|
382
382
|
# @!attribute [rw] id
|
383
383
|
# @return [String]
|
384
384
|
# Unique identifier for the debuggee generated by the controller service.
|
385
385
|
# @!attribute [rw] project
|
386
386
|
# @return [String]
|
387
387
|
# Project the debuggee is associated with.
|
388
|
-
# Use
|
388
|
+
# Use project number or id when registering a Google Cloud Platform project.
|
389
389
|
# @!attribute [rw] uniquifier
|
390
390
|
# @return [String]
|
391
|
-
#
|
392
|
-
#
|
393
|
-
#
|
391
|
+
# Uniquifier to further distiguish the application.
|
392
|
+
# It is possible that different applications might have identical values in
|
393
|
+
# the debuggee message, thus, incorrectly identified as a single application
|
394
|
+
# by the Controller service. This field adds salt to further distiguish the
|
395
|
+
# application. Agents should consider seeding this field with value that
|
396
|
+
# identifies the code, binary, configuration and environment.
|
394
397
|
# @!attribute [rw] description
|
395
398
|
# @return [String]
|
396
399
|
# Human readable description of the debuggee.
|
@@ -398,13 +401,13 @@ module Google
|
|
398
401
|
# information is recommended.
|
399
402
|
# @!attribute [rw] is_inactive
|
400
403
|
# @return [true, false]
|
401
|
-
# If set to +true+, indicates that
|
402
|
-
# the
|
404
|
+
# If set to +true+, indicates that Controller service does not detect any
|
405
|
+
# activity from the debuggee agents and the application is possibly stopped.
|
403
406
|
# @!attribute [rw] agent_version
|
404
407
|
# @return [String]
|
405
|
-
# Version ID of the agent
|
406
|
-
#
|
407
|
-
# +google.com/gcp
|
408
|
+
# Version ID of the agent.
|
409
|
+
# Schema: +domain/language-platform/vmajor.minor+ (for example
|
410
|
+
# +google.com/java-gcp/v1.1+).
|
408
411
|
# @!attribute [rw] is_disabled
|
409
412
|
# @return [true, false]
|
410
413
|
# If set to +true+, indicates that the agent should disable itself and
|
@@ -418,18 +421,12 @@ module Google
|
|
418
421
|
# @return [Array<Google::Devtools::Source::V1::SourceContext>]
|
419
422
|
# References to the locations and revisions of the source code used in the
|
420
423
|
# deployed application.
|
421
|
-
#
|
422
|
-
# NOTE: This field is deprecated. Consumers should use
|
423
|
-
# +ext_source_contexts+ if it is not empty. Debug agents should populate
|
424
|
-
# both this field and +ext_source_contexts+.
|
425
424
|
# @!attribute [rw] ext_source_contexts
|
426
425
|
# @return [Array<Google::Devtools::Source::V1::ExtendedSourceContext>]
|
427
426
|
# References to the locations and revisions of the source code used in the
|
428
427
|
# deployed application.
|
429
428
|
#
|
430
|
-
#
|
431
|
-
# have a +category+ label of +remote_repo+. Source snapshot source
|
432
|
-
# contexts have a +category+ of +snapshot+.
|
429
|
+
# NOTE: this field is experimental and can be ignored.
|
433
430
|
# @!attribute [rw] labels
|
434
431
|
# @return [Hash{String => String}]
|
435
432
|
# A set of custom debuggee properties, populated by the agent, to be
|
@@ -15,6 +15,19 @@
|
|
15
15
|
module Google
|
16
16
|
module Devtools
|
17
17
|
module Clouddebugger
|
18
|
+
##
|
19
|
+
# # Stackdriver Debugger API Contents
|
20
|
+
#
|
21
|
+
# | Class | Description |
|
22
|
+
# | ----- | ----------- |
|
23
|
+
# | [Debugger2Client][] | Examines the call stack and variables of a running application without stopping or slowing it down. |
|
24
|
+
# | [Controller2Client][] | Examines the call stack and variables of a running application without stopping or slowing it down. |
|
25
|
+
# | [Data Types][] | Data types for Google::Cloud::Debugger::V2 |
|
26
|
+
#
|
27
|
+
# [Debugger2Client]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-debugger/latest/google/devtools/clouddebugger/v2/debugger2client
|
28
|
+
# [Controller2Client]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-debugger/latest/google/devtools/clouddebugger/v2/controller2client
|
29
|
+
# [Data Types]: https://googlecloudplatform.github.io/google-cloud-ruby/#/docs/google-cloud-debugger/latest/google/devtools/clouddebugger/v2/datatypes
|
30
|
+
#
|
18
31
|
module V2
|
19
32
|
# Request to set a breakpoint
|
20
33
|
# @!attribute [rw] debuggee_id
|
@@ -23,11 +36,11 @@ module Google
|
|
23
36
|
# @!attribute [rw] breakpoint
|
24
37
|
# @return [Google::Devtools::Clouddebugger::V2::Breakpoint]
|
25
38
|
# Breakpoint specification to set.
|
26
|
-
# The field
|
39
|
+
# The field +location+ of the breakpoint must be set.
|
27
40
|
# @!attribute [rw] client_version
|
28
41
|
# @return [String]
|
29
42
|
# The client version making the call.
|
30
|
-
#
|
43
|
+
# Schema: +domain/type/version+ (e.g., +google.com/intellij/v1+).
|
31
44
|
class SetBreakpointRequest; end
|
32
45
|
|
33
46
|
# Response for setting a breakpoint.
|
@@ -47,7 +60,7 @@ module Google
|
|
47
60
|
# @!attribute [rw] client_version
|
48
61
|
# @return [String]
|
49
62
|
# The client version making the call.
|
50
|
-
#
|
63
|
+
# Schema: +domain/type/version+ (e.g., +google.com/intellij/v1+).
|
51
64
|
class GetBreakpointRequest; end
|
52
65
|
|
53
66
|
# Response for getting breakpoint information.
|
@@ -67,7 +80,7 @@ module Google
|
|
67
80
|
# @!attribute [rw] client_version
|
68
81
|
# @return [String]
|
69
82
|
# The client version making the call.
|
70
|
-
#
|
83
|
+
# Schema: +domain/type/version+ (e.g., +google.com/intellij/v1+).
|
71
84
|
class DeleteBreakpointRequest; end
|
72
85
|
|
73
86
|
# Request to list breakpoints.
|
@@ -99,7 +112,7 @@ module Google
|
|
99
112
|
# @!attribute [rw] client_version
|
100
113
|
# @return [String]
|
101
114
|
# The client version making the call.
|
102
|
-
#
|
115
|
+
# Schema: +domain/type/version+ (e.g., +google.com/intellij/v1+).
|
103
116
|
class ListBreakpointsRequest
|
104
117
|
# Wrapper message for +Breakpoint.Action+. Defines a filter on the action
|
105
118
|
# field of breakpoints.
|
@@ -115,7 +128,7 @@ module Google
|
|
115
128
|
# List of breakpoints matching the request.
|
116
129
|
# The fields +id+ and +location+ are guaranteed to be set on each breakpoint.
|
117
130
|
# The fields: +stack_frames+, +evaluated_expressions+ and +variable_table+
|
118
|
-
# are cleared on each breakpoint regardless of
|
131
|
+
# are cleared on each breakpoint regardless of its status.
|
119
132
|
# @!attribute [rw] next_wait_token
|
120
133
|
# @return [String]
|
121
134
|
# A wait token that can be used in the next call to +list+ (REST) or
|
@@ -133,17 +146,16 @@ module Google
|
|
133
146
|
# @!attribute [rw] client_version
|
134
147
|
# @return [String]
|
135
148
|
# The client version making the call.
|
136
|
-
#
|
149
|
+
# Schema: +domain/type/version+ (e.g., +google.com/intellij/v1+).
|
137
150
|
class ListDebuggeesRequest; end
|
138
151
|
|
139
152
|
# Response for listing debuggees.
|
140
153
|
# @!attribute [rw] debuggees
|
141
154
|
# @return [Array<Google::Devtools::Clouddebugger::V2::Debuggee>]
|
142
155
|
# List of debuggees accessible to the calling user.
|
143
|
-
#
|
144
|
-
#
|
145
|
-
#
|
146
|
-
# set on each debuggee.
|
156
|
+
# The fields +debuggee.id+ and +description+ are guaranteed to be set.
|
157
|
+
# The +description+ field is a human readable field provided by agents and
|
158
|
+
# can be displayed to users.
|
147
159
|
class ListDebuggeesResponse; end
|
148
160
|
end
|
149
161
|
end
|