google-cloud-bigtable-admin-v2 0.17.0 → 0.19.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: 9bf5711a511ae135a51458a93cff83c8d3937df507cd346c0335617d1e6dd44b
4
- data.tar.gz: 193bfef194f86b9e72f1111f238f25e9d3086d94494ee056c756add9cd80b106
3
+ metadata.gz: 789585450b47740433cabf01ad8820eead893c2e025d2a4bccd6302367220737
4
+ data.tar.gz: 79819ac83bba68b083e49f927fcb0691a309db274c61a67433e9a86bddf1cbc0
5
5
  SHA512:
6
- metadata.gz: d51f24285a0ee7790071a102ee10547b920f75e96a770e5ac3410c71b3f4421da6b7770d18fe0ec5b3e3519432c6ab488943da0511d3df7a31d5dbe16d91d14f
7
- data.tar.gz: 6562b7c5a7d24f8d1f8cef09f3e1c69c420a9a3ab8e9da477df8a460eb8be41dfe041e9e51c511a99c004d89c5a6c278d4abbc134eb7d3e2cc4ff028ec675228
6
+ metadata.gz: 339159c88d902fc254ac1c774ff77d3a26fc9adf4303374259c0e9da73aa3871a1238866f49dcba5a191edde56cb8e8dcd697230ff5ba87586704bb369afc62e
7
+ data.tar.gz: b530e2dfd4eb44d245b311cdd540bc89d21569d6acc7b5c2ff2c9d6547458116d657d014b404ea430bcdc9040bb6f55beef006ac2d6835fad29c58e7ced9fdbf
@@ -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\"\x88\x04\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\x1a\x30\n\x19MultiClusterRoutingUseAny\x12\x13\n\x0b\x63luster_ids\x18\x01 \x03(\t\x1aN\n\x14SingleClusterRouting\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\"\n\x1a\x61llow_transactional_writes\x18\x02 \x01(\x08:o\xea\x41l\n\'bigtableadmin.googleapis.com/AppProfile\x12\x41projects/{project}/instances/{instance}/appProfiles/{app_profile}B\x10\n\x0erouting_policy\"\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\xd0\x02\n\x1c\x63om.google.bigtable.admin.v2B\rInstanceProtoP\x01Z=google.golang.org/genproto/googleapis/bigtable/admin/v2;admin\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"
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\"\xe8\x06\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\x1a\x30\n\x19MultiClusterRoutingUseAny\x12\x13\n\x0b\x63luster_ids\x18\x01 \x03(\t\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\"^\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\xd0\x02\n\x1c\x63om.google.bigtable.admin.v2B\rInstanceProtoP\x01Z=google.golang.org/genproto/googleapis/bigtable/admin/v2;admin\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
 
@@ -55,6 +55,8 @@ module Google
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
57
  AppProfile::SingleClusterRouting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.SingleClusterRouting").msgclass
58
+ AppProfile::StandardIsolation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.StandardIsolation").msgclass
59
+ AppProfile::Priority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AppProfile.Priority").enummodule
58
60
  HotTablet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.HotTablet").msgclass
59
61
  end
60
62
  end
@@ -226,7 +226,8 @@ module Google
226
226
  credentials: credentials,
227
227
  endpoint: @config.endpoint,
228
228
  channel_args: @config.channel_args,
229
- interceptors: @config.interceptors
229
+ interceptors: @config.interceptors,
230
+ channel_pool_config: @config.channel_pool
230
231
  )
231
232
  end
232
233
 
@@ -264,11 +265,11 @@ module Google
264
265
  # the default parameter values, pass an empty Hash as a request object (see above).
265
266
  #
266
267
  # @param parent [::String]
267
- # Required. The unique name of the project in which to create the new instance.
268
- # Values are of the form `projects/{project}`.
268
+ # Required. The unique name of the project in which to create the new
269
+ # instance. Values are of the form `projects/{project}`.
269
270
  # @param instance_id [::String]
