google-cloud-network_management-v1 0.1.0 → 0.1.1
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e93f5ba481d8712b6a4dae5f5edd178a32fdaca4ad4ed55700a22aeb4906eeb0
|
4
|
+
data.tar.gz: 4189b9037aa3e18425a09fcf2475e26f480dc83377c0bdcf36651be4f42bd87c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06b28eb46ff05cc4b81313303da9e35bc6360912ca98e8ed24d00f79c0dbef151493062a010f80e41c5ea0ea3852bf2fe7dc31002fc3cd25023dead15298be19
|
7
|
+
data.tar.gz: 0552f637d4a6022529915b0b896c427843bbf090fa1bd80425cac46bf43c5998326741078d6b4679be2d38ea173e748aa691af2c1072ef4731eb51f887a00d61
|
@@ -48,13 +48,12 @@ module Google
|
|
48
48
|
# See {::Google::Cloud::NetworkManagement::V1::ReachabilityService::Client::Configuration}
|
49
49
|
# for a description of the configuration fields.
|
50
50
|
#
|
51
|
-
#
|
51
|
+
# @example
|
52
52
|
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
# end
|
53
|
+
# # Modify the configuration for all ReachabilityService clients
|
54
|
+
# ::Google::Cloud::NetworkManagement::V1::ReachabilityService::Client.configure do |config|
|
55
|
+
# config.timeout = 10.0
|
56
|
+
# end
|
58
57
|
#
|
59
58
|
# @yield [config] Configure the Client client.
|
60
59
|
# @yieldparam config [Client::Configuration]
|
@@ -103,19 +102,15 @@ module Google
|
|
103
102
|
##
|
104
103
|
# Create a new ReachabilityService client object.
|
105
104
|
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
# To create a new ReachabilityService client with the default
|
109
|
-
# configuration:
|
105
|
+
# @example
|
110
106
|
#
|
111
|
-
#
|
107
|
+
# # Create a client using the default configuration
|
108
|
+
# client = ::Google::Cloud::NetworkManagement::V1::ReachabilityService::Client.new
|
112
109
|
#
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
#
|
117
|
-
# config.timeout = 10.0
|
118
|
-
# end
|
110
|
+
# # Create a client using a custom configuration
|
111
|
+
# client = ::Google::Cloud::NetworkManagement::V1::ReachabilityService::Client.new do |config|
|
112
|
+
# config.timeout = 10.0
|
113
|
+
# end
|
119
114
|
#
|
120
115
|
# @yield [config] Configure the ReachabilityService client.
|
121
116
|
# @yieldparam config [Client::Configuration]
|
@@ -135,10 +130,9 @@ module Google
|
|
135
130
|
|
136
131
|
# Create credentials
|
137
132
|
credentials = @config.credentials
|
138
|
-
# Use self-signed JWT if the
|
133
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
139
134
|
# but only if the default endpoint does not have a region prefix.
|
140
|
-
enable_self_signed_jwt = @config.
|
141
|
-
@config.endpoint == Client.configure.endpoint &&
|
135
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
142
136
|
!@config.endpoint.split(".").first.include?("-")
|
143
137
|
credentials ||= Credentials.default scope: @config.scope,
|
144
138
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -252,7 +246,9 @@ module Google
|
|
252
246
|
options.apply_defaults timeout: @config.rpcs.list_connectivity_tests.timeout,
|
253
247
|
metadata: metadata,
|
254
248
|
retry_policy: @config.rpcs.list_connectivity_tests.retry_policy
|
255
|
-
|
249
|
+
|
250
|
+
options.apply_defaults timeout: @config.timeout,
|
251
|
+
metadata: @config.metadata,
|
256
252
|
retry_policy: @config.retry_policy
|
257
253
|
|
258
254
|
@reachability_service_stub.call_rpc :list_connectivity_tests, request, options: options do |response, operation|
|
@@ -320,7 +316,9 @@ module Google
|
|
320
316
|
options.apply_defaults timeout: @config.rpcs.get_connectivity_test.timeout,
|
321
317
|
metadata: metadata,
|
322
318
|
retry_policy: @config.rpcs.get_connectivity_test.retry_policy
|
323
|
-
|
319
|
+
|
320
|
+
options.apply_defaults timeout: @config.timeout,
|
321
|
+
metadata: @config.metadata,
|
324
322
|
retry_policy: @config.retry_policy
|
325
323
|
|
326
324
|
@reachability_service_stub.call_rpc :get_connectivity_test, request, options: options do |response, operation|
|
@@ -410,7 +408,9 @@ module Google
|
|
410
408
|
options.apply_defaults timeout: @config.rpcs.create_connectivity_test.timeout,
|
411
409
|
metadata: metadata,
|
412
410
|
retry_policy: @config.rpcs.create_connectivity_test.retry_policy
|
413
|
-
|
411
|
+
|
412
|
+
options.apply_defaults timeout: @config.timeout,
|
413
|
+
metadata: @config.metadata,
|
414
414
|
retry_policy: @config.retry_policy
|
415
415
|
|
416
416
|
@reachability_service_stub.call_rpc :create_connectivity_test, request, options: options do |response, operation|
|
@@ -493,7 +493,9 @@ module Google
|
|
493
493
|
options.apply_defaults timeout: @config.rpcs.update_connectivity_test.timeout,
|
494
494
|
metadata: metadata,
|
495
495
|
retry_policy: @config.rpcs.update_connectivity_test.retry_policy
|
496
|
-
|
496
|
+
|
497
|
+
options.apply_defaults timeout: @config.timeout,
|
498
|
+
metadata: @config.metadata,
|
497
499
|
retry_policy: @config.retry_policy
|
498
500
|
|
499
501
|
@reachability_service_stub.call_rpc :update_connectivity_test, request, options: options do |response, operation|
|
@@ -572,7 +574,9 @@ module Google
|
|
572
574
|
options.apply_defaults timeout: @config.rpcs.rerun_connectivity_test.timeout,
|
573
575
|
metadata: metadata,
|
574
576
|
retry_policy: @config.rpcs.rerun_connectivity_test.retry_policy
|
575
|
-
|
577
|
+
|
578
|
+
options.apply_defaults timeout: @config.timeout,
|
579
|
+
metadata: @config.metadata,
|
576
580
|
retry_policy: @config.retry_policy
|
577
581
|
|
578
582
|
@reachability_service_stub.call_rpc :rerun_connectivity_test, request, options: options do |response, operation|
|
@@ -640,7 +644,9 @@ module Google
|
|
640
644
|
options.apply_defaults timeout: @config.rpcs.delete_connectivity_test.timeout,
|
641
645
|
metadata: metadata,
|
642
646
|
retry_policy: @config.rpcs.delete_connectivity_test.retry_policy
|
643
|
-
|
647
|
+
|
648
|
+
options.apply_defaults timeout: @config.timeout,
|
649
|
+
metadata: @config.metadata,
|
644
650
|
retry_policy: @config.retry_policy
|
645
651
|
|
646
652
|
@reachability_service_stub.call_rpc :delete_connectivity_test, request, options: options do |response, operation|
|
@@ -665,22 +671,21 @@ module Google
|
|
665
671
|
# Configuration can be applied globally to all clients, or to a single client
|
666
672
|
# on construction.
|
667
673
|
#
|
668
|
-
#
|
669
|
-
#
|
670
|
-
#
|
671
|
-
# to 20 seconds,
|
672
|
-
#
|
673
|
-
#
|
674
|
-
#
|
675
|
-
#
|
676
|
-
#
|
677
|
-
#
|
678
|
-
#
|
679
|
-
#
|
680
|
-
#
|
681
|
-
#
|
682
|
-
#
|
683
|
-
# end
|
674
|
+
# @example
|
675
|
+
#
|
676
|
+
# # Modify the global config, setting the timeout for
|
677
|
+
# # list_connectivity_tests to 20 seconds,
|
678
|
+
# # and all remaining timeouts to 10 seconds.
|
679
|
+
# ::Google::Cloud::NetworkManagement::V1::ReachabilityService::Client.configure do |config|
|
680
|
+
# config.timeout = 10.0
|
681
|
+
# config.rpcs.list_connectivity_tests.timeout = 20.0
|
682
|
+
# end
|
683
|
+
#
|
684
|
+
# # Apply the above configuration only to a new client.
|
685
|
+
# client = ::Google::Cloud::NetworkManagement::V1::ReachabilityService::Client.new do |config|
|
686
|
+
# config.timeout = 10.0
|
687
|
+
# config.rpcs.list_connectivity_tests.timeout = 20.0
|
688
|
+
# end
|
684
689
|
#
|
685
690
|
# @!attribute [rw] endpoint
|
686
691
|
# The hostname or hostname:port of the service endpoint.
|
@@ -169,7 +169,9 @@ module Google
|
|
169
169
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
170
170
|
metadata: metadata,
|
171
171
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
172
|
-
|
172
|
+
|
173
|
+
options.apply_defaults timeout: @config.timeout,
|
174
|
+
metadata: @config.metadata,
|
173
175
|
retry_policy: @config.retry_policy
|
174
176
|
|
175
177
|
@operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -239,7 +241,9 @@ module Google
|
|
239
241
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
240
242
|
metadata: metadata,
|
241
243
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
242
|
-
|
244
|
+
|
245
|
+
options.apply_defaults timeout: @config.timeout,
|
246
|
+
metadata: @config.metadata,
|
243
247
|
retry_policy: @config.retry_policy
|
244
248
|
|
245
249
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -309,7 +313,9 @@ module Google
|
|
309
313
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
310
314
|
metadata: metadata,
|
311
315
|
retry_policy: @config.rpcs.delete_operation.retry_policy
|
312
|
-
|
316
|
+
|
317
|
+
options.apply_defaults timeout: @config.timeout,
|
318
|
+
metadata: @config.metadata,
|
313
319
|
retry_policy: @config.retry_policy
|
314
320
|
|
315
321
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
@@ -384,7 +390,9 @@ module Google
|
|
384
390
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
385
391
|
metadata: metadata,
|
386
392
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
387
|
-
|
393
|
+
|
394
|
+
options.apply_defaults timeout: @config.timeout,
|
395
|
+
metadata: @config.metadata,
|
388
396
|
retry_policy: @config.retry_policy
|
389
397
|
|
390
398
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -456,7 +464,9 @@ module Google
|
|
456
464
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
457
465
|
metadata: metadata,
|
458
466
|
retry_policy: @config.rpcs.wait_operation.retry_policy
|
459
|
-
|
467
|
+
|
468
|
+
options.apply_defaults timeout: @config.timeout,
|
469
|
+
metadata: @config.metadata,
|
460
470
|
retry_policy: @config.retry_policy
|
461
471
|
|
462
472
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
@@ -481,22 +491,21 @@ module Google
|
|
481
491
|
# Configuration can be applied globally to all clients, or to a single client
|
482
492
|
# on construction.
|
483
493
|
#
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
# to 20 seconds,
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
# end
|
494
|
+
# @example
|
495
|
+
#
|
496
|
+
# # Modify the global config, setting the timeout for
|
497
|
+
# # list_operations to 20 seconds,
|
498
|
+
# # and all remaining timeouts to 10 seconds.
|
499
|
+
# ::Google::Longrunning::Operations::Client.configure do |config|
|
500
|
+
# config.timeout = 10.0
|
501
|
+
# config.rpcs.list_operations.timeout = 20.0
|
502
|
+
# end
|
503
|
+
#
|
504
|
+
# # Apply the above configuration only to a new client.
|
505
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
506
|
+
# config.timeout = 10.0
|
507
|
+
# config.rpcs.list_operations.timeout = 20.0
|
508
|
+
# end
|
500
509
|
#
|
501
510
|
# @!attribute [rw] endpoint
|
502
511
|
# 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-network_management-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
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
|