mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2025-09-07 15:27:21 +00:00
push all website files
This commit is contained in:
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