270
- # Required. The ID to be used when referring to the new instance within its project,
271
- # e.g., just `myinstance` rather than
271
+ # Required. The ID to be used when referring to the new instance within its
272
+ # project, e.g., just `myinstance` rather than
272
273
  # `projects/myproject/instances/myinstance`.
273
274
  # @param instance [::Google::Cloud::Bigtable::Admin::V2::Instance, ::Hash]
274
275
  # Required. The instance to create.
@@ -457,8 +458,8 @@ module Google
457
458
  # the default parameter values, pass an empty Hash as a request object (see above).
458
459
  #
459
460
  # @param parent [::String]
460
- # Required. The unique name of the project for which a list of instances is requested.
461
- # Values are of the form `projects/{project}`.
461
+ # Required. The unique name of the project for which a list of instances is
462
+ # requested. Values are of the form `projects/{project}`.
462
463
  # @param page_token [::String]
463
464
  # DEPRECATED: This field is unused and ignored.
464
465
  #
@@ -843,12 +844,11 @@ module Google
843
844
  # the default parameter values, pass an empty Hash as a request object (see above).
844
845
  #
845
846
  # @param parent [::String]
846
- # Required. The unique name of the instance in which to create the new cluster.
847
- # Values are of the form
848
- # `projects/{project}/instances/{instance}`.
847
+ # Required. The unique name of the instance in which to create the new
848
+ # cluster. Values are of the form `projects/{project}/instances/{instance}`.
849
849
  # @param cluster_id [::String]
850
- # Required. The ID to be used when referring to the new cluster within its instance,
851
- # e.g., just `mycluster` rather than
850
+ # Required. The ID to be used when referring to the new cluster within its
851
+ # instance, e.g., just `mycluster` rather than
852
852
  # `projects/myproject/instances/myinstance/clusters/mycluster`.
853
853
  # @param cluster [::Google::Cloud::Bigtable::Admin::V2::Cluster, ::Hash]
854
854
  # Required. The cluster to be created.
@@ -1031,10 +1031,11 @@ module Google
1031
1031
  # the default parameter values, pass an empty Hash as a request object (see above).
1032
1032
  #
1033
1033
  # @param parent [::String]
1034
- # Required. The unique name of the instance for which a list of clusters is requested.
1035
- # Values are of the form `projects/{project}/instances/{instance}`.
1036
- # Use `{instance} = '-'` to list Clusters for all Instances in a project,
1037
- # e.g., `projects/myproject/instances/-`.
1034
+ # Required. The unique name of the instance for which a list of clusters is
1035
+ # requested. Values are of the form
1036
+ # `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list
1037
+ # Clusters for all Instances in a project, e.g.,
1038
+ # `projects/myproject/instances/-`.
1038
1039
  # @param page_token [::String]
1039
1040
  # DEPRECATED: This field is unused and ignored.
1040
1041
  #
@@ -1128,8 +1129,8 @@ module Google
1128
1129
  # The unique name of the cluster. Values are of the form
1129
1130
  # `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
1130
1131
  # @param location [::String]
1131
- # Immutable. The location where this cluster's nodes and storage reside. For best
1132
- # performance, clients should be located as close as possible to this
1132
+ # Immutable. The location where this cluster's nodes and storage reside. For
1133
+ # best performance, clients should be located as close as possible to this
1133
1134
  # cluster. Currently only zones are supported, so values should be of the
1134
1135
  # form `projects/{project}/locations/{zone}`.
1135
1136
  # @param serve_nodes [::Integer]
@@ -1245,8 +1246,8 @@ module Google
1245
1246
  # the default parameter values, pass an empty Hash as a request object (see above).
1246
1247
  #
1247
1248
  # @param cluster [::Google::Cloud::Bigtable::Admin::V2::Cluster, ::Hash]
