google-cloud-memcache-v1beta2 0.2.2 → 0.2.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: 99bae616045ea07c1ca5d3bd0efa0fe3f76254574999707553eeea47433793b6
|
4
|
+
data.tar.gz: a8b915aac5be7cb46772e36c514326b6ec1a37c663103a47977bab3e1146a840
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35c030376951238c76c336d6020a6895c0b7f025190f8b95bd05b1b09da060168da3a2900b85ed8a839b29b43f44fe639352876bb757048e3313b2d9f1c399ff
|
7
|
+
data.tar.gz: 0252cf66b9e614cb2da87f37438da172c41d61b2c90064b88d2242b7e969d14fe51264b6022eb8be791fb7e902b2caffd9676179abdd78c1504e6eb87c29feea
|
@@ -55,13 +55,12 @@ module Google
|
|
55
55
|
# See {::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client::Configuration}
|
56
56
|
# for a description of the configuration fields.
|
57
57
|
#
|
58
|
-
#
|
58
|
+
# @example
|
59
59
|
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
# end
|
60
|
+
# # Modify the configuration for all CloudMemcache clients
|
61
|
+
# ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.configure do |config|
|
62
|
+
# config.timeout = 10.0
|
63
|
+
# end
|
65
64
|
#
|
66
65
|
# @yield [config] Configure the Client client.
|
67
66
|
# @yieldparam config [Client::Configuration]
|
@@ -124,19 +123,15 @@ module Google
|
|
124
123
|
##
|
125
124
|
# Create a new CloudMemcache client object.
|
126
125
|
#
|
127
|
-
#
|
128
|
-
#
|
129
|
-
# To create a new CloudMemcache client with the default
|
130
|
-
# configuration:
|
126
|
+
# @example
|
131
127
|
#
|
132
|
-
#
|
128
|
+
# # Create a client using the default configuration
|
129
|
+
# client = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.new
|
133
130
|
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# config.timeout = 10.0
|
139
|
-
# end
|
131
|
+
# # Create a client using a custom configuration
|
132
|
+
# client = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.new do |config|
|
133
|
+
# config.timeout = 10.0
|
134
|
+
# end
|
140
135
|
#
|
141
136
|
# @yield [config] Configure the CloudMemcache client.
|
142
137
|
# @yieldparam config [Client::Configuration]
|
@@ -156,10 +151,9 @@ module Google
|
|
156
151
|
|
157
152
|
# Create credentials
|
158
153
|
credentials = @config.credentials
|
159
|
-
# Use self-signed JWT if the
|
154
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
160
155
|
# but only if the default endpoint does not have a region prefix.
|
161
|
-
enable_self_signed_jwt = @config.
|
162
|
-
@config.endpoint == Client.configure.endpoint &&
|
156
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
163
157
|
!@config.endpoint.split(".").first.include?("-")
|
164
158
|
credentials ||= Credentials.default scope: @config.scope,
|
165
159
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -264,7 +258,9 @@ module Google
|
|
264
258
|
options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
|
265
259
|
metadata: metadata,
|
266
260
|
retry_policy: @config.rpcs.list_instances.retry_policy
|
267
|
-
|
261
|
+
|
262
|
+
options.apply_defaults timeout: @config.timeout,
|
263
|
+
metadata: @config.metadata,
|
268
264
|
retry_policy: @config.retry_policy
|
269
265
|
|
270
266
|
@cloud_memcache_stub.call_rpc :list_instances, request, options: options do |response, operation|
|
@@ -333,7 +329,9 @@ module Google
|
|
333
329
|
options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
|
334
330
|
metadata: metadata,
|
335
331
|
retry_policy: @config.rpcs.get_instance.retry_policy
|
336
|
-
|
332
|
+
|
333
|
+
options.apply_defaults timeout: @config.timeout,
|
334
|
+
metadata: @config.metadata,
|
337
335
|
retry_policy: @config.retry_policy
|
338
336
|
|
339
337
|
@cloud_memcache_stub.call_rpc :get_instance, request, options: options do |response, operation|
|
@@ -414,7 +412,9 @@ module Google
|
|
414
412
|
options.apply_defaults timeout: @config.rpcs.create_instance.timeout,
|
415
413
|
metadata: metadata,
|
416
414
|
retry_policy: @config.rpcs.create_instance.retry_policy
|
417
|
-
|
415
|
+
|
416
|
+
options.apply_defaults timeout: @config.timeout,
|
417
|
+
metadata: @config.metadata,
|
418
418
|
retry_policy: @config.retry_policy
|
419
419
|
|
420
420
|
@cloud_memcache_stub.call_rpc :create_instance, request, options: options do |response, operation|
|
@@ -485,7 +485,9 @@ module Google
|
|
485
485
|
options.apply_defaults timeout: @config.rpcs.update_instance.timeout,
|
486
486
|
metadata: metadata,
|
487
487
|
retry_policy: @config.rpcs.update_instance.retry_policy
|
488
|
-
|
488
|
+
|
489
|
+
options.apply_defaults timeout: @config.timeout,
|
490
|
+
metadata: @config.metadata,
|
489
491
|
retry_policy: @config.retry_policy
|
490
492
|
|
491
493
|
@cloud_memcache_stub.call_rpc :update_instance, request, options: options do |response, operation|
|
@@ -560,7 +562,9 @@ module Google
|
|
560
562
|
options.apply_defaults timeout: @config.rpcs.update_parameters.timeout,
|
561
563
|
metadata: metadata,
|
562
564
|
retry_policy: @config.rpcs.update_parameters.retry_policy
|
563
|
-
|
565
|
+
|
566
|
+
options.apply_defaults timeout: @config.timeout,
|
567
|
+
metadata: @config.metadata,
|
564
568
|
retry_policy: @config.retry_policy
|
565
569
|
|
566
570
|
@cloud_memcache_stub.call_rpc :update_parameters, request, options: options do |response, operation|
|
@@ -629,7 +633,9 @@ module Google
|
|
629
633
|
options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
|
630
634
|
metadata: metadata,
|
631
635
|
retry_policy: @config.rpcs.delete_instance.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
|
@cloud_memcache_stub.call_rpc :delete_instance, request, options: options do |response, operation|
|
@@ -704,7 +710,9 @@ module Google
|
|
704
710
|
options.apply_defaults timeout: @config.rpcs.apply_parameters.timeout,
|
705
711
|
metadata: metadata,
|
706
712
|
retry_policy: @config.rpcs.apply_parameters.retry_policy
|
707
|
-
|
713
|
+
|
714
|
+
options.apply_defaults timeout: @config.timeout,
|
715
|
+
metadata: @config.metadata,
|
708
716
|
retry_policy: @config.retry_policy
|
709
717
|
|
710
718
|
@cloud_memcache_stub.call_rpc :apply_parameters, request, options: options do |response, operation|
|
@@ -779,7 +787,9 @@ module Google
|
|
779
787
|
options.apply_defaults timeout: @config.rpcs.apply_software_update.timeout,
|
780
788
|
metadata: metadata,
|
781
789
|
retry_policy: @config.rpcs.apply_software_update.retry_policy
|
782
|
-
|
790
|
+
|
791
|
+
options.apply_defaults timeout: @config.timeout,
|
792
|
+
metadata: @config.metadata,
|
783
793
|
retry_policy: @config.retry_policy
|
784
794
|
|
785
795
|
@cloud_memcache_stub.call_rpc :apply_software_update, request, options: options do |response, operation|
|
@@ -804,22 +814,21 @@ module Google
|
|
804
814
|
# Configuration can be applied globally to all clients, or to a single client
|
805
815
|
# on construction.
|
806
816
|
#
|
807
|
-
#
|
808
|
-
#
|
809
|
-
#
|
810
|
-
# to 20 seconds,
|
811
|
-
#
|
812
|
-
#
|
813
|
-
#
|
814
|
-
#
|
815
|
-
#
|
816
|
-
#
|
817
|
-
#
|
818
|
-
#
|
819
|
-
#
|
820
|
-
#
|
821
|
-
#
|
822
|
-
# end
|
817
|
+
# @example
|
818
|
+
#
|
819
|
+
# # Modify the global config, setting the timeout for
|
820
|
+
# # list_instances to 20 seconds,
|
821
|
+
# # and all remaining timeouts to 10 seconds.
|
822
|
+
# ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.configure do |config|
|
823
|
+
# config.timeout = 10.0
|
824
|
+
# config.rpcs.list_instances.timeout = 20.0
|
825
|
+
# end
|
826
|
+
#
|
827
|
+
# # Apply the above configuration only to a new client.
|
828
|
+
# client = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.new do |config|
|
829
|
+
# config.timeout = 10.0
|
830
|
+
# config.rpcs.list_instances.timeout = 20.0
|
831
|
+
# end
|
823
832
|
#
|
824
833
|
# @!attribute [rw] endpoint
|
825
834
|
# 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-memcache-v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.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
|