google-cloud-bigtable-admin-v2 0.5.2 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +4 -4
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +1 -1
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +1 -1
- data/lib/google/bigtable/admin/v2/instance_pb.rb +1 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/client.rb +99 -104
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/operations.rb +34 -25
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb +106 -99
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/operations.rb +34 -25
- data/lib/google/cloud/bigtable/admin/v2/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/bigtable/admin/v2/instance.rb +4 -0
- data/proto_docs/google/type/expr.rb +35 -12
- metadata +5 -6
@@ -83,7 +83,7 @@ module Google
|
|
83
83
|
# Create credentials
|
84
84
|
credentials = @config.credentials
|
85
85
|
credentials ||= Credentials.default scope: @config.scope
|
86
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
86
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
87
87
|
credentials = Credentials.new credentials, scope: @config.scope
|
88
88
|
end
|
89
89
|
@quota_project_id = @config.quota_project
|
@@ -170,7 +170,9 @@ module Google
|
|
170
170
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
171
171
|
metadata: metadata,
|
172
172
|
retry_policy: @config.rpcs.list_operations.retry_policy
|
173
|
-
|
173
|
+
|
174
|
+
options.apply_defaults timeout: @config.timeout,
|
175
|
+
metadata: @config.metadata,
|
174
176
|
retry_policy: @config.retry_policy
|
175
177
|
|
176
178
|
@operations_stub.call_rpc :list_operations, request, options: options do |response, operation|
|
@@ -240,7 +242,9 @@ module Google
|
|
240
242
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
241
243
|
metadata: metadata,
|
242
244
|
retry_policy: @config.rpcs.get_operation.retry_policy
|
243
|
-
|
245
|
+
|
246
|
+
options.apply_defaults timeout: @config.timeout,
|
247
|
+
metadata: @config.metadata,
|
244
248
|
retry_policy: @config.retry_policy
|
245
249
|
|
246
250
|
@operations_stub.call_rpc :get_operation, request, options: options do |response, operation|
|
@@ -310,7 +314,9 @@ module Google
|
|
310
314
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
311
315
|
metadata: metadata,
|
312
316
|
retry_policy: @config.rpcs.delete_operation.retry_policy
|
313
|
-
|
317
|
+
|
318
|
+
options.apply_defaults timeout: @config.timeout,
|
319
|
+
metadata: @config.metadata,
|
314
320
|
retry_policy: @config.retry_policy
|
315
321
|
|
316
322
|
@operations_stub.call_rpc :delete_operation, request, options: options do |response, operation|
|
@@ -385,7 +391,9 @@ module Google
|
|
385
391
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
386
392
|
metadata: metadata,
|
387
393
|
retry_policy: @config.rpcs.cancel_operation.retry_policy
|
388
|
-
|
394
|
+
|
395
|
+
options.apply_defaults timeout: @config.timeout,
|
396
|
+
metadata: @config.metadata,
|
389
397
|
retry_policy: @config.retry_policy
|
390
398
|
|
391
399
|
@operations_stub.call_rpc :cancel_operation, request, options: options do |response, operation|
|
@@ -397,9 +405,9 @@ module Google
|
|
397
405
|
end
|
398
406
|
|
399
407
|
##
|
400
|
-
# Waits
|
401
|
-
#
|
402
|
-
#
|
408
|
+
# Waits until the specified long-running operation is done or reaches at most
|
409
|
+
# a specified timeout, returning the latest state. If the operation is
|
410
|
+
# already done, the latest state is immediately returned. If the timeout
|
403
411
|
# specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
|
404
412
|
# timeout is used. If the server does not support this method, it returns
|
405
413
|
# `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -457,7 +465,9 @@ module Google
|
|
457
465
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
458
466
|
metadata: metadata,
|
459
467
|
retry_policy: @config.rpcs.wait_operation.retry_policy
|
460
|
-
|
468
|
+
|
469
|
+
options.apply_defaults timeout: @config.timeout,
|
470
|
+
metadata: @config.metadata,
|
461
471
|
retry_policy: @config.retry_policy
|
462
472
|
|
463
473
|
@operations_stub.call_rpc :wait_operation, request, options: options do |response, operation|
|
@@ -482,22 +492,21 @@ module Google
|
|
482
492
|
# Configuration can be applied globally to all clients, or to a single client
|
483
493
|
# on construction.
|
484
494
|
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
#
|
488
|
-
# to 20 seconds,
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
#
|
500
|
-
# end
|
495
|
+
# @example
|
496
|
+
#
|
497
|
+
# # Modify the global config, setting the timeout for
|
498
|
+
# # list_operations to 20 seconds,
|
499
|
+
# # and all remaining timeouts to 10 seconds.
|
500
|
+
# ::Google::Longrunning::Operations::Client.configure do |config|
|
501
|
+
# config.timeout = 10.0
|
502
|
+
# config.rpcs.list_operations.timeout = 20.0
|
503
|
+
# end
|
504
|
+
#
|
505
|
+
# # Apply the above configuration only to a new client.
|
506
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
507
|
+
# config.timeout = 10.0
|
508
|
+
# config.rpcs.list_operations.timeout = 20.0
|
509
|
+
# end
|
501
510
|
#
|
502
511
|
# @!attribute [rw] endpoint
|
503
512
|
# The hostname or hostname:port of the service endpoint.
|
@@ -57,9 +57,15 @@ module Google
|
|
57
57
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
59
59
|
# This indicates that the service may provide the elements of the list
|
60
|
-
# in any arbitrary
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
62
62
|
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
@@ -215,6 +215,10 @@ module Google
|
|
215
215
|
# transient errors or delays. Clusters in a region are considered
|
216
216
|
# equidistant. Choosing this option sacrifices read-your-writes consistency
|
217
217
|
# to improve availability.
|
218
|
+
# @!attribute [rw] cluster_ids
|
219
|
+
# @return [::Array<::String>]
|
220
|
+
# The set of clusters to route to. The order is ignored; clusters will be
|
221
|
+
# tried in order of distance. If left empty, all clusters are eligible.
|
218
222
|
class MultiClusterRoutingUseAny
|
219
223
|
include ::Google::Protobuf::MessageExts
|
220
224
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -19,30 +19,53 @@
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Type
|
22
|
-
# Represents
|
22
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
23
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
24
|
+
# are documented at https://github.com/google/cel-spec.
|
23
25
|
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
#
|
26
|
+
# Example (Comparison):
|
27
|
+
#
|
28
|
+
# title: "Summary size limit"
|
29
|
+
# description: "Determines if a summary is less than 100 chars"
|
30
|
+
# expression: "document.summary.size() < 100"
|
31
|
+
#
|
32
|
+
# Example (Equality):
|
33
|
+
#
|
34
|
+
# title: "Requestor is owner"
|
35
|
+
# description: "Determines if requestor is the document owner"
|
36
|
+
# expression: "document.owner == request.auth.claims.email"
|
37
|
+
#
|
38
|
+
# Example (Logic):
|
39
|
+
#
|
40
|
+
# title: "Public documents"
|
41
|
+
# description: "Determine whether the document should be publicly visible"
|
42
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
43
|
+
#
|
44
|
+
# Example (Data Manipulation):
|
45
|
+
#
|
46
|
+
# title: "Notification string"
|
47
|
+
# description: "Create a notification string with a timestamp."
|
48
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
49
|
+
#
|
50
|
+
# The exact variables and functions that may be referenced within an expression
|
51
|
+
# are determined by the service that evaluates it. See the service
|
52
|
+
# documentation for additional information.
|
27
53
|
# @!attribute [rw] expression
|
28
54
|
# @return [::String]
|
29
|
-
# Textual representation of an expression in
|
30
|
-
#
|
31
|
-
#
|
32
|
-
# The application context of the containing message determines which
|
33
|
-
# well-known feature set of CEL is supported.
|
55
|
+
# Textual representation of an expression in Common Expression Language
|
56
|
+
# syntax.
|
34
57
|
# @!attribute [rw] title
|
35
58
|
# @return [::String]
|
36
|
-
#
|
59
|
+
# Optional. Title for the expression, i.e. a short string describing
|
37
60
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
38
61
|
# expression.
|
39
62
|
# @!attribute [rw] description
|
40
63
|
# @return [::String]
|
41
|
-
#
|
64
|
+
# Optional. Description of the expression. This is a longer text which
|
42
65
|
# describes the expression, e.g. when hovered over it in a UI.
|
43
66
|
# @!attribute [rw] location
|
44
67
|
# @return [::String]
|
45
|
-
#
|
68
|
+
# Optional. String indicating the location of the expression for error
|
46
69
|
# reporting, e.g. a file name and a position in the file.
|
47
70
|
class Expr
|
48
71
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigtable-admin-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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-30 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
|
@@ -179,8 +179,7 @@ dependencies:
|
|
179
179
|
description: Cloud Bigtable is a fully managed, scalable NoSQL database service for
|
180
180
|
large analytical and operational workloads. Note that google-cloud-bigtable-admin-v2
|
181
181
|
is a version-specific client library. For most uses, we recommend installing the
|
182
|
-
main client library google-cloud-bigtable
|
183
|
-
details.
|
182
|
+
main client library google-cloud-bigtable instead. See the readme for more details.
|
184
183
|
email: googleapis-packages@google.com
|
185
184
|
executables: []
|
186
185
|
extensions: []
|