1248
- # Required. The Cluster which contains the partial updates to be applied, subject to
1249
- # the update_mask.
1249
+ # Required. The Cluster which contains the partial updates to be applied,
1250
+ # subject to the update_mask.
1250
1251
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1251
1252
  # Required. The subset of Cluster fields which should be replaced.
1252
1253
  #
@@ -1341,8 +1342,8 @@ module Google
1341
1342
  # the default parameter values, pass an empty Hash as a request object (see above).
1342
1343
  #
1343
1344
  # @param name [::String]
1344
- # Required. The unique name of the cluster to be deleted. Values are of the form
1345
- # `projects/{project}/instances/{instance}/clusters/{cluster}`.
1345
+ # Required. The unique name of the cluster to be deleted. Values are of the
1346
+ # form `projects/{project}/instances/{instance}/clusters/{cluster}`.
1346
1347
  #
1347
1348
  # @yield [response, operation] Access the result along with the RPC operation
1348
1349
  # @yieldparam response [::Google::Protobuf::Empty]
@@ -1427,12 +1428,11 @@ module Google
1427
1428
  # the default parameter values, pass an empty Hash as a request object (see above).
1428
1429
  #
1429
1430
  # @param parent [::String]
1430
- # Required. The unique name of the instance in which to create the new app profile.
1431
- # Values are of the form
1432
- # `projects/{project}/instances/{instance}`.
1431
+ # Required. The unique name of the instance in which to create the new app
1432
+ # profile. Values are of the form `projects/{project}/instances/{instance}`.
1433
1433
  # @param app_profile_id [::String]
1434
- # Required. The ID to be used when referring to the new app profile within its
1435
- # instance, e.g., just `myprofile` rather than
1434
+ # Required. The ID to be used when referring to the new app profile within
1435
+ # its instance, e.g., just `myprofile` rather than
1436
1436
  # `projects/myproject/instances/myinstance/appProfiles/myprofile`.
1437
1437
  # @param app_profile [::Google::Cloud::Bigtable::Admin::V2::AppProfile, ::Hash]
1438
1438
  # Required. The app profile to be created.
@@ -1523,8 +1523,8 @@ module Google
1523
1523
  # the default parameter values, pass an empty Hash as a request object (see above).
1524
1524
  #
1525
1525
  # @param name [::String]
1526
- # Required. The unique name of the requested app profile. Values are of the form
1527
- # `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
1526
+ # Required. The unique name of the requested app profile. Values are of the
1527
+ # form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
1528
1528
  #
1529
1529
  # @yield [response, operation] Access the result along with the RPC operation
1530
1530
  # @yieldparam response [::Google::Cloud::Bigtable::Admin::V2::AppProfile]
@@ -1609,8 +1609,8 @@ module Google
1609
1609
  # the default parameter values, pass an empty Hash as a request object (see above).
1610
1610
  #
1611
1611
  # @param parent [::String]
1612
- # Required. The unique name of the instance for which a list of app profiles is
1613
- # requested. Values are of the form
1612
+ # Required. The unique name of the instance for which a list of app profiles
1613
+ # is requested. Values are of the form
1614
1614
  # `projects/{project}/instances/{instance}`.
1615
1615
  # Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
1616
1616
  # e.g., `projects/myproject/instances/-`.
@@ -1813,7 +1813,8 @@ module Google
1813
1813
  # the default parameter values, pass an empty Hash as a request object (see above).
1814
1814
  #
1815
1815
  # @param name [::String]
1816
- # Required. The unique name of the app profile to be deleted. Values are of the form
1816
+ # Required. The unique name of the app profile to be deleted. Values are of
1817
+ # the form
1817
1818
  # `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
1818
1819
  # @param ignore_warnings [::Boolean]
1819
1820
  # Required. If true, ignore safety checks when deleting the app profile.
@@ -2394,6 +2395,14 @@ module Google
2394
2395
  end
