123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340 |
- syntax = "proto3";
- package google.bigtable.admin.v2;
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/bigtable/admin/v2/common.proto";
- import "google/protobuf/timestamp.proto";
- option csharp_namespace = "Google.Cloud.Bigtable.Admin.V2";
- option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/v2;admin";
- option java_multiple_files = true;
- option java_outer_classname = "InstanceProto";
- option java_package = "com.google.bigtable.admin.v2";
- option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2";
- option ruby_package = "Google::Cloud::Bigtable::Admin::V2";
- option (google.api.resource_definition) = {
- type: "cloudkms.googleapis.com/CryptoKey"
- pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}"
- };
- message Instance {
- option (google.api.resource) = {
- type: "bigtableadmin.googleapis.com/Instance"
- pattern: "projects/{project}/instances/{instance}"
- };
-
- enum State {
-
- STATE_NOT_KNOWN = 0;
-
-
- READY = 1;
-
-
- CREATING = 2;
- }
-
- enum Type {
-
-
-
- TYPE_UNSPECIFIED = 0;
-
-
- PRODUCTION = 1;
-
-
- DEVELOPMENT = 2;
- }
-
-
- string name = 1;
-
-
-
- string display_name = 2 [(google.api.field_behavior) = REQUIRED];
-
-
- State state = 3;
-
- Type type = 4;
-
-
-
-
-
-
-
-
-
-
-
- map<string, string> labels = 5;
-
-
-
- google.protobuf.Timestamp create_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- optional bool satisfies_pzs = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
- message AutoscalingTargets {
-
-
-
-
- int32 cpu_utilization_percent = 2;
-
-
-
-
-
-
- int32 storage_utilization_gib_per_node = 3;
- }
- message AutoscalingLimits {
-
- int32 min_serve_nodes = 1 [(google.api.field_behavior) = REQUIRED];
-
- int32 max_serve_nodes = 2 [(google.api.field_behavior) = REQUIRED];
- }
- message Cluster {
- option (google.api.resource) = {
- type: "bigtableadmin.googleapis.com/Cluster"
- pattern: "projects/{project}/instances/{instance}/clusters/{cluster}"
- };
-
- enum State {
-
- STATE_NOT_KNOWN = 0;
-
- READY = 1;
-
-
-
- CREATING = 2;
-
-
-
-
-
- RESIZING = 3;
-
-
- DISABLED = 4;
- }
-
- message ClusterAutoscalingConfig {
-
- AutoscalingLimits autoscaling_limits = 1 [(google.api.field_behavior) = REQUIRED];
-
- AutoscalingTargets autoscaling_targets = 2 [(google.api.field_behavior) = REQUIRED];
- }
-
- message ClusterConfig {
-
- ClusterAutoscalingConfig cluster_autoscaling_config = 1;
- }
-
-
- message EncryptionConfig {
-
-
-
-
-
-
-
-
-
-
- string kms_key_name = 1 [(google.api.resource_reference) = {
- type: "cloudkms.googleapis.com/CryptoKey"
- }];
- }
-
-
- string name = 1;
-
-
-
-
- string location = 2 [
- (google.api.field_behavior) = IMMUTABLE,
- (google.api.resource_reference) = {
- type: "locations.googleapis.com/Location"
- }
- ];
-
- State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- int32 serve_nodes = 4;
- oneof config {
-
- ClusterConfig cluster_config = 7;
- }
-
-
- StorageType default_storage_type = 5 [(google.api.field_behavior) = IMMUTABLE];
-
- EncryptionConfig encryption_config = 6 [(google.api.field_behavior) = IMMUTABLE];
- }
- message AppProfile {
- option (google.api.resource) = {
- type: "bigtableadmin.googleapis.com/AppProfile"
- pattern: "projects/{project}/instances/{instance}/appProfiles/{app_profile}"
- };
-
-
-
-
-
- message MultiClusterRoutingUseAny {
-
-
- repeated string cluster_ids = 1;
- }
-
-
-
- message SingleClusterRouting {
-
- string cluster_id = 1;
-
-
-
- bool allow_transactional_writes = 2;
- }
-
-
- string name = 1;
-
-
-
-
-
-
-
-
- string etag = 2;
-
- string description = 3;
-
-
- oneof routing_policy {
-
- MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
-
- SingleClusterRouting single_cluster_routing = 6;
- }
- }
- message HotTablet {
- option (google.api.resource) = {
- type: "bigtableadmin.googleapis.com/HotTablet"
- pattern: "projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/{hot_tablet}"
- };
-
-
- string name = 1;
-
-
- string table_name = 2 [(google.api.resource_reference) = {
- type: "bigtableadmin.googleapis.com/Table"
- }];
-
- google.protobuf.Timestamp start_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp end_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- string start_key = 5;
-
- string end_key = 6;
-
-
-
-
- float node_cpu_usage_percent = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
|