google-cloud-bigtable-admin-v2 1.2.1 → 1.3.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: 0b986bfb48e70b0361ad8595aa478a3b8328529e358915b40aecf7a8556f97ee
|
4
|
+
data.tar.gz: b21f4eb887f57ceda0d3277cf2e83d6b36a131ef4c857e84739be0be9b0a143f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81bbb4539de8223ed41545faf135382794442739ac39071735a8a9a6f86930190375c5a5af8281662b22097d576815ac78e69cf7e2f1c675430a15a54e765dca
|
7
|
+
data.tar.gz: 40d1ec289a4bb234239ffbff8449fddfb9b996c800b083aef24e4d2ffbb18b68ec66b8f1150d4f9bd3dabf4710658e63f56baf62076d79217ae2eb05300a38ea
|
@@ -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\"\xd1\x07\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\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:e\xea\x41\x62\n$bigtableadmin.googleapis.com/Cluster\x12:projects/{project}/instances/{instance}/clusters/{cluster}B\x08\n\x06\x63onfig\"\xd2\
|
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\"\xd1\x07\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\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: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
|
|
@@ -54,6 +54,7 @@ module Google
|
|
54
54
|
Cluster::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Cluster.State").enummodule
|
55
55
|
AppProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile").msgclass
|
56
56
|
AppProfile::MultiClusterRoutingUseAny = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny").msgclass
|
57
|
+
AppProfile::MultiClusterRoutingUseAny::RowAffinity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny.RowAffinity").msgclass
|
57
58
|
AppProfile::SingleClusterRouting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.SingleClusterRouting").msgclass
|
58
59
|
AppProfile::StandardIsolation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.StandardIsolation").msgclass
|
59
60
|
AppProfile::DataBoostIsolationReadOnly = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.DataBoostIsolationReadOnly").msgclass
|
@@ -292,9 +292,27 @@ module Google
|
|
292
292
|
# @return [::Array<::String>]
|
293
293
|
# The set of clusters to route to. The order is ignored; clusters will be
|
294
294
|
# tried in order of distance. If left empty, all clusters are eligible.
|
295
|
+
# @!attribute [rw] row_affinity
|
296
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::MultiClusterRoutingUseAny::RowAffinity]
|
297
|
+
# Row affinity sticky routing based on the row key of the request.
|
298
|
+
# Requests that span multiple rows are routed non-deterministically.
|
295
299
|
class MultiClusterRoutingUseAny
|
296
300
|
include ::Google::Protobuf::MessageExts
|
297
301
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
302
|
+
|
303
|
+
# If enabled, Bigtable will route the request based on the row key of the
|
304
|
+
# request, rather than randomly. Instead, each row key will be assigned
|
305
|
+
# to a cluster, and will stick to that cluster. If clusters are added or
|
306
|
+
# removed, then this may affect which row keys stick to which clusters.
|
307
|
+
# To avoid this, users can use a cluster group to specify which clusters
|
308
|
+
# are to be used. In this case, new clusters that are not a part of the
|
309
|
+
# cluster group will not be routed to, and routing will be unaffected by
|
310
|
+
# the new cluster. Moreover, clusters specified in the cluster group cannot
|
311
|
+
# be deleted unless removed from the cluster group.
|
312
|
+
class RowAffinity
|
313
|
+
include ::Google::Protobuf::MessageExts
|
314
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
315
|
+
end
|
298
316
|
end
|
299
317
|
|
300
318
|
# 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.3.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-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|