2395
2396
  end
2396
2397
 
2398
+ ##
2399
+ # Configuration for the channel pool
2400
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
2401
+ #
2402
+ def channel_pool
2403
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
2404
+ end
2405
+
2397
2406
  ##
2398
2407
  # Configuration RPC class for the BigtableInstanceAdmin API.
2399
2408
  #
@@ -94,7 +94,8 @@ module Google
94
94
  credentials: credentials,
95
95
  endpoint: @config.endpoint,
96
96
  channel_args: @config.channel_args,
97
- interceptors: @config.interceptors
97
+ interceptors: @config.interceptors,
98
+ channel_pool_config: @config.channel_pool
98
99
  )
99
100
 
100
101
  # Used by an LRO wrapper for some methods of this service
@@ -702,6 +703,14 @@ module Google
702
703
  end
703
704
  end
704
705
 
706
+ ##
707
+ # Configuration for the channel pool
708
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
709
+ #
710
+ def channel_pool
711
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
712
+ end
713
+
705
714
  ##
706
715
  # Configuration RPC class for the Operations API.
707
716
  #
@@ -219,7 +219,8 @@ module Google
219
219
  credentials: credentials,
220
220
  endpoint: @config.endpoint,
221
221
  channel_args: @config.channel_args,
222
- interceptors: @config.interceptors
222
+ interceptors: @config.interceptors,
223
+ channel_pool_config: @config.channel_pool
223
224
  )
224
225
  end
225
226
 
@@ -2881,6 +2882,14 @@ module Google
2881
2882
  end
2882
2883
  end
2883
2884
 
2885
+ ##
2886
+ # Configuration for the channel pool
2887
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
2888
+ #
2889
+ def channel_pool
2890
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
2891
+ end
2892
+
2884
2893
  ##
2885
2894
  # Configuration RPC class for the BigtableTableAdmin API.
2886
2895
  #
@@ -94,7 +94,8 @@ module Google
94
94
  credentials: credentials,
95
95
  endpoint: @config.endpoint,
96
96
  channel_args: @config.channel_args,
97
- interceptors: @config.interceptors
97
+ interceptors: @config.interceptors,
98
+ channel_pool_config: @config.channel_pool
98
99
  )
99
100
 
100
101
  # Used by an LRO wrapper for some methods of this service
@@ -702,6 +703,14 @@ module Google
702
703
  end
703
704
  end
704
705
 
706
+ ##
707
+ # Configuration for the channel pool
708
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
709
+ #
710
+ def channel_pool
711
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
712
+ end
713
+
705
714
  ##
706
715
  # Configuration RPC class for the Operations API.
707
716
  #
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigtable
23
23
  module Admin
24
24
  module V2
25
- VERSION = "0.17.0"
25
+ VERSION = "0.19.0"
26
26
  end
27
27
  end
28
28
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
@@ -25,12 +25,12 @@ module Google
25
25
  # Request message for BigtableInstanceAdmin.CreateInstance.
26
26
  # @!attribute [rw] parent
27
27
  # @return [::String]
28
- # Required. The unique name of the project in which to create the new instance.
29
- # Values are of the form `projects/{project}`.
28
+ # Required. The unique name of the project in which to create the new
29
+ # instance. Values are of the form `projects/{project}`.
30
30
  # @!attribute [rw] instance_id
31
31
  # @return [::String]
32
- # Required. The ID to be used when referring to the new instance within its project,
33
- # e.g., just `myinstance` rather than
32
+ # Required. The ID to be used when referring to the new instance within its
33
+ # project, e.g., just `myinstance` rather than
34
34
  # `projects/myproject/instances/myinstance`.
35
35
  # @!attribute [rw] instance
36
36
  # @return [::Google::Cloud::Bigtable::Admin::V2::Instance]
@@ -70,8 +70,8 @@ module Google
70
70
  # Request message for BigtableInstanceAdmin.ListInstances.
