google-cloud-gke_connect-gateway-v1beta1 0.1.1 → 0.1.2
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: 822521b40099176c0f811ad6bf47fc21af5812ba28ddb0f2a4195f599fcb2926
|
4
|
+
data.tar.gz: eafd6ee093e28e9e5501258d6fef537f12cebc0710e02e529e12ab7eb0482fc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1310884492f4c005b2d4a1b4828d717b109af1c12508406a571f606ea59278c813bea18b51a2079cd5bd65b1136292dcbdb49a0af8b476f487cdcdbc65ba415
|
7
|
+
data.tar.gz: 3ba105b2a1419e8bb1410bcde4d69096e5bdfefe3e30d5a1250617fa62739885d54112fbf7ff56127faba98032ab7fe0a8da71fd1098fc962307b1fc4b2f2e58
|
@@ -44,13 +44,12 @@ module Google
|
|
44
44
|
# See {::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client::Configuration}
|
45
45
|
# for a description of the configuration fields.
|
46
46
|
#
|
47
|
-
#
|
47
|
+
# @example
|
48
48
|
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
# end
|
49
|
+
# # Modify the configuration for all GatewayService clients
|
50
|
+
# ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.configure do |config|
|
51
|
+
# config.timeout = 10.0
|
52
|
+
# end
|
54
53
|
#
|
55
54
|
# @yield [config] Configure the Client client.
|
56
55
|
# @yieldparam config [Client::Configuration]
|
@@ -97,19 +96,15 @@ module Google
|
|
97
96
|
##
|
98
97
|
# Create a new GatewayService client object.
|
99
98
|
#
|
100
|
-
#
|
101
|
-
#
|
102
|
-
# To create a new GatewayService client with the default
|
103
|
-
# configuration:
|
104
|
-
#
|
105
|
-
# client = ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.new
|
99
|
+
# @example
|
106
100
|
#
|
107
|
-
#
|
108
|
-
#
|
101
|
+
# # Create a client using the default configuration
|
102
|
+
# client = ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.new
|
109
103
|
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
104
|
+
# # Create a client using a custom configuration
|
105
|
+
# client = ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.new do |config|
|
106
|
+
# config.timeout = 10.0
|
107
|
+
# end
|
113
108
|
#
|
114
109
|
# @yield [config] Configure the GatewayService client.
|
115
110
|
# @yieldparam config [Client::Configuration]
|
@@ -129,10 +124,9 @@ module Google
|
|
129
124
|
|
130
125
|
# Create credentials
|
131
126
|
credentials = @config.credentials
|
132
|
-
# Use self-signed JWT if the
|
127
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
133
128
|
# but only if the default endpoint does not have a region prefix.
|
134
|
-
enable_self_signed_jwt = @config.
|
135
|
-
@config.endpoint == Client.configure.endpoint &&
|
129
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
136
130
|
!@config.endpoint.split(".").first.include?("-")
|
137
131
|
credentials ||= Credentials.default scope: @config.scope,
|
138
132
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -207,7 +201,9 @@ module Google
|
|
207
201
|
options.apply_defaults timeout: @config.rpcs.get_resource.timeout,
|
208
202
|
metadata: metadata,
|
209
203
|
retry_policy: @config.rpcs.get_resource.retry_policy
|
210
|
-
|
204
|
+
|
205
|
+
options.apply_defaults timeout: @config.timeout,
|
206
|
+
metadata: @config.metadata,
|
211
207
|
retry_policy: @config.retry_policy
|
212
208
|
|
213
209
|
@gateway_service_stub.call_rpc :get_resource, request, options: options do |response, operation|
|
@@ -272,7 +268,9 @@ module Google
|
|
272
268
|
options.apply_defaults timeout: @config.rpcs.post_resource.timeout,
|
273
269
|
metadata: metadata,
|
274
270
|
retry_policy: @config.rpcs.post_resource.retry_policy
|
275
|
-
|
271
|
+
|
272
|
+
options.apply_defaults timeout: @config.timeout,
|
273
|
+
metadata: @config.metadata,
|
276
274
|
retry_policy: @config.retry_policy
|
277
275
|
|
278
276
|
@gateway_service_stub.call_rpc :post_resource, request, options: options do |response, operation|
|
@@ -337,7 +335,9 @@ module Google
|
|
337
335
|
options.apply_defaults timeout: @config.rpcs.delete_resource.timeout,
|
338
336
|
metadata: metadata,
|
339
337
|
retry_policy: @config.rpcs.delete_resource.retry_policy
|
340
|
-
|
338
|
+
|
339
|
+
options.apply_defaults timeout: @config.timeout,
|
340
|
+
metadata: @config.metadata,
|
341
341
|
retry_policy: @config.retry_policy
|
342
342
|
|
343
343
|
@gateway_service_stub.call_rpc :delete_resource, request, options: options do |response, operation|
|
@@ -402,7 +402,9 @@ module Google
|
|
402
402
|
options.apply_defaults timeout: @config.rpcs.put_resource.timeout,
|
403
403
|
metadata: metadata,
|
404
404
|
retry_policy: @config.rpcs.put_resource.retry_policy
|
405
|
-
|
405
|
+
|
406
|
+
options.apply_defaults timeout: @config.timeout,
|
407
|
+
metadata: @config.metadata,
|
406
408
|
retry_policy: @config.retry_policy
|
407
409
|
|
408
410
|
@gateway_service_stub.call_rpc :put_resource, request, options: options do |response, operation|
|
@@ -467,7 +469,9 @@ module Google
|
|
467
469
|
options.apply_defaults timeout: @config.rpcs.patch_resource.timeout,
|
468
470
|
metadata: metadata,
|
469
471
|
retry_policy: @config.rpcs.patch_resource.retry_policy
|
470
|
-
|
472
|
+
|
473
|
+
options.apply_defaults timeout: @config.timeout,
|
474
|
+
metadata: @config.metadata,
|
471
475
|
retry_policy: @config.retry_policy
|
472
476
|
|
473
477
|
@gateway_service_stub.call_rpc :patch_resource, request, options: options do |response, operation|
|
@@ -491,22 +495,21 @@ module Google
|
|
491
495
|
# Configuration can be applied globally to all clients, or to a single client
|
492
496
|
# on construction.
|
493
497
|
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
# to 20 seconds,
|
498
|
-
#
|
499
|
-
#
|
500
|
-
#
|
501
|
-
#
|
502
|
-
#
|
503
|
-
#
|
504
|
-
#
|
505
|
-
#
|
506
|
-
#
|
507
|
-
#
|
508
|
-
#
|
509
|
-
# end
|
498
|
+
# @example
|
499
|
+
#
|
500
|
+
# # Modify the global config, setting the timeout for
|
501
|
+
# # get_resource to 20 seconds,
|
502
|
+
# # and all remaining timeouts to 10 seconds.
|
503
|
+
# ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.configure do |config|
|
504
|
+
# config.timeout = 10.0
|
505
|
+
# config.rpcs.get_resource.timeout = 20.0
|
506
|
+
# end
|
507
|
+
#
|
508
|
+
# # Apply the above configuration only to a new client.
|
509
|
+
# client = ::Google::Cloud::GkeConnect::Gateway::V1beta1::GatewayService::Client.new do |config|
|
510
|
+
# config.timeout = 10.0
|
511
|
+
# config.rpcs.get_resource.timeout = 20.0
|
512
|
+
# end
|
510
513
|
#
|
511
514
|
# @!attribute [rw] endpoint
|
512
515
|
# 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_connect-gateway-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
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
|