google-cloud-gke_hub-v1beta1 0.1.2 → 0.1.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: b49661e137251ba10431dace0265999ae8963bc1bef12fba683454155d8d1a49
|
4
|
+
data.tar.gz: 64abdab03401c4e034c61326c3b668a0d435b3ef70a34f39111ff094a7b28a23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5daeecbd3a3bf18c808e9f5fd5691e535e8415adec6410978331d0d5467559e5951c5931352dd77a050d23dd054c144579b7a8c1d69247b4901479964f87fde4
|
7
|
+
data.tar.gz: 5ab5e5bb408dbc244316d38657d2a5e261f8869b9dd768a999137a413856470fad66969e0e5657a8d5a8911efeff81f2879be03cffc94876d6e9c6990e89424f
|
@@ -42,13 +42,12 @@ module Google
|
|
42
42
|
# See {::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Client::Configuration}
|
43
43
|
# for a description of the configuration fields.
|
44
44
|
#
|
45
|
-
#
|
45
|
+
# @example
|
46
46
|
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
# end
|
47
|
+
# # Modify the configuration for all GkeHubMembershipService clients
|
48
|
+
# ::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Client.configure do |config|
|
49
|
+
# config.timeout = 10.0
|
50
|
+
# end
|
52
51
|
#
|
53
52
|
# @yield [config] Configure the Client client.
|
54
53
|
# @yieldparam config [Client::Configuration]
|
@@ -100,19 +99,15 @@ module Google
|
|
100
99
|
##
|
101
100
|
# Create a new GkeHubMembershipService client object.
|
102
101
|
#
|
103
|
-
#
|
104
|
-
#
|
105
|
-
# To create a new GkeHubMembershipService client with the default
|
106
|
-
# configuration:
|
102
|
+
# @example
|
107
103
|
#
|
108
|
-
#
|
104
|
+
# # Create a client using the default configuration
|
105
|
+
# client = ::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Client.new
|
109
106
|
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
#
|
114
|
-
# config.timeout = 10.0
|
115
|
-
# end
|
107
|
+
# # Create a client using a custom configuration
|
108
|
+
# client = ::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Client.new do |config|
|
109
|
+
# config.timeout = 10.0
|
110
|
+
# end
|
116
111
|
#
|
117
112
|
# @yield [config] Configure the GkeHubMembershipService client.
|
118
113
|
# @yieldparam config [Client::Configuration]
|
@@ -132,10 +127,9 @@ module Google
|
|
132
127
|
|
133
128
|
# Create credentials
|
134
129
|
credentials = @config.credentials
|
135
|
-
# Use self-signed JWT if the
|
130
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
136
131
|
# but only if the default endpoint does not have a region prefix.
|
137
|
-
enable_self_signed_jwt = @config.
|
138
|
-
@config.endpoint == Client.configure.endpoint &&
|
132
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
139
133
|
!@config.endpoint.split(".").first.include?("-")
|
140
134
|
credentials ||= Credentials.default scope: @config.scope,
|
141
135
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -256,7 +250,9 @@ module Google
|
|
256
250
|
options.apply_defaults timeout: @config.rpcs.list_memberships.timeout,
|
257
251
|
metadata: metadata,
|
258
252
|
retry_policy: @config.rpcs.list_memberships.retry_policy
|
259
|
-
|
253
|
+
|
254
|
+
options.apply_defaults timeout: @config.timeout,
|
255
|
+
metadata: @config.metadata,
|
260
256
|
retry_policy: @config.retry_policy
|
261
257
|
|
262
258
|
@gke_hub_membership_service_stub.call_rpc :list_memberships, request, options: options do |response, operation|
|
@@ -324,7 +320,9 @@ module Google
|
|
324
320
|
options.apply_defaults timeout: @config.rpcs.get_membership.timeout,
|
325
321
|
metadata: metadata,
|
326
322
|
retry_policy: @config.rpcs.get_membership.retry_policy
|
327
|
-
|
323
|
+
|
324
|
+
options.apply_defaults timeout: @config.timeout,
|
325
|
+
metadata: @config.metadata,
|
328
326
|
retry_policy: @config.retry_policy
|
329
327
|
|
330
328
|
@gke_hub_membership_service_stub.call_rpc :get_membership, request, options: options do |response, operation|
|
@@ -403,7 +401,9 @@ module Google
|
|
403
401
|
options.apply_defaults timeout: @config.rpcs.create_membership.timeout,
|
404
402
|
metadata: metadata,
|
405
403
|
retry_policy: @config.rpcs.create_membership.retry_policy
|
406
|
-
|
404
|
+
|
405
|
+
options.apply_defaults timeout: @config.timeout,
|
406
|
+
metadata: @config.metadata,
|
407
407
|
retry_policy: @config.retry_policy
|
408
408
|
|
409
409
|
@gke_hub_membership_service_stub.call_rpc :create_membership, request, options: options do |response, operation|
|
@@ -471,7 +471,9 @@ module Google
|
|
471
471
|
options.apply_defaults timeout: @config.rpcs.delete_membership.timeout,
|
472
472
|
metadata: metadata,
|
473
473
|
retry_policy: @config.rpcs.delete_membership.retry_policy
|
474
|
-
|
474
|
+
|
475
|
+
options.apply_defaults timeout: @config.timeout,
|
476
|
+
metadata: @config.metadata,
|
475
477
|
retry_policy: @config.retry_policy
|
476
478
|
|
477
479
|
@gke_hub_membership_service_stub.call_rpc :delete_membership, request, options: options do |response, operation|
|
@@ -549,7 +551,9 @@ module Google
|
|
549
551
|
options.apply_defaults timeout: @config.rpcs.update_membership.timeout,
|
550
552
|
metadata: metadata,
|
551
553
|
retry_policy: @config.rpcs.update_membership.retry_policy
|
552
|
-
|
554
|
+
|
555
|
+
options.apply_defaults timeout: @config.timeout,
|
556
|
+
metadata: @config.metadata,
|
553
557
|
retry_policy: @config.retry_policy
|
554
558
|
|
555
559
|
@gke_hub_membership_service_stub.call_rpc :update_membership, request, options: options do |response, operation|
|
@@ -629,7 +633,9 @@ module Google
|
|
629
633
|
options.apply_defaults timeout: @config.rpcs.generate_connect_manifest.timeout,
|
630
634
|
metadata: metadata,
|
631
635
|
retry_policy: @config.rpcs.generate_connect_manifest.retry_policy
|
632
|
-
|
636
|
+
|
637
|
+
options.apply_defaults timeout: @config.timeout,
|
638
|
+
metadata: @config.metadata,
|
633
639
|
retry_policy: @config.retry_policy
|
634
640
|
|
635
641
|
@gke_hub_membership_service_stub.call_rpc :generate_connect_manifest, request, options: options do |response, operation|
|
@@ -703,7 +709,9 @@ module Google
|
|
703
709
|
options.apply_defaults timeout: @config.rpcs.validate_exclusivity.timeout,
|
704
710
|
metadata: metadata,
|
705
711
|
retry_policy: @config.rpcs.validate_exclusivity.retry_policy
|
706
|
-
|
712
|
+
|
713
|
+
options.apply_defaults timeout: @config.timeout,
|
714
|
+
metadata: @config.metadata,
|
707
715
|
retry_policy: @config.retry_policy
|
708
716
|
|
709
717
|
@gke_hub_membership_service_stub.call_rpc :validate_exclusivity, request, options: options do |response, operation|
|
@@ -789,7 +797,9 @@ module Google
|
|
789
797
|
options.apply_defaults timeout: @config.rpcs.generate_exclusivity_manifest.timeout,
|
790
798
|
metadata: metadata,
|
791
799
|
retry_policy: @config.rpcs.generate_exclusivity_manifest.retry_policy
|
792
|
-
|
800
|
+
|
801
|
+
options.apply_defaults timeout: @config.timeout,
|
802
|
+
metadata: @config.metadata,
|
793
803
|
retry_policy: @config.retry_policy
|
794
804
|
|
795
805
|
@gke_hub_membership_service_stub.call_rpc :generate_exclusivity_manifest, request, options: options do |response, operation|
|
@@ -813,22 +823,21 @@ module Google
|
|
813
823
|
# Configuration can be applied globally to all clients, or to a single client
|
814
824
|
# on construction.
|
815
825
|
#
|
816
|
-
#
|
817
|
-
#
|
818
|
-
#
|
819
|
-
# to 20 seconds,
|
820
|
-
#
|
821
|
-
#
|
822
|
-
#
|
823
|
-
#
|
824
|
-
#
|
825
|
-
#
|
826
|
-
#
|
827
|
-
#
|
828
|
-
#
|
829
|
-
#
|
830
|
-
#
|
831
|
-
# end
|
826
|
+
# @example
|
827
|
+
#
|
828
|
+
# # Modify the global config, setting the timeout for
|
829
|
+
# # list_memberships to 20 seconds,
|
830
|
+
# # and all remaining timeouts to 10 seconds.
|
831
|
+
# ::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Client.configure do |config|
|
832
|
+
# config.timeout = 10.0
|
833
|
+
# config.rpcs.list_memberships.timeout = 20.0
|
834
|
+
# end
|
835
|
+
#
|
836
|
+
# # Apply the above configuration only to a new client.
|
837
|
+
# client = ::Google::Cloud::GkeHub::V1beta1::GkeHubMembershipService::Client.new do |config|
|
838
|
+
# config.timeout = 10.0
|
839
|
+
# config.rpcs.list_memberships.timeout = 20.0
|
840
|
+
# end
|
832
841
|
#
|
833
842
|
# @!attribute [rw] endpoint
|
834
843
|
# 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-gke_hub-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.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
|