71
71
  # @!attribute [rw] parent
72
72
  # @return [::String]
73
- # Required. The unique name of the project for which a list of instances is requested.
74
- # Values are of the form `projects/{project}`.
73
+ # Required. The unique name of the project for which a list of instances is
74
+ # requested. Values are of the form `projects/{project}`.
75
75
  # @!attribute [rw] page_token
76
76
  # @return [::String]
77
77
  # DEPRECATED: This field is unused and ignored.
@@ -126,13 +126,12 @@ module Google
126
126
  # Request message for BigtableInstanceAdmin.CreateCluster.
127
127
  # @!attribute [rw] parent
128
128
  # @return [::String]
129
- # Required. The unique name of the instance in which to create the new cluster.
130
- # Values are of the form
131
- # `projects/{project}/instances/{instance}`.
129
+ # Required. The unique name of the instance in which to create the new
130
+ # cluster. Values are of the form `projects/{project}/instances/{instance}`.
132
131
  # @!attribute [rw] cluster_id
133
132
  # @return [::String]
134
- # Required. The ID to be used when referring to the new cluster within its instance,
135
- # e.g., just `mycluster` rather than
133
+ # Required. The ID to be used when referring to the new cluster within its
134
+ # instance, e.g., just `mycluster` rather than
136
135
  # `projects/myproject/instances/myinstance/clusters/mycluster`.
137
136
  # @!attribute [rw] cluster
138
137
  # @return [::Google::Cloud::Bigtable::Admin::V2::Cluster]
@@ -156,10 +155,11 @@ module Google
156
155
  # Request message for BigtableInstanceAdmin.ListClusters.
157
156
  # @!attribute [rw] parent
158
157
  # @return [::String]
159
- # Required. The unique name of the instance for which a list of clusters is requested.
160
- # Values are of the form `projects/{project}/instances/{instance}`.
161
- # Use `{instance} = '-'` to list Clusters for all Instances in a project,
162
- # e.g., `projects/myproject/instances/-`.
158
+ # Required. The unique name of the instance for which a list of clusters is
159
+ # requested. Values are of the form
160
+ # `projects/{project}/instances/{instance}`. Use `{instance} = '-'` to list
161
+ # Clusters for all Instances in a project, e.g.,
162
+ # `projects/myproject/instances/-`.
163
163
  # @!attribute [rw] page_token
164
164
  # @return [::String]
165
165
  # DEPRECATED: This field is unused and ignored.
@@ -190,8 +190,8 @@ module Google
190
190
  # Request message for BigtableInstanceAdmin.DeleteCluster.
191
191
  # @!attribute [rw] name
192
192
  # @return [::String]
193
- # Required. The unique name of the cluster to be deleted. Values are of the form
194
- # `projects/{project}/instances/{instance}/clusters/{cluster}`.
193
+ # Required. The unique name of the cluster to be deleted. Values are of the
194
+ # form `projects/{project}/instances/{instance}/clusters/{cluster}`.
195
195
  class DeleteClusterRequest
196
196
  include ::Google::Protobuf::MessageExts
197
197
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -328,8 +328,8 @@ module Google
328
328
  # Request message for BigtableInstanceAdmin.PartialUpdateCluster.
329
329
  # @!attribute [rw] cluster
330
330
  # @return [::Google::Cloud::Bigtable::Admin::V2::Cluster]
331
- # Required. The Cluster which contains the partial updates to be applied, subject to
332
- # the update_mask.
331
+ # Required. The Cluster which contains the partial updates to be applied,
332
+ # subject to the update_mask.
333
333
  # @!attribute [rw] update_mask
334
334
  # @return [::Google::Protobuf::FieldMask]
335
335
  # Required. The subset of Cluster fields which should be replaced.
@@ -341,13 +341,12 @@ module Google
341
341
  # Request message for BigtableInstanceAdmin.CreateAppProfile.
