google-cloud-bigtable-admin-v2 1.2.1 → 1.4.0
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: 8bfb08244bfee66566a13ca94a19086f5999af43fab3f405cf5cee4d54098d9e
|
4
|
+
data.tar.gz: 25f59cb1d60dcae80d8487dba620e8e37cf9f4255c4a104694e7427b4d2e3e6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50d87d3100fffea5dddd905d8557b57dd2471638103d80d3afaa89e8740fc374ee82df47332db877df69bff46db47f022e384e29a65b70f476fec54a19b2cd02
|
7
|
+
data.tar.gz: c49863b2acb634fc9b20bf042cf8feb9c7c79544f54ba0529dfc58b98ce3f867fedecc621d44170c2e069e4f809af0237d71a53286e55541eb838a8da7cb376e
|
@@ -10,7 +10,7 @@ require 'google/bigtable/admin/v2/common_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n\'google/bigtable/admin/v2/instance.proto\x12\x18google.bigtable.admin.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a%google/bigtable/admin/v2/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc6\x04\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x05state\x18\x03 \x01(\x0e\x32(.google.bigtable.admin.v2.Instance.State\x12\x35\n\x04type\x18\x04 \x01(\x0e\x32\'.google.bigtable.admin.v2.Instance.Type\x12>\n\x06labels\x18\x05 \x03(\x0b\x32..google.bigtable.admin.v2.Instance.LabelsEntry\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1f\n\rsatisfies_pzs\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"5\n\x05State\x12\x13\n\x0fSTATE_NOT_KNOWN\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\"=\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nPRODUCTION\x10\x01\x12\x0f\n\x0b\x44\x45VELOPMENT\x10\x02:S\xea\x41P\n%bigtableadmin.googleapis.com/Instance\x12\'projects/{project}/instances/{instance}B\x10\n\x0e_satisfies_pzs\"_\n\x12\x41utoscalingTargets\x12\x1f\n\x17\x63pu_utilization_percent\x18\x02 \x01(\x05\x12(\n storage_utilization_gib_per_node\x18\x03 \x01(\x05\"O\n\x11\x41utoscalingLimits\x12\x1c\n\x0fmin_serve_nodes\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1c\n\x0fmax_serve_nodes\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"\
|
13
|
+
descriptor_data = "\n\'google/bigtable/admin/v2/instance.proto\x12\x18google.bigtable.admin.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a%google/bigtable/admin/v2/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc6\x04\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x05state\x18\x03 \x01(\x0e\x32(.google.bigtable.admin.v2.Instance.State\x12\x35\n\x04type\x18\x04 \x01(\x0e\x32\'.google.bigtable.admin.v2.Instance.Type\x12>\n\x06labels\x18\x05 \x03(\x0b\x32..google.bigtable.admin.v2.Instance.LabelsEntry\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1f\n\rsatisfies_pzs\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"5\n\x05State\x12\x13\n\x0fSTATE_NOT_KNOWN\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\"=\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nPRODUCTION\x10\x01\x12\x0f\n\x0b\x44\x45VELOPMENT\x10\x02:S\xea\x41P\n%bigtableadmin.googleapis.com/Instance\x12\'projects/{project}/instances/{instance}B\x10\n\x0e_satisfies_pzs\"_\n\x12\x41utoscalingTargets\x12\x1f\n\x17\x63pu_utilization_percent\x18\x02 \x01(\x05\x12(\n storage_utilization_gib_per_node\x18\x03 \x01(\x05\"O\n\x11\x41utoscalingLimits\x12\x1c\n\x0fmin_serve_nodes\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x1c\n\x0fmax_serve_nodes\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02\"\x9a\t\n\x07\x43luster\x12\x0c\n\x04name\x18\x01 \x01(\t\x12;\n\x08location\x18\x02 \x01(\tB)\xe0\x41\x05\xfa\x41#\n!locations.googleapis.com/Location\x12;\n\x05state\x18\x03 \x01(\x0e\x32\'.google.bigtable.admin.v2.Cluster.StateB\x03\xe0\x41\x03\x12\x13\n\x0bserve_nodes\x18\x04 \x01(\x05\x12U\n\x13node_scaling_factor\x18\t \x01(\x0e\x32\x33.google.bigtable.admin.v2.Cluster.NodeScalingFactorB\x03\xe0\x41\x05\x12I\n\x0e\x63luster_config\x18\x07 \x01(\x0b\x32/.google.bigtable.admin.v2.Cluster.ClusterConfigH\x00\x12H\n\x14\x64\x65\x66\x61ult_storage_type\x18\x05 \x01(\x0e\x32%.google.bigtable.admin.v2.StorageTypeB\x03\xe0\x41\x05\x12R\n\x11\x65ncryption_config\x18\x06 \x01(\x0b\x32\x32.google.bigtable.admin.v2.Cluster.EncryptionConfigB\x03\xe0\x41\x05\x1a\xb8\x01\n\x18\x43lusterAutoscalingConfig\x12L\n\x12\x61utoscaling_limits\x18\x01 \x01(\x0b\x32+.google.bigtable.admin.v2.AutoscalingLimitsB\x03\xe0\x41\x02\x12N\n\x13\x61utoscaling_targets\x18\x02 \x01(\x0b\x32,.google.bigtable.admin.v2.AutoscalingTargetsB\x03\xe0\x41\x02\x1ao\n\rClusterConfig\x12^\n\x1a\x63luster_autoscaling_config\x18\x01 \x01(\x0b\x32:.google.bigtable.admin.v2.Cluster.ClusterAutoscalingConfig\x1aP\n\x10\x45ncryptionConfig\x12<\n\x0ckms_key_name\x18\x01 \x01(\tB&\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\"Q\n\x05State\x12\x13\n\x0fSTATE_NOT_KNOWN\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\x0c\n\x08RESIZING\x10\x03\x12\x0c\n\x08\x44ISABLED\x10\x04\"p\n\x11NodeScalingFactor\x12#\n\x1fNODE_SCALING_FACTOR_UNSPECIFIED\x10\x00\x12\x1a\n\x16NODE_SCALING_FACTOR_1X\x10\x01\x12\x1a\n\x16NODE_SCALING_FACTOR_2X\x10\x02:e\xea\x41\x62\n$bigtableadmin.googleapis.com/Cluster\x12:projects/{project}/instances/{instance}/clusters/{cluster}B\x08\n\x06\x63onfig\"\xd2\n\n\nAppProfile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12g\n\x1dmulti_cluster_routing_use_any\x18\x05 \x01(\x0b\x32>.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAnyH\x00\x12[\n\x16single_cluster_routing\x18\x06 \x01(\x0b\x32\x39.google.bigtable.admin.v2.AppProfile.SingleClusterRoutingH\x00\x12\x45\n\x08priority\x18\x07 \x01(\x0e\x32-.google.bigtable.admin.v2.AppProfile.PriorityB\x02\x18\x01H\x01\x12T\n\x12standard_isolation\x18\x0b \x01(\x0b\x32\x36.google.bigtable.admin.v2.AppProfile.StandardIsolationH\x01\x12i\n\x1e\x64\x61ta_boost_isolation_read_only\x18\n \x01(\x0b\x32?.google.bigtable.admin.v2.AppProfile.DataBoostIsolationReadOnlyH\x01\x1a\xaf\x01\n\x19MultiClusterRoutingUseAny\x12\x13\n\x0b\x63luster_ids\x18\x01 \x03(\t\x12\x62\n\x0crow_affinity\x18\x03 \x01(\x0b\x32J.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.RowAffinityH\x00\x1a\r\n\x0bRowAffinityB\n\n\x08\x61\x66\x66inity\x1aN\n\x14SingleClusterRouting\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\"\n\x1a\x61llow_transactional_writes\x18\x02 \x01(\x08\x1aT\n\x11StandardIsolation\x12?\n\x08priority\x18\x01 \x01(\x0e\x32-.google.bigtable.admin.v2.AppProfile.Priority\x1a\xfc\x01\n\x1a\x44\x61taBoostIsolationReadOnly\x12w\n\x15\x63ompute_billing_owner\x18\x01 \x01(\x0e\x32S.google.bigtable.admin.v2.AppProfile.DataBoostIsolationReadOnly.ComputeBillingOwnerH\x00\x88\x01\x01\"K\n\x13\x43omputeBillingOwner\x12%\n!COMPUTE_BILLING_OWNER_UNSPECIFIED\x10\x00\x12\r\n\tHOST_PAYS\x10\x01\x42\x18\n\x16_compute_billing_owner\"^\n\x08Priority\x12\x18\n\x14PRIORITY_UNSPECIFIED\x10\x00\x12\x10\n\x0cPRIORITY_LOW\x10\x01\x12\x13\n\x0fPRIORITY_MEDIUM\x10\x02\x12\x11\n\rPRIORITY_HIGH\x10\x03:o\xea\x41l\n\'bigtableadmin.googleapis.com/AppProfile\x12\x41projects/{project}/instances/{instance}/appProfiles/{app_profile}B\x10\n\x0erouting_policyB\x0b\n\tisolation\"\x88\x03\n\tHotTablet\x12\x0c\n\x04name\x18\x01 \x01(\t\x12;\n\ntable_name\x18\x02 \x01(\tB\'\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12\x33\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\tstart_key\x18\x05 \x01(\t\x12\x0f\n\x07\x65nd_key\x18\x06 \x01(\t\x12#\n\x16node_cpu_usage_percent\x18\x07 \x01(\x02\x42\x03\xe0\x41\x03:\x7f\xea\x41|\n&bigtableadmin.googleapis.com/HotTablet\x12Rprojects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/{hot_tablet}B\xcb\x02\n\x1c\x63om.google.bigtable.admin.v2B\rInstanceProtoP\x01Z8cloud.google.com/go/bigtable/admin/apiv2/adminpb;adminpb\xaa\x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\x02\x1eGoogle\\Cloud\\Bigtable\\Admin\\V2\xea\x02\"Google::Cloud::Bigtable::Admin::V2\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -52,8 +52,10 @@ module Google
|
|
52
52
|
Cluster::ClusterConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Cluster.ClusterConfig").msgclass
|
53
53
|
Cluster::EncryptionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Cluster.EncryptionConfig").msgclass
|
54
54
|
Cluster::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Cluster.State").enummodule
|
55
|
+
Cluster::NodeScalingFactor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Cluster.NodeScalingFactor").enummodule
|
55
56
|
AppProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile").msgclass
|
56
57
|
AppProfile::MultiClusterRoutingUseAny = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny").msgclass
|
58
|
+
AppProfile::MultiClusterRoutingUseAny::RowAffinity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.RowAffinity").msgclass
|
57
59
|
AppProfile::SingleClusterRouting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.SingleClusterRouting").msgclass
|
58
60
|
AppProfile::StandardIsolation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.StandardIsolation").msgclass
|
59
61
|
AppProfile::DataBoostIsolationReadOnly = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.DataBoostIsolationReadOnly").msgclass
|
@@ -1148,7 +1148,7 @@ module Google
|
|
1148
1148
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1149
1149
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1150
1150
|
#
|
1151
|
-
# @overload update_cluster(name: nil, location: nil, serve_nodes: nil, cluster_config: nil, default_storage_type: nil, encryption_config: nil)
|
1151
|
+
# @overload update_cluster(name: nil, location: nil, serve_nodes: nil, node_scaling_factor: nil, cluster_config: nil, default_storage_type: nil, encryption_config: nil)
|
1152
1152
|
# Pass arguments to `update_cluster` via keyword arguments. Note that at
|
1153
1153
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1154
1154
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1164,6 +1164,8 @@ module Google
|
|
1164
1164
|
# @param serve_nodes [::Integer]
|
1165
1165
|
# The number of nodes allocated to this cluster. More nodes enable higher
|
1166
1166
|
# throughput and more consistent performance.
|
1167
|
+
# @param node_scaling_factor [::Google::Cloud::Bigtable::Admin::V2::Cluster::NodeScalingFactor]
|
1168
|
+
# Immutable. The node scaling factor of this cluster.
|
1167
1169
|
# @param cluster_config [::Google::Cloud::Bigtable::Admin::V2::Cluster::ClusterConfig, ::Hash]
|
1168
1170
|
# Configuration for this cluster.
|
1169
1171
|
# @param default_storage_type [::Google::Cloud::Bigtable::Admin::V2::StorageType]
|
@@ -159,6 +159,9 @@ module Google
|
|
159
159
|
# @return [::Integer]
|
160
160
|
# The number of nodes allocated to this cluster. More nodes enable higher
|
161
161
|
# throughput and more consistent performance.
|
162
|
+
# @!attribute [rw] node_scaling_factor
|
163
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::Cluster::NodeScalingFactor]
|
164
|
+
# Immutable. The node scaling factor of this cluster.
|
162
165
|
# @!attribute [rw] cluster_config
|
163
166
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Cluster::ClusterConfig]
|
164
167
|
# Configuration for this cluster.
|
@@ -237,6 +240,21 @@ module Google
|
|
237
240
|
# exist, but no operations can be performed on the cluster.
|
238
241
|
DISABLED = 4
|
239
242
|
end
|
243
|
+
|
244
|
+
# Possible node scaling factors of the clusters. Node scaling delivers better
|
245
|
+
# latency and more throughput by removing node boundaries.
|
246
|
+
module NodeScalingFactor
|
247
|
+
# No node scaling specified. Defaults to NODE_SCALING_FACTOR_1X.
|
248
|
+
NODE_SCALING_FACTOR_UNSPECIFIED = 0
|
249
|
+
|
250
|
+
# The cluster is running with a scaling factor of 1.
|
251
|
+
NODE_SCALING_FACTOR_1X = 1
|
252
|
+
|
253
|
+
# The cluster is running with a scaling factor of 2.
|
254
|
+
# All node count values must be in increments of 2 with this scaling factor
|
255
|
+
# enabled, otherwise an INVALID_ARGUMENT error will be returned.
|
256
|
+
NODE_SCALING_FACTOR_2X = 2
|
257
|
+
end
|
240
258
|
end
|
241
259
|
|
242
260
|
# A configuration object describing how Cloud Bigtable should treat traffic
|
@@ -292,9 +310,27 @@ module Google
|
|
292
310
|
# @return [::Array<::String>]
|
293
311
|
# The set of clusters to route to. The order is ignored; clusters will be
|
294
312
|
# tried in order of distance. If left empty, all clusters are eligible.
|
313
|
+
# @!attribute [rw] row_affinity
|
314
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::MultiClusterRoutingUseAny::RowAffinity]
|
315
|
+
# Row affinity sticky routing based on the row key of the request.
|
316
|
+
# Requests that span multiple rows are routed non-deterministically.
|
295
317
|
class MultiClusterRoutingUseAny
|
296
318
|
include ::Google::Protobuf::MessageExts
|
297
319
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
320
|
+
|
321
|
+
# If enabled, Bigtable will route the request based on the row key of the
|
322
|
+
# request, rather than randomly. Instead, each row key will be assigned
|
323
|
+
# to a cluster, and will stick to that cluster. If clusters are added or
|
324
|
+
# removed, then this may affect which row keys stick to which clusters.
|
325
|
+
# To avoid this, users can use a cluster group to specify which clusters
|
326
|
+
# are to be used. In this case, new clusters that are not a part of the
|
327
|
+
# cluster group will not be routed to, and routing will be unaffected by
|
328
|
+
# the new cluster. Moreover, clusters specified in the cluster group cannot
|
329
|
+
# be deleted unless removed from the cluster group.
|
330
|
+
class RowAffinity
|
331
|
+
include ::Google::Protobuf::MessageExts
|
332
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
333
|
+
end
|
298
334
|
end
|
299
335
|
|
300
336
|
# Unconditionally routes all read/write requests to a specific cluster.
|
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: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|