google-cloud-bigtable-v2 1.11.0 → 1.13.0
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 +4 -4
- data/lib/google/bigtable/v2/bigtable_pb.rb +4 -31
- data/lib/google/bigtable/v2/bigtable_services_pb.rb +16 -0
- data/lib/google/bigtable/v2/data_pb.rb +4 -27
- data/lib/google/bigtable/v2/feature_flags_pb.rb +3 -24
- data/lib/google/bigtable/v2/peer_info_pb.rb +3 -24
- data/lib/google/bigtable/v2/request_stats_pb.rb +2 -24
- data/lib/google/bigtable/v2/response_params_pb.rb +2 -23
- data/lib/google/bigtable/v2/session_pb.rb +84 -0
- data/lib/google/bigtable/v2/types_pb.rb +2 -23
- data/lib/google/cloud/bigtable/v2/bigtable/client.rb +363 -1
- data/lib/google/cloud/bigtable/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/api/routing.rb +7 -3
- data/proto_docs/google/bigtable/v2/bigtable.rb +17 -0
- data/proto_docs/google/bigtable/v2/data.rb +39 -19
- data/proto_docs/google/bigtable/v2/feature_flags.rb +6 -0
- data/proto_docs/google/bigtable/v2/peer_info.rb +6 -1
- data/proto_docs/google/bigtable/v2/session.rb +793 -0
- data/proto_docs/google/protobuf/wrappers.rb +27 -0
- data/proto_docs/google/rpc/error_details.rb +420 -0
- data/proto_docs/google/type/date.rb +10 -7
- metadata +5 -2
|
@@ -22,6 +22,9 @@ module Google
|
|
|
22
22
|
# Wrapper message for `double`.
|
|
23
23
|
#
|
|
24
24
|
# The JSON representation for `DoubleValue` is JSON number.
|
|
25
|
+
#
|
|
26
|
+
# Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
27
|
+
# has no plan to be removed.
|
|
25
28
|
# @!attribute [rw] value
|
|
26
29
|
# @return [::Float]
|
|
27
30
|
# The double value.
|
|
@@ -33,6 +36,9 @@ module Google
|
|
|
33
36
|
# Wrapper message for `float`.
|
|
34
37
|
#
|
|
35
38
|
# The JSON representation for `FloatValue` is JSON number.
|
|
39
|
+
#
|
|
40
|
+
# Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
41
|
+
# has no plan to be removed.
|
|
36
42
|
# @!attribute [rw] value
|
|
37
43
|
# @return [::Float]
|
|
38
44
|
# The float value.
|
|
@@ -44,6 +50,9 @@ module Google
|
|
|
44
50
|
# Wrapper message for `int64`.
|
|
45
51
|
#
|
|
46
52
|
# The JSON representation for `Int64Value` is JSON string.
|
|
53
|
+
#
|
|
54
|
+
# Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
55
|
+
# has no plan to be removed.
|
|
47
56
|
# @!attribute [rw] value
|
|
48
57
|
# @return [::Integer]
|
|
49
58
|
# The int64 value.
|
|
@@ -55,6 +64,9 @@ module Google
|
|
|
55
64
|
# Wrapper message for `uint64`.
|
|
56
65
|
#
|
|
57
66
|
# The JSON representation for `UInt64Value` is JSON string.
|
|
67
|
+
#
|
|
68
|
+
# Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
69
|
+
# has no plan to be removed.
|
|
58
70
|
# @!attribute [rw] value
|
|
59
71
|
# @return [::Integer]
|
|
60
72
|
# The uint64 value.
|
|
@@ -66,6 +78,9 @@ module Google
|
|
|
66
78
|
# Wrapper message for `int32`.
|
|
67
79
|
#
|
|
68
80
|
# The JSON representation for `Int32Value` is JSON number.
|
|
81
|
+
#
|
|
82
|
+
# Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
83
|
+
# has no plan to be removed.
|
|
69
84
|
# @!attribute [rw] value
|
|
70
85
|
# @return [::Integer]
|
|
71
86
|
# The int32 value.
|
|
@@ -77,6 +92,9 @@ module Google
|
|
|
77
92
|
# Wrapper message for `uint32`.
|
|
78
93
|
#
|
|
79
94
|
# The JSON representation for `UInt32Value` is JSON number.
|
|
95
|
+
#
|
|
96
|
+
# Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
97
|
+
# has no plan to be removed.
|
|
80
98
|
# @!attribute [rw] value
|
|
81
99
|
# @return [::Integer]
|
|
82
100
|
# The uint32 value.
|
|
@@ -88,6 +106,9 @@ module Google
|
|
|
88
106
|
# Wrapper message for `bool`.
|
|
89
107
|
#
|
|
90
108
|
# The JSON representation for `BoolValue` is JSON `true` and `false`.
|
|
109
|
+
#
|
|
110
|
+
# Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
111
|
+
# has no plan to be removed.
|
|
91
112
|
# @!attribute [rw] value
|
|
92
113
|
# @return [::Boolean]
|
|
93
114
|
# The bool value.
|
|
@@ -99,6 +120,9 @@ module Google
|
|
|
99
120
|
# Wrapper message for `string`.
|
|
100
121
|
#
|
|
101
122
|
# The JSON representation for `StringValue` is JSON string.
|
|
123
|
+
#
|
|
124
|
+
# Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
125
|
+
# has no plan to be removed.
|
|
102
126
|
# @!attribute [rw] value
|
|
103
127
|
# @return [::String]
|
|
104
128
|
# The string value.
|
|
@@ -110,6 +134,9 @@ module Google
|
|
|
110
134
|
# Wrapper message for `bytes`.
|
|
111
135
|
#
|
|
112
136
|
# The JSON representation for `BytesValue` is JSON string.
|
|
137
|
+
#
|
|
138
|
+
# Not recommended for use in new APIs, but still useful for legacy APIs and
|
|
139
|
+
# has no plan to be removed.
|
|
113
140
|
# @!attribute [rw] value
|
|
114
141
|
# @return [::String]
|
|
115
142
|
# The bytes value.
|
|
@@ -0,0 +1,420 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Rpc
|
|
22
|
+
# Describes the cause of the error with structured details.
|
|
23
|
+
#
|
|
24
|
+
# Example of an error when contacting the "pubsub.googleapis.com" API when it
|
|
25
|
+
# is not enabled:
|
|
26
|
+
#
|
|
27
|
+
# { "reason": "API_DISABLED"
|
|
28
|
+
# "domain": "googleapis.com"
|
|
29
|
+
# "metadata": {
|
|
30
|
+
# "resource": "projects/123",
|
|
31
|
+
# "service": "pubsub.googleapis.com"
|
|
32
|
+
# }
|
|
33
|
+
# }
|
|
34
|
+
#
|
|
35
|
+
# This response indicates that the pubsub.googleapis.com API is not enabled.
|
|
36
|
+
#
|
|
37
|
+
# Example of an error that is returned when attempting to create a Spanner
|
|
38
|
+
# instance in a region that is out of stock:
|
|
39
|
+
#
|
|
40
|
+
# { "reason": "STOCKOUT"
|
|
41
|
+
# "domain": "spanner.googleapis.com",
|
|
42
|
+
# "metadata": {
|
|
43
|
+
# "availableRegions": "us-central1,us-east2"
|
|
44
|
+
# }
|
|
45
|
+
# }
|
|
46
|
+
# @!attribute [rw] reason
|
|
47
|
+
# @return [::String]
|
|
48
|
+
# The reason of the error. This is a constant value that identifies the
|
|
49
|
+
# proximate cause of the error. Error reasons are unique within a particular
|
|
50
|
+
# domain of errors. This should be at most 63 characters and match a
|
|
51
|
+
# regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents
|
|
52
|
+
# UPPER_SNAKE_CASE.
|
|
53
|
+
# @!attribute [rw] domain
|
|
54
|
+
# @return [::String]
|
|
55
|
+
# The logical grouping to which the "reason" belongs. The error domain
|
|
56
|
+
# is typically the registered service name of the tool or product that
|
|
57
|
+
# generates the error. Example: "pubsub.googleapis.com". If the error is
|
|
58
|
+
# generated by some common infrastructure, the error domain must be a
|
|
59
|
+
# globally unique value that identifies the infrastructure. For Google API
|
|
60
|
+
# infrastructure, the error domain is "googleapis.com".
|
|
61
|
+
# @!attribute [rw] metadata
|
|
62
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
63
|
+
# Additional structured details about this error.
|
|
64
|
+
#
|
|
65
|
+
# Keys must match a regular expression of `[a-z][a-zA-Z0-9-_]+` but should
|
|
66
|
+
# ideally be lowerCamelCase. Also, they must be limited to 64 characters in
|
|
67
|
+
# length. When identifying the current value of an exceeded limit, the units
|
|
68
|
+
# should be contained in the key, not the value. For example, rather than
|
|
69
|
+
# `{"instanceLimit": "100/request"}`, should be returned as,
|
|
70
|
+
# `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of
|
|
71
|
+
# instances that can be created in a single (batch) request.
|
|
72
|
+
class ErrorInfo
|
|
73
|
+
include ::Google::Protobuf::MessageExts
|
|
74
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
75
|
+
|
|
76
|
+
# @!attribute [rw] key
|
|
77
|
+
# @return [::String]
|
|
78
|
+
# @!attribute [rw] value
|
|
79
|
+
# @return [::String]
|
|
80
|
+
class MetadataEntry
|
|
81
|
+
include ::Google::Protobuf::MessageExts
|
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
# Describes when the clients can retry a failed request. Clients could ignore
|
|
87
|
+
# the recommendation here or retry when this information is missing from error
|
|
88
|
+
# responses.
|
|
89
|
+
#
|
|
90
|
+
# It's always recommended that clients should use exponential backoff when
|
|
91
|
+
# retrying.
|
|
92
|
+
#
|
|
93
|
+
# Clients should wait until `retry_delay` amount of time has passed since
|
|
94
|
+
# receiving the error response before retrying. If retrying requests also
|
|
95
|
+
# fail, clients should use an exponential backoff scheme to gradually increase
|
|
96
|
+
# the delay between retries based on `retry_delay`, until either a maximum
|
|
97
|
+
# number of retries have been reached or a maximum retry delay cap has been
|
|
98
|
+
# reached.
|
|
99
|
+
# @!attribute [rw] retry_delay
|
|
100
|
+
# @return [::Google::Protobuf::Duration]
|
|
101
|
+
# Clients should wait at least this long between retrying the same request.
|
|
102
|
+
class RetryInfo
|
|
103
|
+
include ::Google::Protobuf::MessageExts
|
|
104
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
# Describes additional debugging info.
|
|
108
|
+
# @!attribute [rw] stack_entries
|
|
109
|
+
# @return [::Array<::String>]
|
|
110
|
+
# The stack trace entries indicating where the error occurred.
|
|
111
|
+
# @!attribute [rw] detail
|
|
112
|
+
# @return [::String]
|
|
113
|
+
# Additional debugging information provided by the server.
|
|
114
|
+
class DebugInfo
|
|
115
|
+
include ::Google::Protobuf::MessageExts
|
|
116
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Describes how a quota check failed.
|
|
120
|
+
#
|
|
121
|
+
# For example if a daily limit was exceeded for the calling project,
|
|
122
|
+
# a service could respond with a QuotaFailure detail containing the project
|
|
123
|
+
# id and the description of the quota limit that was exceeded. If the
|
|
124
|
+
# calling project hasn't enabled the service in the developer console, then
|
|
125
|
+
# a service could respond with the project id and set `service_disabled`
|
|
126
|
+
# to true.
|
|
127
|
+
#
|
|
128
|
+
# Also see RetryInfo and Help types for other details about handling a
|
|
129
|
+
# quota failure.
|
|
130
|
+
# @!attribute [rw] violations
|
|
131
|
+
# @return [::Array<::Google::Rpc::QuotaFailure::Violation>]
|
|
132
|
+
# Describes all quota violations.
|
|
133
|
+
class QuotaFailure
|
|
134
|
+
include ::Google::Protobuf::MessageExts
|
|
135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
136
|
+
|
|
137
|
+
# A message type used to describe a single quota violation. For example, a
|
|
138
|
+
# daily quota or a custom quota that was exceeded.
|
|
139
|
+
# @!attribute [rw] subject
|
|
140
|
+
# @return [::String]
|
|
141
|
+
# The subject on which the quota check failed.
|
|
142
|
+
# For example, "clientip:<ip address of client>" or "project:<Google
|
|
143
|
+
# developer project id>".
|
|
144
|
+
# @!attribute [rw] description
|
|
145
|
+
# @return [::String]
|
|
146
|
+
# A description of how the quota check failed. Clients can use this
|
|
147
|
+
# description to find more about the quota configuration in the service's
|
|
148
|
+
# public documentation, or find the relevant quota limit to adjust through
|
|
149
|
+
# developer console.
|
|
150
|
+
#
|
|
151
|
+
# For example: "Service disabled" or "Daily Limit for read operations
|
|
152
|
+
# exceeded".
|
|
153
|
+
# @!attribute [rw] api_service
|
|
154
|
+
# @return [::String]
|
|
155
|
+
# The API Service from which the `QuotaFailure.Violation` orginates. In
|
|
156
|
+
# some cases, Quota issues originate from an API Service other than the one
|
|
157
|
+
# that was called. In other words, a dependency of the called API Service
|
|
158
|
+
# could be the cause of the `QuotaFailure`, and this field would have the
|
|
159
|
+
# dependency API service name.
|
|
160
|
+
#
|
|
161
|
+
# For example, if the called API is Kubernetes Engine API
|
|
162
|
+
# (container.googleapis.com), and a quota violation occurs in the
|
|
163
|
+
# Kubernetes Engine API itself, this field would be
|
|
164
|
+
# "container.googleapis.com". On the other hand, if the quota violation
|
|
165
|
+
# occurs when the Kubernetes Engine API creates VMs in the Compute Engine
|
|
166
|
+
# API (compute.googleapis.com), this field would be
|
|
167
|
+
# "compute.googleapis.com".
|
|
168
|
+
# @!attribute [rw] quota_metric
|
|
169
|
+
# @return [::String]
|
|
170
|
+
# The metric of the violated quota. A quota metric is a named counter to
|
|
171
|
+
# measure usage, such as API requests or CPUs. When an activity occurs in a
|
|
172
|
+
# service, such as Virtual Machine allocation, one or more quota metrics
|
|
173
|
+
# may be affected.
|
|
174
|
+
#
|
|
175
|
+
# For example, "compute.googleapis.com/cpus_per_vm_family",
|
|
176
|
+
# "storage.googleapis.com/internet_egress_bandwidth".
|
|
177
|
+
# @!attribute [rw] quota_id
|
|
178
|
+
# @return [::String]
|
|
179
|
+
# The id of the violated quota. Also know as "limit name", this is the
|
|
180
|
+
# unique identifier of a quota in the context of an API service.
|
|
181
|
+
#
|
|
182
|
+
# For example, "CPUS-PER-VM-FAMILY-per-project-region".
|
|
183
|
+
# @!attribute [rw] quota_dimensions
|
|
184
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
185
|
+
# The dimensions of the violated quota. Every non-global quota is enforced
|
|
186
|
+
# on a set of dimensions. While quota metric defines what to count, the
|
|
187
|
+
# dimensions specify for what aspects the counter should be increased.
|
|
188
|
+
#
|
|
189
|
+
# For example, the quota "CPUs per region per VM family" enforces a limit
|
|
190
|
+
# on the metric "compute.googleapis.com/cpus_per_vm_family" on dimensions
|
|
191
|
+
# "region" and "vm_family". And if the violation occurred in region
|
|
192
|
+
# "us-central1" and for VM family "n1", the quota_dimensions would be,
|
|
193
|
+
#
|
|
194
|
+
# {
|
|
195
|
+
# "region": "us-central1",
|
|
196
|
+
# "vm_family": "n1",
|
|
197
|
+
# }
|
|
198
|
+
#
|
|
199
|
+
# When a quota is enforced globally, the quota_dimensions would always be
|
|
200
|
+
# empty.
|
|
201
|
+
# @!attribute [rw] quota_value
|
|
202
|
+
# @return [::Integer]
|
|
203
|
+
# The enforced quota value at the time of the `QuotaFailure`.
|
|
204
|
+
#
|
|
205
|
+
# For example, if the enforced quota value at the time of the
|
|
206
|
+
# `QuotaFailure` on the number of CPUs is "10", then the value of this
|
|
207
|
+
# field would reflect this quantity.
|
|
208
|
+
# @!attribute [rw] future_quota_value
|
|
209
|
+
# @return [::Integer]
|
|
210
|
+
# The new quota value being rolled out at the time of the violation. At the
|
|
211
|
+
# completion of the rollout, this value will be enforced in place of
|
|
212
|
+
# quota_value. If no rollout is in progress at the time of the violation,
|
|
213
|
+
# this field is not set.
|
|
214
|
+
#
|
|
215
|
+
# For example, if at the time of the violation a rollout is in progress
|
|
216
|
+
# changing the number of CPUs quota from 10 to 20, 20 would be the value of
|
|
217
|
+
# this field.
|
|
218
|
+
class Violation
|
|
219
|
+
include ::Google::Protobuf::MessageExts
|
|
220
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
221
|
+
|
|
222
|
+
# @!attribute [rw] key
|
|
223
|
+
# @return [::String]
|
|
224
|
+
# @!attribute [rw] value
|
|
225
|
+
# @return [::String]
|
|
226
|
+
class QuotaDimensionsEntry
|
|
227
|
+
include ::Google::Protobuf::MessageExts
|
|
228
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
229
|
+
end
|
|
230
|
+
end
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
# Describes what preconditions have failed.
|
|
234
|
+
#
|
|
235
|
+
# For example, if an RPC failed because it required the Terms of Service to be
|
|
236
|
+
# acknowledged, it could list the terms of service violation in the
|
|
237
|
+
# PreconditionFailure message.
|
|
238
|
+
# @!attribute [rw] violations
|
|
239
|
+
# @return [::Array<::Google::Rpc::PreconditionFailure::Violation>]
|
|
240
|
+
# Describes all precondition violations.
|
|
241
|
+
class PreconditionFailure
|
|
242
|
+
include ::Google::Protobuf::MessageExts
|
|
243
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
244
|
+
|
|
245
|
+
# A message type used to describe a single precondition failure.
|
|
246
|
+
# @!attribute [rw] type
|
|
247
|
+
# @return [::String]
|
|
248
|
+
# The type of PreconditionFailure. We recommend using a service-specific
|
|
249
|
+
# enum type to define the supported precondition violation subjects. For
|
|
250
|
+
# example, "TOS" for "Terms of Service violation".
|
|
251
|
+
# @!attribute [rw] subject
|
|
252
|
+
# @return [::String]
|
|
253
|
+
# The subject, relative to the type, that failed.
|
|
254
|
+
# For example, "google.com/cloud" relative to the "TOS" type would indicate
|
|
255
|
+
# which terms of service is being referenced.
|
|
256
|
+
# @!attribute [rw] description
|
|
257
|
+
# @return [::String]
|
|
258
|
+
# A description of how the precondition failed. Developers can use this
|
|
259
|
+
# description to understand how to fix the failure.
|
|
260
|
+
#
|
|
261
|
+
# For example: "Terms of service not accepted".
|
|
262
|
+
class Violation
|
|
263
|
+
include ::Google::Protobuf::MessageExts
|
|
264
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
265
|
+
end
|
|
266
|
+
end
|
|
267
|
+
|
|
268
|
+
# Describes violations in a client request. This error type focuses on the
|
|
269
|
+
# syntactic aspects of the request.
|
|
270
|
+
# @!attribute [rw] field_violations
|
|
271
|
+
# @return [::Array<::Google::Rpc::BadRequest::FieldViolation>]
|
|
272
|
+
# Describes all violations in a client request.
|
|
273
|
+
class BadRequest
|
|
274
|
+
include ::Google::Protobuf::MessageExts
|
|
275
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
276
|
+
|
|
277
|
+
# A message type used to describe a single bad request field.
|
|
278
|
+
# @!attribute [rw] field
|
|
279
|
+
# @return [::String]
|
|
280
|
+
# A path that leads to a field in the request body. The value will be a
|
|
281
|
+
# sequence of dot-separated identifiers that identify a protocol buffer
|
|
282
|
+
# field.
|
|
283
|
+
#
|
|
284
|
+
# Consider the following:
|
|
285
|
+
#
|
|
286
|
+
# message CreateContactRequest {
|
|
287
|
+
# message EmailAddress {
|
|
288
|
+
# enum Type {
|
|
289
|
+
# TYPE_UNSPECIFIED = 0;
|
|
290
|
+
# HOME = 1;
|
|
291
|
+
# WORK = 2;
|
|
292
|
+
# }
|
|
293
|
+
#
|
|
294
|
+
# optional string email = 1;
|
|
295
|
+
# repeated EmailType type = 2;
|
|
296
|
+
# }
|
|
297
|
+
#
|
|
298
|
+
# string full_name = 1;
|
|
299
|
+
# repeated EmailAddress email_addresses = 2;
|
|
300
|
+
# }
|
|
301
|
+
#
|
|
302
|
+
# In this example, in proto `field` could take one of the following values:
|
|
303
|
+
#
|
|
304
|
+
# * `full_name` for a violation in the `full_name` value
|
|
305
|
+
# * `email_addresses[0].email` for a violation in the `email` field of the
|
|
306
|
+
# first `email_addresses` message
|
|
307
|
+
# * `email_addresses[2].type[1]` for a violation in the second `type`
|
|
308
|
+
# value in the third `email_addresses` message.
|
|
309
|
+
#
|
|
310
|
+
# In JSON, the same values are represented as:
|
|
311
|
+
#
|
|
312
|
+
# * `fullName` for a violation in the `fullName` value
|
|
313
|
+
# * `emailAddresses[0].email` for a violation in the `email` field of the
|
|
314
|
+
# first `emailAddresses` message
|
|
315
|
+
# * `emailAddresses[2].type[1]` for a violation in the second `type`
|
|
316
|
+
# value in the third `emailAddresses` message.
|
|
317
|
+
# @!attribute [rw] description
|
|
318
|
+
# @return [::String]
|
|
319
|
+
# A description of why the request element is bad.
|
|
320
|
+
# @!attribute [rw] reason
|
|
321
|
+
# @return [::String]
|
|
322
|
+
# The reason of the field-level error. This is a constant value that
|
|
323
|
+
# identifies the proximate cause of the field-level error. It should
|
|
324
|
+
# uniquely identify the type of the FieldViolation within the scope of the
|
|
325
|
+
# google.rpc.ErrorInfo.domain. This should be at most 63
|
|
326
|
+
# characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`,
|
|
327
|
+
# which represents UPPER_SNAKE_CASE.
|
|
328
|
+
# @!attribute [rw] localized_message
|
|
329
|
+
# @return [::Google::Rpc::LocalizedMessage]
|
|
330
|
+
# Provides a localized error message for field-level errors that is safe to
|
|
331
|
+
# return to the API consumer.
|
|
332
|
+
class FieldViolation
|
|
333
|
+
include ::Google::Protobuf::MessageExts
|
|
334
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
335
|
+
end
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
# Contains metadata about the request that clients can attach when filing a bug
|
|
339
|
+
# or providing other forms of feedback.
|
|
340
|
+
# @!attribute [rw] request_id
|
|
341
|
+
# @return [::String]
|
|
342
|
+
# An opaque string that should only be interpreted by the service generating
|
|
343
|
+
# it. For example, it can be used to identify requests in the service's logs.
|
|
344
|
+
# @!attribute [rw] serving_data
|
|
345
|
+
# @return [::String]
|
|
346
|
+
# Any data that was used to serve this request. For example, an encrypted
|
|
347
|
+
# stack trace that can be sent back to the service provider for debugging.
|
|
348
|
+
class RequestInfo
|
|
349
|
+
include ::Google::Protobuf::MessageExts
|
|
350
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
351
|
+
end
|
|
352
|
+
|
|
353
|
+
# Describes the resource that is being accessed.
|
|
354
|
+
# @!attribute [rw] resource_type
|
|
355
|
+
# @return [::String]
|
|
356
|
+
# A name for the type of resource being accessed, e.g. "sql table",
|
|
357
|
+
# "cloud storage bucket", "file", "Google calendar"; or the type URL
|
|
358
|
+
# of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic".
|
|
359
|
+
# @!attribute [rw] resource_name
|
|
360
|
+
# @return [::String]
|
|
361
|
+
# The name of the resource being accessed. For example, a shared calendar
|
|
362
|
+
# name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current
|
|
363
|
+
# error is
|
|
364
|
+
# [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
|
|
365
|
+
# @!attribute [rw] owner
|
|
366
|
+
# @return [::String]
|
|
367
|
+
# The owner of the resource (optional).
|
|
368
|
+
# For example, "user:<owner email>" or "project:<Google developer project
|
|
369
|
+
# id>".
|
|
370
|
+
# @!attribute [rw] description
|
|
371
|
+
# @return [::String]
|
|
372
|
+
# Describes what error is encountered when accessing this resource.
|
|
373
|
+
# For example, updating a cloud project may require the `writer` permission
|
|
374
|
+
# on the developer console project.
|
|
375
|
+
class ResourceInfo
|
|
376
|
+
include ::Google::Protobuf::MessageExts
|
|
377
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
# Provides links to documentation or for performing an out of band action.
|
|
381
|
+
#
|
|
382
|
+
# For example, if a quota check failed with an error indicating the calling
|
|
383
|
+
# project hasn't enabled the accessed service, this can contain a URL pointing
|
|
384
|
+
# directly to the right place in the developer console to flip the bit.
|
|
385
|
+
# @!attribute [rw] links
|
|
386
|
+
# @return [::Array<::Google::Rpc::Help::Link>]
|
|
387
|
+
# URL(s) pointing to additional information on handling the current error.
|
|
388
|
+
class Help
|
|
389
|
+
include ::Google::Protobuf::MessageExts
|
|
390
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
391
|
+
|
|
392
|
+
# Describes a URL link.
|
|
393
|
+
# @!attribute [rw] description
|
|
394
|
+
# @return [::String]
|
|
395
|
+
# Describes what the link offers.
|
|
396
|
+
# @!attribute [rw] url
|
|
397
|
+
# @return [::String]
|
|
398
|
+
# The URL of the link.
|
|
399
|
+
class Link
|
|
400
|
+
include ::Google::Protobuf::MessageExts
|
|
401
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
402
|
+
end
|
|
403
|
+
end
|
|
404
|
+
|
|
405
|
+
# Provides a localized error message that is safe to return to the user
|
|
406
|
+
# which can be attached to an RPC error.
|
|
407
|
+
# @!attribute [rw] locale
|
|
408
|
+
# @return [::String]
|
|
409
|
+
# The locale used following the specification defined at
|
|
410
|
+
# https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
|
|
411
|
+
# Examples are: "en-US", "fr-CH", "es-MX"
|
|
412
|
+
# @!attribute [rw] message
|
|
413
|
+
# @return [::String]
|
|
414
|
+
# The localized error message in the above locale.
|
|
415
|
+
class LocalizedMessage
|
|
416
|
+
include ::Google::Protobuf::MessageExts
|
|
417
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
418
|
+
end
|
|
419
|
+
end
|
|
420
|
+
end
|
|
@@ -24,14 +24,17 @@ module Google
|
|
|
24
24
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
25
25
|
# following:
|
|
26
26
|
#
|
|
27
|
-
# * A full date, with non-zero year, month, and day values
|
|
28
|
-
# * A month and day
|
|
29
|
-
# * A year on its own, with zero month and day
|
|
30
|
-
# * A year and month
|
|
31
|
-
#
|
|
27
|
+
# * A full date, with non-zero year, month, and day values.
|
|
28
|
+
# * A month and day, with a zero year (for example, an anniversary).
|
|
29
|
+
# * A year on its own, with a zero month and a zero day.
|
|
30
|
+
# * A year and month, with a zero day (for example, a credit card expiration
|
|
31
|
+
# date).
|
|
32
32
|
#
|
|
33
|
-
# Related types
|
|
34
|
-
#
|
|
33
|
+
# Related types:
|
|
34
|
+
#
|
|
35
|
+
# * [google.type.TimeOfDay][google.type.TimeOfDay]
|
|
36
|
+
# * [google.type.DateTime][google.type.DateTime]
|
|
37
|
+
# * {::Google::Protobuf::Timestamp google.protobuf.Timestamp}
|
|
35
38
|
# @!attribute [rw] year
|
|
36
39
|
# @return [::Integer]
|
|
37
40
|
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-bigtable-v2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -58,6 +58,7 @@ files:
|
|
|
58
58
|
- lib/google/bigtable/v2/peer_info_pb.rb
|
|
59
59
|
- lib/google/bigtable/v2/request_stats_pb.rb
|
|
60
60
|
- lib/google/bigtable/v2/response_params_pb.rb
|
|
61
|
+
- lib/google/bigtable/v2/session_pb.rb
|
|
61
62
|
- lib/google/bigtable/v2/types_pb.rb
|
|
62
63
|
- lib/google/cloud/bigtable/v2.rb
|
|
63
64
|
- lib/google/cloud/bigtable/v2/bigtable.rb
|
|
@@ -78,11 +79,13 @@ files:
|
|
|
78
79
|
- proto_docs/google/bigtable/v2/peer_info.rb
|
|
79
80
|
- proto_docs/google/bigtable/v2/request_stats.rb
|
|
80
81
|
- proto_docs/google/bigtable/v2/response_params.rb
|
|
82
|
+
- proto_docs/google/bigtable/v2/session.rb
|
|
81
83
|
- proto_docs/google/bigtable/v2/types.rb
|
|
82
84
|
- proto_docs/google/protobuf/any.rb
|
|
83
85
|
- proto_docs/google/protobuf/duration.rb
|
|
84
86
|
- proto_docs/google/protobuf/timestamp.rb
|
|
85
87
|
- proto_docs/google/protobuf/wrappers.rb
|
|
88
|
+
- proto_docs/google/rpc/error_details.rb
|
|
86
89
|
- proto_docs/google/rpc/status.rb
|
|
87
90
|
- proto_docs/google/type/date.rb
|
|
88
91
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
|
@@ -96,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
96
99
|
requirements:
|
|
97
100
|
- - ">="
|
|
98
101
|
- !ruby/object:Gem::Version
|
|
99
|
-
version: '3.
|
|
102
|
+
version: '3.2'
|
|
100
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
104
|
requirements:
|
|
102
105
|
- - ">="
|