342
342
  # @!attribute [rw] parent
343
343
  # @return [::String]
344
- # Required. The unique name of the instance in which to create the new app profile.
345
- # Values are of the form
346
- # `projects/{project}/instances/{instance}`.
344
+ # Required. The unique name of the instance in which to create the new app
345
+ # profile. Values are of the form `projects/{project}/instances/{instance}`.
347
346
  # @!attribute [rw] app_profile_id
348
347
  # @return [::String]
349
- # Required. The ID to be used when referring to the new app profile within its
350
- # instance, e.g., just `myprofile` rather than
348
+ # Required. The ID to be used when referring to the new app profile within
349
+ # its instance, e.g., just `myprofile` rather than
351
350
  # `projects/myproject/instances/myinstance/appProfiles/myprofile`.
352
351
  # @!attribute [rw] app_profile
353
352
  # @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile]
@@ -364,8 +363,8 @@ module Google
364
363
  # Request message for BigtableInstanceAdmin.GetAppProfile.
365
364
  # @!attribute [rw] name
366
365
  # @return [::String]
367
- # Required. The unique name of the requested app profile. Values are of the form
368
- # `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
366
+ # Required. The unique name of the requested app profile. Values are of the
367
+ # form `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
369
368
  class GetAppProfileRequest
370
369
  include ::Google::Protobuf::MessageExts
371
370
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -374,8 +373,8 @@ module Google
374
373
  # Request message for BigtableInstanceAdmin.ListAppProfiles.
375
374
  # @!attribute [rw] parent
376
375
  # @return [::String]
377
- # Required. The unique name of the instance for which a list of app profiles is
378
- # requested. Values are of the form
376
+ # Required. The unique name of the instance for which a list of app profiles
377
+ # is requested. Values are of the form
379
378
  # `projects/{project}/instances/{instance}`.
380
379
  # Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
381
380
  # e.g., `projects/myproject/instances/-`.
@@ -437,7 +436,8 @@ module Google
437
436
  # Request message for BigtableInstanceAdmin.DeleteAppProfile.
438
437
  # @!attribute [rw] name
439
438
  # @return [::String]
440
- # Required. The unique name of the app profile to be deleted. Values are of the form
439
+ # Required. The unique name of the app profile to be deleted. Values are of
440
+ # the form
441
441
  # `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
442
442
  # @!attribute [rw] ignore_warnings
443
443
  # @return [::Boolean]
@@ -57,9 +57,9 @@ module Google
57
57
  # * Keys and values must both be under 128 bytes.
58
58
  # @!attribute [r] create_time
59
59
  # @return [::Google::Protobuf::Timestamp]
60
- # Output only. A server-assigned timestamp representing when this Instance was created.
61
- # For instances created before this field was added (August 2021), this value
62
- # is `seconds: 0, nanos: 1`.
60
+ # Output only. A server-assigned timestamp representing when this Instance
61
+ # was created. For instances created before this field was added (August
62
+ # 2021), this value is `seconds: 0, nanos: 1`.
63
63
  # @!attribute [r] satisfies_pzs
64
64
  # @return [::Boolean]
65
65
  # Output only. Reserved for future use.
@@ -118,7 +118,7 @@ module Google
118
118
  # @return [::Integer]
119
119
  # The storage utilization that the Autoscaler should be trying to achieve.
120
120
  # This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
121
- # cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster;
121
+ # cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster,
122
122
  # otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
123
123
  # it will be treated as if it were set to the default value: 2560 for SSD,
124
124
  # 8192 for HDD.
@@ -148,8 +148,8 @@ module Google
148
148
  # `projects/{project}/instances/{instance}/clusters/[a-z][-a-z0-9]*`.
149
149
  # @!attribute [rw] location
150
150
  # @return [::String]
