mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2025-09-06 23:17:22 +00:00
push all website files
This commit is contained in:
94
website/functions/node_modules/google-proto-files/google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto
generated
vendored
Normal file
94
website/functions/node_modules/google-proto-files/google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto
generated
vendored
Normal file
@@ -0,0 +1,94 @@
|
||||
// Copyright 2017 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.bigtable.admin.cluster.v1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/longrunning/operations.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1;cluster";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "BigtableClusterDataProto";
|
||||
option java_package = "com.google.bigtable.admin.cluster.v1";
|
||||
|
||||
|
||||
// A physical location in which a particular project can allocate Cloud BigTable
|
||||
// resources.
|
||||
message Zone {
|
||||
// Possible states of a zone.
|
||||
enum Status {
|
||||
// The state of the zone is unknown or unspecified.
|
||||
UNKNOWN = 0;
|
||||
|
||||
// The zone is in a good state.
|
||||
OK = 1;
|
||||
|
||||
// The zone is down for planned maintenance.
|
||||
PLANNED_MAINTENANCE = 2;
|
||||
|
||||
// The zone is down for emergency or unplanned maintenance.
|
||||
EMERGENCY_MAINENANCE = 3;
|
||||
}
|
||||
|
||||
// A permanent unique identifier for the zone.
|
||||
// Values are of the form projects/<project>/zones/[a-z][-a-z0-9]*
|
||||
string name = 1;
|
||||
|
||||
// The name of this zone as it appears in UIs.
|
||||
string display_name = 2;
|
||||
|
||||
// The current state of this zone.
|
||||
Status status = 3;
|
||||
}
|
||||
|
||||
// An isolated set of Cloud BigTable resources on which tables can be hosted.
|
||||
message Cluster {
|
||||
// A permanent unique identifier for the cluster. For technical reasons, the
|
||||
// zone in which the cluster resides is included here.
|
||||
// Values are of the form
|
||||
// projects/<project>/zones/<zone>/clusters/[a-z][-a-z0-9]*
|
||||
string name = 1;
|
||||
|
||||
// The operation currently running on the cluster, if any.
|
||||
// This cannot be set directly, only through CreateCluster, UpdateCluster,
|
||||
// or UndeleteCluster. Calls to these methods will be rejected if
|
||||
// "current_operation" is already set.
|
||||
google.longrunning.Operation current_operation = 3;
|
||||
|
||||
// The descriptive name for this cluster as it appears in UIs.
|
||||
// Must be unique per zone.
|
||||
string display_name = 4;
|
||||
|
||||
// The number of serve nodes allocated to this cluster.
|
||||
int32 serve_nodes = 5;
|
||||
|
||||
// What storage type to use for tables in this cluster. Only configurable at
|
||||
// cluster creation time. If unspecified, STORAGE_SSD will be used.
|
||||
StorageType default_storage_type = 8;
|
||||
}
|
||||
|
||||
enum StorageType {
|
||||
// The storage type used is unspecified.
|
||||
STORAGE_UNSPECIFIED = 0;
|
||||
|
||||
// Data will be stored in SSD, providing low and consistent latencies.
|
||||
STORAGE_SSD = 1;
|
||||
|
||||
// Data will be stored in HDD, providing high and less predictable
|
||||
// latencies.
|
||||
STORAGE_HDD = 2;
|
||||
}
|
130
website/functions/node_modules/google-proto-files/google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto
generated
vendored
Normal file
130
website/functions/node_modules/google-proto-files/google/bigtable/admin/cluster/v1/bigtable_cluster_service.proto
generated
vendored
Normal file
@@ -0,0 +1,130 @@
|
||||
// Copyright 2017 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.bigtable.admin.cluster.v1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto";
|
||||
import "google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto";
|
||||
import "google/longrunning/operations.proto";
|
||||
import "google/protobuf/empty.proto";
|
||||
|
||||
option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1;cluster";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "BigtableClusterServicesProto";
|
||||
option java_package = "com.google.bigtable.admin.cluster.v1";
|
||||
|
||||
|
||||
// Service for managing zonal Cloud Bigtable resources.
|
||||
service BigtableClusterService {
|
||||
// Lists the supported zones for the given project.
|
||||
rpc ListZones(ListZonesRequest) returns (ListZonesResponse) {
|
||||
option (google.api.http) = { get: "/v1/{name=projects/*}/zones" };
|
||||
}
|
||||
|
||||
// Gets information about a particular cluster.
|
||||
rpc GetCluster(GetClusterRequest) returns (Cluster) {
|
||||
option (google.api.http) = { get: "/v1/{name=projects/*/zones/*/clusters/*}" };
|
||||
}
|
||||
|
||||
// Lists all clusters in the given project, along with any zones for which
|
||||
// cluster information could not be retrieved.
|
||||
rpc ListClusters(ListClustersRequest) returns (ListClustersResponse) {
|
||||
option (google.api.http) = { get: "/v1/{name=projects/*}/aggregated/clusters" };
|
||||
}
|
||||
|
||||
// Creates a cluster and begins preparing it to begin serving. The returned
|
||||
// cluster embeds as its "current_operation" a long-running operation which
|
||||
// can be used to track the progress of turning up the new cluster.
|
||||
// Immediately upon completion of this request:
|
||||
// * The cluster will be readable via the API, with all requested attributes
|
||||
// but no allocated resources.
|
||||
// Until completion of the embedded operation:
|
||||
// * Cancelling the operation will render the cluster immediately unreadable
|
||||
// via the API.
|
||||
// * All other attempts to modify or delete the cluster will be rejected.
|
||||
// Upon completion of the embedded operation:
|
||||
// * Billing for all successfully-allocated resources will begin (some types
|
||||
// may have lower than the requested levels).
|
||||
// * New tables can be created in the cluster.
|
||||
// * The cluster's allocated resource levels will be readable via the API.
|
||||
// The embedded operation's "metadata" field type is
|
||||
// [CreateClusterMetadata][google.bigtable.admin.cluster.v1.CreateClusterMetadata] The embedded operation's "response" field type is
|
||||
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful.
|
||||
rpc CreateCluster(CreateClusterRequest) returns (Cluster) {
|
||||
option (google.api.http) = { post: "/v1/{name=projects/*/zones/*}/clusters" body: "*" };
|
||||
}
|
||||
|
||||
// Updates a cluster, and begins allocating or releasing resources as
|
||||
// requested. The returned cluster embeds as its "current_operation" a
|
||||
// long-running operation which can be used to track the progress of updating
|
||||
// the cluster.
|
||||
// Immediately upon completion of this request:
|
||||
// * For resource types where a decrease in the cluster's allocation has been
|
||||
// requested, billing will be based on the newly-requested level.
|
||||
// Until completion of the embedded operation:
|
||||
// * Cancelling the operation will set its metadata's "cancelled_at_time",
|
||||
// and begin restoring resources to their pre-request values. The operation
|
||||
// is guaranteed to succeed at undoing all resource changes, after which
|
||||
// point it will terminate with a CANCELLED status.
|
||||
// * All other attempts to modify or delete the cluster will be rejected.
|
||||
// * Reading the cluster via the API will continue to give the pre-request
|
||||
// resource levels.
|
||||
// Upon completion of the embedded operation:
|
||||
// * Billing will begin for all successfully-allocated resources (some types
|
||||
// may have lower than the requested levels).
|
||||
// * All newly-reserved resources will be available for serving the cluster's
|
||||
// tables.
|
||||
// * The cluster's new resource levels will be readable via the API.
|
||||
// [UpdateClusterMetadata][google.bigtable.admin.cluster.v1.UpdateClusterMetadata] The embedded operation's "response" field type is
|
||||
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful.
|
||||
rpc UpdateCluster(Cluster) returns (Cluster) {
|
||||
option (google.api.http) = { put: "/v1/{name=projects/*/zones/*/clusters/*}" body: "*" };
|
||||
}
|
||||
|
||||
// Marks a cluster and all of its tables for permanent deletion in 7 days.
|
||||
// Immediately upon completion of the request:
|
||||
// * Billing will cease for all of the cluster's reserved resources.
|
||||
// * The cluster's "delete_time" field will be set 7 days in the future.
|
||||
// Soon afterward:
|
||||
// * All tables within the cluster will become unavailable.
|
||||
// Prior to the cluster's "delete_time":
|
||||
// * The cluster can be recovered with a call to UndeleteCluster.
|
||||
// * All other attempts to modify or delete the cluster will be rejected.
|
||||
// At the cluster's "delete_time":
|
||||
// * The cluster and *all of its tables* will immediately and irrevocably
|
||||
// disappear from the API, and their data will be permanently deleted.
|
||||
rpc DeleteCluster(DeleteClusterRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = { delete: "/v1/{name=projects/*/zones/*/clusters/*}" };
|
||||
}
|
||||
|
||||
// Cancels the scheduled deletion of an cluster and begins preparing it to
|
||||
// resume serving. The returned operation will also be embedded as the
|
||||
// cluster's "current_operation".
|
||||
// Immediately upon completion of this request:
|
||||
// * The cluster's "delete_time" field will be unset, protecting it from
|
||||
// automatic deletion.
|
||||
// Until completion of the returned operation:
|
||||
// * The operation cannot be cancelled.
|
||||
// Upon completion of the returned operation:
|
||||
// * Billing for the cluster's resources will resume.
|
||||
// * All tables within the cluster will be available.
|
||||
// [UndeleteClusterMetadata][google.bigtable.admin.cluster.v1.UndeleteClusterMetadata] The embedded operation's "response" field type is
|
||||
// [Cluster][google.bigtable.admin.cluster.v1.Cluster], if successful.
|
||||
rpc UndeleteCluster(UndeleteClusterRequest) returns (google.longrunning.Operation) {
|
||||
option (google.api.http) = { post: "/v1/{name=projects/*/zones/*/clusters/*}:undelete" body: "" };
|
||||
}
|
||||
}
|
141
website/functions/node_modules/google-proto-files/google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto
generated
vendored
Normal file
141
website/functions/node_modules/google-proto-files/google/bigtable/admin/cluster/v1/bigtable_cluster_service_messages.proto
generated
vendored
Normal file
@@ -0,0 +1,141 @@
|
||||
// Copyright 2017 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.bigtable.admin.cluster.v1;
|
||||
|
||||
import "google/bigtable/admin/cluster/v1/bigtable_cluster_data.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/cluster/v1;cluster";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "BigtableClusterServiceMessagesProto";
|
||||
option java_package = "com.google.bigtable.admin.cluster.v1";
|
||||
|
||||
|
||||
// Request message for BigtableClusterService.ListZones.
|
||||
message ListZonesRequest {
|
||||
// The unique name of the project for which a list of supported zones is
|
||||
// requested.
|
||||
// Values are of the form projects/<project>
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// Response message for BigtableClusterService.ListZones.
|
||||
message ListZonesResponse {
|
||||
// The list of requested zones.
|
||||
repeated Zone zones = 1;
|
||||
}
|
||||
|
||||
// Request message for BigtableClusterService.GetCluster.
|
||||
message GetClusterRequest {
|
||||
// The unique name of the requested cluster.
|
||||
// Values are of the form projects/<project>/zones/<zone>/clusters/<cluster>
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// Request message for BigtableClusterService.ListClusters.
|
||||
message ListClustersRequest {
|
||||
// The unique name of the project for which a list of clusters is requested.
|
||||
// Values are of the form projects/<project>
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// Response message for BigtableClusterService.ListClusters.
|
||||
message ListClustersResponse {
|
||||
// The list of requested Clusters.
|
||||
repeated Cluster clusters = 1;
|
||||
|
||||
// The zones for which clusters could not be retrieved.
|
||||
repeated Zone failed_zones = 2;
|
||||
}
|
||||
|
||||
// Request message for BigtableClusterService.CreateCluster.
|
||||
message CreateClusterRequest {
|
||||
// The unique name of the zone in which to create the cluster.
|
||||
// Values are of the form projects/<project>/zones/<zone>
|
||||
string name = 1;
|
||||
|
||||
// The id to be used when referring to the new cluster within its zone,
|
||||
// e.g. just the "test-cluster" section of the full name
|
||||
// "projects/<project>/zones/<zone>/clusters/test-cluster".
|
||||
string cluster_id = 2;
|
||||
|
||||
// The cluster to create.
|
||||
// The "name", "delete_time", and "current_operation" fields must be left
|
||||
// blank.
|
||||
Cluster cluster = 3;
|
||||
}
|
||||
|
||||
// Metadata type for the operation returned by
|
||||
// BigtableClusterService.CreateCluster.
|
||||
message CreateClusterMetadata {
|
||||
// The request which prompted the creation of this operation.
|
||||
CreateClusterRequest original_request = 1;
|
||||
|
||||
// The time at which original_request was received.
|
||||
google.protobuf.Timestamp request_time = 2;
|
||||
|
||||
// The time at which this operation failed or was completed successfully.
|
||||
google.protobuf.Timestamp finish_time = 3;
|
||||
}
|
||||
|
||||
// Metadata type for the operation returned by
|
||||
// BigtableClusterService.UpdateCluster.
|
||||
message UpdateClusterMetadata {
|
||||
// The request which prompted the creation of this operation.
|
||||
Cluster original_request = 1;
|
||||
|
||||
// The time at which original_request was received.
|
||||
google.protobuf.Timestamp request_time = 2;
|
||||
|
||||
// The time at which this operation was cancelled. If set, this operation is
|
||||
// in the process of undoing itself (which is guaranteed to succeed) and
|
||||
// cannot be cancelled again.
|
||||
google.protobuf.Timestamp cancel_time = 3;
|
||||
|
||||
// The time at which this operation failed or was completed successfully.
|
||||
google.protobuf.Timestamp finish_time = 4;
|
||||
}
|
||||
|
||||
// Request message for BigtableClusterService.DeleteCluster.
|
||||
message DeleteClusterRequest {
|
||||
// The unique name of the cluster to be deleted.
|
||||
// Values are of the form projects/<project>/zones/<zone>/clusters/<cluster>
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// Request message for BigtableClusterService.UndeleteCluster.
|
||||
message UndeleteClusterRequest {
|
||||
// The unique name of the cluster to be un-deleted.
|
||||
// Values are of the form projects/<project>/zones/<zone>/clusters/<cluster>
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// Metadata type for the operation returned by
|
||||
// BigtableClusterService.UndeleteCluster.
|
||||
message UndeleteClusterMetadata {
|
||||
// The time at which the original request was received.
|
||||
google.protobuf.Timestamp request_time = 1;
|
||||
|
||||
// The time at which this operation failed or was completed successfully.
|
||||
google.protobuf.Timestamp finish_time = 2;
|
||||
}
|
||||
|
||||
// Metadata type for operations initiated by the V2 BigtableAdmin service.
|
||||
// More complete information for such operations is available via the V2 API.
|
||||
message V2OperationMetadata {
|
||||
|
||||
}
|
126
website/functions/node_modules/google-proto-files/google/bigtable/admin/table/v1/bigtable_table_data.proto
generated
vendored
Normal file
126
website/functions/node_modules/google-proto-files/google/bigtable/admin/table/v1/bigtable_table_data.proto
generated
vendored
Normal file
@@ -0,0 +1,126 @@
|
||||
// Copyright 2017 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.bigtable.admin.table.v1;
|
||||
|
||||
import "google/longrunning/operations.proto";
|
||||
import "google/protobuf/duration.proto";
|
||||
|
||||
option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/table/v1;table";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "BigtableTableDataProto";
|
||||
option java_package = "com.google.bigtable.admin.table.v1";
|
||||
|
||||
|
||||
// A collection of user data indexed by row, column, and timestamp.
|
||||
// Each table is served using the resources of its parent cluster.
|
||||
message Table {
|
||||
enum TimestampGranularity {
|
||||
MILLIS = 0;
|
||||
}
|
||||
|
||||
// A unique identifier of the form
|
||||
// <cluster_name>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*
|
||||
string name = 1;
|
||||
|
||||
// If this Table is in the process of being created, the Operation used to
|
||||
// track its progress. As long as this operation is present, the Table will
|
||||
// not accept any Table Admin or Read/Write requests.
|
||||
google.longrunning.Operation current_operation = 2;
|
||||
|
||||
// The column families configured for this table, mapped by column family id.
|
||||
map<string, ColumnFamily> column_families = 3;
|
||||
|
||||
// The granularity (e.g. MILLIS, MICROS) at which timestamps are stored in
|
||||
// this table. Timestamps not matching the granularity will be rejected.
|
||||
// Cannot be changed once the table is created.
|
||||
TimestampGranularity granularity = 4;
|
||||
}
|
||||
|
||||
// A set of columns within a table which share a common configuration.
|
||||
message ColumnFamily {
|
||||
// A unique identifier of the form <table_name>/columnFamilies/[-_.a-zA-Z0-9]+
|
||||
// The last segment is the same as the "name" field in
|
||||
// google.bigtable.v1.Family.
|
||||
string name = 1;
|
||||
|
||||
// Garbage collection expression specified by the following grammar:
|
||||
// GC = EXPR
|
||||
// | "" ;
|
||||
// EXPR = EXPR, "||", EXPR (* lowest precedence *)
|
||||
// | EXPR, "&&", EXPR
|
||||
// | "(", EXPR, ")" (* highest precedence *)
|
||||
// | PROP ;
|
||||
// PROP = "version() >", NUM32
|
||||
// | "age() >", NUM64, [ UNIT ] ;
|
||||
// NUM32 = non-zero-digit { digit } ; (* # NUM32 <= 2^32 - 1 *)
|
||||
// NUM64 = non-zero-digit { digit } ; (* # NUM64 <= 2^63 - 1 *)
|
||||
// UNIT = "d" | "h" | "m" (* d=days, h=hours, m=minutes, else micros *)
|
||||
// GC expressions can be up to 500 characters in length
|
||||
//
|
||||
// The different types of PROP are defined as follows:
|
||||
// version() - cell index, counting from most recent and starting at 1
|
||||
// age() - age of the cell (current time minus cell timestamp)
|
||||
//
|
||||
// Example: "version() > 3 || (age() > 3d && version() > 1)"
|
||||
// drop cells beyond the most recent three, and drop cells older than three
|
||||
// days unless they're the most recent cell in the row/column
|
||||
//
|
||||
// Garbage collection executes opportunistically in the background, and so
|
||||
// it's possible for reads to return a cell even if it matches the active GC
|
||||
// expression for its family.
|
||||
string gc_expression = 2;
|
||||
|
||||
// Garbage collection rule specified as a protobuf.
|
||||
// Supersedes `gc_expression`.
|
||||
// Must serialize to at most 500 bytes.
|
||||
//
|
||||
// NOTE: Garbage collection executes opportunistically in the background, and
|
||||
// so it's possible for reads to return a cell even if it matches the active
|
||||
// GC expression for its family.
|
||||
GcRule gc_rule = 3;
|
||||
}
|
||||
|
||||
// Rule for determining which cells to delete during garbage collection.
|
||||
message GcRule {
|
||||
// A GcRule which deletes cells matching all of the given rules.
|
||||
message Intersection {
|
||||
// Only delete cells which would be deleted by every element of `rules`.
|
||||
repeated GcRule rules = 1;
|
||||
}
|
||||
|
||||
// A GcRule which deletes cells matching any of the given rules.
|
||||
message Union {
|
||||
// Delete cells which would be deleted by any element of `rules`.
|
||||
repeated GcRule rules = 1;
|
||||
}
|
||||
|
||||
oneof rule {
|
||||
// Delete all cells in a column except the most recent N.
|
||||
int32 max_num_versions = 1;
|
||||
|
||||
// Delete cells in a column older than the given age.
|
||||
// Values must be at least one millisecond, and will be truncated to
|
||||
// microsecond granularity.
|
||||
google.protobuf.Duration max_age = 2;
|
||||
|
||||
// Delete cells that would be deleted by every nested rule.
|
||||
Intersection intersection = 3;
|
||||
|
||||
// Delete cells that would be deleted by any nested rule.
|
||||
Union union = 4;
|
||||
}
|
||||
}
|
80
website/functions/node_modules/google-proto-files/google/bigtable/admin/table/v1/bigtable_table_service.proto
generated
vendored
Normal file
80
website/functions/node_modules/google-proto-files/google/bigtable/admin/table/v1/bigtable_table_service.proto
generated
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
// Copyright 2017 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.bigtable.admin.table.v1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/bigtable/admin/table/v1/bigtable_table_data.proto";
|
||||
import "google/bigtable/admin/table/v1/bigtable_table_service_messages.proto";
|
||||
import "google/protobuf/empty.proto";
|
||||
|
||||
option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/table/v1;table";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "BigtableTableServicesProto";
|
||||
option java_package = "com.google.bigtable.admin.table.v1";
|
||||
|
||||
|
||||
// Service for creating, configuring, and deleting Cloud Bigtable tables.
|
||||
// Provides access to the table schemas only, not the data stored within the tables.
|
||||
service BigtableTableService {
|
||||
// Creates a new table, to be served from a specified cluster.
|
||||
// The table can be created with a full set of initial column families,
|
||||
// specified in the request.
|
||||
rpc CreateTable(CreateTableRequest) returns (Table) {
|
||||
option (google.api.http) = { post: "/v1/{name=projects/*/zones/*/clusters/*}/tables" body: "*" };
|
||||
}
|
||||
|
||||
// Lists the names of all tables served from a specified cluster.
|
||||
rpc ListTables(ListTablesRequest) returns (ListTablesResponse) {
|
||||
option (google.api.http) = { get: "/v1/{name=projects/*/zones/*/clusters/*}/tables" };
|
||||
}
|
||||
|
||||
// Gets the schema of the specified table, including its column families.
|
||||
rpc GetTable(GetTableRequest) returns (Table) {
|
||||
option (google.api.http) = { get: "/v1/{name=projects/*/zones/*/clusters/*/tables/*}" };
|
||||
}
|
||||
|
||||
// Permanently deletes a specified table and all of its data.
|
||||
rpc DeleteTable(DeleteTableRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = { delete: "/v1/{name=projects/*/zones/*/clusters/*/tables/*}" };
|
||||
}
|
||||
|
||||
// Changes the name of a specified table.
|
||||
// Cannot be used to move tables between clusters, zones, or projects.
|
||||
rpc RenameTable(RenameTableRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = { post: "/v1/{name=projects/*/zones/*/clusters/*/tables/*}:rename" body: "*" };
|
||||
}
|
||||
|
||||
// Creates a new column family within a specified table.
|
||||
rpc CreateColumnFamily(CreateColumnFamilyRequest) returns (ColumnFamily) {
|
||||
option (google.api.http) = { post: "/v1/{name=projects/*/zones/*/clusters/*/tables/*}/columnFamilies" body: "*" };
|
||||
}
|
||||
|
||||
// Changes the configuration of a specified column family.
|
||||
rpc UpdateColumnFamily(ColumnFamily) returns (ColumnFamily) {
|
||||
option (google.api.http) = { put: "/v1/{name=projects/*/zones/*/clusters/*/tables/*/columnFamilies/*}" body: "*" };
|
||||
}
|
||||
|
||||
// Permanently deletes a specified column family and all of its data.
|
||||
rpc DeleteColumnFamily(DeleteColumnFamilyRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = { delete: "/v1/{name=projects/*/zones/*/clusters/*/tables/*/columnFamilies/*}" };
|
||||
}
|
||||
|
||||
// Delete all rows in a table corresponding to a particular prefix
|
||||
rpc BulkDeleteRows(BulkDeleteRowsRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = { post: "/v1/{table_name=projects/*/zones/*/clusters/*/tables/*}:bulkDeleteRows" body: "*" };
|
||||
}
|
||||
}
|
116
website/functions/node_modules/google-proto-files/google/bigtable/admin/table/v1/bigtable_table_service_messages.proto
generated
vendored
Normal file
116
website/functions/node_modules/google-proto-files/google/bigtable/admin/table/v1/bigtable_table_service_messages.proto
generated
vendored
Normal file
@@ -0,0 +1,116 @@
|
||||
// Copyright 2017 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.bigtable.admin.table.v1;
|
||||
|
||||
import "google/bigtable/admin/table/v1/bigtable_table_data.proto";
|
||||
|
||||
option go_package = "google.golang.org/genproto/googleapis/bigtable/admin/table/v1;table";
|
||||
option java_multiple_files = true;
|
||||
option java_outer_classname = "BigtableTableServiceMessagesProto";
|
||||
option java_package = "com.google.bigtable.admin.table.v1";
|
||||
|
||||
|
||||
message CreateTableRequest {
|
||||
// The unique name of the cluster in which to create the new table.
|
||||
string name = 1;
|
||||
|
||||
// The name by which the new table should be referred to within the cluster,
|
||||
// e.g. "foobar" rather than "<cluster_name>/tables/foobar".
|
||||
string table_id = 2;
|
||||
|
||||
// The Table to create. The `name` field of the Table and all of its
|
||||
// ColumnFamilies must be left blank, and will be populated in the response.
|
||||
Table table = 3;
|
||||
|
||||
// The optional list of row keys that will be used to initially split the
|
||||
// table into several tablets (Tablets are similar to HBase regions).
|
||||
// Given two split keys, "s1" and "s2", three tablets will be created,
|
||||
// spanning the key ranges: [, s1), [s1, s2), [s2, ).
|
||||
//
|
||||
// Example:
|
||||
// * Row keys := ["a", "apple", "custom", "customer_1", "customer_2",
|
||||
// "other", "zz"]
|
||||
// * initial_split_keys := ["apple", "customer_1", "customer_2", "other"]
|
||||
// * Key assignment:
|
||||
// - Tablet 1 [, apple) => {"a"}.
|
||||
// - Tablet 2 [apple, customer_1) => {"apple", "custom"}.
|
||||
// - Tablet 3 [customer_1, customer_2) => {"customer_1"}.
|
||||
// - Tablet 4 [customer_2, other) => {"customer_2"}.
|
||||
// - Tablet 5 [other, ) => {"other", "zz"}.
|
||||
repeated string initial_split_keys = 4;
|
||||
}
|
||||
|
||||
message ListTablesRequest {
|
||||
// The unique name of the cluster for which tables should be listed.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
message ListTablesResponse {
|
||||
// The tables present in the requested cluster.
|
||||
// At present, only the names of the tables are populated.
|
||||
repeated Table tables = 1;
|
||||
}
|
||||
|
||||
message GetTableRequest {
|
||||
// The unique name of the requested table.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
message DeleteTableRequest {
|
||||
// The unique name of the table to be deleted.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
message RenameTableRequest {
|
||||
// The current unique name of the table.
|
||||
string name = 1;
|
||||
|
||||
// The new name by which the table should be referred to within its containing
|
||||
// cluster, e.g. "foobar" rather than "<cluster_name>/tables/foobar".
|
||||
string new_id = 2;
|
||||
}
|
||||
|
||||
message CreateColumnFamilyRequest {
|
||||
// The unique name of the table in which to create the new column family.
|
||||
string name = 1;
|
||||
|
||||
// The name by which the new column family should be referred to within the
|
||||
// table, e.g. "foobar" rather than "<table_name>/columnFamilies/foobar".
|
||||
string column_family_id = 2;
|
||||
|
||||
// The column family to create. The `name` field must be left blank.
|
||||
ColumnFamily column_family = 3;
|
||||
}
|
||||
|
||||
message DeleteColumnFamilyRequest {
|
||||
// The unique name of the column family to be deleted.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
message BulkDeleteRowsRequest {
|
||||
// The unique name of the table on which to perform the bulk delete
|
||||
string table_name = 1;
|
||||
|
||||
oneof target {
|
||||
// Delete all rows that start with this row key prefix. Prefix cannot be
|
||||
// zero length.
|
||||
bytes row_key_prefix = 2;
|
||||
|
||||
// Delete all rows in the table. Setting this to false is a no-op.
|
||||
bool delete_all_data_from_table = 3;
|
||||
}
|
||||
}
|
445
website/functions/node_modules/google-proto-files/google/bigtable/admin/v2/bigtable_instance_admin.proto
generated
vendored
Normal file
445
website/functions/node_modules/google-proto-files/google/bigtable/admin/v2/bigtable_instance_admin.proto
generated
vendored
Normal file
@@ -0,0 +1,445 @@
|
||||
// Copyright 2018 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.bigtable.admin.v2;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/bigtable/admin/v2/instance.proto";
|
||||
import "google/iam/v1/iam_policy.proto";
|
||||
import "google/iam/v1/policy.proto";
|
||||
import "google/longrunning/operations.proto";
|
||||
import "google/protobuf/empty.proto";
|
||||
import "google/protobuf/field_mask.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 = "BigtableInstanceAdminProto";
|
||||
option java_package = "com.google.bigtable.admin.v2";
|
||||
option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2";
|
||||
|
||||
|
||||
// Service for creating, configuring, and deleting Cloud Bigtable Instances and
|
||||
// Clusters. Provides access to the Instance and Cluster schemas only, not the
|
||||
// tables' metadata or data stored in those tables.
|
||||
service BigtableInstanceAdmin {
|
||||
// Create an instance within a project.
|
||||
rpc CreateInstance(CreateInstanceRequest) returns (google.longrunning.Operation) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{parent=projects/*}/instances"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
// Gets information about an instance.
|
||||
rpc GetInstance(GetInstanceRequest) returns (Instance) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{name=projects/*/instances/*}"
|
||||
};
|
||||
}
|
||||
|
||||
// Lists information about instances in a project.
|
||||
rpc ListInstances(ListInstancesRequest) returns (ListInstancesResponse) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{parent=projects/*}/instances"
|
||||
};
|
||||
}
|
||||
|
||||
// Updates an instance within a project.
|
||||
rpc UpdateInstance(Instance) returns (Instance) {
|
||||
option (google.api.http) = {
|
||||
put: "/v2/{name=projects/*/instances/*}"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
// Partially updates an instance within a project.
|
||||
rpc PartialUpdateInstance(PartialUpdateInstanceRequest) returns (google.longrunning.Operation) {
|
||||
option (google.api.http) = {
|
||||
patch: "/v2/{instance.name=projects/*/instances/*}"
|
||||
body: "instance"
|
||||
};
|
||||
}
|
||||
|
||||
// Delete an instance from a project.
|
||||
rpc DeleteInstance(DeleteInstanceRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = {
|
||||
delete: "/v2/{name=projects/*/instances/*}"
|
||||
};
|
||||
}
|
||||
|
||||
// Creates a cluster within an instance.
|
||||
rpc CreateCluster(CreateClusterRequest) returns (google.longrunning.Operation) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{parent=projects/*/instances/*}/clusters"
|
||||
body: "cluster"
|
||||
};
|
||||
}
|
||||
|
||||
// Gets information about a cluster.
|
||||
rpc GetCluster(GetClusterRequest) returns (Cluster) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{name=projects/*/instances/*/clusters/*}"
|
||||
};
|
||||
}
|
||||
|
||||
// Lists information about clusters in an instance.
|
||||
rpc ListClusters(ListClustersRequest) returns (ListClustersResponse) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{parent=projects/*/instances/*}/clusters"
|
||||
};
|
||||
}
|
||||
|
||||
// Updates a cluster within an instance.
|
||||
rpc UpdateCluster(Cluster) returns (google.longrunning.Operation) {
|
||||
option (google.api.http) = {
|
||||
put: "/v2/{name=projects/*/instances/*/clusters/*}"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
// Deletes a cluster from an instance.
|
||||
rpc DeleteCluster(DeleteClusterRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = {
|
||||
delete: "/v2/{name=projects/*/instances/*/clusters/*}"
|
||||
};
|
||||
}
|
||||
|
||||
// Creates an app profile within an instance.
|
||||
rpc CreateAppProfile(CreateAppProfileRequest) returns (AppProfile) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{parent=projects/*/instances/*}/appProfiles"
|
||||
body: "app_profile"
|
||||
};
|
||||
}
|
||||
|
||||
// Gets information about an app profile.
|
||||
rpc GetAppProfile(GetAppProfileRequest) returns (AppProfile) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{name=projects/*/instances/*/appProfiles/*}"
|
||||
};
|
||||
}
|
||||
|
||||
// Lists information about app profiles in an instance.
|
||||
rpc ListAppProfiles(ListAppProfilesRequest) returns (ListAppProfilesResponse) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{parent=projects/*/instances/*}/appProfiles"
|
||||
};
|
||||
}
|
||||
|
||||
// Updates an app profile within an instance.
|
||||
rpc UpdateAppProfile(UpdateAppProfileRequest) returns (google.longrunning.Operation) {
|
||||
option (google.api.http) = {
|
||||
patch: "/v2/{app_profile.name=projects/*/instances/*/appProfiles/*}"
|
||||
body: "app_profile"
|
||||
};
|
||||
}
|
||||
|
||||
// Deletes an app profile from an instance.
|
||||
rpc DeleteAppProfile(DeleteAppProfileRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = {
|
||||
delete: "/v2/{name=projects/*/instances/*/appProfiles/*}"
|
||||
};
|
||||
}
|
||||
|
||||
// Gets the access control policy for an instance resource. Returns an empty
|
||||
// policy if an instance exists but does not have a policy set.
|
||||
rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{resource=projects/*/instances/*}:getIamPolicy"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
// Sets the access control policy on an instance resource. Replaces any
|
||||
// existing policy.
|
||||
rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{resource=projects/*/instances/*}:setIamPolicy"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
// Returns permissions that the caller has on the specified instance resource.
|
||||
rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{resource=projects/*/instances/*}:testIamPermissions"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
// Request message for BigtableInstanceAdmin.CreateInstance.
|
||||
message CreateInstanceRequest {
|
||||
// The unique name of the project in which to create the new instance.
|
||||
// Values are of the form `projects/<project>`.
|
||||
string parent = 1;
|
||||
|
||||
// The ID to be used when referring to the new instance within its project,
|
||||
// e.g., just `myinstance` rather than
|
||||
// `projects/myproject/instances/myinstance`.
|
||||
string instance_id = 2;
|
||||
|
||||
// The instance to create.
|
||||
// Fields marked `OutputOnly` must be left blank.
|
||||
Instance instance = 3;
|
||||
|
||||
// The clusters to be created within the instance, mapped by desired
|
||||
// cluster ID, e.g., just `mycluster` rather than
|
||||
// `projects/myproject/instances/myinstance/clusters/mycluster`.
|
||||
// Fields marked `OutputOnly` must be left blank.
|
||||
// Currently exactly one cluster must be specified.
|
||||
map<string, Cluster> clusters = 4;
|
||||
}
|
||||
|
||||
// Request message for BigtableInstanceAdmin.GetInstance.
|
||||
message GetInstanceRequest {
|
||||
// The unique name of the requested instance. Values are of the form
|
||||
// `projects/<project>/instances/<instance>`.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// Request message for BigtableInstanceAdmin.ListInstances.
|
||||
message ListInstancesRequest {
|
||||
// The unique name of the project for which a list of instances is requested.
|
||||
// Values are of the form `projects/<project>`.
|
||||
string parent = 1;
|
||||
|
||||
// The value of `next_page_token` returned by a previous call.
|
||||
string page_token = 2;
|
||||
}
|
||||
|
||||
// Response message for BigtableInstanceAdmin.ListInstances.
|
||||
message ListInstancesResponse {
|
||||
// The list of requested instances.
|
||||
repeated Instance instances = 1;
|
||||
|
||||
// Locations from which Instance information could not be retrieved,
|
||||
// due to an outage or some other transient condition.
|
||||
// Instances whose Clusters are all in one of the failed locations
|
||||
// may be missing from `instances`, and Instances with at least one
|
||||
// Cluster in a failed location may only have partial information returned.
|
||||
repeated string failed_locations = 2;
|
||||
|
||||
// Set if not all instances could be returned in a single response.
|
||||
// Pass this value to `page_token` in another request to get the next
|
||||
// page of results.
|
||||
string next_page_token = 3;
|
||||
}
|
||||
|
||||
// Request message for BigtableInstanceAdmin.PartialUpdateInstance.
|
||||
message PartialUpdateInstanceRequest {
|
||||
// The Instance which will (partially) replace the current value.
|
||||
Instance instance = 1;
|
||||
|
||||
// The subset of Instance fields which should be replaced.
|
||||
// Must be explicitly set.
|
||||
google.protobuf.FieldMask update_mask = 2;
|
||||
}
|
||||
|
||||
// Request message for BigtableInstanceAdmin.DeleteInstance.
|
||||
message DeleteInstanceRequest {
|
||||
// The unique name of the instance to be deleted.
|
||||
// Values are of the form `projects/<project>/instances/<instance>`.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// Request message for BigtableInstanceAdmin.CreateCluster.
|
||||
message CreateClusterRequest {
|
||||
// The unique name of the instance in which to create the new cluster.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>`.
|
||||
string parent = 1;
|
||||
|
||||
// The ID to be used when referring to the new cluster within its instance,
|
||||
// e.g., just `mycluster` rather than
|
||||
// `projects/myproject/instances/myinstance/clusters/mycluster`.
|
||||
string cluster_id = 2;
|
||||
|
||||
// The cluster to be created.
|
||||
// Fields marked `OutputOnly` must be left blank.
|
||||
Cluster cluster = 3;
|
||||
}
|
||||
|
||||
// Request message for BigtableInstanceAdmin.GetCluster.
|
||||
message GetClusterRequest {
|
||||
// The unique name of the requested cluster. Values are of the form
|
||||
// `projects/<project>/instances/<instance>/clusters/<cluster>`.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// Request message for BigtableInstanceAdmin.ListClusters.
|
||||
message ListClustersRequest {
|
||||
// The unique name of the instance for which a list of clusters is requested.
|
||||
// Values are of the form `projects/<project>/instances/<instance>`.
|
||||
// Use `<instance> = '-'` to list Clusters for all Instances in a project,
|
||||
// e.g., `projects/myproject/instances/-`.
|
||||
string parent = 1;
|
||||
|
||||
// The value of `next_page_token` returned by a previous call.
|
||||
string page_token = 2;
|
||||
}
|
||||
|
||||
// Response message for BigtableInstanceAdmin.ListClusters.
|
||||
message ListClustersResponse {
|
||||
// The list of requested clusters.
|
||||
repeated Cluster clusters = 1;
|
||||
|
||||
// Locations from which Cluster information could not be retrieved,
|
||||
// due to an outage or some other transient condition.
|
||||
// Clusters from these locations may be missing from `clusters`,
|
||||
// or may only have partial information returned.
|
||||
repeated string failed_locations = 2;
|
||||
|
||||
// Set if not all clusters could be returned in a single response.
|
||||
// Pass this value to `page_token` in another request to get the next
|
||||
// page of results.
|
||||
string next_page_token = 3;
|
||||
}
|
||||
|
||||
// Request message for BigtableInstanceAdmin.DeleteCluster.
|
||||
message DeleteClusterRequest {
|
||||
// The unique name of the cluster to be deleted. Values are of the form
|
||||
// `projects/<project>/instances/<instance>/clusters/<cluster>`.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// The metadata for the Operation returned by CreateInstance.
|
||||
message CreateInstanceMetadata {
|
||||
// The request that prompted the initiation of this CreateInstance operation.
|
||||
CreateInstanceRequest original_request = 1;
|
||||
|
||||
// The time at which the original request was received.
|
||||
google.protobuf.Timestamp request_time = 2;
|
||||
|
||||
// The time at which the operation failed or was completed successfully.
|
||||
google.protobuf.Timestamp finish_time = 3;
|
||||
}
|
||||
|
||||
// The metadata for the Operation returned by UpdateInstance.
|
||||
message UpdateInstanceMetadata {
|
||||
// The request that prompted the initiation of this UpdateInstance operation.
|
||||
PartialUpdateInstanceRequest original_request = 1;
|
||||
|
||||
// The time at which the original request was received.
|
||||
google.protobuf.Timestamp request_time = 2;
|
||||
|
||||
// The time at which the operation failed or was completed successfully.
|
||||
google.protobuf.Timestamp finish_time = 3;
|
||||
}
|
||||
|
||||
// The metadata for the Operation returned by CreateCluster.
|
||||
message CreateClusterMetadata {
|
||||
// The request that prompted the initiation of this CreateCluster operation.
|
||||
CreateClusterRequest original_request = 1;
|
||||
|
||||
// The time at which the original request was received.
|
||||
google.protobuf.Timestamp request_time = 2;
|
||||
|
||||
// The time at which the operation failed or was completed successfully.
|
||||
google.protobuf.Timestamp finish_time = 3;
|
||||
}
|
||||
|
||||
// The metadata for the Operation returned by UpdateCluster.
|
||||
message UpdateClusterMetadata {
|
||||
// The request that prompted the initiation of this UpdateCluster operation.
|
||||
Cluster original_request = 1;
|
||||
|
||||
// The time at which the original request was received.
|
||||
google.protobuf.Timestamp request_time = 2;
|
||||
|
||||
// The time at which the operation failed or was completed successfully.
|
||||
google.protobuf.Timestamp finish_time = 3;
|
||||
}
|
||||
|
||||
// Request message for BigtableInstanceAdmin.CreateAppProfile.
|
||||
message CreateAppProfileRequest {
|
||||
// The unique name of the instance in which to create the new app profile.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>`.
|
||||
string parent = 1;
|
||||
|
||||
// The ID to be used when referring to the new app profile within its
|
||||
// instance, e.g., just `myprofile` rather than
|
||||
// `projects/myproject/instances/myinstance/appProfiles/myprofile`.
|
||||
string app_profile_id = 2;
|
||||
|
||||
// The app profile to be created.
|
||||
// Fields marked `OutputOnly` will be ignored.
|
||||
AppProfile app_profile = 3;
|
||||
|
||||
// If true, ignore safety checks when creating the app profile.
|
||||
bool ignore_warnings = 4;
|
||||
}
|
||||
|
||||
// Request message for BigtableInstanceAdmin.GetAppProfile.
|
||||
message GetAppProfileRequest {
|
||||
// The unique name of the requested app profile. Values are of the form
|
||||
// `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// Request message for BigtableInstanceAdmin.ListAppProfiles.
|
||||
message ListAppProfilesRequest {
|
||||
// The unique name of the instance for which a list of app profiles is
|
||||
// requested. Values are of the form
|
||||
// `projects/<project>/instances/<instance>`.
|
||||
string parent = 1;
|
||||
|
||||
// The value of `next_page_token` returned by a previous call.
|
||||
string page_token = 2;
|
||||
}
|
||||
|
||||
// Response message for BigtableInstanceAdmin.ListAppProfiles.
|
||||
message ListAppProfilesResponse {
|
||||
// The list of requested app profiles.
|
||||
repeated AppProfile app_profiles = 1;
|
||||
|
||||
// Set if not all app profiles could be returned in a single response.
|
||||
// Pass this value to `page_token` in another request to get the next
|
||||
// page of results.
|
||||
string next_page_token = 2;
|
||||
}
|
||||
|
||||
// Request message for BigtableInstanceAdmin.UpdateAppProfile.
|
||||
message UpdateAppProfileRequest {
|
||||
// The app profile which will (partially) replace the current value.
|
||||
AppProfile app_profile = 1;
|
||||
|
||||
// The subset of app profile fields which should be replaced.
|
||||
// If unset, all fields will be replaced.
|
||||
google.protobuf.FieldMask update_mask = 2;
|
||||
|
||||
// If true, ignore safety checks when updating the app profile.
|
||||
bool ignore_warnings = 3;
|
||||
}
|
||||
|
||||
|
||||
// Request message for BigtableInstanceAdmin.DeleteAppProfile.
|
||||
message DeleteAppProfileRequest {
|
||||
// The unique name of the app profile to be deleted. Values are of the form
|
||||
// `projects/<project>/instances/<instance>/appProfiles/<app_profile>`.
|
||||
string name = 1;
|
||||
|
||||
// If true, ignore safety checks when deleting the app profile.
|
||||
bool ignore_warnings = 2;
|
||||
}
|
||||
|
||||
// The metadata for the Operation returned by UpdateAppProfile.
|
||||
message UpdateAppProfileMetadata {
|
||||
|
||||
}
|
519
website/functions/node_modules/google-proto-files/google/bigtable/admin/v2/bigtable_table_admin.proto
generated
vendored
Normal file
519
website/functions/node_modules/google-proto-files/google/bigtable/admin/v2/bigtable_table_admin.proto
generated
vendored
Normal file
@@ -0,0 +1,519 @@
|
||||
// Copyright 2018 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.bigtable.admin.v2;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/bigtable/admin/v2/table.proto";
|
||||
import "google/longrunning/operations.proto";
|
||||
import "google/protobuf/duration.proto";
|
||||
import "google/protobuf/empty.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 = "BigtableTableAdminProto";
|
||||
option java_package = "com.google.bigtable.admin.v2";
|
||||
option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2";
|
||||
|
||||
|
||||
// Service for creating, configuring, and deleting Cloud Bigtable tables.
|
||||
//
|
||||
//
|
||||
// Provides access to the table schemas only, not the data stored within
|
||||
// the tables.
|
||||
service BigtableTableAdmin {
|
||||
// Creates a new table in the specified instance.
|
||||
// The table can be created with a full set of initial column families,
|
||||
// specified in the request.
|
||||
rpc CreateTable(CreateTableRequest) returns (Table) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{parent=projects/*/instances/*}/tables"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
// Creates a new table from the specified snapshot. The target table must
|
||||
// not exist. The snapshot and the table must be in the same instance.
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not
|
||||
// recommended for production use. It is not subject to any SLA or deprecation
|
||||
// policy.
|
||||
rpc CreateTableFromSnapshot(CreateTableFromSnapshotRequest) returns (google.longrunning.Operation) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{parent=projects/*/instances/*}/tables:createFromSnapshot"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
// Lists all tables served from a specified instance.
|
||||
rpc ListTables(ListTablesRequest) returns (ListTablesResponse) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{parent=projects/*/instances/*}/tables"
|
||||
};
|
||||
}
|
||||
|
||||
// Gets metadata information about the specified table.
|
||||
rpc GetTable(GetTableRequest) returns (Table) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{name=projects/*/instances/*/tables/*}"
|
||||
};
|
||||
}
|
||||
|
||||
// Permanently deletes a specified table and all of its data.
|
||||
rpc DeleteTable(DeleteTableRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = {
|
||||
delete: "/v2/{name=projects/*/instances/*/tables/*}"
|
||||
};
|
||||
}
|
||||
|
||||
// Performs a series of column family modifications on the specified table.
|
||||
// Either all or none of the modifications will occur before this method
|
||||
// returns, but data requests received prior to that point may see a table
|
||||
// where only some modifications have taken effect.
|
||||
rpc ModifyColumnFamilies(ModifyColumnFamiliesRequest) returns (Table) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{name=projects/*/instances/*/tables/*}:modifyColumnFamilies"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
// Permanently drop/delete a row range from a specified table. The request can
|
||||
// specify whether to delete all rows in a table, or only those that match a
|
||||
// particular prefix.
|
||||
rpc DropRowRange(DropRowRangeRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{name=projects/*/instances/*/tables/*}:dropRowRange"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
// Generates a consistency token for a Table, which can be used in
|
||||
// CheckConsistency to check whether mutations to the table that finished
|
||||
// before this call started have been replicated. The tokens will be available
|
||||
// for 90 days.
|
||||
rpc GenerateConsistencyToken(GenerateConsistencyTokenRequest) returns (GenerateConsistencyTokenResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{name=projects/*/instances/*/tables/*}:generateConsistencyToken"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
// Checks replication consistency based on a consistency token, that is, if
|
||||
// replication has caught up based on the conditions specified in the token
|
||||
// and the check request.
|
||||
rpc CheckConsistency(CheckConsistencyRequest) returns (CheckConsistencyResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{name=projects/*/instances/*/tables/*}:checkConsistency"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
// Creates a new snapshot in the specified cluster from the specified
|
||||
// source table. The cluster and the table must be in the same instance.
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not
|
||||
// recommended for production use. It is not subject to any SLA or deprecation
|
||||
// policy.
|
||||
rpc SnapshotTable(SnapshotTableRequest) returns (google.longrunning.Operation) {
|
||||
option (google.api.http) = {
|
||||
post: "/v2/{name=projects/*/instances/*/tables/*}:snapshot"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
// Gets metadata information about the specified snapshot.
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not
|
||||
// recommended for production use. It is not subject to any SLA or deprecation
|
||||
// policy.
|
||||
rpc GetSnapshot(GetSnapshotRequest) returns (Snapshot) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}"
|
||||
};
|
||||
}
|
||||
|
||||
// Lists all snapshots associated with the specified cluster.
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not
|
||||
// recommended for production use. It is not subject to any SLA or deprecation
|
||||
// policy.
|
||||
rpc ListSnapshots(ListSnapshotsRequest) returns (ListSnapshotsResponse) {
|
||||
option (google.api.http) = {
|
||||
get: "/v2/{parent=projects/*/instances/*/clusters/*}/snapshots"
|
||||
};
|
||||
}
|
||||
|
||||
// Permanently deletes the specified snapshot.
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not
|
||||
// recommended for production use. It is not subject to any SLA or deprecation
|
||||
// policy.
|
||||
rpc DeleteSnapshot(DeleteSnapshotRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = {
|
||||
delete: "/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
// Request message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable]
|
||||
message CreateTableRequest {
|
||||
// An initial split point for a newly created table.
|
||||
message Split {
|
||||
// Row key to use as an initial tablet boundary.
|
||||
bytes key = 1;
|
||||
}
|
||||
|
||||
// The unique name of the instance in which to create the table.
|
||||
// Values are of the form `projects/<project>/instances/<instance>`.
|
||||
string parent = 1;
|
||||
|
||||
// The name by which the new table should be referred to within the parent
|
||||
// instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
||||
string table_id = 2;
|
||||
|
||||
// The Table to create.
|
||||
Table table = 3;
|
||||
|
||||
// The optional list of row keys that will be used to initially split the
|
||||
// table into several tablets (tablets are similar to HBase regions).
|
||||
// Given two split keys, `s1` and `s2`, three tablets will be created,
|
||||
// spanning the key ranges: `[, s1), [s1, s2), [s2, )`.
|
||||
//
|
||||
// Example:
|
||||
//
|
||||
// * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",`
|
||||
// `"other", "zz"]`
|
||||
// * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]`
|
||||
// * Key assignment:
|
||||
// - Tablet 1 `[, apple) => {"a"}.`
|
||||
// - Tablet 2 `[apple, customer_1) => {"apple", "custom"}.`
|
||||
// - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.`
|
||||
// - Tablet 4 `[customer_2, other) => {"customer_2"}.`
|
||||
// - Tablet 5 `[other, ) => {"other", "zz"}.`
|
||||
repeated Split initial_splits = 4;
|
||||
}
|
||||
|
||||
// Request message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot]
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not recommended
|
||||
// for production use. It is not subject to any SLA or deprecation policy.
|
||||
message CreateTableFromSnapshotRequest {
|
||||
// The unique name of the instance in which to create the table.
|
||||
// Values are of the form `projects/<project>/instances/<instance>`.
|
||||
string parent = 1;
|
||||
|
||||
// The name by which the new table should be referred to within the parent
|
||||
// instance, e.g., `foobar` rather than `<parent>/tables/foobar`.
|
||||
string table_id = 2;
|
||||
|
||||
// The unique name of the snapshot from which to restore the table. The
|
||||
// snapshot and the table must be in the same instance.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
|
||||
string source_snapshot = 3;
|
||||
}
|
||||
|
||||
// Request message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange]
|
||||
message DropRowRangeRequest {
|
||||
// The unique name of the table on which to drop a range of rows.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/<table>`.
|
||||
string name = 1;
|
||||
|
||||
// Delete all rows or by prefix.
|
||||
oneof target {
|
||||
// Delete all rows that start with this row key prefix. Prefix cannot be
|
||||
// zero length.
|
||||
bytes row_key_prefix = 2;
|
||||
|
||||
// Delete all rows in the table. Setting this to false is a no-op.
|
||||
bool delete_all_data_from_table = 3;
|
||||
}
|
||||
}
|
||||
|
||||
// Request message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
|
||||
message ListTablesRequest {
|
||||
// The unique name of the instance for which tables should be listed.
|
||||
// Values are of the form `projects/<project>/instances/<instance>`.
|
||||
string parent = 1;
|
||||
|
||||
// The view to be applied to the returned tables' fields.
|
||||
// Defaults to `NAME_ONLY` if unspecified; no others are currently supported.
|
||||
Table.View view = 2;
|
||||
|
||||
// The value of `next_page_token` returned by a previous call.
|
||||
string page_token = 3;
|
||||
}
|
||||
|
||||
// Response message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables]
|
||||
message ListTablesResponse {
|
||||
// The tables present in the requested instance.
|
||||
repeated Table tables = 1;
|
||||
|
||||
// Set if not all tables could be returned in a single response.
|
||||
// Pass this value to `page_token` in another request to get the next
|
||||
// page of results.
|
||||
string next_page_token = 2;
|
||||
}
|
||||
|
||||
// Request message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable]
|
||||
message GetTableRequest {
|
||||
// The unique name of the requested table.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/<table>`.
|
||||
string name = 1;
|
||||
|
||||
// The view to be applied to the returned table's fields.
|
||||
// Defaults to `SCHEMA_VIEW` if unspecified.
|
||||
Table.View view = 2;
|
||||
}
|
||||
|
||||
// Request message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable]
|
||||
message DeleteTableRequest {
|
||||
// The unique name of the table to be deleted.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/<table>`.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// Request message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies]
|
||||
message ModifyColumnFamiliesRequest {
|
||||
// A create, update, or delete of a particular column family.
|
||||
message Modification {
|
||||
// The ID of the column family to be modified.
|
||||
string id = 1;
|
||||
|
||||
// Column familiy modifications.
|
||||
oneof mod {
|
||||
// Create a new column family with the specified schema, or fail if
|
||||
// one already exists with the given ID.
|
||||
ColumnFamily create = 2;
|
||||
|
||||
// Update an existing column family to the specified schema, or fail
|
||||
// if no column family exists with the given ID.
|
||||
ColumnFamily update = 3;
|
||||
|
||||
// Drop (delete) the column family with the given ID, or fail if no such
|
||||
// family exists.
|
||||
bool drop = 4;
|
||||
}
|
||||
}
|
||||
|
||||
// The unique name of the table whose families should be modified.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/<table>`.
|
||||
string name = 1;
|
||||
|
||||
// Modifications to be atomically applied to the specified table's families.
|
||||
// Entries are applied in order, meaning that earlier modifications can be
|
||||
// masked by later ones (in the case of repeated updates to the same family,
|
||||
// for example).
|
||||
repeated Modification modifications = 2;
|
||||
}
|
||||
|
||||
// Request message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
|
||||
message GenerateConsistencyTokenRequest {
|
||||
// The unique name of the Table for which to create a consistency token.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/<table>`.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// Response message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken]
|
||||
message GenerateConsistencyTokenResponse {
|
||||
// The generated consistency token.
|
||||
string consistency_token = 1;
|
||||
}
|
||||
|
||||
// Request message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
|
||||
message CheckConsistencyRequest {
|
||||
// The unique name of the Table for which to check replication consistency.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/<table>`.
|
||||
string name = 1;
|
||||
|
||||
// The token created using GenerateConsistencyToken for the Table.
|
||||
string consistency_token = 2;
|
||||
}
|
||||
|
||||
// Response message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]
|
||||
message CheckConsistencyResponse {
|
||||
// True only if the token is consistent. A token is consistent if replication
|
||||
// has caught up with the restrictions specified in the request.
|
||||
bool consistent = 1;
|
||||
}
|
||||
|
||||
// Request message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable]
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not recommended
|
||||
// for production use. It is not subject to any SLA or deprecation policy.
|
||||
message SnapshotTableRequest {
|
||||
// The unique name of the table to have the snapshot taken.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/<table>`.
|
||||
string name = 1;
|
||||
|
||||
// The name of the cluster where the snapshot will be created in.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/clusters/<cluster>`.
|
||||
string cluster = 2;
|
||||
|
||||
// The ID by which the new snapshot should be referred to within the parent
|
||||
// cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
|
||||
// rather than
|
||||
// `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/mysnapshot`.
|
||||
string snapshot_id = 3;
|
||||
|
||||
// The amount of time that the new snapshot can stay active after it is
|
||||
// created. Once 'ttl' expires, the snapshot will get deleted. The maximum
|
||||
// amount of time a snapshot can stay active is 7 days. If 'ttl' is not
|
||||
// specified, the default value of 24 hours will be used.
|
||||
google.protobuf.Duration ttl = 4;
|
||||
|
||||
// Description of the snapshot.
|
||||
string description = 5;
|
||||
}
|
||||
|
||||
// Request message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot]
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not recommended
|
||||
// for production use. It is not subject to any SLA or deprecation policy.
|
||||
message GetSnapshotRequest {
|
||||
// The unique name of the requested snapshot.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// Request message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not recommended
|
||||
// for production use. It is not subject to any SLA or deprecation policy.
|
||||
message ListSnapshotsRequest {
|
||||
// The unique name of the cluster for which snapshots should be listed.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/clusters/<cluster>`.
|
||||
// Use `<cluster> = '-'` to list snapshots for all clusters in an instance,
|
||||
// e.g., `projects/<project>/instances/<instance>/clusters/-`.
|
||||
string parent = 1;
|
||||
|
||||
// The maximum number of snapshots to return.
|
||||
int32 page_size = 2;
|
||||
|
||||
// The value of `next_page_token` returned by a previous call.
|
||||
string page_token = 3;
|
||||
}
|
||||
|
||||
// Response message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not recommended
|
||||
// for production use. It is not subject to any SLA or deprecation policy.
|
||||
message ListSnapshotsResponse {
|
||||
// The snapshots present in the requested cluster.
|
||||
repeated Snapshot snapshots = 1;
|
||||
|
||||
// Set if not all snapshots could be returned in a single response.
|
||||
// Pass this value to `page_token` in another request to get the next
|
||||
// page of results.
|
||||
string next_page_token = 2;
|
||||
}
|
||||
|
||||
// Request message for
|
||||
// [google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot]
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not recommended
|
||||
// for production use. It is not subject to any SLA or deprecation policy.
|
||||
message DeleteSnapshotRequest {
|
||||
// The unique name of the snapshot to be deleted.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
// The metadata for the Operation returned by SnapshotTable.
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not recommended
|
||||
// for production use. It is not subject to any SLA or deprecation policy.
|
||||
message SnapshotTableMetadata {
|
||||
// The request that prompted the initiation of this SnapshotTable operation.
|
||||
SnapshotTableRequest original_request = 1;
|
||||
|
||||
// The time at which the original request was received.
|
||||
google.protobuf.Timestamp request_time = 2;
|
||||
|
||||
// The time at which the operation failed or was completed successfully.
|
||||
google.protobuf.Timestamp finish_time = 3;
|
||||
}
|
||||
|
||||
// The metadata for the Operation returned by CreateTableFromSnapshot.
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not recommended
|
||||
// for production use. It is not subject to any SLA or deprecation policy.
|
||||
message CreateTableFromSnapshotMetadata {
|
||||
// The request that prompted the initiation of this CreateTableFromSnapshot
|
||||
// operation.
|
||||
CreateTableFromSnapshotRequest original_request = 1;
|
||||
|
||||
// The time at which the original request was received.
|
||||
google.protobuf.Timestamp request_time = 2;
|
||||
|
||||
// The time at which the operation failed or was completed successfully.
|
||||
google.protobuf.Timestamp finish_time = 3;
|
||||
}
|
40
website/functions/node_modules/google-proto-files/google/bigtable/admin/v2/common.proto
generated
vendored
Normal file
40
website/functions/node_modules/google-proto-files/google/bigtable/admin/v2/common.proto
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
// Copyright 2018 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.bigtable.admin.v2;
|
||||
|
||||
import "google/api/annotations.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 = "CommonProto";
|
||||
option java_package = "com.google.bigtable.admin.v2";
|
||||
option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2";
|
||||
|
||||
|
||||
// Storage media types for persisting Bigtable data.
|
||||
enum StorageType {
|
||||
// The user did not specify a storage type.
|
||||
STORAGE_TYPE_UNSPECIFIED = 0;
|
||||
|
||||
// Flash (SSD) storage should be used.
|
||||
SSD = 1;
|
||||
|
||||
// Magnetic drive (HDD) storage should be used.
|
||||
HDD = 2;
|
||||
}
|
207
website/functions/node_modules/google-proto-files/google/bigtable/admin/v2/instance.proto
generated
vendored
Normal file
207
website/functions/node_modules/google-proto-files/google/bigtable/admin/v2/instance.proto
generated
vendored
Normal file
@@ -0,0 +1,207 @@
|
||||
// Copyright 2018 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.bigtable.admin.v2;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/bigtable/admin/v2/common.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";
|
||||
|
||||
|
||||
// A collection of Bigtable [Tables][google.bigtable.admin.v2.Table] and
|
||||
// the resources that serve them.
|
||||
// All tables in an instance are served from a single
|
||||
// [Cluster][google.bigtable.admin.v2.Cluster].
|
||||
message Instance {
|
||||
// Possible states of an instance.
|
||||
enum State {
|
||||
// The state of the instance could not be determined.
|
||||
STATE_NOT_KNOWN = 0;
|
||||
|
||||
// The instance has been successfully created and can serve requests
|
||||
// to its tables.
|
||||
READY = 1;
|
||||
|
||||
// The instance is currently being created, and may be destroyed
|
||||
// if the creation process encounters an error.
|
||||
CREATING = 2;
|
||||
}
|
||||
|
||||
// The type of the instance.
|
||||
enum Type {
|
||||
// The type of the instance is unspecified. If set when creating an
|
||||
// instance, a `PRODUCTION` instance will be created. If set when updating
|
||||
// an instance, the type will be left unchanged.
|
||||
TYPE_UNSPECIFIED = 0;
|
||||
|
||||
// An instance meant for production use. `serve_nodes` must be set
|
||||
// on the cluster.
|
||||
PRODUCTION = 1;
|
||||
|
||||
// The instance is meant for development and testing purposes only; it has
|
||||
// no performance or uptime guarantees and is not covered by SLA.
|
||||
// After a development instance is created, it can be upgraded by
|
||||
// updating the instance to type `PRODUCTION`. An instance created
|
||||
// as a production instance cannot be changed to a development instance.
|
||||
// When creating a development instance, `serve_nodes` on the cluster must
|
||||
// not be set.
|
||||
DEVELOPMENT = 2;
|
||||
}
|
||||
|
||||
// (`OutputOnly`)
|
||||
// The unique name of the instance. Values are of the form
|
||||
// `projects/<project>/instances/[a-z][a-z0-9\\-]+[a-z0-9]`.
|
||||
string name = 1;
|
||||
|
||||
// The descriptive name for this instance as it appears in UIs.
|
||||
// Can be changed at any time, but should be kept globally unique
|
||||
// to avoid confusion.
|
||||
string display_name = 2;
|
||||
|
||||
// (`OutputOnly`)
|
||||
// The current state of the instance.
|
||||
State state = 3;
|
||||
|
||||
// The type of the instance. Defaults to `PRODUCTION`.
|
||||
Type type = 4;
|
||||
|
||||
// Labels are a flexible and lightweight mechanism for organizing cloud
|
||||
// resources into groups that reflect a customer's organizational needs and
|
||||
// deployment strategies. They can be used to filter resources and aggregate
|
||||
// metrics.
|
||||
//
|
||||
// * Label keys must be between 1 and 63 characters long and must conform to
|
||||
// the regular expression: `[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`.
|
||||
// * Label values must be between 0 and 63 characters long and must conform to
|
||||
// the regular expression: `[\p{Ll}\p{Lo}\p{N}_-]{0,63}`.
|
||||
// * No more than 64 labels can be associated with a given resource.
|
||||
// * Keys and values must both be under 128 bytes.
|
||||
map<string, string> labels = 5;
|
||||
}
|
||||
|
||||
// A resizable group of nodes in a particular cloud location, capable
|
||||
// of serving all [Tables][google.bigtable.admin.v2.Table] in the parent
|
||||
// [Instance][google.bigtable.admin.v2.Instance].
|
||||
message Cluster {
|
||||
// Possible states of a cluster.
|
||||
enum State {
|
||||
// The state of the cluster could not be determined.
|
||||
STATE_NOT_KNOWN = 0;
|
||||
|
||||
// The cluster has been successfully created and is ready to serve requests.
|
||||
READY = 1;
|
||||
|
||||
// The cluster is currently being created, and may be destroyed
|
||||
// if the creation process encounters an error.
|
||||
// A cluster may not be able to serve requests while being created.
|
||||
CREATING = 2;
|
||||
|
||||
// The cluster is currently being resized, and may revert to its previous
|
||||
// node count if the process encounters an error.
|
||||
// A cluster is still capable of serving requests while being resized,
|
||||
// but may exhibit performance as if its number of allocated nodes is
|
||||
// between the starting and requested states.
|
||||
RESIZING = 3;
|
||||
|
||||
// The cluster has no backing nodes. The data (tables) still
|
||||
// exist, but no operations can be performed on the cluster.
|
||||
DISABLED = 4;
|
||||
}
|
||||
|
||||
// (`OutputOnly`)
|
||||
// The unique name of the cluster. Values are of the form
|
||||
// `projects/<project>/instances/<instance>/clusters/[a-z][-a-z0-9]*`.
|
||||
string name = 1;
|
||||
|
||||
// (`CreationOnly`)
|
||||
// The location where this cluster's nodes and storage reside. For best
|
||||
// performance, clients should be located as close as possible to this
|
||||
// cluster. Currently only zones are supported, so values should be of the
|
||||
// form `projects/<project>/locations/<zone>`.
|
||||
string location = 2;
|
||||
|
||||
// (`OutputOnly`)
|
||||
// The current state of the cluster.
|
||||
State state = 3;
|
||||
|
||||
// The number of nodes allocated to this cluster. More nodes enable higher
|
||||
// throughput and more consistent performance.
|
||||
int32 serve_nodes = 4;
|
||||
|
||||
// (`CreationOnly`)
|
||||
// The type of storage used by this cluster to serve its
|
||||
// parent instance's tables, unless explicitly overridden.
|
||||
StorageType default_storage_type = 5;
|
||||
}
|
||||
|
||||
// A configuration object describing how Cloud Bigtable should treat traffic
|
||||
// from a particular end user application.
|
||||
message AppProfile {
|
||||
// Read/write requests may be routed to any cluster in the instance, and will
|
||||
// fail over to another cluster in the event of transient errors or delays.
|
||||
// Choosing this option sacrifices read-your-writes consistency to improve
|
||||
// availability.
|
||||
message MultiClusterRoutingUseAny {
|
||||
|
||||
}
|
||||
|
||||
// Unconditionally routes all read/write requests to a specific cluster.
|
||||
// This option preserves read-your-writes consistency, but does not improve
|
||||
// availability.
|
||||
message SingleClusterRouting {
|
||||
// The cluster to which read/write requests should be routed.
|
||||
string cluster_id = 1;
|
||||
|
||||
// Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are
|
||||
// allowed by this app profile. It is unsafe to send these requests to
|
||||
// the same table/row/column in multiple clusters.
|
||||
bool allow_transactional_writes = 2;
|
||||
}
|
||||
|
||||
// (`OutputOnly`)
|
||||
// The unique name of the app profile. Values are of the form
|
||||
// `projects/<project>/instances/<instance>/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
||||
string name = 1;
|
||||
|
||||
// Strongly validated etag for optimistic concurrency control. Preserve the
|
||||
// value returned from `GetAppProfile` when calling `UpdateAppProfile` to
|
||||
// fail the request if there has been a modification in the mean time. The
|
||||
// `update_mask` of the request need not include `etag` for this protection
|
||||
// to apply.
|
||||
// See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and
|
||||
// [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more
|
||||
// details.
|
||||
string etag = 2;
|
||||
|
||||
// Optional long form description of the use case for this AppProfile.
|
||||
string description = 3;
|
||||
|
||||
// The routing policy for all read/write requests which use this app profile.
|
||||
// A value must be explicitly set.
|
||||
oneof routing_policy {
|
||||
// Use a multi-cluster routing policy that may pick any cluster.
|
||||
MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
|
||||
|
||||
// Use a single-cluster routing policy.
|
||||
SingleClusterRouting single_cluster_routing = 6;
|
||||
}
|
||||
}
|
220
website/functions/node_modules/google-proto-files/google/bigtable/admin/v2/table.proto
generated
vendored
Normal file
220
website/functions/node_modules/google-proto-files/google/bigtable/admin/v2/table.proto
generated
vendored
Normal file
@@ -0,0 +1,220 @@
|
||||
// Copyright 2018 Google Inc.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.bigtable.admin.v2;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/protobuf/duration.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 = "TableProto";
|
||||
option java_package = "com.google.bigtable.admin.v2";
|
||||
option php_namespace = "Google\\Cloud\\Bigtable\\Admin\\V2";
|
||||
|
||||
|
||||
// A collection of user data indexed by row, column, and timestamp.
|
||||
// Each table is served using the resources of its parent cluster.
|
||||
message Table {
|
||||
// The state of a table's data in a particular cluster.
|
||||
message ClusterState {
|
||||
// Table replication states.
|
||||
enum ReplicationState {
|
||||
// The replication state of the table is unknown in this cluster.
|
||||
STATE_NOT_KNOWN = 0;
|
||||
|
||||
// The cluster was recently created, and the table must finish copying
|
||||
// over pre-existing data from other clusters before it can begin
|
||||
// receiving live replication updates and serving Data API requests.
|
||||
INITIALIZING = 1;
|
||||
|
||||
// The table is temporarily unable to serve Data API requests from this
|
||||
// cluster due to planned internal maintenance.
|
||||
PLANNED_MAINTENANCE = 2;
|
||||
|
||||
// The table is temporarily unable to serve Data API requests from this
|
||||
// cluster due to unplanned or emergency maintenance.
|
||||
UNPLANNED_MAINTENANCE = 3;
|
||||
|
||||
// The table can serve Data API requests from this cluster. Depending on
|
||||
// replication delay, reads may not immediately reflect the state of the
|
||||
// table in other clusters.
|
||||
READY = 4;
|
||||
}
|
||||
|
||||
// (`OutputOnly`)
|
||||
// The state of replication for the table in this cluster.
|
||||
ReplicationState replication_state = 1;
|
||||
}
|
||||
|
||||
// Possible timestamp granularities to use when keeping multiple versions
|
||||
// of data in a table.
|
||||
enum TimestampGranularity {
|
||||
// The user did not specify a granularity. Should not be returned.
|
||||
// When specified during table creation, MILLIS will be used.
|
||||
TIMESTAMP_GRANULARITY_UNSPECIFIED = 0;
|
||||
|
||||
// The table keeps data versioned at a granularity of 1ms.
|
||||
MILLIS = 1;
|
||||
}
|
||||
|
||||
// Defines a view over a table's fields.
|
||||
enum View {
|
||||
// Uses the default view for each method as documented in its request.
|
||||
VIEW_UNSPECIFIED = 0;
|
||||
|
||||
// Only populates `name`.
|
||||
NAME_ONLY = 1;
|
||||
|
||||
// Only populates `name` and fields related to the table's schema.
|
||||
SCHEMA_VIEW = 2;
|
||||
|
||||
// Only populates `name` and fields related to the table's
|
||||
// replication state.
|
||||
REPLICATION_VIEW = 3;
|
||||
|
||||
// Populates all fields.
|
||||
FULL = 4;
|
||||
}
|
||||
|
||||
// (`OutputOnly`)
|
||||
// The unique name of the table. Values are of the form
|
||||
// `projects/<project>/instances/<instance>/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
|
||||
// Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
|
||||
string name = 1;
|
||||
|
||||
// (`OutputOnly`)
|
||||
// Map from cluster ID to per-cluster table state.
|
||||
// If it could not be determined whether or not the table has data in a
|
||||
// particular cluster (for example, if its zone is unavailable), then
|
||||
// there will be an entry for the cluster with UNKNOWN `replication_status`.
|
||||
// Views: `REPLICATION_VIEW`, `FULL`
|
||||
map<string, ClusterState> cluster_states = 2;
|
||||
|
||||
// (`CreationOnly`)
|
||||
// The column families configured for this table, mapped by column family ID.
|
||||
// Views: `SCHEMA_VIEW`, `FULL`
|
||||
map<string, ColumnFamily> column_families = 3;
|
||||
|
||||
// (`CreationOnly`)
|
||||
// The granularity (i.e. `MILLIS`) at which timestamps are stored in
|
||||
// this table. Timestamps not matching the granularity will be rejected.
|
||||
// If unspecified at creation time, the value will be set to `MILLIS`.
|
||||
// Views: `SCHEMA_VIEW`, `FULL`
|
||||
TimestampGranularity granularity = 4;
|
||||
}
|
||||
|
||||
// A set of columns within a table which share a common configuration.
|
||||
message ColumnFamily {
|
||||
// Garbage collection rule specified as a protobuf.
|
||||
// Must serialize to at most 500 bytes.
|
||||
//
|
||||
// NOTE: Garbage collection executes opportunistically in the background, and
|
||||
// so it's possible for reads to return a cell even if it matches the active
|
||||
// GC expression for its family.
|
||||
GcRule gc_rule = 1;
|
||||
}
|
||||
|
||||
// Rule for determining which cells to delete during garbage collection.
|
||||
message GcRule {
|
||||
// A GcRule which deletes cells matching all of the given rules.
|
||||
message Intersection {
|
||||
// Only delete cells which would be deleted by every element of `rules`.
|
||||
repeated GcRule rules = 1;
|
||||
}
|
||||
|
||||
// A GcRule which deletes cells matching any of the given rules.
|
||||
message Union {
|
||||
// Delete cells which would be deleted by any element of `rules`.
|
||||
repeated GcRule rules = 1;
|
||||
}
|
||||
|
||||
// Garbage collection rules.
|
||||
oneof rule {
|
||||
// Delete all cells in a column except the most recent N.
|
||||
int32 max_num_versions = 1;
|
||||
|
||||
// Delete cells in a column older than the given age.
|
||||
// Values must be at least one millisecond, and will be truncated to
|
||||
// microsecond granularity.
|
||||
google.protobuf.Duration max_age = 2;
|
||||
|
||||
// Delete cells that would be deleted by every nested rule.
|
||||
Intersection intersection = 3;
|
||||
|
||||
// Delete cells that would be deleted by any nested rule.
|
||||
Union union = 4;
|
||||
}
|
||||
}
|
||||
|
||||
// A snapshot of a table at a particular time. A snapshot can be used as a
|
||||
// checkpoint for data restoration or a data source for a new table.
|
||||
//
|
||||
// Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
||||
// feature is not currently available to most Cloud Bigtable customers. This
|
||||
// feature might be changed in backward-incompatible ways and is not recommended
|
||||
// for production use. It is not subject to any SLA or deprecation policy.
|
||||
message Snapshot {
|
||||
// Possible states of a snapshot.
|
||||
enum State {
|
||||
// The state of the snapshot could not be determined.
|
||||
STATE_NOT_KNOWN = 0;
|
||||
|
||||
// The snapshot has been successfully created and can serve all requests.
|
||||
READY = 1;
|
||||
|
||||
// The snapshot is currently being created, and may be destroyed if the
|
||||
// creation process encounters an error. A snapshot may not be restored to a
|
||||
// table while it is being created.
|
||||
CREATING = 2;
|
||||
}
|
||||
|
||||
// (`OutputOnly`)
|
||||
// The unique name of the snapshot.
|
||||
// Values are of the form
|
||||
// `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
|
||||
string name = 1;
|
||||
|
||||
// (`OutputOnly`)
|
||||
// The source table at the time the snapshot was taken.
|
||||
Table source_table = 2;
|
||||
|
||||
// (`OutputOnly`)
|
||||
// The size of the data in the source table at the time the snapshot was
|
||||
// taken. In some cases, this value may be computed asynchronously via a
|
||||
// background process and a placeholder of 0 will be used in the meantime.
|
||||
int64 data_size_bytes = 3;
|
||||
|
||||
// (`OutputOnly`)
|
||||
// The time when the snapshot is created.
|
||||
google.protobuf.Timestamp create_time = 4;
|
||||
|
||||
// (`OutputOnly`)
|
||||
// The time when the snapshot will be deleted. The maximum amount of time a
|
||||
// snapshot can stay active is 365 days. If 'ttl' is not specified,
|
||||
// the default maximum of 365 days will be used.
|
||||
google.protobuf.Timestamp delete_time = 5;
|
||||
|
||||
// (`OutputOnly`)
|
||||
// The current state of the snapshot.
|
||||
State state = 6;
|
||||
|
||||
// (`OutputOnly`)
|
||||
// Description of the snapshot.
|
||||
string description = 7;
|
||||
}
|
Reference in New Issue
Block a user