google-cloud-bigtable-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: f66e84a98fcff77a8b368b4eb5524994918369f3f6bcc78ee07f88a07f197c21
|
4
|
+
data.tar.gz: e67c964d70ac03707dabcfcc5c46dac24d589268e86432c9e602aee7fc35d303
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0eb86298e9f0fb478d08c7ae0d49872cf7a783bc355ba98e7fd9ef686b4f6204aa2cf375e67562e1b2c7d766300febeda5dc96f6c8c606ba2f7ea2494335f3d9
|
7
|
+
data.tar.gz: ac712942bbb948d58977875346a6e731a47860bbe534f42bc83d30c11023485a4469bfd3cb4c5f068a7e9fe5ec19ffe517aead84335298b701dc012cb1fd55de
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::Bigtable::V2::Bigtable::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all Bigtable clients
|
47
|
+
# ::Google::Cloud::Bigtable::V2::Bigtable::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -124,19 +123,15 @@ module Google
|
|
124
123
|
##
|
125
124
|
# Create a new Bigtable client object.
|
126
125
|
#
|
127
|
-
#
|
128
|
-
#
|
129
|
-
# To create a new Bigtable client with the default
|
130
|
-
# configuration:
|
126
|
+
# @example
|
131
127
|
#
|
132
|
-
#
|
128
|
+
# # Create a client using the default configuration
|
129
|
+
# client = ::Google::Cloud::Bigtable::V2::Bigtable::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::Bigtable::V2::Bigtable::Client.new do |config|
|
133
|
+
# config.timeout = 10.0
|
134
|
+
# end
|
140
135
|
#
|
141
136
|
# @yield [config] Configure the Bigtable 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
|
@@ -252,7 +246,9 @@ module Google
|
|
252
246
|
options.apply_defaults timeout: @config.rpcs.read_rows.timeout,
|
253
247
|
metadata: metadata,
|
254
248
|
retry_policy: @config.rpcs.read_rows.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
|
@bigtable_stub.call_rpc :read_rows, request, options: options do |response, operation|
|
@@ -326,7 +322,9 @@ module Google
|
|
326
322
|
options.apply_defaults timeout: @config.rpcs.sample_row_keys.timeout,
|
327
323
|
metadata: metadata,
|
328
324
|
retry_policy: @config.rpcs.sample_row_keys.retry_policy
|
329
|
-
|
325
|
+
|
326
|
+
options.apply_defaults timeout: @config.timeout,
|
327
|
+
metadata: @config.metadata,
|
330
328
|
retry_policy: @config.retry_policy
|
331
329
|
|
332
330
|
@bigtable_stub.call_rpc :sample_row_keys, request, options: options do |response, operation|
|
@@ -404,7 +402,9 @@ module Google
|
|
404
402
|
options.apply_defaults timeout: @config.rpcs.mutate_row.timeout,
|
405
403
|
metadata: metadata,
|
406
404
|
retry_policy: @config.rpcs.mutate_row.retry_policy
|
407
|
-
|
405
|
+
|
406
|
+
options.apply_defaults timeout: @config.timeout,
|
407
|
+
metadata: @config.metadata,
|
408
408
|
retry_policy: @config.retry_policy
|
409
409
|
|
410
410
|
@bigtable_stub.call_rpc :mutate_row, request, options: options do |response, operation|
|
@@ -481,7 +481,9 @@ module Google
|
|
481
481
|
options.apply_defaults timeout: @config.rpcs.mutate_rows.timeout,
|
482
482
|
metadata: metadata,
|
483
483
|
retry_policy: @config.rpcs.mutate_rows.retry_policy
|
484
|
-
|
484
|
+
|
485
|
+
options.apply_defaults timeout: @config.timeout,
|
486
|
+
metadata: @config.metadata,
|
485
487
|
retry_policy: @config.retry_policy
|
486
488
|
|
487
489
|
@bigtable_stub.call_rpc :mutate_rows, request, options: options do |response, operation|
|
@@ -572,7 +574,9 @@ module Google
|
|
572
574
|
options.apply_defaults timeout: @config.rpcs.check_and_mutate_row.timeout,
|
573
575
|
metadata: metadata,
|
574
576
|
retry_policy: @config.rpcs.check_and_mutate_row.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
|
@bigtable_stub.call_rpc :check_and_mutate_row, request, options: options do |response, operation|
|
@@ -654,7 +658,9 @@ module Google
|
|
654
658
|
options.apply_defaults timeout: @config.rpcs.read_modify_write_row.timeout,
|
655
659
|
metadata: metadata,
|
656
660
|
retry_policy: @config.rpcs.read_modify_write_row.retry_policy
|
657
|
-
|
661
|
+
|
662
|
+
options.apply_defaults timeout: @config.timeout,
|
663
|
+
metadata: @config.metadata,
|
658
664
|
retry_policy: @config.retry_policy
|
659
665
|
|
660
666
|
@bigtable_stub.call_rpc :read_modify_write_row, request, options: options do |response, operation|
|
@@ -678,22 +684,21 @@ module Google
|
|
678
684
|
# Configuration can be applied globally to all clients, or to a single client
|
679
685
|
# on construction.
|
680
686
|
#
|
681
|
-
#
|
682
|
-
#
|
683
|
-
#
|
684
|
-
# to 20 seconds,
|
685
|
-
#
|
686
|
-
#
|
687
|
-
#
|
688
|
-
#
|
689
|
-
#
|
690
|
-
#
|
691
|
-
#
|
692
|
-
#
|
693
|
-
#
|
694
|
-
#
|
695
|
-
#
|
696
|
-
# end
|
687
|
+
# @example
|
688
|
+
#
|
689
|
+
# # Modify the global config, setting the timeout for
|
690
|
+
# # read_rows to 20 seconds,
|
691
|
+
# # and all remaining timeouts to 10 seconds.
|
692
|
+
# ::Google::Cloud::Bigtable::V2::Bigtable::Client.configure do |config|
|
693
|
+
# config.timeout = 10.0
|
694
|
+
# config.rpcs.read_rows.timeout = 20.0
|
695
|
+
# end
|
696
|
+
#
|
697
|
+
# # Apply the above configuration only to a new client.
|
698
|
+
# client = ::Google::Cloud::Bigtable::V2::Bigtable::Client.new do |config|
|
699
|
+
# config.timeout = 10.0
|
700
|
+
# config.rpcs.read_rows.timeout = 20.0
|
701
|
+
# end
|
697
702
|
#
|
698
703
|
# @!attribute [rw] endpoint
|
699
704
|
# 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-bigtable-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
|