151
- # Immutable. The location where this cluster's nodes and storage reside. For best
152
- # performance, clients should be located as close as possible to this
151
+ # Immutable. The location where this cluster's nodes and storage reside. For
152
+ # best performance, clients should be located as close as possible to this
153
153
  # cluster. Currently only zones are supported, so values should be of the
154
154
  # form `projects/{project}/locations/{zone}`.
155
155
  # @!attribute [r] state
@@ -264,6 +264,16 @@ module Google
264
264
  # @!attribute [rw] single_cluster_routing
265
265
  # @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::SingleClusterRouting]
266
266
  # Use a single-cluster routing policy.
267
+ # @!attribute [rw] priority
268
+ # @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::Priority]
269
+ # This field has been deprecated in favor of `standard_isolation.priority`.
270
+ # If you set this field, `standard_isolation.priority` will be set instead.
271
+ #
272
+ # The priority of requests sent using this app profile.
273
+ # @!attribute [rw] standard_isolation
274
+ # @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::StandardIsolation]
275
+ # The standard options used for isolating this app profile's traffic from
276
+ # other use cases.
267
277
  class AppProfile
268
278
  include ::Google::Protobuf::MessageExts
269
279
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -297,6 +307,30 @@ module Google
297
307
  include ::Google::Protobuf::MessageExts
298
308
  extend ::Google::Protobuf::MessageExts::ClassMethods
299
309
  end
310
+
311
+ # Standard options for isolating this app profile's traffic from other use
312
+ # cases.
313
+ # @!attribute [rw] priority
314
+ # @return [::Google::Cloud::Bigtable::Admin::V2::AppProfile::Priority]
315
+ # The priority of requests sent using this app profile.
316
+ class StandardIsolation
317
+ include ::Google::Protobuf::MessageExts
318
+ extend ::Google::Protobuf::MessageExts::ClassMethods
319
+ end
320
+
321
+ # Possible priorities for an app profile. Note that higher priority writes
322
+ # can sometimes queue behind lower priority writes to the same tablet, as
323
+ # writes must be strictly sequenced in the durability log.
324
+ module Priority
325
+ # Default value. Mapped to PRIORITY_HIGH (the legacy behavior) on creation.
326
+ PRIORITY_UNSPECIFIED = 0
327
+
328
+ PRIORITY_LOW = 1
329
+
330
+ PRIORITY_MEDIUM = 2
331
+
332
+ PRIORITY_HIGH = 3
333
+ end
300
334
  end
301
335
 
302
336
  # A tablet is a defined by a start and end key and is explained in
@@ -326,10 +360,10 @@ module Google
326
360
  # Tablet End Key (inclusive).
327
361
  # @!attribute [r] node_cpu_usage_percent
328
362
  # @return [::Float]
329
- # Output only. The average CPU usage spent by a node on this tablet over the start_time to
330
- # end_time time range. The percentage is the amount of CPU used by the node
331
- # to serve the tablet, from 0% (tablet was not interacted with) to 100% (the
332
- # node spent all cycles serving the hot tablet).
363
+ # Output only. The average CPU usage spent by a node on this tablet over the
364
+ # start_time to end_time time range. The percentage is the amount of CPU used
365
+ # by the node to serve the tablet, from 0% (tablet was not interacted with)
366
+ # to 100% (the node spent all cycles serving the hot tablet).
333
367
  class HotTablet
334
368
  include ::Google::Protobuf::MessageExts
335
369
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.17.0
4
+ version: 0.19.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: 2023-08-15 00:00:00.000000000 Z
11
+ date: 2023-10-16 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.1
19
+ version: 0.20.0
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.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  - !ruby/object:Gem::Version
244
244
  version: '0'
245
245
  requirements: []
246
- rubygems_version: 3.4.2
246
+ rubygems_version: 3.4.19
247
247
  signing_key:
248
248
  specification_version: 4
249
249
  summary: Administer your Cloud Bigtable tables and instances.