google-cloud-bigtable-admin-v2 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +75 -0
- data/lib/google-cloud-bigtable-admin-v2.rb +21 -0
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_pb.rb +148 -0
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +91 -0
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_pb.rb +211 -0
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +155 -0
- data/lib/google/bigtable/admin/v2/common_pb.rb +33 -0
- data/lib/google/bigtable/admin/v2/instance_pb.rb +77 -0
- data/lib/google/bigtable/admin/v2/table_pb.rb +130 -0
- data/lib/google/cloud/bigtable/admin/v2.rb +38 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin.rb +54 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/client.rb +1940 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/credentials.rb +59 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/operations.rb +572 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin/paths.rb +121 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin.rb +56 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb +2293 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/credentials.rb +58 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/operations.rb +572 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/paths.rb +132 -0
- data/lib/google/cloud/bigtable/admin/v2/version.rb +30 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +247 -0
- data/proto_docs/google/bigtable/admin/v2/bigtable_instance_admin.rb +378 -0
- data/proto_docs/google/bigtable/admin/v2/bigtable_table_admin.rb +686 -0
- data/proto_docs/google/bigtable/admin/v2/common.rb +58 -0
- data/proto_docs/google/bigtable/admin/v2/instance.rb +223 -0
- data/proto_docs/google/bigtable/admin/v2/table.rb +357 -0
- data/proto_docs/google/iam/v1/iam_policy.rb +80 -0
- data/proto_docs/google/iam/v1/options.rb +40 -0
- data/proto_docs/google/iam/v1/policy.rb +248 -0
- data/proto_docs/google/longrunning/operations.rb +150 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/google/type/expr.rb +52 -0
- metadata +246 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
# This gem does not autoload during Bundler.require. To load this gem,
|
20
|
+
# issue explicit require statements for the packages desired, e.g.:
|
21
|
+
# require "google/cloud/bigtable/admin/v2"
|
@@ -0,0 +1,148 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/bigtable/admin/v2/bigtable_instance_admin.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/client_pb'
|
8
|
+
require 'google/api/field_behavior_pb'
|
9
|
+
require 'google/api/resource_pb'
|
10
|
+
require 'google/bigtable/admin/v2/instance_pb'
|
11
|
+
require 'google/iam/v1/iam_policy_pb'
|
12
|
+
require 'google/iam/v1/policy_pb'
|
13
|
+
require 'google/longrunning/operations_pb'
|
14
|
+
require 'google/protobuf/empty_pb'
|
15
|
+
require 'google/protobuf/field_mask_pb'
|
16
|
+
require 'google/protobuf/timestamp_pb'
|
17
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
18
|
+
add_file("google/bigtable/admin/v2/bigtable_instance_admin.proto", :syntax => :proto3) do
|
19
|
+
add_message "google.bigtable.admin.v2.CreateInstanceRequest" do
|
20
|
+
optional :parent, :string, 1
|
21
|
+
optional :instance_id, :string, 2
|
22
|
+
optional :instance, :message, 3, "google.bigtable.admin.v2.Instance"
|
23
|
+
map :clusters, :string, :message, 4, "google.bigtable.admin.v2.Cluster"
|
24
|
+
end
|
25
|
+
add_message "google.bigtable.admin.v2.GetInstanceRequest" do
|
26
|
+
optional :name, :string, 1
|
27
|
+
end
|
28
|
+
add_message "google.bigtable.admin.v2.ListInstancesRequest" do
|
29
|
+
optional :parent, :string, 1
|
30
|
+
optional :page_token, :string, 2
|
31
|
+
end
|
32
|
+
add_message "google.bigtable.admin.v2.ListInstancesResponse" do
|
33
|
+
repeated :instances, :message, 1, "google.bigtable.admin.v2.Instance"
|
34
|
+
repeated :failed_locations, :string, 2
|
35
|
+
optional :next_page_token, :string, 3
|
36
|
+
end
|
37
|
+
add_message "google.bigtable.admin.v2.PartialUpdateInstanceRequest" do
|
38
|
+
optional :instance, :message, 1, "google.bigtable.admin.v2.Instance"
|
39
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
40
|
+
end
|
41
|
+
add_message "google.bigtable.admin.v2.DeleteInstanceRequest" do
|
42
|
+
optional :name, :string, 1
|
43
|
+
end
|
44
|
+
add_message "google.bigtable.admin.v2.CreateClusterRequest" do
|
45
|
+
optional :parent, :string, 1
|
46
|
+
optional :cluster_id, :string, 2
|
47
|
+
optional :cluster, :message, 3, "google.bigtable.admin.v2.Cluster"
|
48
|
+
end
|
49
|
+
add_message "google.bigtable.admin.v2.GetClusterRequest" do
|
50
|
+
optional :name, :string, 1
|
51
|
+
end
|
52
|
+
add_message "google.bigtable.admin.v2.ListClustersRequest" do
|
53
|
+
optional :parent, :string, 1
|
54
|
+
optional :page_token, :string, 2
|
55
|
+
end
|
56
|
+
add_message "google.bigtable.admin.v2.ListClustersResponse" do
|
57
|
+
repeated :clusters, :message, 1, "google.bigtable.admin.v2.Cluster"
|
58
|
+
repeated :failed_locations, :string, 2
|
59
|
+
optional :next_page_token, :string, 3
|
60
|
+
end
|
61
|
+
add_message "google.bigtable.admin.v2.DeleteClusterRequest" do
|
62
|
+
optional :name, :string, 1
|
63
|
+
end
|
64
|
+
add_message "google.bigtable.admin.v2.CreateInstanceMetadata" do
|
65
|
+
optional :original_request, :message, 1, "google.bigtable.admin.v2.CreateInstanceRequest"
|
66
|
+
optional :request_time, :message, 2, "google.protobuf.Timestamp"
|
67
|
+
optional :finish_time, :message, 3, "google.protobuf.Timestamp"
|
68
|
+
end
|
69
|
+
add_message "google.bigtable.admin.v2.UpdateInstanceMetadata" do
|
70
|
+
optional :original_request, :message, 1, "google.bigtable.admin.v2.PartialUpdateInstanceRequest"
|
71
|
+
optional :request_time, :message, 2, "google.protobuf.Timestamp"
|
72
|
+
optional :finish_time, :message, 3, "google.protobuf.Timestamp"
|
73
|
+
end
|
74
|
+
add_message "google.bigtable.admin.v2.CreateClusterMetadata" do
|
75
|
+
optional :original_request, :message, 1, "google.bigtable.admin.v2.CreateClusterRequest"
|
76
|
+
optional :request_time, :message, 2, "google.protobuf.Timestamp"
|
77
|
+
optional :finish_time, :message, 3, "google.protobuf.Timestamp"
|
78
|
+
end
|
79
|
+
add_message "google.bigtable.admin.v2.UpdateClusterMetadata" do
|
80
|
+
optional :original_request, :message, 1, "google.bigtable.admin.v2.Cluster"
|
81
|
+
optional :request_time, :message, 2, "google.protobuf.Timestamp"
|
82
|
+
optional :finish_time, :message, 3, "google.protobuf.Timestamp"
|
83
|
+
end
|
84
|
+
add_message "google.bigtable.admin.v2.CreateAppProfileRequest" do
|
85
|
+
optional :parent, :string, 1
|
86
|
+
optional :app_profile_id, :string, 2
|
87
|
+
optional :app_profile, :message, 3, "google.bigtable.admin.v2.AppProfile"
|
88
|
+
optional :ignore_warnings, :bool, 4
|
89
|
+
end
|
90
|
+
add_message "google.bigtable.admin.v2.GetAppProfileRequest" do
|
91
|
+
optional :name, :string, 1
|
92
|
+
end
|
93
|
+
add_message "google.bigtable.admin.v2.ListAppProfilesRequest" do
|
94
|
+
optional :parent, :string, 1
|
95
|
+
optional :page_size, :int32, 3
|
96
|
+
optional :page_token, :string, 2
|
97
|
+
end
|
98
|
+
add_message "google.bigtable.admin.v2.ListAppProfilesResponse" do
|
99
|
+
repeated :app_profiles, :message, 1, "google.bigtable.admin.v2.AppProfile"
|
100
|
+
optional :next_page_token, :string, 2
|
101
|
+
repeated :failed_locations, :string, 3
|
102
|
+
end
|
103
|
+
add_message "google.bigtable.admin.v2.UpdateAppProfileRequest" do
|
104
|
+
optional :app_profile, :message, 1, "google.bigtable.admin.v2.AppProfile"
|
105
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
106
|
+
optional :ignore_warnings, :bool, 3
|
107
|
+
end
|
108
|
+
add_message "google.bigtable.admin.v2.DeleteAppProfileRequest" do
|
109
|
+
optional :name, :string, 1
|
110
|
+
optional :ignore_warnings, :bool, 2
|
111
|
+
end
|
112
|
+
add_message "google.bigtable.admin.v2.UpdateAppProfileMetadata" do
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
module Google
|
118
|
+
module Cloud
|
119
|
+
module Bigtable
|
120
|
+
module Admin
|
121
|
+
module V2
|
122
|
+
CreateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateInstanceRequest").msgclass
|
123
|
+
GetInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetInstanceRequest").msgclass
|
124
|
+
ListInstancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListInstancesRequest").msgclass
|
125
|
+
ListInstancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListInstancesResponse").msgclass
|
126
|
+
PartialUpdateInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.PartialUpdateInstanceRequest").msgclass
|
127
|
+
DeleteInstanceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteInstanceRequest").msgclass
|
128
|
+
CreateClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateClusterRequest").msgclass
|
129
|
+
GetClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetClusterRequest").msgclass
|
130
|
+
ListClustersRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListClustersRequest").msgclass
|
131
|
+
ListClustersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListClustersResponse").msgclass
|
132
|
+
DeleteClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteClusterRequest").msgclass
|
133
|
+
CreateInstanceMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateInstanceMetadata").msgclass
|
134
|
+
UpdateInstanceMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateInstanceMetadata").msgclass
|
135
|
+
CreateClusterMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateClusterMetadata").msgclass
|
136
|
+
UpdateClusterMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateClusterMetadata").msgclass
|
137
|
+
CreateAppProfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateAppProfileRequest").msgclass
|
138
|
+
GetAppProfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetAppProfileRequest").msgclass
|
139
|
+
ListAppProfilesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListAppProfilesRequest").msgclass
|
140
|
+
ListAppProfilesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListAppProfilesResponse").msgclass
|
141
|
+
UpdateAppProfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateAppProfileRequest").msgclass
|
142
|
+
DeleteAppProfileRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteAppProfileRequest").msgclass
|
143
|
+
UpdateAppProfileMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateAppProfileMetadata").msgclass
|
144
|
+
end
|
145
|
+
end
|
146
|
+
end
|
147
|
+
end
|
148
|
+
end
|
@@ -0,0 +1,91 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/bigtable/admin/v2/bigtable_instance_admin.proto for package 'Google.Cloud.Bigtable.Admin.V2'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2019 Google LLC.
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
#
|
19
|
+
|
20
|
+
require 'grpc'
|
21
|
+
require 'google/bigtable/admin/v2/bigtable_instance_admin_pb'
|
22
|
+
|
23
|
+
module Google
|
24
|
+
module Cloud
|
25
|
+
module Bigtable
|
26
|
+
module Admin
|
27
|
+
module V2
|
28
|
+
module BigtableInstanceAdmin
|
29
|
+
# Service for creating, configuring, and deleting Cloud Bigtable Instances and
|
30
|
+
# Clusters. Provides access to the Instance and Cluster schemas only, not the
|
31
|
+
# tables' metadata or data stored in those tables.
|
32
|
+
class Service
|
33
|
+
|
34
|
+
include GRPC::GenericService
|
35
|
+
|
36
|
+
self.marshal_class_method = :encode
|
37
|
+
self.unmarshal_class_method = :decode
|
38
|
+
self.service_name = 'google.bigtable.admin.v2.BigtableInstanceAdmin'
|
39
|
+
|
40
|
+
# Create an instance within a project.
|
41
|
+
rpc :CreateInstance, Google::Cloud::Bigtable::Admin::V2::CreateInstanceRequest, Google::Longrunning::Operation
|
42
|
+
# Gets information about an instance.
|
43
|
+
rpc :GetInstance, Google::Cloud::Bigtable::Admin::V2::GetInstanceRequest, Google::Cloud::Bigtable::Admin::V2::Instance
|
44
|
+
# Lists information about instances in a project.
|
45
|
+
rpc :ListInstances, Google::Cloud::Bigtable::Admin::V2::ListInstancesRequest, Google::Cloud::Bigtable::Admin::V2::ListInstancesResponse
|
46
|
+
# Updates an instance within a project. This method updates only the display
|
47
|
+
# name and type for an Instance. To update other Instance properties, such as
|
48
|
+
# labels, use PartialUpdateInstance.
|
49
|
+
rpc :UpdateInstance, Google::Cloud::Bigtable::Admin::V2::Instance, Google::Cloud::Bigtable::Admin::V2::Instance
|
50
|
+
# Partially updates an instance within a project. This method can modify all
|
51
|
+
# fields of an Instance and is the preferred way to update an Instance.
|
52
|
+
rpc :PartialUpdateInstance, Google::Cloud::Bigtable::Admin::V2::PartialUpdateInstanceRequest, Google::Longrunning::Operation
|
53
|
+
# Delete an instance from a project.
|
54
|
+
rpc :DeleteInstance, Google::Cloud::Bigtable::Admin::V2::DeleteInstanceRequest, Google::Protobuf::Empty
|
55
|
+
# Creates a cluster within an instance.
|
56
|
+
rpc :CreateCluster, Google::Cloud::Bigtable::Admin::V2::CreateClusterRequest, Google::Longrunning::Operation
|
57
|
+
# Gets information about a cluster.
|
58
|
+
rpc :GetCluster, Google::Cloud::Bigtable::Admin::V2::GetClusterRequest, Google::Cloud::Bigtable::Admin::V2::Cluster
|
59
|
+
# Lists information about clusters in an instance.
|
60
|
+
rpc :ListClusters, Google::Cloud::Bigtable::Admin::V2::ListClustersRequest, Google::Cloud::Bigtable::Admin::V2::ListClustersResponse
|
61
|
+
# Updates a cluster within an instance.
|
62
|
+
rpc :UpdateCluster, Google::Cloud::Bigtable::Admin::V2::Cluster, Google::Longrunning::Operation
|
63
|
+
# Deletes a cluster from an instance.
|
64
|
+
rpc :DeleteCluster, Google::Cloud::Bigtable::Admin::V2::DeleteClusterRequest, Google::Protobuf::Empty
|
65
|
+
# Creates an app profile within an instance.
|
66
|
+
rpc :CreateAppProfile, Google::Cloud::Bigtable::Admin::V2::CreateAppProfileRequest, Google::Cloud::Bigtable::Admin::V2::AppProfile
|
67
|
+
# Gets information about an app profile.
|
68
|
+
rpc :GetAppProfile, Google::Cloud::Bigtable::Admin::V2::GetAppProfileRequest, Google::Cloud::Bigtable::Admin::V2::AppProfile
|
69
|
+
# Lists information about app profiles in an instance.
|
70
|
+
rpc :ListAppProfiles, Google::Cloud::Bigtable::Admin::V2::ListAppProfilesRequest, Google::Cloud::Bigtable::Admin::V2::ListAppProfilesResponse
|
71
|
+
# Updates an app profile within an instance.
|
72
|
+
rpc :UpdateAppProfile, Google::Cloud::Bigtable::Admin::V2::UpdateAppProfileRequest, Google::Longrunning::Operation
|
73
|
+
# Deletes an app profile from an instance.
|
74
|
+
rpc :DeleteAppProfile, Google::Cloud::Bigtable::Admin::V2::DeleteAppProfileRequest, Google::Protobuf::Empty
|
75
|
+
# Gets the access control policy for an instance resource. Returns an empty
|
76
|
+
# policy if an instance exists but does not have a policy set.
|
77
|
+
rpc :GetIamPolicy, Google::Iam::V1::GetIamPolicyRequest, Google::Iam::V1::Policy
|
78
|
+
# Sets the access control policy on an instance resource. Replaces any
|
79
|
+
# existing policy.
|
80
|
+
rpc :SetIamPolicy, Google::Iam::V1::SetIamPolicyRequest, Google::Iam::V1::Policy
|
81
|
+
# Returns permissions that the caller has on the specified instance resource.
|
82
|
+
rpc :TestIamPermissions, Google::Iam::V1::TestIamPermissionsRequest, Google::Iam::V1::TestIamPermissionsResponse
|
83
|
+
end
|
84
|
+
|
85
|
+
Stub = Service.rpc_stub_class
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
@@ -0,0 +1,211 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/bigtable/admin/v2/bigtable_table_admin.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/client_pb'
|
8
|
+
require 'google/api/field_behavior_pb'
|
9
|
+
require 'google/api/resource_pb'
|
10
|
+
require 'google/bigtable/admin/v2/common_pb'
|
11
|
+
require 'google/bigtable/admin/v2/table_pb'
|
12
|
+
require 'google/iam/v1/iam_policy_pb'
|
13
|
+
require 'google/iam/v1/policy_pb'
|
14
|
+
require 'google/longrunning/operations_pb'
|
15
|
+
require 'google/protobuf/duration_pb'
|
16
|
+
require 'google/protobuf/empty_pb'
|
17
|
+
require 'google/protobuf/field_mask_pb'
|
18
|
+
require 'google/protobuf/timestamp_pb'
|
19
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
20
|
+
add_file("google/bigtable/admin/v2/bigtable_table_admin.proto", :syntax => :proto3) do
|
21
|
+
add_message "google.bigtable.admin.v2.CreateTableRequest" do
|
22
|
+
optional :parent, :string, 1
|
23
|
+
optional :table_id, :string, 2
|
24
|
+
optional :table, :message, 3, "google.bigtable.admin.v2.Table"
|
25
|
+
repeated :initial_splits, :message, 4, "google.bigtable.admin.v2.CreateTableRequest.Split"
|
26
|
+
end
|
27
|
+
add_message "google.bigtable.admin.v2.CreateTableRequest.Split" do
|
28
|
+
optional :key, :bytes, 1
|
29
|
+
end
|
30
|
+
add_message "google.bigtable.admin.v2.CreateTableFromSnapshotRequest" do
|
31
|
+
optional :parent, :string, 1
|
32
|
+
optional :table_id, :string, 2
|
33
|
+
optional :source_snapshot, :string, 3
|
34
|
+
end
|
35
|
+
add_message "google.bigtable.admin.v2.DropRowRangeRequest" do
|
36
|
+
optional :name, :string, 1
|
37
|
+
oneof :target do
|
38
|
+
optional :row_key_prefix, :bytes, 2
|
39
|
+
optional :delete_all_data_from_table, :bool, 3
|
40
|
+
end
|
41
|
+
end
|
42
|
+
add_message "google.bigtable.admin.v2.ListTablesRequest" do
|
43
|
+
optional :parent, :string, 1
|
44
|
+
optional :view, :enum, 2, "google.bigtable.admin.v2.Table.View"
|
45
|
+
optional :page_size, :int32, 4
|
46
|
+
optional :page_token, :string, 3
|
47
|
+
end
|
48
|
+
add_message "google.bigtable.admin.v2.ListTablesResponse" do
|
49
|
+
repeated :tables, :message, 1, "google.bigtable.admin.v2.Table"
|
50
|
+
optional :next_page_token, :string, 2
|
51
|
+
end
|
52
|
+
add_message "google.bigtable.admin.v2.GetTableRequest" do
|
53
|
+
optional :name, :string, 1
|
54
|
+
optional :view, :enum, 2, "google.bigtable.admin.v2.Table.View"
|
55
|
+
end
|
56
|
+
add_message "google.bigtable.admin.v2.DeleteTableRequest" do
|
57
|
+
optional :name, :string, 1
|
58
|
+
end
|
59
|
+
add_message "google.bigtable.admin.v2.ModifyColumnFamiliesRequest" do
|
60
|
+
optional :name, :string, 1
|
61
|
+
repeated :modifications, :message, 2, "google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification"
|
62
|
+
end
|
63
|
+
add_message "google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification" do
|
64
|
+
optional :id, :string, 1
|
65
|
+
oneof :mod do
|
66
|
+
optional :create, :message, 2, "google.bigtable.admin.v2.ColumnFamily"
|
67
|
+
optional :update, :message, 3, "google.bigtable.admin.v2.ColumnFamily"
|
68
|
+
optional :drop, :bool, 4
|
69
|
+
end
|
70
|
+
end
|
71
|
+
add_message "google.bigtable.admin.v2.GenerateConsistencyTokenRequest" do
|
72
|
+
optional :name, :string, 1
|
73
|
+
end
|
74
|
+
add_message "google.bigtable.admin.v2.GenerateConsistencyTokenResponse" do
|
75
|
+
optional :consistency_token, :string, 1
|
76
|
+
end
|
77
|
+
add_message "google.bigtable.admin.v2.CheckConsistencyRequest" do
|
78
|
+
optional :name, :string, 1
|
79
|
+
optional :consistency_token, :string, 2
|
80
|
+
end
|
81
|
+
add_message "google.bigtable.admin.v2.CheckConsistencyResponse" do
|
82
|
+
optional :consistent, :bool, 1
|
83
|
+
end
|
84
|
+
add_message "google.bigtable.admin.v2.SnapshotTableRequest" do
|
85
|
+
optional :name, :string, 1
|
86
|
+
optional :cluster, :string, 2
|
87
|
+
optional :snapshot_id, :string, 3
|
88
|
+
optional :ttl, :message, 4, "google.protobuf.Duration"
|
89
|
+
optional :description, :string, 5
|
90
|
+
end
|
91
|
+
add_message "google.bigtable.admin.v2.GetSnapshotRequest" do
|
92
|
+
optional :name, :string, 1
|
93
|
+
end
|
94
|
+
add_message "google.bigtable.admin.v2.ListSnapshotsRequest" do
|
95
|
+
optional :parent, :string, 1
|
96
|
+
optional :page_size, :int32, 2
|
97
|
+
optional :page_token, :string, 3
|
98
|
+
end
|
99
|
+
add_message "google.bigtable.admin.v2.ListSnapshotsResponse" do
|
100
|
+
repeated :snapshots, :message, 1, "google.bigtable.admin.v2.Snapshot"
|
101
|
+
optional :next_page_token, :string, 2
|
102
|
+
end
|
103
|
+
add_message "google.bigtable.admin.v2.DeleteSnapshotRequest" do
|
104
|
+
optional :name, :string, 1
|
105
|
+
end
|
106
|
+
add_message "google.bigtable.admin.v2.SnapshotTableMetadata" do
|
107
|
+
optional :original_request, :message, 1, "google.bigtable.admin.v2.SnapshotTableRequest"
|
108
|
+
optional :request_time, :message, 2, "google.protobuf.Timestamp"
|
109
|
+
optional :finish_time, :message, 3, "google.protobuf.Timestamp"
|
110
|
+
end
|
111
|
+
add_message "google.bigtable.admin.v2.CreateTableFromSnapshotMetadata" do
|
112
|
+
optional :original_request, :message, 1, "google.bigtable.admin.v2.CreateTableFromSnapshotRequest"
|
113
|
+
optional :request_time, :message, 2, "google.protobuf.Timestamp"
|
114
|
+
optional :finish_time, :message, 3, "google.protobuf.Timestamp"
|
115
|
+
end
|
116
|
+
add_message "google.bigtable.admin.v2.CreateBackupRequest" do
|
117
|
+
optional :parent, :string, 1
|
118
|
+
optional :backup_id, :string, 2
|
119
|
+
optional :backup, :message, 3, "google.bigtable.admin.v2.Backup"
|
120
|
+
end
|
121
|
+
add_message "google.bigtable.admin.v2.CreateBackupMetadata" do
|
122
|
+
optional :name, :string, 1
|
123
|
+
optional :source_table, :string, 2
|
124
|
+
optional :start_time, :message, 3, "google.protobuf.Timestamp"
|
125
|
+
optional :end_time, :message, 4, "google.protobuf.Timestamp"
|
126
|
+
end
|
127
|
+
add_message "google.bigtable.admin.v2.GetBackupRequest" do
|
128
|
+
optional :name, :string, 1
|
129
|
+
end
|
130
|
+
add_message "google.bigtable.admin.v2.UpdateBackupRequest" do
|
131
|
+
optional :backup, :message, 1, "google.bigtable.admin.v2.Backup"
|
132
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
133
|
+
end
|
134
|
+
add_message "google.bigtable.admin.v2.DeleteBackupRequest" do
|
135
|
+
optional :name, :string, 1
|
136
|
+
end
|
137
|
+
add_message "google.bigtable.admin.v2.ListBackupsRequest" do
|
138
|
+
optional :parent, :string, 1
|
139
|
+
optional :filter, :string, 2
|
140
|
+
optional :order_by, :string, 3
|
141
|
+
optional :page_size, :int32, 4
|
142
|
+
optional :page_token, :string, 5
|
143
|
+
end
|
144
|
+
add_message "google.bigtable.admin.v2.ListBackupsResponse" do
|
145
|
+
repeated :backups, :message, 1, "google.bigtable.admin.v2.Backup"
|
146
|
+
optional :next_page_token, :string, 2
|
147
|
+
end
|
148
|
+
add_message "google.bigtable.admin.v2.RestoreTableRequest" do
|
149
|
+
optional :parent, :string, 1
|
150
|
+
optional :table_id, :string, 2
|
151
|
+
oneof :source do
|
152
|
+
optional :backup, :string, 3
|
153
|
+
end
|
154
|
+
end
|
155
|
+
add_message "google.bigtable.admin.v2.RestoreTableMetadata" do
|
156
|
+
optional :name, :string, 1
|
157
|
+
optional :source_type, :enum, 2, "google.bigtable.admin.v2.RestoreSourceType"
|
158
|
+
optional :optimize_table_operation_name, :string, 4
|
159
|
+
optional :progress, :message, 5, "google.bigtable.admin.v2.OperationProgress"
|
160
|
+
oneof :source_info do
|
161
|
+
optional :backup_info, :message, 3, "google.bigtable.admin.v2.BackupInfo"
|
162
|
+
end
|
163
|
+
end
|
164
|
+
add_message "google.bigtable.admin.v2.OptimizeRestoredTableMetadata" do
|
165
|
+
optional :name, :string, 1
|
166
|
+
optional :progress, :message, 2, "google.bigtable.admin.v2.OperationProgress"
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
module Google
|
172
|
+
module Cloud
|
173
|
+
module Bigtable
|
174
|
+
module Admin
|
175
|
+
module V2
|
176
|
+
CreateTableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableRequest").msgclass
|
177
|
+
CreateTableRequest::Split = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableRequest.Split").msgclass
|
178
|
+
CreateTableFromSnapshotRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableFromSnapshotRequest").msgclass
|
179
|
+
DropRowRangeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DropRowRangeRequest").msgclass
|
180
|
+
ListTablesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListTablesRequest").msgclass
|
181
|
+
ListTablesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListTablesResponse").msgclass
|
182
|
+
GetTableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetTableRequest").msgclass
|
183
|
+
DeleteTableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteTableRequest").msgclass
|
184
|
+
ModifyColumnFamiliesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ModifyColumnFamiliesRequest").msgclass
|
185
|
+
ModifyColumnFamiliesRequest::Modification = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification").msgclass
|
186
|
+
GenerateConsistencyTokenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GenerateConsistencyTokenRequest").msgclass
|
187
|
+
GenerateConsistencyTokenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GenerateConsistencyTokenResponse").msgclass
|
188
|
+
CheckConsistencyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CheckConsistencyRequest").msgclass
|
189
|
+
CheckConsistencyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CheckConsistencyResponse").msgclass
|
190
|
+
SnapshotTableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.SnapshotTableRequest").msgclass
|
191
|
+
GetSnapshotRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetSnapshotRequest").msgclass
|
192
|
+
ListSnapshotsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListSnapshotsRequest").msgclass
|
193
|
+
ListSnapshotsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListSnapshotsResponse").msgclass
|
194
|
+
DeleteSnapshotRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteSnapshotRequest").msgclass
|
195
|
+
SnapshotTableMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.SnapshotTableMetadata").msgclass
|
196
|
+
CreateTableFromSnapshotMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableFromSnapshotMetadata").msgclass
|
197
|
+
CreateBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateBackupRequest").msgclass
|
198
|
+
CreateBackupMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateBackupMetadata").msgclass
|
199
|
+
GetBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetBackupRequest").msgclass
|
200
|
+
UpdateBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateBackupRequest").msgclass
|
201
|
+
DeleteBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteBackupRequest").msgclass
|
202
|
+
ListBackupsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListBackupsRequest").msgclass
|
203
|
+
ListBackupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListBackupsResponse").msgclass
|
204
|
+
RestoreTableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreTableRequest").msgclass
|
205
|
+
RestoreTableMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreTableMetadata").msgclass
|
206
|
+
OptimizeRestoredTableMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.OptimizeRestoredTableMetadata").msgclass
|
207
|
+
end
|
208
|
+
end
|
209
|
+
end
|
210
|
+
end
|
211
|
+
end
|