google-cloud-bigtable 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22ba3e63a3716fdb413bafb9c74a72f8f86e356a5b8a3f3a2776522313d7efbd
4
- data.tar.gz: 984879dec7e158489426f4f12c41b947e604c6164f0ebe26aa01dae7216ad6f5
3
+ metadata.gz: 109fb6841cdecd45ebfadc3c2bafd019010847bbe9592ad9f2d9d44e56000d06
4
+ data.tar.gz: 41b10cd762bc1c11ef42754af3fb6dc3e9bc5d97bd75e84c74752228596bb245
5
5
  SHA512:
6
- metadata.gz: 7afc6e313ac4fda9ccd2d810d5b698d0790fbfbcbab2ddcdd748c8597b7d979c83e24de30d89a0cd201fe7e06afb3597961620c3efa68a6b205500e0c146ed6d
7
- data.tar.gz: 05c513ddcd8aabf0f9f53100c863708e648384b9252c17e10a8e721446b579f2e6466f9d3d87bf7ce5fdc4fbca94e0cf0707f585b79bf77703a0c4b35da9cade
6
+ metadata.gz: 63fda26d33b5b2185086377ecf4ca64d99d20e19013b97b7a34a11164baefbc2e09e444e4304a22a4ac5da49013bb09803e0d81b55bcd3ac8f94f712e320043d
7
+ data.tar.gz: ec6d0a4356a0fb357264bd72654cfb21581c9787e5594e016e81d286345ef25ad6b8b8eb450dd26de061e5ca0ee32bf337fb43beb0847197d039b4007f74b5f0
@@ -1,5 +1,15 @@
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
+
3
13
  ### 1.2.2 / 2020-05-28
4
14
 
5
15
  #### Documentation
@@ -116,30 +116,30 @@ end
116
116
  module Google
117
117
  module Bigtable
118
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
119
  end
144
120
  end
145
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,5 +1,5 @@
1
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'
2
+ # Source: google/bigtable/admin/v2/bigtable_instance_admin.proto for package 'Google::Cloud::Bigtable::Admin::V2'
3
3
  # Original file comments:
4
4
  # Copyright 2019 Google LLC.
5
5
  #
@@ -24,67 +24,67 @@ require 'google/bigtable/admin/v2/bigtable_instance_admin_pb'
24
24
  module Google
25
25
  module Bigtable
26
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
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
- self.marshal_class_method = :encode
37
- self.unmarshal_class_method = :decode
38
- self.service_name = 'google.bigtable.admin.v2.BigtableInstanceAdmin'
37
+ include GRPC::GenericService
39
38
 
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
39
+ self.marshal_class_method = :encode
40
+ self.unmarshal_class_method = :decode
41
+ self.service_name = 'google.bigtable.admin.v2.BigtableInstanceAdmin'
84
42
 
85
- Stub = Service.rpc_stub_class
86
- end
87
- end
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
88
86
  end
87
+
88
+ Stub = Service.rpc_stub_class
89
89
  end
90
90
  end
@@ -170,39 +170,39 @@ end
170
170
  module Google
171
171
  module Bigtable
172
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
173
  end
207
174
  end
208
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,5 +1,5 @@
1
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'
2
+ # Source: google/bigtable/admin/v2/bigtable_table_admin.proto for package 'Google::Cloud::Bigtable::Admin::V2'
3
3
  # Original file comments:
4
4
  # Copyright 2020 Google LLC
5
5
  #
@@ -23,132 +23,132 @@ require 'google/bigtable/admin/v2/bigtable_table_admin_pb'
23
23
  module Google
24
24
  module Bigtable
25
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
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
36
37
 
37
- self.marshal_class_method = :encode
38
- self.unmarshal_class_method = :decode
39
- self.service_name = 'google.bigtable.admin.v2.BigtableTableAdmin'
38
+ include GRPC::GenericService
40
39
 
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
40
+ self.marshal_class_method = :encode
41
+ self.unmarshal_class_method = :decode
42
+ self.service_name = 'google.bigtable.admin.v2.BigtableTableAdmin'
148
43
 
149
- Stub = Service.rpc_stub_class
150
- end
151
- end
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
152
150
  end
151
+
152
+ Stub = Service.rpc_stub_class
153
153
  end
154
154
  end