google-cloud-bigtable 1.2.1 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/CHANGELOG.md +57 -0
- data/TROUBLESHOOTING.md +2 -8
- data/lib/google-cloud-bigtable.rb +30 -27
- data/lib/google/cloud/bigtable.rb +18 -26
- data/lib/google/cloud/bigtable/app_profile.rb +3 -3
- data/lib/google/cloud/bigtable/app_profile/list.rb +6 -4
- data/lib/google/cloud/bigtable/backup.rb +445 -0
- data/lib/google/cloud/bigtable/backup/job.rb +87 -0
- data/lib/google/cloud/bigtable/backup/list.rb +167 -0
- data/lib/google/cloud/bigtable/chunk_processor.rb +1 -1
- data/lib/google/cloud/bigtable/cluster.rb +101 -2
- data/lib/google/cloud/bigtable/cluster/list.rb +2 -2
- data/lib/google/cloud/bigtable/column_family.rb +2 -2
- data/lib/google/cloud/bigtable/column_family_map.rb +11 -11
- data/lib/google/cloud/bigtable/column_range.rb +2 -2
- data/lib/google/cloud/bigtable/credentials.rb +36 -2
- data/lib/google/cloud/bigtable/gc_rule.rb +7 -7
- data/lib/google/cloud/bigtable/instance.rb +6 -6
- data/lib/google/cloud/bigtable/instance/cluster_map.rb +1 -1
- data/lib/google/cloud/bigtable/instance/list.rb +2 -2
- data/lib/google/cloud/bigtable/longrunning_job.rb +13 -2
- data/lib/google/cloud/bigtable/mutation_entry.rb +10 -9
- data/lib/google/cloud/bigtable/mutation_operations.rb +2 -2
- data/lib/google/cloud/bigtable/project.rb +1 -1
- data/lib/google/cloud/bigtable/read_modify_write_rule.rb +2 -2
- data/lib/google/cloud/bigtable/read_operations.rb +2 -2
- data/lib/google/cloud/bigtable/routing_policy.rb +2 -2
- data/lib/google/cloud/bigtable/row_filter/chain_filter.rb +3 -3
- data/lib/google/cloud/bigtable/row_filter/condition_filter.rb +3 -3
- data/lib/google/cloud/bigtable/row_filter/interleave_filter.rb +3 -3
- data/lib/google/cloud/bigtable/row_filter/simple_filter.rb +3 -3
- data/lib/google/cloud/bigtable/row_range.rb +2 -2
- data/lib/google/cloud/bigtable/rows_mutator.rb +3 -3
- data/lib/google/cloud/bigtable/rows_reader.rb +10 -10
- data/lib/google/cloud/bigtable/sample_row_key.rb +2 -2
- data/lib/google/cloud/bigtable/service.rb +282 -245
- data/lib/google/cloud/bigtable/table.rb +5 -4
- data/lib/google/cloud/bigtable/table/cluster_state.rb +27 -6
- data/lib/google/cloud/bigtable/table/list.rb +2 -2
- data/lib/google/cloud/bigtable/table/restore_job.rb +117 -0
- data/lib/google/cloud/bigtable/value_range.rb +2 -2
- data/lib/google/cloud/bigtable/version.rb +1 -1
- metadata +16 -94
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_pb.rb +0 -145
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +0 -90
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_pb.rb +0 -208
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +0 -154
- data/lib/google/bigtable/admin/v2/common_pb.rb +0 -30
- data/lib/google/bigtable/admin/v2/instance_pb.rb +0 -74
- data/lib/google/bigtable/admin/v2/table_pb.rb +0 -127
- data/lib/google/bigtable/v2/bigtable_pb.rb +0 -113
- data/lib/google/bigtable/v2/bigtable_services_pb.rb +0 -68
- data/lib/google/bigtable/v2/data_pb.rb +0 -156
- data/lib/google/cloud/bigtable/admin.rb +0 -202
- data/lib/google/cloud/bigtable/admin/credentials.rb +0 -27
- data/lib/google/cloud/bigtable/admin/v2.rb +0 -223
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client.rb +0 -1451
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client_config.json +0 -139
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client.rb +0 -1734
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client_config.json +0 -163
- data/lib/google/cloud/bigtable/admin/v2/credentials.rb +0 -51
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_instance_admin.rb +0 -297
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_table_admin.rb +0 -587
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/instance.rb +0 -193
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb +0 -303
- data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/iam_policy.rb +0 -64
- data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/options.rb +0 -33
- data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/policy.rb +0 -151
- data/lib/google/cloud/bigtable/admin/v2/doc/google/longrunning/operations.rb +0 -51
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/any.rb +0 -131
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/duration.rb +0 -91
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/empty.rb +0 -29
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/field_mask.rb +0 -222
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/cloud/bigtable/admin/v2/doc/google/rpc/status.rb +0 -39
- data/lib/google/cloud/bigtable/admin/v2/doc/google/type/expr.rb +0 -45
- data/lib/google/cloud/bigtable/v2.rb +0 -146
- data/lib/google/cloud/bigtable/v2/bigtable_client.rb +0 -591
- data/lib/google/cloud/bigtable/v2/bigtable_client_config.json +0 -83
- data/lib/google/cloud/bigtable/v2/credentials.rb +0 -46
- data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/bigtable.rb +0 -290
- data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/data.rb +0 -493
- data/lib/google/cloud/bigtable/v2/doc/google/protobuf/any.rb +0 -131
- data/lib/google/cloud/bigtable/v2/doc/google/protobuf/wrappers.rb +0 -34
- data/lib/google/cloud/bigtable/v2/doc/google/rpc/status.rb +0 -39
@@ -1,145 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/bigtable/admin/v2/bigtable_instance_admin.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/api/annotations_pb'
|
8
|
-
require 'google/api/client_pb'
|
9
|
-
require 'google/api/field_behavior_pb'
|
10
|
-
require 'google/api/resource_pb'
|
11
|
-
require 'google/bigtable/admin/v2/instance_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/empty_pb'
|
16
|
-
require 'google/protobuf/field_mask_pb'
|
17
|
-
require 'google/protobuf/timestamp_pb'
|
18
|
-
Google::Protobuf::DescriptorPool.generated_pool.build 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
|
-
|
116
|
-
module Google
|
117
|
-
module Bigtable
|
118
|
-
module Admin
|
119
|
-
module V2
|
120
|
-
CreateInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateInstanceRequest").msgclass
|
121
|
-
GetInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetInstanceRequest").msgclass
|
122
|
-
ListInstancesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListInstancesRequest").msgclass
|
123
|
-
ListInstancesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListInstancesResponse").msgclass
|
124
|
-
PartialUpdateInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.PartialUpdateInstanceRequest").msgclass
|
125
|
-
DeleteInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteInstanceRequest").msgclass
|
126
|
-
CreateClusterRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateClusterRequest").msgclass
|
127
|
-
GetClusterRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetClusterRequest").msgclass
|
128
|
-
ListClustersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListClustersRequest").msgclass
|
129
|
-
ListClustersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListClustersResponse").msgclass
|
130
|
-
DeleteClusterRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteClusterRequest").msgclass
|
131
|
-
CreateInstanceMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateInstanceMetadata").msgclass
|
132
|
-
UpdateInstanceMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateInstanceMetadata").msgclass
|
133
|
-
CreateClusterMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateClusterMetadata").msgclass
|
134
|
-
UpdateClusterMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateClusterMetadata").msgclass
|
135
|
-
CreateAppProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateAppProfileRequest").msgclass
|
136
|
-
GetAppProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetAppProfileRequest").msgclass
|
137
|
-
ListAppProfilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListAppProfilesRequest").msgclass
|
138
|
-
ListAppProfilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListAppProfilesResponse").msgclass
|
139
|
-
UpdateAppProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateAppProfileRequest").msgclass
|
140
|
-
DeleteAppProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteAppProfileRequest").msgclass
|
141
|
-
UpdateAppProfileMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateAppProfileMetadata").msgclass
|
142
|
-
end
|
143
|
-
end
|
144
|
-
end
|
145
|
-
end
|
@@ -1,90 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/bigtable/admin/v2/bigtable_instance_admin.proto for package 'google.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
|
-
|
21
|
-
require 'grpc'
|
22
|
-
require 'google/bigtable/admin/v2/bigtable_instance_admin_pb'
|
23
|
-
|
24
|
-
module Google
|
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, CreateInstanceRequest, Google::Longrunning::Operation
|
42
|
-
# Gets information about an instance.
|
43
|
-
rpc :GetInstance, GetInstanceRequest, Instance
|
44
|
-
# Lists information about instances in a project.
|
45
|
-
rpc :ListInstances, ListInstancesRequest, 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, Instance, 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, PartialUpdateInstanceRequest, Google::Longrunning::Operation
|
53
|
-
# Delete an instance from a project.
|
54
|
-
rpc :DeleteInstance, DeleteInstanceRequest, Google::Protobuf::Empty
|
55
|
-
# Creates a cluster within an instance.
|
56
|
-
rpc :CreateCluster, CreateClusterRequest, Google::Longrunning::Operation
|
57
|
-
# Gets information about a cluster.
|
58
|
-
rpc :GetCluster, GetClusterRequest, Cluster
|
59
|
-
# Lists information about clusters in an instance.
|
60
|
-
rpc :ListClusters, ListClustersRequest, ListClustersResponse
|
61
|
-
# Updates a cluster within an instance.
|
62
|
-
rpc :UpdateCluster, Cluster, Google::Longrunning::Operation
|
63
|
-
# Deletes a cluster from an instance.
|
64
|
-
rpc :DeleteCluster, DeleteClusterRequest, Google::Protobuf::Empty
|
65
|
-
# Creates an app profile within an instance.
|
66
|
-
rpc :CreateAppProfile, CreateAppProfileRequest, AppProfile
|
67
|
-
# Gets information about an app profile.
|
68
|
-
rpc :GetAppProfile, GetAppProfileRequest, AppProfile
|
69
|
-
# Lists information about app profiles in an instance.
|
70
|
-
rpc :ListAppProfiles, ListAppProfilesRequest, ListAppProfilesResponse
|
71
|
-
# Updates an app profile within an instance.
|
72
|
-
rpc :UpdateAppProfile, UpdateAppProfileRequest, Google::Longrunning::Operation
|
73
|
-
# Deletes an app profile from an instance.
|
74
|
-
rpc :DeleteAppProfile, 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
|
@@ -1,208 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# source: google/bigtable/admin/v2/bigtable_table_admin.proto
|
3
|
-
|
4
|
-
|
5
|
-
require 'google/protobuf'
|
6
|
-
|
7
|
-
require 'google/api/annotations_pb'
|
8
|
-
require 'google/api/client_pb'
|
9
|
-
require 'google/api/field_behavior_pb'
|
10
|
-
require 'google/api/resource_pb'
|
11
|
-
require 'google/bigtable/admin/v2/common_pb'
|
12
|
-
require 'google/bigtable/admin/v2/table_pb'
|
13
|
-
require 'google/iam/v1/iam_policy_pb'
|
14
|
-
require 'google/iam/v1/policy_pb'
|
15
|
-
require 'google/longrunning/operations_pb'
|
16
|
-
require 'google/protobuf/duration_pb'
|
17
|
-
require 'google/protobuf/empty_pb'
|
18
|
-
require 'google/protobuf/field_mask_pb'
|
19
|
-
require 'google/protobuf/timestamp_pb'
|
20
|
-
Google::Protobuf::DescriptorPool.generated_pool.build 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
|
-
|
170
|
-
module Google
|
171
|
-
module Bigtable
|
172
|
-
module Admin
|
173
|
-
module V2
|
174
|
-
CreateTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableRequest").msgclass
|
175
|
-
CreateTableRequest::Split = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableRequest.Split").msgclass
|
176
|
-
CreateTableFromSnapshotRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableFromSnapshotRequest").msgclass
|
177
|
-
DropRowRangeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DropRowRangeRequest").msgclass
|
178
|
-
ListTablesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListTablesRequest").msgclass
|
179
|
-
ListTablesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListTablesResponse").msgclass
|
180
|
-
GetTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetTableRequest").msgclass
|
181
|
-
DeleteTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteTableRequest").msgclass
|
182
|
-
ModifyColumnFamiliesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ModifyColumnFamiliesRequest").msgclass
|
183
|
-
ModifyColumnFamiliesRequest::Modification = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification").msgclass
|
184
|
-
GenerateConsistencyTokenRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GenerateConsistencyTokenRequest").msgclass
|
185
|
-
GenerateConsistencyTokenResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GenerateConsistencyTokenResponse").msgclass
|
186
|
-
CheckConsistencyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CheckConsistencyRequest").msgclass
|
187
|
-
CheckConsistencyResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CheckConsistencyResponse").msgclass
|
188
|
-
SnapshotTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.SnapshotTableRequest").msgclass
|
189
|
-
GetSnapshotRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetSnapshotRequest").msgclass
|
190
|
-
ListSnapshotsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListSnapshotsRequest").msgclass
|
191
|
-
ListSnapshotsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListSnapshotsResponse").msgclass
|
192
|
-
DeleteSnapshotRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteSnapshotRequest").msgclass
|
193
|
-
SnapshotTableMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.SnapshotTableMetadata").msgclass
|
194
|
-
CreateTableFromSnapshotMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableFromSnapshotMetadata").msgclass
|
195
|
-
CreateBackupRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateBackupRequest").msgclass
|
196
|
-
CreateBackupMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateBackupMetadata").msgclass
|
197
|
-
GetBackupRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetBackupRequest").msgclass
|
198
|
-
UpdateBackupRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateBackupRequest").msgclass
|
199
|
-
DeleteBackupRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteBackupRequest").msgclass
|
200
|
-
ListBackupsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListBackupsRequest").msgclass
|
201
|
-
ListBackupsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListBackupsResponse").msgclass
|
202
|
-
RestoreTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreTableRequest").msgclass
|
203
|
-
RestoreTableMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreTableMetadata").msgclass
|
204
|
-
OptimizeRestoredTableMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.OptimizeRestoredTableMetadata").msgclass
|
205
|
-
end
|
206
|
-
end
|
207
|
-
end
|
208
|
-
end
|
@@ -1,154 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/bigtable/admin/v2/bigtable_table_admin.proto for package 'google.bigtable.admin.v2'
|
3
|
-
# Original file comments:
|
4
|
-
# Copyright 2020 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_table_admin_pb'
|
22
|
-
|
23
|
-
module Google
|
24
|
-
module Bigtable
|
25
|
-
module Admin
|
26
|
-
module V2
|
27
|
-
module BigtableTableAdmin
|
28
|
-
# Service for creating, configuring, and deleting Cloud Bigtable tables.
|
29
|
-
#
|
30
|
-
#
|
31
|
-
# Provides access to the table schemas only, not the data stored within
|
32
|
-
# the tables.
|
33
|
-
class Service
|
34
|
-
|
35
|
-
include GRPC::GenericService
|
36
|
-
|
37
|
-
self.marshal_class_method = :encode
|
38
|
-
self.unmarshal_class_method = :decode
|
39
|
-
self.service_name = 'google.bigtable.admin.v2.BigtableTableAdmin'
|
40
|
-
|
41
|
-
# Creates a new table in the specified instance.
|
42
|
-
# The table can be created with a full set of initial column families,
|
43
|
-
# specified in the request.
|
44
|
-
rpc :CreateTable, CreateTableRequest, Table
|
45
|
-
# Creates a new table from the specified snapshot. The target table must
|
46
|
-
# not exist. The snapshot and the table must be in the same instance.
|
47
|
-
#
|
48
|
-
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
49
|
-
# feature is not currently available to most Cloud Bigtable customers. This
|
50
|
-
# feature might be changed in backward-incompatible ways and is not
|
51
|
-
# recommended for production use. It is not subject to any SLA or deprecation
|
52
|
-
# policy.
|
53
|
-
rpc :CreateTableFromSnapshot, CreateTableFromSnapshotRequest, Google::Longrunning::Operation
|
54
|
-
# Lists all tables served from a specified instance.
|
55
|
-
rpc :ListTables, ListTablesRequest, ListTablesResponse
|
56
|
-
# Gets metadata information about the specified table.
|
57
|
-
rpc :GetTable, GetTableRequest, Table
|
58
|
-
# Permanently deletes a specified table and all of its data.
|
59
|
-
rpc :DeleteTable, DeleteTableRequest, Google::Protobuf::Empty
|
60
|
-
# Performs a series of column family modifications on the specified table.
|
61
|
-
# Either all or none of the modifications will occur before this method
|
62
|
-
# returns, but data requests received prior to that point may see a table
|
63
|
-
# where only some modifications have taken effect.
|
64
|
-
rpc :ModifyColumnFamilies, ModifyColumnFamiliesRequest, Table
|
65
|
-
# Permanently drop/delete a row range from a specified table. The request can
|
66
|
-
# specify whether to delete all rows in a table, or only those that match a
|
67
|
-
# particular prefix.
|
68
|
-
rpc :DropRowRange, DropRowRangeRequest, Google::Protobuf::Empty
|
69
|
-
# Generates a consistency token for a Table, which can be used in
|
70
|
-
# CheckConsistency to check whether mutations to the table that finished
|
71
|
-
# before this call started have been replicated. The tokens will be available
|
72
|
-
# for 90 days.
|
73
|
-
rpc :GenerateConsistencyToken, GenerateConsistencyTokenRequest, GenerateConsistencyTokenResponse
|
74
|
-
# Checks replication consistency based on a consistency token, that is, if
|
75
|
-
# replication has caught up based on the conditions specified in the token
|
76
|
-
# and the check request.
|
77
|
-
rpc :CheckConsistency, CheckConsistencyRequest, CheckConsistencyResponse
|
78
|
-
# Creates a new snapshot in the specified cluster from the specified
|
79
|
-
# source table. The cluster and the table must be in the same instance.
|
80
|
-
#
|
81
|
-
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
82
|
-
# feature is not currently available to most Cloud Bigtable customers. This
|
83
|
-
# feature might be changed in backward-incompatible ways and is not
|
84
|
-
# recommended for production use. It is not subject to any SLA or deprecation
|
85
|
-
# policy.
|
86
|
-
rpc :SnapshotTable, SnapshotTableRequest, Google::Longrunning::Operation
|
87
|
-
# Gets metadata information about the specified snapshot.
|
88
|
-
#
|
89
|
-
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
90
|
-
# feature is not currently available to most Cloud Bigtable customers. This
|
91
|
-
# feature might be changed in backward-incompatible ways and is not
|
92
|
-
# recommended for production use. It is not subject to any SLA or deprecation
|
93
|
-
# policy.
|
94
|
-
rpc :GetSnapshot, GetSnapshotRequest, Snapshot
|
95
|
-
# Lists all snapshots associated with the specified cluster.
|
96
|
-
#
|
97
|
-
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
98
|
-
# feature is not currently available to most Cloud Bigtable customers. This
|
99
|
-
# feature might be changed in backward-incompatible ways and is not
|
100
|
-
# recommended for production use. It is not subject to any SLA or deprecation
|
101
|
-
# policy.
|
102
|
-
rpc :ListSnapshots, ListSnapshotsRequest, ListSnapshotsResponse
|
103
|
-
# Permanently deletes the specified snapshot.
|
104
|
-
#
|
105
|
-
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
106
|
-
# feature is not currently available to most Cloud Bigtable customers. This
|
107
|
-
# feature might be changed in backward-incompatible ways and is not
|
108
|
-
# recommended for production use. It is not subject to any SLA or deprecation
|
109
|
-
# policy.
|
110
|
-
rpc :DeleteSnapshot, DeleteSnapshotRequest, Google::Protobuf::Empty
|
111
|
-
# Starts creating a new Cloud Bigtable Backup. The returned backup
|
112
|
-
# [long-running operation][google.longrunning.Operation] can be used to
|
113
|
-
# track creation of the backup. The
|
114
|
-
# [metadata][google.longrunning.Operation.metadata] field type is
|
115
|
-
# [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The
|
116
|
-
# [response][google.longrunning.Operation.response] field type is
|
117
|
-
# [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the
|
118
|
-
# returned operation will stop the creation and delete the backup.
|
119
|
-
rpc :CreateBackup, CreateBackupRequest, Google::Longrunning::Operation
|
120
|
-
# Gets metadata on a pending or completed Cloud Bigtable Backup.
|
121
|
-
rpc :GetBackup, GetBackupRequest, Backup
|
122
|
-
# Updates a pending or completed Cloud Bigtable Backup.
|
123
|
-
rpc :UpdateBackup, UpdateBackupRequest, Backup
|
124
|
-
# Deletes a pending or completed Cloud Bigtable backup.
|
125
|
-
rpc :DeleteBackup, DeleteBackupRequest, Google::Protobuf::Empty
|
126
|
-
# Lists Cloud Bigtable backups. Returns both completed and pending
|
127
|
-
# backups.
|
128
|
-
rpc :ListBackups, ListBackupsRequest, ListBackupsResponse
|
129
|
-
# Create a new table by restoring from a completed backup. The new table
|
130
|
-
# must be in the same instance as the instance containing the backup. The
|
131
|
-
# returned table [long-running operation][google.longrunning.Operation] can
|
132
|
-
# be used to track the progress of the operation, and to cancel it. The
|
133
|
-
# [metadata][google.longrunning.Operation.metadata] field type is
|
134
|
-
# [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The
|
135
|
-
# [response][google.longrunning.Operation.response] type is
|
136
|
-
# [Table][google.bigtable.admin.v2.Table], if successful.
|
137
|
-
rpc :RestoreTable, RestoreTableRequest, Google::Longrunning::Operation
|
138
|
-
# Gets the access control policy for a resource.
|
139
|
-
# Returns an empty policy if the resource exists but does not have a policy
|
140
|
-
# set.
|
141
|
-
rpc :GetIamPolicy, Google::Iam::V1::GetIamPolicyRequest, Google::Iam::V1::Policy
|
142
|
-
# Sets the access control policy on a Table or Backup resource.
|
143
|
-
# Replaces any existing policy.
|
144
|
-
rpc :SetIamPolicy, Google::Iam::V1::SetIamPolicyRequest, Google::Iam::V1::Policy
|
145
|
-
# Returns permissions that the caller has on the specified table resource.
|
146
|
-
rpc :TestIamPermissions, Google::Iam::V1::TestIamPermissionsRequest, Google::Iam::V1::TestIamPermissionsResponse
|
147
|
-
end
|
148
|
-
|
149
|
-
Stub = Service.rpc_stub_class
|
150
|
-
end
|
151
|
-
end
|
152
|
-
end
|
153
|
-
end
|
154
|
-
end
|