google-cloud-debugger-v2 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c36518164e04e656f7563b48d8e8b7442d9928571a691e6760af8f4fc113cb6f
|
4
|
+
data.tar.gz: 2ac1acc95d8134e55c6a217eaa633423cd961652673c1a831895f0fba6980efc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d164a8fff5493e06624025cba587d748e95b09c79a12bb9db838943c48a6b58fe2b67684f3047664ccef47ba46cefed7603cd62ee4391971599e4e80cea90678
|
7
|
+
data.tar.gz: 9514d81701852d9ad7d24c28ae4f7791b909ab19c4f7d4c945656a6cebdc781004c61db72dfa8e44e12fd4e4cc9d0483496e8b9ef16954cbf2e99cf7d1c15a19
|
@@ -58,13 +58,12 @@ module Google
|
|
58
58
|
# See {::Google::Cloud::Debugger::V2::Controller::Client::Configuration}
|
59
59
|
# for a description of the configuration fields.
|
60
60
|
#
|
61
|
-
#
|
61
|
+
# @example
|
62
62
|
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
# end
|
63
|
+
# # Modify the configuration for all Controller clients
|
64
|
+
# ::Google::Cloud::Debugger::V2::Controller::Client.configure do |config|
|
65
|
+
# config.timeout = 10.0
|
66
|
+
# end
|
68
67
|
#
|
69
68
|
# @yield [config] Configure the Client client.
|
70
69
|
# @yieldparam config [Client::Configuration]
|
@@ -123,19 +122,15 @@ module Google
|
|
123
122
|
##
|
124
123
|
# Create a new Controller client object.
|
125
124
|
#
|
126
|
-
#
|
127
|
-
#
|
128
|
-
# To create a new Controller client with the default
|
129
|
-
# configuration:
|
130
|
-
#
|
131
|
-
# client = ::Google::Cloud::Debugger::V2::Controller::Client.new
|
125
|
+
# @example
|
132
126
|
#
|
133
|
-
#
|
134
|
-
#
|
127
|
+
# # Create a client using the default configuration
|
128
|
+
# client = ::Google::Cloud::Debugger::V2::Controller::Client.new
|
135
129
|
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
130
|
+
# # Create a client using a custom configuration
|
131
|
+
# client = ::Google::Cloud::Debugger::V2::Controller::Client.new do |config|
|
132
|
+
# config.timeout = 10.0
|
133
|
+
# end
|
139
134
|
#
|
140
135
|
# @yield [config] Configure the Controller client.
|
141
136
|
# @yieldparam config [Client::Configuration]
|
@@ -155,10 +150,9 @@ module Google
|
|
155
150
|
|
156
151
|
# Create credentials
|
157
152
|
credentials = @config.credentials
|
158
|
-
# Use self-signed JWT if the
|
153
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
159
154
|
# but only if the default endpoint does not have a region prefix.
|
160
|
-
enable_self_signed_jwt = @config.
|
161
|
-
@config.endpoint == Client.configure.endpoint &&
|
155
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
162
156
|
!@config.endpoint.split(".").first.include?("-")
|
163
157
|
credentials ||= Credentials.default scope: @config.scope,
|
164
158
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -239,7 +233,9 @@ module Google
|
|
239
233
|
options.apply_defaults timeout: @config.rpcs.register_debuggee.timeout,
|
240
234
|
metadata: metadata,
|
241
235
|
retry_policy: @config.rpcs.register_debuggee.retry_policy
|
242
|
-
|
236
|
+
|
237
|
+
options.apply_defaults timeout: @config.timeout,
|
238
|
+
metadata: @config.metadata,
|
243
239
|
retry_policy: @config.retry_policy
|
244
240
|
|
245
241
|
@controller_stub.call_rpc :register_debuggee, request, options: options do |response, operation|
|
@@ -329,7 +325,9 @@ module Google
|
|
329
325
|
options.apply_defaults timeout: @config.rpcs.list_active_breakpoints.timeout,
|
330
326
|
metadata: metadata,
|
331
327
|
retry_policy: @config.rpcs.list_active_breakpoints.retry_policy
|
332
|
-
|
328
|
+
|
329
|
+
options.apply_defaults timeout: @config.timeout,
|
330
|
+
metadata: @config.metadata,
|
333
331
|
retry_policy: @config.retry_policy
|
334
332
|
|
335
333
|
@controller_stub.call_rpc :list_active_breakpoints, request, options: options do |response, operation|
|
@@ -407,7 +405,9 @@ module Google
|
|
407
405
|
options.apply_defaults timeout: @config.rpcs.update_active_breakpoint.timeout,
|
408
406
|
metadata: metadata,
|
409
407
|
retry_policy: @config.rpcs.update_active_breakpoint.retry_policy
|
410
|
-
|
408
|
+
|
409
|
+
options.apply_defaults timeout: @config.timeout,
|
410
|
+
metadata: @config.metadata,
|
411
411
|
retry_policy: @config.retry_policy
|
412
412
|
|
413
413
|
@controller_stub.call_rpc :update_active_breakpoint, request, options: options do |response, operation|
|
@@ -431,22 +431,21 @@ module Google
|
|
431
431
|
# Configuration can be applied globally to all clients, or to a single client
|
432
432
|
# on construction.
|
433
433
|
#
|
434
|
-
#
|
435
|
-
#
|
436
|
-
#
|
437
|
-
# to 20 seconds,
|
438
|
-
#
|
439
|
-
#
|
440
|
-
#
|
441
|
-
#
|
442
|
-
#
|
443
|
-
#
|
444
|
-
#
|
445
|
-
#
|
446
|
-
#
|
447
|
-
#
|
448
|
-
#
|
449
|
-
# end
|
434
|
+
# @example
|
435
|
+
#
|
436
|
+
# # Modify the global config, setting the timeout for
|
437
|
+
# # register_debuggee to 20 seconds,
|
438
|
+
# # and all remaining timeouts to 10 seconds.
|
439
|
+
# ::Google::Cloud::Debugger::V2::Controller::Client.configure do |config|
|
440
|
+
# config.timeout = 10.0
|
441
|
+
# config.rpcs.register_debuggee.timeout = 20.0
|
442
|
+
# end
|
443
|
+
#
|
444
|
+
# # Apply the above configuration only to a new client.
|
445
|
+
# client = ::Google::Cloud::Debugger::V2::Controller::Client.new do |config|
|
446
|
+
# config.timeout = 10.0
|
447
|
+
# config.rpcs.register_debuggee.timeout = 20.0
|
448
|
+
# end
|
450
449
|
#
|
451
450
|
# @!attribute [rw] endpoint
|
452
451
|
# The hostname or hostname:port of the service endpoint.
|
@@ -50,13 +50,12 @@ module Google
|
|
50
50
|
# See {::Google::Cloud::Debugger::V2::Debugger::Client::Configuration}
|
51
51
|
# for a description of the configuration fields.
|
52
52
|
#
|
53
|
-
#
|
53
|
+
# @example
|
54
54
|
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
# end
|
55
|
+
# # Modify the configuration for all Debugger clients
|
56
|
+
# ::Google::Cloud::Debugger::V2::Debugger::Client.configure do |config|
|
57
|
+
# config.timeout = 10.0
|
58
|
+
# end
|
60
59
|
#
|
61
60
|
# @yield [config] Configure the Client client.
|
62
61
|
# @yieldparam config [Client::Configuration]
|
@@ -125,19 +124,15 @@ module Google
|
|
125
124
|
##
|
126
125
|
# Create a new Debugger client object.
|
127
126
|
#
|
128
|
-
#
|
129
|
-
#
|
130
|
-
# To create a new Debugger client with the default
|
131
|
-
# configuration:
|
132
|
-
#
|
133
|
-
# client = ::Google::Cloud::Debugger::V2::Debugger::Client.new
|
127
|
+
# @example
|
134
128
|
#
|
135
|
-
#
|
136
|
-
#
|
129
|
+
# # Create a client using the default configuration
|
130
|
+
# client = ::Google::Cloud::Debugger::V2::Debugger::Client.new
|
137
131
|
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
132
|
+
# # Create a client using a custom configuration
|
133
|
+
# client = ::Google::Cloud::Debugger::V2::Debugger::Client.new do |config|
|
134
|
+
# config.timeout = 10.0
|
135
|
+
# end
|
141
136
|
#
|
142
137
|
# @yield [config] Configure the Debugger client.
|
143
138
|
# @yieldparam config [Client::Configuration]
|
@@ -157,10 +152,9 @@ module Google
|
|
157
152
|
|
158
153
|
# Create credentials
|
159
154
|
credentials = @config.credentials
|
160
|
-
# Use self-signed JWT if the
|
155
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
161
156
|
# but only if the default endpoint does not have a region prefix.
|
162
|
-
enable_self_signed_jwt = @config.
|
163
|
-
@config.endpoint == Client.configure.endpoint &&
|
157
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
164
158
|
!@config.endpoint.split(".").first.include?("-")
|
165
159
|
credentials ||= Credentials.default scope: @config.scope,
|
166
160
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -242,7 +236,9 @@ module Google
|
|
242
236
|
options.apply_defaults timeout: @config.rpcs.set_breakpoint.timeout,
|
243
237
|
metadata: metadata,
|
244
238
|
retry_policy: @config.rpcs.set_breakpoint.retry_policy
|
245
|
-
|
239
|
+
|
240
|
+
options.apply_defaults timeout: @config.timeout,
|
241
|
+
metadata: @config.metadata,
|
246
242
|
retry_policy: @config.retry_policy
|
247
243
|
|
248
244
|
@debugger_stub.call_rpc :set_breakpoint, request, options: options do |response, operation|
|
@@ -314,7 +310,9 @@ module Google
|
|
314
310
|
options.apply_defaults timeout: @config.rpcs.get_breakpoint.timeout,
|
315
311
|
metadata: metadata,
|
316
312
|
retry_policy: @config.rpcs.get_breakpoint.retry_policy
|
317
|
-
|
313
|
+
|
314
|
+
options.apply_defaults timeout: @config.timeout,
|
315
|
+
metadata: @config.metadata,
|
318
316
|
retry_policy: @config.retry_policy
|
319
317
|
|
320
318
|
@debugger_stub.call_rpc :get_breakpoint, request, options: options do |response, operation|
|
@@ -386,7 +384,9 @@ module Google
|
|
386
384
|
options.apply_defaults timeout: @config.rpcs.delete_breakpoint.timeout,
|
387
385
|
metadata: metadata,
|
388
386
|
retry_policy: @config.rpcs.delete_breakpoint.retry_policy
|
389
|
-
|
387
|
+
|
388
|
+
options.apply_defaults timeout: @config.timeout,
|
389
|
+
metadata: @config.metadata,
|
390
390
|
retry_policy: @config.retry_policy
|
391
391
|
|
392
392
|
@debugger_stub.call_rpc :delete_breakpoint, request, options: options do |response, operation|
|
@@ -472,7 +472,9 @@ module Google
|
|
472
472
|
options.apply_defaults timeout: @config.rpcs.list_breakpoints.timeout,
|
473
473
|
metadata: metadata,
|
474
474
|
retry_policy: @config.rpcs.list_breakpoints.retry_policy
|
475
|
-
|
475
|
+
|
476
|
+
options.apply_defaults timeout: @config.timeout,
|
477
|
+
metadata: @config.metadata,
|
476
478
|
retry_policy: @config.retry_policy
|
477
479
|
|
478
480
|
@debugger_stub.call_rpc :list_breakpoints, request, options: options do |response, operation|
|
@@ -538,7 +540,9 @@ module Google
|
|
538
540
|
options.apply_defaults timeout: @config.rpcs.list_debuggees.timeout,
|
539
541
|
metadata: metadata,
|
540
542
|
retry_policy: @config.rpcs.list_debuggees.retry_policy
|
541
|
-
|
543
|
+
|
544
|
+
options.apply_defaults timeout: @config.timeout,
|
545
|
+
metadata: @config.metadata,
|
542
546
|
retry_policy: @config.retry_policy
|
543
547
|
|
544
548
|
@debugger_stub.call_rpc :list_debuggees, request, options: options do |response, operation|
|
@@ -562,22 +566,21 @@ module Google
|
|
562
566
|
# Configuration can be applied globally to all clients, or to a single client
|
563
567
|
# on construction.
|
564
568
|
#
|
565
|
-
#
|
566
|
-
#
|
567
|
-
#
|
568
|
-
# to 20 seconds,
|
569
|
-
#
|
570
|
-
#
|
571
|
-
#
|
572
|
-
#
|
573
|
-
#
|
574
|
-
#
|
575
|
-
#
|
576
|
-
#
|
577
|
-
#
|
578
|
-
#
|
579
|
-
#
|
580
|
-
# end
|
569
|
+
# @example
|
570
|
+
#
|
571
|
+
# # Modify the global config, setting the timeout for
|
572
|
+
# # set_breakpoint to 20 seconds,
|
573
|
+
# # and all remaining timeouts to 10 seconds.
|
574
|
+
# ::Google::Cloud::Debugger::V2::Debugger::Client.configure do |config|
|
575
|
+
# config.timeout = 10.0
|
576
|
+
# config.rpcs.set_breakpoint.timeout = 20.0
|
577
|
+
# end
|
578
|
+
#
|
579
|
+
# # Apply the above configuration only to a new client.
|
580
|
+
# client = ::Google::Cloud::Debugger::V2::Debugger::Client.new do |config|
|
581
|
+
# config.timeout = 10.0
|
582
|
+
# config.rpcs.set_breakpoint.timeout = 20.0
|
583
|
+
# end
|
581
584
|
#
|
582
585
|
# @!attribute [rw] endpoint
|
583
586
|
# The hostname or hostname:port of the service endpoint.
|
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.3
|
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-
|
11
|
+
date: 2021-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|