google-cloud-bigtable 1.0.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/TROUBLESHOOTING.md +2 -8
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_pb.rb +27 -24
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +60 -57
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_pb.rb +90 -23
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +125 -98
- data/lib/google/bigtable/admin/v2/common_pb.rb +9 -4
- data/lib/google/bigtable/admin/v2/instance_pb.rb +12 -11
- data/lib/google/bigtable/admin/v2/table_pb.rb +52 -14
- data/lib/google/bigtable/v2/bigtable_pb.rb +17 -17
- data/lib/google/bigtable/v2/bigtable_services_pb.rb +39 -39
- data/lib/google/bigtable/v2/data_pb.rb +21 -21
- data/lib/google/cloud/bigtable/admin.rb +3 -3
- data/lib/google/cloud/bigtable/admin/v2.rb +4 -3
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client.rb +60 -50
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client_config.json +1 -1
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client.rb +547 -58
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client_config.json +31 -1
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_instance_admin.rb +46 -39
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_table_admin.rb +281 -53
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/instance.rb +15 -17
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb +119 -26
- data/lib/google/cloud/bigtable/app_profile/list.rb +2 -2
- data/lib/google/cloud/bigtable/backup.rb +324 -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/cluster.rb +99 -0
- data/lib/google/cloud/bigtable/cluster/list.rb +1 -1
- data/lib/google/cloud/bigtable/column_family_map.rb +1 -1
- data/lib/google/cloud/bigtable/instance.rb +4 -7
- data/lib/google/cloud/bigtable/instance/list.rb +1 -1
- data/lib/google/cloud/bigtable/longrunning_job.rb +11 -0
- data/lib/google/cloud/bigtable/policy.rb +1 -1
- data/lib/google/cloud/bigtable/service.rb +131 -0
- data/lib/google/cloud/bigtable/table.rb +112 -0
- data/lib/google/cloud/bigtable/table/cluster_state.rb +25 -4
- data/lib/google/cloud/bigtable/table/list.rb +1 -1
- data/lib/google/cloud/bigtable/table/restore_job.rb +117 -0
- data/lib/google/cloud/bigtable/v2.rb +1 -1
- data/lib/google/cloud/bigtable/v2/bigtable_client.rb +3 -0
- data/lib/google/cloud/bigtable/v2/bigtable_client_config.json +7 -7
- data/lib/google/cloud/bigtable/version.rb +1 -1
- metadata +9 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 109fb6841cdecd45ebfadc3c2bafd019010847bbe9592ad9f2d9d44e56000d06
|
4
|
+
data.tar.gz: 41b10cd762bc1c11ef42754af3fb6dc3e9bc5d97bd75e84c74752228596bb245
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63fda26d33b5b2185086377ecf4ca64d99d20e19013b97b7a34a11164baefbc2e09e444e4304a22a4ac5da49013bb09803e0d81b55bcd3ac8f94f712e320043d
|
7
|
+
data.tar.gz: ec6d0a4356a0fb357264bd72654cfb21581c9787e5594e016e81d286345ef25ad6b8b8eb450dd26de061e5ca0ee32bf337fb43beb0847197d039b4007f74b5f0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,39 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 1.3.0 / 2020-07-21
|
4
|
+
|
5
|
+
#### Features
|
6
|
+
|
7
|
+
* Add Managed Backups
|
8
|
+
* Add Cluster#create_backup, Cluster#backup and Cluster#backups
|
9
|
+
* Add Backup, Backup::Job and Backup::List
|
10
|
+
* Add Table::RestoreJob
|
11
|
+
* Add ClusterState#ready_optimizing?
|
12
|
+
|
13
|
+
### 1.2.2 / 2020-05-28
|
14
|
+
|
15
|
+
#### Documentation
|
16
|
+
|
17
|
+
* Fix a few broken links
|
18
|
+
|
19
|
+
### 1.2.1 / 2020-05-21
|
20
|
+
|
21
|
+
#### Bug Fixes
|
22
|
+
|
23
|
+
* Disable streaming RPC retries in lower-level client
|
24
|
+
|
25
|
+
### 1.2.0 / 2020-03-11
|
26
|
+
|
27
|
+
#### Features
|
28
|
+
|
29
|
+
* Support separate project setting for quota/billing
|
30
|
+
|
31
|
+
### 1.1.0 / 2020-02-10
|
32
|
+
|
33
|
+
#### Features
|
34
|
+
|
35
|
+
* Add Table-level IAM Policy support
|
36
|
+
|
3
37
|
### 1.0.2 / 2020-01-23
|
4
38
|
|
5
39
|
#### Documentation
|
data/TROUBLESHOOTING.md
CHANGED
@@ -24,14 +24,8 @@ improved, *please* create a new issue on GitHub so we can talk about it.
|
|
24
24
|
|
25
25
|
- [New issue][gh-ruby]
|
26
26
|
|
27
|
-
Or, you can ask questions on the [Google Cloud Platform Slack][slack-ruby]. You
|
28
|
-
can use the "ruby" channel for general Ruby questions, or use the
|
29
|
-
"google-cloud-ruby" channel if you have questions about this gem in particular.
|
30
|
-
|
31
27
|
[so-ruby]: http://stackoverflow.com/questions/tagged/google-cloud-platform+ruby+bigtable
|
32
28
|
|
33
|
-
[gh-search-ruby]: https://github.com/
|
34
|
-
|
35
|
-
[gh-ruby]: https://github.com/googlecloudplatform/google-cloud-ruby/issues/new
|
29
|
+
[gh-search-ruby]: https://github.com/googleapis/google-cloud-ruby/issues?q=label%3A%22api%3A+bigtable%22
|
36
30
|
|
37
|
-
[
|
31
|
+
[gh-ruby]: https://github.com/googleapis/google-cloud-ruby/issues/new
|
@@ -5,6 +5,9 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
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'
|
8
11
|
require 'google/bigtable/admin/v2/instance_pb'
|
9
12
|
require 'google/iam/v1/iam_policy_pb'
|
10
13
|
require 'google/iam/v1/policy_pb'
|
@@ -113,30 +116,30 @@ end
|
|
113
116
|
module Google
|
114
117
|
module Bigtable
|
115
118
|
module Admin
|
116
|
-
module V2
|
117
|
-
CreateInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateInstanceRequest").msgclass
|
118
|
-
GetInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetInstanceRequest").msgclass
|
119
|
-
ListInstancesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListInstancesRequest").msgclass
|
120
|
-
ListInstancesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListInstancesResponse").msgclass
|
121
|
-
PartialUpdateInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.PartialUpdateInstanceRequest").msgclass
|
122
|
-
DeleteInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteInstanceRequest").msgclass
|
123
|
-
CreateClusterRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateClusterRequest").msgclass
|
124
|
-
GetClusterRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetClusterRequest").msgclass
|
125
|
-
ListClustersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListClustersRequest").msgclass
|
126
|
-
ListClustersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListClustersResponse").msgclass
|
127
|
-
DeleteClusterRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteClusterRequest").msgclass
|
128
|
-
CreateInstanceMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateInstanceMetadata").msgclass
|
129
|
-
UpdateInstanceMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateInstanceMetadata").msgclass
|
130
|
-
CreateClusterMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateClusterMetadata").msgclass
|
131
|
-
UpdateClusterMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateClusterMetadata").msgclass
|
132
|
-
CreateAppProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateAppProfileRequest").msgclass
|
133
|
-
GetAppProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetAppProfileRequest").msgclass
|
134
|
-
ListAppProfilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListAppProfilesRequest").msgclass
|
135
|
-
ListAppProfilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListAppProfilesResponse").msgclass
|
136
|
-
UpdateAppProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateAppProfileRequest").msgclass
|
137
|
-
DeleteAppProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteAppProfileRequest").msgclass
|
138
|
-
UpdateAppProfileMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateAppProfileMetadata").msgclass
|
139
|
-
end
|
140
119
|
end
|
141
120
|
end
|
142
121
|
end
|
122
|
+
module Google::Bigtable::Admin::V2
|
123
|
+
CreateInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateInstanceRequest").msgclass
|
124
|
+
GetInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetInstanceRequest").msgclass
|
125
|
+
ListInstancesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListInstancesRequest").msgclass
|
126
|
+
ListInstancesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListInstancesResponse").msgclass
|
127
|
+
PartialUpdateInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.PartialUpdateInstanceRequest").msgclass
|
128
|
+
DeleteInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteInstanceRequest").msgclass
|
129
|
+
CreateClusterRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateClusterRequest").msgclass
|
130
|
+
GetClusterRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetClusterRequest").msgclass
|
131
|
+
ListClustersRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListClustersRequest").msgclass
|
132
|
+
ListClustersResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListClustersResponse").msgclass
|
133
|
+
DeleteClusterRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteClusterRequest").msgclass
|
134
|
+
CreateInstanceMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateInstanceMetadata").msgclass
|
135
|
+
UpdateInstanceMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateInstanceMetadata").msgclass
|
136
|
+
CreateClusterMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateClusterMetadata").msgclass
|
137
|
+
UpdateClusterMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateClusterMetadata").msgclass
|
138
|
+
CreateAppProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateAppProfileRequest").msgclass
|
139
|
+
GetAppProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetAppProfileRequest").msgclass
|
140
|
+
ListAppProfilesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListAppProfilesRequest").msgclass
|
141
|
+
ListAppProfilesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListAppProfilesResponse").msgclass
|
142
|
+
UpdateAppProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateAppProfileRequest").msgclass
|
143
|
+
DeleteAppProfileRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteAppProfileRequest").msgclass
|
144
|
+
UpdateAppProfileMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateAppProfileMetadata").msgclass
|
145
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/bigtable/admin/v2/bigtable_instance_admin.proto for package '
|
2
|
+
# Source: google/bigtable/admin/v2/bigtable_instance_admin.proto for package 'Google::Cloud::Bigtable::Admin::V2'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2019 Google LLC.
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -24,64 +24,67 @@ require 'google/bigtable/admin/v2/bigtable_instance_admin_pb'
|
|
24
24
|
module Google
|
25
25
|
module Bigtable
|
26
26
|
module Admin
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
module Google::Bigtable::Admin::V2
|
31
|
+
module BigtableInstanceAdmin
|
32
|
+
# Service for creating, configuring, and deleting Cloud Bigtable Instances and
|
33
|
+
# Clusters. Provides access to the Instance and Cluster schemas only, not the
|
34
|
+
# tables' metadata or data stored in those tables.
|
35
|
+
class Service
|
35
36
|
|
36
|
-
|
37
|
-
self.unmarshal_class_method = :decode
|
38
|
-
self.service_name = 'google.bigtable.admin.v2.BigtableInstanceAdmin'
|
37
|
+
include GRPC::GenericService
|
39
38
|
|
40
|
-
|
41
|
-
|
42
|
-
|
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.
|
47
|
-
rpc :UpdateInstance, Instance, Instance
|
48
|
-
# Partially updates an instance within a project.
|
49
|
-
rpc :PartialUpdateInstance, PartialUpdateInstanceRequest, Google::Longrunning::Operation
|
50
|
-
# Delete an instance from a project.
|
51
|
-
rpc :DeleteInstance, DeleteInstanceRequest, Google::Protobuf::Empty
|
52
|
-
# Creates a cluster within an instance.
|
53
|
-
rpc :CreateCluster, CreateClusterRequest, Google::Longrunning::Operation
|
54
|
-
# Gets information about a cluster.
|
55
|
-
rpc :GetCluster, GetClusterRequest, Cluster
|
56
|
-
# Lists information about clusters in an instance.
|
57
|
-
rpc :ListClusters, ListClustersRequest, ListClustersResponse
|
58
|
-
# Updates a cluster within an instance.
|
59
|
-
rpc :UpdateCluster, Cluster, Google::Longrunning::Operation
|
60
|
-
# Deletes a cluster from an instance.
|
61
|
-
rpc :DeleteCluster, DeleteClusterRequest, Google::Protobuf::Empty
|
62
|
-
# Creates an app profile within an instance.
|
63
|
-
rpc :CreateAppProfile, CreateAppProfileRequest, AppProfile
|
64
|
-
# Gets information about an app profile.
|
65
|
-
rpc :GetAppProfile, GetAppProfileRequest, AppProfile
|
66
|
-
# Lists information about app profiles in an instance.
|
67
|
-
rpc :ListAppProfiles, ListAppProfilesRequest, ListAppProfilesResponse
|
68
|
-
# Updates an app profile within an instance.
|
69
|
-
rpc :UpdateAppProfile, UpdateAppProfileRequest, Google::Longrunning::Operation
|
70
|
-
# Deletes an app profile from an instance.
|
71
|
-
rpc :DeleteAppProfile, DeleteAppProfileRequest, Google::Protobuf::Empty
|
72
|
-
# Gets the access control policy for an instance resource. Returns an empty
|
73
|
-
# policy if an instance exists but does not have a policy set.
|
74
|
-
rpc :GetIamPolicy, Google::Iam::V1::GetIamPolicyRequest, Google::Iam::V1::Policy
|
75
|
-
# Sets the access control policy on an instance resource. Replaces any
|
76
|
-
# existing policy.
|
77
|
-
rpc :SetIamPolicy, Google::Iam::V1::SetIamPolicyRequest, Google::Iam::V1::Policy
|
78
|
-
# Returns permissions that the caller has on the specified instance resource.
|
79
|
-
rpc :TestIamPermissions, Google::Iam::V1::TestIamPermissionsRequest, Google::Iam::V1::TestIamPermissionsResponse
|
80
|
-
end
|
39
|
+
self.marshal_class_method = :encode
|
40
|
+
self.unmarshal_class_method = :decode
|
41
|
+
self.service_name = 'google.bigtable.admin.v2.BigtableInstanceAdmin'
|
81
42
|
|
82
|
-
|
83
|
-
|
84
|
-
|
43
|
+
# Create an instance within a project.
|
44
|
+
rpc :CreateInstance, CreateInstanceRequest, Google::Longrunning::Operation
|
45
|
+
# Gets information about an instance.
|
46
|
+
rpc :GetInstance, GetInstanceRequest, Instance
|
47
|
+
# Lists information about instances in a project.
|
48
|
+
rpc :ListInstances, ListInstancesRequest, ListInstancesResponse
|
49
|
+
# Updates an instance within a project. This method updates only the display
|
50
|
+
# name and type for an Instance. To update other Instance properties, such as
|
51
|
+
# labels, use PartialUpdateInstance.
|
52
|
+
rpc :UpdateInstance, Instance, Instance
|
53
|
+
# Partially updates an instance within a project. This method can modify all
|
54
|
+
# fields of an Instance and is the preferred way to update an Instance.
|
55
|
+
rpc :PartialUpdateInstance, PartialUpdateInstanceRequest, Google::Longrunning::Operation
|
56
|
+
# Delete an instance from a project.
|
57
|
+
rpc :DeleteInstance, DeleteInstanceRequest, Google::Protobuf::Empty
|
58
|
+
# Creates a cluster within an instance.
|
59
|
+
rpc :CreateCluster, CreateClusterRequest, Google::Longrunning::Operation
|
60
|
+
# Gets information about a cluster.
|
61
|
+
rpc :GetCluster, GetClusterRequest, Cluster
|
62
|
+
# Lists information about clusters in an instance.
|
63
|
+
rpc :ListClusters, ListClustersRequest, ListClustersResponse
|
64
|
+
# Updates a cluster within an instance.
|
65
|
+
rpc :UpdateCluster, Cluster, Google::Longrunning::Operation
|
66
|
+
# Deletes a cluster from an instance.
|
67
|
+
rpc :DeleteCluster, DeleteClusterRequest, Google::Protobuf::Empty
|
68
|
+
# Creates an app profile within an instance.
|
69
|
+
rpc :CreateAppProfile, CreateAppProfileRequest, AppProfile
|
70
|
+
# Gets information about an app profile.
|
71
|
+
rpc :GetAppProfile, GetAppProfileRequest, AppProfile
|
72
|
+
# Lists information about app profiles in an instance.
|
73
|
+
rpc :ListAppProfiles, ListAppProfilesRequest, ListAppProfilesResponse
|
74
|
+
# Updates an app profile within an instance.
|
75
|
+
rpc :UpdateAppProfile, UpdateAppProfileRequest, Google::Longrunning::Operation
|
76
|
+
# Deletes an app profile from an instance.
|
77
|
+
rpc :DeleteAppProfile, DeleteAppProfileRequest, Google::Protobuf::Empty
|
78
|
+
# Gets the access control policy for an instance resource. Returns an empty
|
79
|
+
# policy if an instance exists but does not have a policy set.
|
80
|
+
rpc :GetIamPolicy, Google::Iam::V1::GetIamPolicyRequest, Google::Iam::V1::Policy
|
81
|
+
# Sets the access control policy on an instance resource. Replaces any
|
82
|
+
# existing policy.
|
83
|
+
rpc :SetIamPolicy, Google::Iam::V1::SetIamPolicyRequest, Google::Iam::V1::Policy
|
84
|
+
# Returns permissions that the caller has on the specified instance resource.
|
85
|
+
rpc :TestIamPermissions, Google::Iam::V1::TestIamPermissionsRequest, Google::Iam::V1::TestIamPermissionsResponse
|
85
86
|
end
|
87
|
+
|
88
|
+
Stub = Service.rpc_stub_class
|
86
89
|
end
|
87
90
|
end
|
@@ -5,12 +5,17 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
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'
|
8
12
|
require 'google/bigtable/admin/v2/table_pb'
|
9
13
|
require 'google/iam/v1/iam_policy_pb'
|
10
14
|
require 'google/iam/v1/policy_pb'
|
11
15
|
require 'google/longrunning/operations_pb'
|
12
16
|
require 'google/protobuf/duration_pb'
|
13
17
|
require 'google/protobuf/empty_pb'
|
18
|
+
require 'google/protobuf/field_mask_pb'
|
14
19
|
require 'google/protobuf/timestamp_pb'
|
15
20
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
16
21
|
add_message "google.bigtable.admin.v2.CreateTableRequest" do
|
@@ -108,34 +113,96 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
108
113
|
optional :request_time, :message, 2, "google.protobuf.Timestamp"
|
109
114
|
optional :finish_time, :message, 3, "google.protobuf.Timestamp"
|
110
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
|
111
168
|
end
|
112
169
|
|
113
170
|
module Google
|
114
171
|
module Bigtable
|
115
172
|
module Admin
|
116
|
-
module V2
|
117
|
-
CreateTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableRequest").msgclass
|
118
|
-
CreateTableRequest::Split = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableRequest.Split").msgclass
|
119
|
-
CreateTableFromSnapshotRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableFromSnapshotRequest").msgclass
|
120
|
-
DropRowRangeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DropRowRangeRequest").msgclass
|
121
|
-
ListTablesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListTablesRequest").msgclass
|
122
|
-
ListTablesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListTablesResponse").msgclass
|
123
|
-
GetTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetTableRequest").msgclass
|
124
|
-
DeleteTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteTableRequest").msgclass
|
125
|
-
ModifyColumnFamiliesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ModifyColumnFamiliesRequest").msgclass
|
126
|
-
ModifyColumnFamiliesRequest::Modification = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification").msgclass
|
127
|
-
GenerateConsistencyTokenRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GenerateConsistencyTokenRequest").msgclass
|
128
|
-
GenerateConsistencyTokenResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GenerateConsistencyTokenResponse").msgclass
|
129
|
-
CheckConsistencyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CheckConsistencyRequest").msgclass
|
130
|
-
CheckConsistencyResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CheckConsistencyResponse").msgclass
|
131
|
-
SnapshotTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.SnapshotTableRequest").msgclass
|
132
|
-
GetSnapshotRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetSnapshotRequest").msgclass
|
133
|
-
ListSnapshotsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListSnapshotsRequest").msgclass
|
134
|
-
ListSnapshotsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListSnapshotsResponse").msgclass
|
135
|
-
DeleteSnapshotRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteSnapshotRequest").msgclass
|
136
|
-
SnapshotTableMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.SnapshotTableMetadata").msgclass
|
137
|
-
CreateTableFromSnapshotMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableFromSnapshotMetadata").msgclass
|
138
|
-
end
|
139
173
|
end
|
140
174
|
end
|
141
175
|
end
|
176
|
+
module Google::Bigtable::Admin::V2
|
177
|
+
CreateTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableRequest").msgclass
|
178
|
+
CreateTableRequest::Split = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableRequest.Split").msgclass
|
179
|
+
CreateTableFromSnapshotRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableFromSnapshotRequest").msgclass
|
180
|
+
DropRowRangeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DropRowRangeRequest").msgclass
|
181
|
+
ListTablesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListTablesRequest").msgclass
|
182
|
+
ListTablesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListTablesResponse").msgclass
|
183
|
+
GetTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetTableRequest").msgclass
|
184
|
+
DeleteTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteTableRequest").msgclass
|
185
|
+
ModifyColumnFamiliesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ModifyColumnFamiliesRequest").msgclass
|
186
|
+
ModifyColumnFamiliesRequest::Modification = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification").msgclass
|
187
|
+
GenerateConsistencyTokenRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GenerateConsistencyTokenRequest").msgclass
|
188
|
+
GenerateConsistencyTokenResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GenerateConsistencyTokenResponse").msgclass
|
189
|
+
CheckConsistencyRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CheckConsistencyRequest").msgclass
|
190
|
+
CheckConsistencyResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CheckConsistencyResponse").msgclass
|
191
|
+
SnapshotTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.SnapshotTableRequest").msgclass
|
192
|
+
GetSnapshotRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetSnapshotRequest").msgclass
|
193
|
+
ListSnapshotsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListSnapshotsRequest").msgclass
|
194
|
+
ListSnapshotsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListSnapshotsResponse").msgclass
|
195
|
+
DeleteSnapshotRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteSnapshotRequest").msgclass
|
196
|
+
SnapshotTableMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.SnapshotTableMetadata").msgclass
|
197
|
+
CreateTableFromSnapshotMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableFromSnapshotMetadata").msgclass
|
198
|
+
CreateBackupRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateBackupRequest").msgclass
|
199
|
+
CreateBackupMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateBackupMetadata").msgclass
|
200
|
+
GetBackupRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetBackupRequest").msgclass
|
201
|
+
UpdateBackupRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateBackupRequest").msgclass
|
202
|
+
DeleteBackupRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteBackupRequest").msgclass
|
203
|
+
ListBackupsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListBackupsRequest").msgclass
|
204
|
+
ListBackupsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListBackupsResponse").msgclass
|
205
|
+
RestoreTableRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreTableRequest").msgclass
|
206
|
+
RestoreTableMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreTableMetadata").msgclass
|
207
|
+
OptimizeRestoredTableMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.OptimizeRestoredTableMetadata").msgclass
|
208
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/bigtable/admin/v2/bigtable_table_admin.proto for package '
|
2
|
+
# Source: google/bigtable/admin/v2/bigtable_table_admin.proto for package 'Google::Cloud::Bigtable::Admin::V2'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2020 Google LLC
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -15,7 +15,6 @@
|
|
15
15
|
# See the License for the specific language governing permissions and
|
16
16
|
# limitations under the License.
|
17
17
|
#
|
18
|
-
#
|
19
18
|
|
20
19
|
|
21
20
|
require 'grpc'
|
@@ -24,104 +23,132 @@ require 'google/bigtable/admin/v2/bigtable_table_admin_pb'
|
|
24
23
|
module Google
|
25
24
|
module Bigtable
|
26
25
|
module Admin
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
module Google::Bigtable::Admin::V2
|
30
|
+
module BigtableTableAdmin
|
31
|
+
# Service for creating, configuring, and deleting Cloud Bigtable tables.
|
32
|
+
#
|
33
|
+
#
|
34
|
+
# Provides access to the table schemas only, not the data stored within
|
35
|
+
# the tables.
|
36
|
+
class Service
|
37
37
|
|
38
|
-
|
39
|
-
self.unmarshal_class_method = :decode
|
40
|
-
self.service_name = 'google.bigtable.admin.v2.BigtableTableAdmin'
|
38
|
+
include GRPC::GenericService
|
41
39
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
rpc :CreateTable, CreateTableRequest, Table
|
46
|
-
# Creates a new table from the specified snapshot. The target table must
|
47
|
-
# not exist. The snapshot and the table must be in the same instance.
|
48
|
-
#
|
49
|
-
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
50
|
-
# feature is not currently available to most Cloud Bigtable customers. This
|
51
|
-
# feature might be changed in backward-incompatible ways and is not
|
52
|
-
# recommended for production use. It is not subject to any SLA or deprecation
|
53
|
-
# policy.
|
54
|
-
rpc :CreateTableFromSnapshot, CreateTableFromSnapshotRequest, Google::Longrunning::Operation
|
55
|
-
# Lists all tables served from a specified instance.
|
56
|
-
rpc :ListTables, ListTablesRequest, ListTablesResponse
|
57
|
-
# Gets metadata information about the specified table.
|
58
|
-
rpc :GetTable, GetTableRequest, Table
|
59
|
-
# Permanently deletes a specified table and all of its data.
|
60
|
-
rpc :DeleteTable, DeleteTableRequest, Google::Protobuf::Empty
|
61
|
-
# Performs a series of column family modifications on the specified table.
|
62
|
-
# Either all or none of the modifications will occur before this method
|
63
|
-
# returns, but data requests received prior to that point may see a table
|
64
|
-
# where only some modifications have taken effect.
|
65
|
-
rpc :ModifyColumnFamilies, ModifyColumnFamiliesRequest, Table
|
66
|
-
# Permanently drop/delete a row range from a specified table. The request can
|
67
|
-
# specify whether to delete all rows in a table, or only those that match a
|
68
|
-
# particular prefix.
|
69
|
-
rpc :DropRowRange, DropRowRangeRequest, Google::Protobuf::Empty
|
70
|
-
# Generates a consistency token for a Table, which can be used in
|
71
|
-
# CheckConsistency to check whether mutations to the table that finished
|
72
|
-
# before this call started have been replicated. The tokens will be available
|
73
|
-
# for 90 days.
|
74
|
-
rpc :GenerateConsistencyToken, GenerateConsistencyTokenRequest, GenerateConsistencyTokenResponse
|
75
|
-
# Checks replication consistency based on a consistency token, that is, if
|
76
|
-
# replication has caught up based on the conditions specified in the token
|
77
|
-
# and the check request.
|
78
|
-
rpc :CheckConsistency, CheckConsistencyRequest, CheckConsistencyResponse
|
79
|
-
# Creates a new snapshot in the specified cluster from the specified
|
80
|
-
# source table. The cluster and the table must be in the same instance.
|
81
|
-
#
|
82
|
-
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
83
|
-
# feature is not currently available to most Cloud Bigtable customers. This
|
84
|
-
# feature might be changed in backward-incompatible ways and is not
|
85
|
-
# recommended for production use. It is not subject to any SLA or deprecation
|
86
|
-
# policy.
|
87
|
-
rpc :SnapshotTable, SnapshotTableRequest, Google::Longrunning::Operation
|
88
|
-
# Gets metadata information about the specified snapshot.
|
89
|
-
#
|
90
|
-
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
91
|
-
# feature is not currently available to most Cloud Bigtable customers. This
|
92
|
-
# feature might be changed in backward-incompatible ways and is not
|
93
|
-
# recommended for production use. It is not subject to any SLA or deprecation
|
94
|
-
# policy.
|
95
|
-
rpc :GetSnapshot, GetSnapshotRequest, Snapshot
|
96
|
-
# Lists all snapshots associated with the specified cluster.
|
97
|
-
#
|
98
|
-
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
99
|
-
# feature is not currently available to most Cloud Bigtable customers. This
|
100
|
-
# feature might be changed in backward-incompatible ways and is not
|
101
|
-
# recommended for production use. It is not subject to any SLA or deprecation
|
102
|
-
# policy.
|
103
|
-
rpc :ListSnapshots, ListSnapshotsRequest, ListSnapshotsResponse
|
104
|
-
# Permanently deletes the specified snapshot.
|
105
|
-
#
|
106
|
-
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
107
|
-
# feature is not currently available to most Cloud Bigtable customers. This
|
108
|
-
# feature might be changed in backward-incompatible ways and is not
|
109
|
-
# recommended for production use. It is not subject to any SLA or deprecation
|
110
|
-
# policy.
|
111
|
-
rpc :DeleteSnapshot, DeleteSnapshotRequest, Google::Protobuf::Empty
|
112
|
-
# Gets the access control policy for a table resource. Returns an empty
|
113
|
-
# policy if an table exists but does not have a policy set.
|
114
|
-
rpc :GetIamPolicy, Google::Iam::V1::GetIamPolicyRequest, Google::Iam::V1::Policy
|
115
|
-
# Sets the access control policy on a table resource. Replaces any existing
|
116
|
-
# policy.
|
117
|
-
rpc :SetIamPolicy, Google::Iam::V1::SetIamPolicyRequest, Google::Iam::V1::Policy
|
118
|
-
# Returns permissions that the caller has on the specified table resource.
|
119
|
-
rpc :TestIamPermissions, Google::Iam::V1::TestIamPermissionsRequest, Google::Iam::V1::TestIamPermissionsResponse
|
120
|
-
end
|
40
|
+
self.marshal_class_method = :encode
|
41
|
+
self.unmarshal_class_method = :decode
|
42
|
+
self.service_name = 'google.bigtable.admin.v2.BigtableTableAdmin'
|
121
43
|
|
122
|
-
|
123
|
-
|
124
|
-
|
44
|
+
# Creates a new table in the specified instance.
|
45
|
+
# The table can be created with a full set of initial column families,
|
46
|
+
# specified in the request.
|
47
|
+
rpc :CreateTable, CreateTableRequest, Table
|
48
|
+
# Creates a new table from the specified snapshot. The target table must
|
49
|
+
# not exist. The snapshot and the table must be in the same instance.
|
50
|
+
#
|
51
|
+
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
52
|
+
# feature is not currently available to most Cloud Bigtable customers. This
|
53
|
+
# feature might be changed in backward-incompatible ways and is not
|
54
|
+
# recommended for production use. It is not subject to any SLA or deprecation
|
55
|
+
# policy.
|
56
|
+
rpc :CreateTableFromSnapshot, CreateTableFromSnapshotRequest, Google::Longrunning::Operation
|
57
|
+
# Lists all tables served from a specified instance.
|
58
|
+
rpc :ListTables, ListTablesRequest, ListTablesResponse
|
59
|
+
# Gets metadata information about the specified table.
|
60
|
+
rpc :GetTable, GetTableRequest, Table
|
61
|
+
# Permanently deletes a specified table and all of its data.
|
62
|
+
rpc :DeleteTable, DeleteTableRequest, Google::Protobuf::Empty
|
63
|
+
# Performs a series of column family modifications on the specified table.
|
64
|
+
# Either all or none of the modifications will occur before this method
|
65
|
+
# returns, but data requests received prior to that point may see a table
|
66
|
+
# where only some modifications have taken effect.
|
67
|
+
rpc :ModifyColumnFamilies, ModifyColumnFamiliesRequest, Table
|
68
|
+
# Permanently drop/delete a row range from a specified table. The request can
|
69
|
+
# specify whether to delete all rows in a table, or only those that match a
|
70
|
+
# particular prefix.
|
71
|
+
rpc :DropRowRange, DropRowRangeRequest, Google::Protobuf::Empty
|
72
|
+
# Generates a consistency token for a Table, which can be used in
|
73
|
+
# CheckConsistency to check whether mutations to the table that finished
|
74
|
+
# before this call started have been replicated. The tokens will be available
|
75
|
+
# for 90 days.
|
76
|
+
rpc :GenerateConsistencyToken, GenerateConsistencyTokenRequest, GenerateConsistencyTokenResponse
|
77
|
+
# Checks replication consistency based on a consistency token, that is, if
|
78
|
+
# replication has caught up based on the conditions specified in the token
|
79
|
+
# and the check request.
|
80
|
+
rpc :CheckConsistency, CheckConsistencyRequest, CheckConsistencyResponse
|
81
|
+
# Creates a new snapshot in the specified cluster from the specified
|
82
|
+
# source table. The cluster and the table must be in the same instance.
|
83
|
+
#
|
84
|
+
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
85
|
+
# feature is not currently available to most Cloud Bigtable customers. This
|
86
|
+
# feature might be changed in backward-incompatible ways and is not
|
87
|
+
# recommended for production use. It is not subject to any SLA or deprecation
|
88
|
+
# policy.
|
89
|
+
rpc :SnapshotTable, SnapshotTableRequest, Google::Longrunning::Operation
|
90
|
+
# Gets metadata information about the specified snapshot.
|
91
|
+
#
|
92
|
+
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
93
|
+
# feature is not currently available to most Cloud Bigtable customers. This
|
94
|
+
# feature might be changed in backward-incompatible ways and is not
|
95
|
+
# recommended for production use. It is not subject to any SLA or deprecation
|
96
|
+
# policy.
|
97
|
+
rpc :GetSnapshot, GetSnapshotRequest, Snapshot
|
98
|
+
# Lists all snapshots associated with the specified cluster.
|
99
|
+
#
|
100
|
+
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
101
|
+
# feature is not currently available to most Cloud Bigtable customers. This
|
102
|
+
# feature might be changed in backward-incompatible ways and is not
|
103
|
+
# recommended for production use. It is not subject to any SLA or deprecation
|
104
|
+
# policy.
|
105
|
+
rpc :ListSnapshots, ListSnapshotsRequest, ListSnapshotsResponse
|
106
|
+
# Permanently deletes the specified snapshot.
|
107
|
+
#
|
108
|
+
# Note: This is a private alpha release of Cloud Bigtable snapshots. This
|
109
|
+
# feature is not currently available to most Cloud Bigtable customers. This
|
110
|
+
# feature might be changed in backward-incompatible ways and is not
|
111
|
+
# recommended for production use. It is not subject to any SLA or deprecation
|
112
|
+
# policy.
|
113
|
+
rpc :DeleteSnapshot, DeleteSnapshotRequest, Google::Protobuf::Empty
|
114
|
+
# Starts creating a new Cloud Bigtable Backup. The returned backup
|
115
|
+
# [long-running operation][google.longrunning.Operation] can be used to
|
116
|
+
# track creation of the backup. The
|
117
|
+
# [metadata][google.longrunning.Operation.metadata] field type is
|
118
|
+
# [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The
|
119
|
+
# [response][google.longrunning.Operation.response] field type is
|
120
|
+
# [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the
|
121
|
+
# returned operation will stop the creation and delete the backup.
|
122
|
+
rpc :CreateBackup, CreateBackupRequest, Google::Longrunning::Operation
|
123
|
+
# Gets metadata on a pending or completed Cloud Bigtable Backup.
|
124
|
+
rpc :GetBackup, GetBackupRequest, Backup
|
125
|
+
# Updates a pending or completed Cloud Bigtable Backup.
|
126
|
+
rpc :UpdateBackup, UpdateBackupRequest, Backup
|
127
|
+
# Deletes a pending or completed Cloud Bigtable backup.
|
128
|
+
rpc :DeleteBackup, DeleteBackupRequest, Google::Protobuf::Empty
|
129
|
+
# Lists Cloud Bigtable backups. Returns both completed and pending
|
130
|
+
# backups.
|
131
|
+
rpc :ListBackups, ListBackupsRequest, ListBackupsResponse
|
132
|
+
# Create a new table by restoring from a completed backup. The new table
|
133
|
+
# must be in the same instance as the instance containing the backup. The
|
134
|
+
# returned table [long-running operation][google.longrunning.Operation] can
|
135
|
+
# be used to track the progress of the operation, and to cancel it. The
|
136
|
+
# [metadata][google.longrunning.Operation.metadata] field type is
|
137
|
+
# [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The
|
138
|
+
# [response][google.longrunning.Operation.response] type is
|
139
|
+
# [Table][google.bigtable.admin.v2.Table], if successful.
|
140
|
+
rpc :RestoreTable, RestoreTableRequest, Google::Longrunning::Operation
|
141
|
+
# Gets the access control policy for a resource.
|
142
|
+
# Returns an empty policy if the resource exists but does not have a policy
|
143
|
+
# set.
|
144
|
+
rpc :GetIamPolicy, Google::Iam::V1::GetIamPolicyRequest, Google::Iam::V1::Policy
|
145
|
+
# Sets the access control policy on a Table or Backup resource.
|
146
|
+
# Replaces any existing policy.
|
147
|
+
rpc :SetIamPolicy, Google::Iam::V1::SetIamPolicyRequest, Google::Iam::V1::Policy
|
148
|
+
# Returns permissions that the caller has on the specified table resource.
|
149
|
+
rpc :TestIamPermissions, Google::Iam::V1::TestIamPermissionsRequest, Google::Iam::V1::TestIamPermissionsResponse
|
125
150
|
end
|
151
|
+
|
152
|
+
Stub = Service.rpc_stub_class
|
126
153
|
end
|
127
154
|
end
|