google-cloud-debugger-v2 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/debugger/v2/controller/client.rb +58 -7
- data/lib/google/cloud/debugger/v2/debugger/client.rb +101 -14
- data/lib/google/cloud/debugger/v2/version.rb +1 -1
- data/lib/google/devtools/clouddebugger/v2/controller_pb.rb +2 -2
- data/lib/google/devtools/clouddebugger/v2/controller_services_pb.rb +1 -1
- data/lib/google/devtools/clouddebugger/v2/data_pb.rb +2 -2
- data/lib/google/devtools/clouddebugger/v2/debugger_pb.rb +2 -2
- data/lib/google/devtools/clouddebugger/v2/debugger_services_pb.rb +1 -1
- data/lib/google/devtools/source/v1/source_context_pb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4caaddba076e969ae0b45fbdf286a91e5981d4b84d1bcff0594852c774406d19
|
4
|
+
data.tar.gz: 6d1fd5df112f7845d3a3000ad4112ec45f9193ca3f5480ee78f65873e1e3da41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b53f1eabdbcfb31a18c09b4dc5bca381f3727d7e8c617f39d10582b88a3af68765d5144705ecaf39844668897b86e02eebaa3a63b22523b7d8b6343f66492e4f
|
7
|
+
data.tar.gz: c758fb0b4c19c8dfde634aec90aef4aa4d194cdbd58892f5bc6a9efb6ebc599bc29db2a7427e00be7dbe2e084f7664fe942a41b70cc2b1e184a96841fed2519d
|
@@ -213,6 +213,21 @@ module Google
|
|
213
213
|
#
|
214
214
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
215
215
|
#
|
216
|
+
# @example Basic example
|
217
|
+
# require "google/cloud/debugger/v2"
|
218
|
+
#
|
219
|
+
# # Create a client object. The client can be reused for multiple calls.
|
220
|
+
# client = Google::Cloud::Debugger::V2::Controller::Client.new
|
221
|
+
#
|
222
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
223
|
+
# request = Google::Cloud::Debugger::V2::RegisterDebuggeeRequest.new
|
224
|
+
#
|
225
|
+
# # Call the register_debuggee method.
|
226
|
+
# result = client.register_debuggee request
|
227
|
+
#
|
228
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::RegisterDebuggeeResponse.
|
229
|
+
# p result
|
230
|
+
#
|
216
231
|
def register_debuggee request, options = nil
|
217
232
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
218
233
|
|
@@ -299,6 +314,21 @@ module Google
|
|
299
314
|
#
|
300
315
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
301
316
|
#
|
317
|
+
# @example Basic example
|
318
|
+
# require "google/cloud/debugger/v2"
|
319
|
+
#
|
320
|
+
# # Create a client object. The client can be reused for multiple calls.
|
321
|
+
# client = Google::Cloud::Debugger::V2::Controller::Client.new
|
322
|
+
#
|
323
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
324
|
+
# request = Google::Cloud::Debugger::V2::ListActiveBreakpointsRequest.new
|
325
|
+
#
|
326
|
+
# # Call the list_active_breakpoints method.
|
327
|
+
# result = client.list_active_breakpoints request
|
328
|
+
#
|
329
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::ListActiveBreakpointsResponse.
|
330
|
+
# p result
|
331
|
+
#
|
302
332
|
def list_active_breakpoints request, options = nil
|
303
333
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
304
334
|
|
@@ -316,9 +346,11 @@ module Google
|
|
316
346
|
gapic_version: ::Google::Cloud::Debugger::V2::VERSION
|
317
347
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
318
348
|
|
319
|
-
header_params = {
|
320
|
-
|
321
|
-
|
349
|
+
header_params = {}
|
350
|
+
if request.debuggee_id
|
351
|
+
header_params["debuggee_id"] = request.debuggee_id
|
352
|
+
end
|
353
|
+
|
322
354
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
323
355
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
324
356
|
|
@@ -378,6 +410,21 @@ module Google
|
|
378
410
|
#
|
379
411
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
380
412
|
#
|
413
|
+
# @example Basic example
|
414
|
+
# require "google/cloud/debugger/v2"
|
415
|
+
#
|
416
|
+
# # Create a client object. The client can be reused for multiple calls.
|
417
|
+
# client = Google::Cloud::Debugger::V2::Controller::Client.new
|
418
|
+
#
|
419
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
420
|
+
# request = Google::Cloud::Debugger::V2::UpdateActiveBreakpointRequest.new
|
421
|
+
#
|
422
|
+
# # Call the update_active_breakpoint method.
|
423
|
+
# result = client.update_active_breakpoint request
|
424
|
+
#
|
425
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::UpdateActiveBreakpointResponse.
|
426
|
+
# p result
|
427
|
+
#
|
381
428
|
def update_active_breakpoint request, options = nil
|
382
429
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
383
430
|
|
@@ -395,10 +442,14 @@ module Google
|
|
395
442
|
gapic_version: ::Google::Cloud::Debugger::V2::VERSION
|
396
443
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
397
444
|
|
398
|
-
header_params = {
|
399
|
-
|
400
|
-
"
|
401
|
-
|
445
|
+
header_params = {}
|
446
|
+
if request.debuggee_id
|
447
|
+
header_params["debuggee_id"] = request.debuggee_id
|
448
|
+
end
|
449
|
+
if request.breakpoint&.id
|
450
|
+
header_params["breakpoint.id"] = request.breakpoint.id
|
451
|
+
end
|
452
|
+
|
402
453
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
403
454
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
404
455
|
|
@@ -210,6 +210,21 @@ module Google
|
|
210
210
|
#
|
211
211
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
212
212
|
#
|
213
|
+
# @example Basic example
|
214
|
+
# require "google/cloud/debugger/v2"
|
215
|
+
#
|
216
|
+
# # Create a client object. The client can be reused for multiple calls.
|
217
|
+
# client = Google::Cloud::Debugger::V2::Debugger::Client.new
|
218
|
+
#
|
219
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
220
|
+
# request = Google::Cloud::Debugger::V2::SetBreakpointRequest.new
|
221
|
+
#
|
222
|
+
# # Call the set_breakpoint method.
|
223
|
+
# result = client.set_breakpoint request
|
224
|
+
#
|
225
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::SetBreakpointResponse.
|
226
|
+
# p result
|
227
|
+
#
|
213
228
|
def set_breakpoint request, options = nil
|
214
229
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
215
230
|
|
@@ -227,9 +242,11 @@ module Google
|
|
227
242
|
gapic_version: ::Google::Cloud::Debugger::V2::VERSION
|
228
243
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
229
244
|
|
230
|
-
header_params = {
|
231
|
-
|
232
|
-
|
245
|
+
header_params = {}
|
246
|
+
if request.debuggee_id
|
247
|
+
header_params["debuggee_id"] = request.debuggee_id
|
248
|
+
end
|
249
|
+
|
233
250
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
234
251
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
235
252
|
|
@@ -283,6 +300,21 @@ module Google
|
|
283
300
|
#
|
284
301
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
285
302
|
#
|
303
|
+
# @example Basic example
|
304
|
+
# require "google/cloud/debugger/v2"
|
305
|
+
#
|
306
|
+
# # Create a client object. The client can be reused for multiple calls.
|
307
|
+
# client = Google::Cloud::Debugger::V2::Debugger::Client.new
|
308
|
+
#
|
309
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
310
|
+
# request = Google::Cloud::Debugger::V2::GetBreakpointRequest.new
|
311
|
+
#
|
312
|
+
# # Call the get_breakpoint method.
|
313
|
+
# result = client.get_breakpoint request
|
314
|
+
#
|
315
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::GetBreakpointResponse.
|
316
|
+
# p result
|
317
|
+
#
|
286
318
|
def get_breakpoint request, options = nil
|
287
319
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
288
320
|
|
@@ -300,10 +332,14 @@ module Google
|
|
300
332
|
gapic_version: ::Google::Cloud::Debugger::V2::VERSION
|
301
333
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
302
334
|
|
303
|
-
header_params = {
|
304
|
-
|
305
|
-
"
|
306
|
-
|
335
|
+
header_params = {}
|
336
|
+
if request.debuggee_id
|
337
|
+
header_params["debuggee_id"] = request.debuggee_id
|
338
|
+
end
|
339
|
+
if request.breakpoint_id
|
340
|
+
header_params["breakpoint_id"] = request.breakpoint_id
|
341
|
+
end
|
342
|
+
|
307
343
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
308
344
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
309
345
|
|
@@ -357,6 +393,21 @@ module Google
|
|
357
393
|
#
|
358
394
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
359
395
|
#
|
396
|
+
# @example Basic example
|
397
|
+
# require "google/cloud/debugger/v2"
|
398
|
+
#
|
399
|
+
# # Create a client object. The client can be reused for multiple calls.
|
400
|
+
# client = Google::Cloud::Debugger::V2::Debugger::Client.new
|
401
|
+
#
|
402
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
403
|
+
# request = Google::Cloud::Debugger::V2::DeleteBreakpointRequest.new
|
404
|
+
#
|
405
|
+
# # Call the delete_breakpoint method.
|
406
|
+
# result = client.delete_breakpoint request
|
407
|
+
#
|
408
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
409
|
+
# p result
|
410
|
+
#
|
360
411
|
def delete_breakpoint request, options = nil
|
361
412
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
362
413
|
|
@@ -374,10 +425,14 @@ module Google
|
|
374
425
|
gapic_version: ::Google::Cloud::Debugger::V2::VERSION
|
375
426
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
376
427
|
|
377
|
-
header_params = {
|
378
|
-
|
379
|
-
"
|
380
|
-
|
428
|
+
header_params = {}
|
429
|
+
if request.debuggee_id
|
430
|
+
header_params["debuggee_id"] = request.debuggee_id
|
431
|
+
end
|
432
|
+
if request.breakpoint_id
|
433
|
+
header_params["breakpoint_id"] = request.breakpoint_id
|
434
|
+
end
|
435
|
+
|
381
436
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
382
437
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
383
438
|
|
@@ -446,6 +501,21 @@ module Google
|
|
446
501
|
#
|
447
502
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
448
503
|
#
|
504
|
+
# @example Basic example
|
505
|
+
# require "google/cloud/debugger/v2"
|
506
|
+
#
|
507
|
+
# # Create a client object. The client can be reused for multiple calls.
|
508
|
+
# client = Google::Cloud::Debugger::V2::Debugger::Client.new
|
509
|
+
#
|
510
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
511
|
+
# request = Google::Cloud::Debugger::V2::ListBreakpointsRequest.new
|
512
|
+
#
|
513
|
+
# # Call the list_breakpoints method.
|
514
|
+
# result = client.list_breakpoints request
|
515
|
+
#
|
516
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::ListBreakpointsResponse.
|
517
|
+
# p result
|
518
|
+
#
|
449
519
|
def list_breakpoints request, options = nil
|
450
520
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
451
521
|
|
@@ -463,9 +533,11 @@ module Google
|
|
463
533
|
gapic_version: ::Google::Cloud::Debugger::V2::VERSION
|
464
534
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
465
535
|
|
466
|
-
header_params = {
|
467
|
-
|
468
|
-
|
536
|
+
header_params = {}
|
537
|
+
if request.debuggee_id
|
538
|
+
header_params["debuggee_id"] = request.debuggee_id
|
539
|
+
end
|
540
|
+
|
469
541
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
470
542
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
471
543
|
|
@@ -520,6 +592,21 @@ module Google
|
|
520
592
|
#
|
521
593
|
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
522
594
|
#
|
595
|
+
# @example Basic example
|
596
|
+
# require "google/cloud/debugger/v2"
|
597
|
+
#
|
598
|
+
# # Create a client object. The client can be reused for multiple calls.
|
599
|
+
# client = Google::Cloud::Debugger::V2::Debugger::Client.new
|
600
|
+
#
|
601
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
602
|
+
# request = Google::Cloud::Debugger::V2::ListDebuggeesRequest.new
|
603
|
+
#
|
604
|
+
# # Call the list_debuggees method.
|
605
|
+
# result = client.list_debuggees request
|
606
|
+
#
|
607
|
+
# # The returned object is of type Google::Cloud::Debugger::V2::ListDebuggeesResponse.
|
608
|
+
# p result
|
609
|
+
#
|
523
610
|
def list_debuggees request, options = nil
|
524
611
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
525
612
|
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/devtools/clouddebugger/v2/controller.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
9
7
|
require 'google/devtools/clouddebugger/v2/data_pb'
|
10
8
|
require 'google/protobuf/empty_pb'
|
9
|
+
require 'google/protobuf'
|
10
|
+
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
12
|
add_file("google/devtools/clouddebugger/v2/controller.proto", :syntax => :proto3) do
|
13
13
|
add_message "google.devtools.clouddebugger.v2.RegisterDebuggeeRequest" do
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/devtools/clouddebugger/v2/data.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/devtools/source/v1/source_context_pb'
|
7
5
|
require 'google/protobuf/timestamp_pb'
|
8
6
|
require 'google/protobuf/wrappers_pb'
|
9
7
|
require 'google/api/annotations_pb'
|
8
|
+
require 'google/protobuf'
|
9
|
+
|
10
10
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
11
|
add_file("google/devtools/clouddebugger/v2/data.proto", :syntax => :proto3) do
|
12
12
|
add_message "google.devtools.clouddebugger.v2.FormatMessage" do
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/devtools/clouddebugger/v2/debugger.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/client_pb'
|
7
5
|
require 'google/api/field_behavior_pb'
|
8
6
|
require 'google/devtools/clouddebugger/v2/data_pb'
|
9
7
|
require 'google/protobuf/empty_pb'
|
10
8
|
require 'google/api/annotations_pb'
|
9
|
+
require 'google/protobuf'
|
10
|
+
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
12
|
add_file("google/devtools/clouddebugger/v2/debugger.proto", :syntax => :proto3) do
|
13
13
|
add_message "google.devtools.clouddebugger.v2.SetBreakpointRequest" do
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/devtools/source/v1/source_context.proto
|
3
3
|
|
4
|
+
require 'google/api/annotations_pb'
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
require 'google/api/annotations_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
8
|
add_file("google/devtools/source/v1/source_context.proto", :syntax => :proto3) do
|
9
9
|
add_message "google.devtools.source.v1.SourceContext" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-debugger-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08
|
11
|
+
date: 2021-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|