google-cloud-bigtable-admin-v2 0.1.2 → 0.2.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: 8e56f537e28b6c94616bf1bab3cf301dafcd2943a1766e9a3d826c23660e395b
4
- data.tar.gz: a1978d83ec5ae8289bdd7d22a7a60114f3eeb4d1fe3ccdecb0833ab48e07cee5
3
+ metadata.gz: 5da1c0cb796911fc2e1f64215fd050aea9c0fa825240613bb4e7f799c1438ac9
4
+ data.tar.gz: e27303f505656be4db247629d9a9a9f854301057859b11b88896ee5a139e915c
5
5
  SHA512:
6
- metadata.gz: 69a1fec13aea8603a228d73407da86f4e591a7063f7f344db7466abf56787b5092f0602041d9e516aa660e9ab914209fdd33eb28883e666a2d56540a26d8ddee
7
- data.tar.gz: d2b063e533bd6672d130b796069409247bce96db51e6b9468085d028fffa76f38ca0bc2dfcb38ebc42d9120bf4a72d944cc7d5a5d26ded9abab7cdb2da272f65
6
+ metadata.gz: 2aa21f5960d28101c26ceb8dacde6a260fe2a559daed1e84a3146a6aaf0a90e6bd8a7ef028e02f15b945a36f3f167eee61e9593671ebdd5bec6c4bd4892d90e8
7
+ data.tar.gz: 2fc57095202906f769bf535a0e6c39f4db2ec6c7cc7319755facdaf2e805bdfecd8f6a1ced74cb7b4c3c342543b699f44882696b1098cf8128ed20a5272a83cc
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/bigtable/admin/v2/bigtable_instance_admin.proto for package 'Google.Cloud.Bigtable.Admin.V2'
3
3
  # Original file comments:
4
- # Copyright 2019 Google LLC.
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
  require 'grpc'
21
20
  require 'google/bigtable/admin/v2/bigtable_instance_admin_pb'
@@ -38,48 +37,48 @@ module Google
38
37
  self.service_name = 'google.bigtable.admin.v2.BigtableInstanceAdmin'
39
38
 
40
39
  # Create an instance within a project.
41
- rpc :CreateInstance, Google::Cloud::Bigtable::Admin::V2::CreateInstanceRequest, Google::Longrunning::Operation
40
+ rpc :CreateInstance, ::Google::Cloud::Bigtable::Admin::V2::CreateInstanceRequest, ::Google::Longrunning::Operation
42
41
  # Gets information about an instance.
43
- rpc :GetInstance, Google::Cloud::Bigtable::Admin::V2::GetInstanceRequest, Google::Cloud::Bigtable::Admin::V2::Instance
42
+ rpc :GetInstance, ::Google::Cloud::Bigtable::Admin::V2::GetInstanceRequest, ::Google::Cloud::Bigtable::Admin::V2::Instance
44
43
  # Lists information about instances in a project.
45
- rpc :ListInstances, Google::Cloud::Bigtable::Admin::V2::ListInstancesRequest, Google::Cloud::Bigtable::Admin::V2::ListInstancesResponse
44
+ rpc :ListInstances, ::Google::Cloud::Bigtable::Admin::V2::ListInstancesRequest, ::Google::Cloud::Bigtable::Admin::V2::ListInstancesResponse
46
45
  # Updates an instance within a project. This method updates only the display
47
46
  # name and type for an Instance. To update other Instance properties, such as
48
47
  # labels, use PartialUpdateInstance.
49
- rpc :UpdateInstance, Google::Cloud::Bigtable::Admin::V2::Instance, Google::Cloud::Bigtable::Admin::V2::Instance
48
+ rpc :UpdateInstance, ::Google::Cloud::Bigtable::Admin::V2::Instance, ::Google::Cloud::Bigtable::Admin::V2::Instance
50
49
  # Partially updates an instance within a project. This method can modify all
51
50
  # fields of an Instance and is the preferred way to update an Instance.
52
- rpc :PartialUpdateInstance, Google::Cloud::Bigtable::Admin::V2::PartialUpdateInstanceRequest, Google::Longrunning::Operation
51
+ rpc :PartialUpdateInstance, ::Google::Cloud::Bigtable::Admin::V2::PartialUpdateInstanceRequest, ::Google::Longrunning::Operation
53
52
  # Delete an instance from a project.
54
- rpc :DeleteInstance, Google::Cloud::Bigtable::Admin::V2::DeleteInstanceRequest, Google::Protobuf::Empty
53
+ rpc :DeleteInstance, ::Google::Cloud::Bigtable::Admin::V2::DeleteInstanceRequest, ::Google::Protobuf::Empty
55
54
  # Creates a cluster within an instance.
56
- rpc :CreateCluster, Google::Cloud::Bigtable::Admin::V2::CreateClusterRequest, Google::Longrunning::Operation
55
+ rpc :CreateCluster, ::Google::Cloud::Bigtable::Admin::V2::CreateClusterRequest, ::Google::Longrunning::Operation
57
56
  # Gets information about a cluster.
58
- rpc :GetCluster, Google::Cloud::Bigtable::Admin::V2::GetClusterRequest, Google::Cloud::Bigtable::Admin::V2::Cluster
57
+ rpc :GetCluster, ::Google::Cloud::Bigtable::Admin::V2::GetClusterRequest, ::Google::Cloud::Bigtable::Admin::V2::Cluster
59
58
  # Lists information about clusters in an instance.
60
- rpc :ListClusters, Google::Cloud::Bigtable::Admin::V2::ListClustersRequest, Google::Cloud::Bigtable::Admin::V2::ListClustersResponse
59
+ rpc :ListClusters, ::Google::Cloud::Bigtable::Admin::V2::ListClustersRequest, ::Google::Cloud::Bigtable::Admin::V2::ListClustersResponse
61
60
  # Updates a cluster within an instance.
62
- rpc :UpdateCluster, Google::Cloud::Bigtable::Admin::V2::Cluster, Google::Longrunning::Operation
61
+ rpc :UpdateCluster, ::Google::Cloud::Bigtable::Admin::V2::Cluster, ::Google::Longrunning::Operation
63
62
  # Deletes a cluster from an instance.
64
- rpc :DeleteCluster, Google::Cloud::Bigtable::Admin::V2::DeleteClusterRequest, Google::Protobuf::Empty
63
+ rpc :DeleteCluster, ::Google::Cloud::Bigtable::Admin::V2::DeleteClusterRequest, ::Google::Protobuf::Empty
65
64
  # Creates an app profile within an instance.
66
- rpc :CreateAppProfile, Google::Cloud::Bigtable::Admin::V2::CreateAppProfileRequest, Google::Cloud::Bigtable::Admin::V2::AppProfile
65
+ rpc :CreateAppProfile, ::Google::Cloud::Bigtable::Admin::V2::CreateAppProfileRequest, ::Google::Cloud::Bigtable::Admin::V2::AppProfile
67
66
  # Gets information about an app profile.
68
- rpc :GetAppProfile, Google::Cloud::Bigtable::Admin::V2::GetAppProfileRequest, Google::Cloud::Bigtable::Admin::V2::AppProfile
67
+ rpc :GetAppProfile, ::Google::Cloud::Bigtable::Admin::V2::GetAppProfileRequest, ::Google::Cloud::Bigtable::Admin::V2::AppProfile
69
68
  # Lists information about app profiles in an instance.
70
- rpc :ListAppProfiles, Google::Cloud::Bigtable::Admin::V2::ListAppProfilesRequest, Google::Cloud::Bigtable::Admin::V2::ListAppProfilesResponse
69
+ rpc :ListAppProfiles, ::Google::Cloud::Bigtable::Admin::V2::ListAppProfilesRequest, ::Google::Cloud::Bigtable::Admin::V2::ListAppProfilesResponse
71
70
  # Updates an app profile within an instance.
72
- rpc :UpdateAppProfile, Google::Cloud::Bigtable::Admin::V2::UpdateAppProfileRequest, Google::Longrunning::Operation
71
+ rpc :UpdateAppProfile, ::Google::Cloud::Bigtable::Admin::V2::UpdateAppProfileRequest, ::Google::Longrunning::Operation
73
72
  # Deletes an app profile from an instance.
74
- rpc :DeleteAppProfile, Google::Cloud::Bigtable::Admin::V2::DeleteAppProfileRequest, Google::Protobuf::Empty
73
+ rpc :DeleteAppProfile, ::Google::Cloud::Bigtable::Admin::V2::DeleteAppProfileRequest, ::Google::Protobuf::Empty
75
74
  # Gets the access control policy for an instance resource. Returns an empty
76
75
  # policy if an instance exists but does not have a policy set.
77
- rpc :GetIamPolicy, Google::Iam::V1::GetIamPolicyRequest, Google::Iam::V1::Policy
76
+ rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
78
77
  # Sets the access control policy on an instance resource. Replaces any
79
78
  # existing policy.
80
- rpc :SetIamPolicy, Google::Iam::V1::SetIamPolicyRequest, Google::Iam::V1::Policy
79
+ rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
81
80
  # Returns permissions that the caller has on the specified instance resource.
82
- rpc :TestIamPermissions, Google::Iam::V1::TestIamPermissionsRequest, Google::Iam::V1::TestIamPermissionsResponse
81
+ rpc :TestIamPermissions, ::Google::Iam::V1::TestIamPermissionsRequest, ::Google::Iam::V1::TestIamPermissionsResponse
83
82
  end
84
83
 
85
84
  Stub = Service.rpc_stub_class
@@ -18,6 +18,26 @@ require 'google/protobuf/field_mask_pb'
18
18
  require 'google/protobuf/timestamp_pb'
19
19
  Google::Protobuf::DescriptorPool.generated_pool.build do
20
20
  add_file("google/bigtable/admin/v2/bigtable_table_admin.proto", :syntax => :proto3) do
21
+ add_message "google.bigtable.admin.v2.RestoreTableRequest" do
22
+ optional :parent, :string, 1
23
+ optional :table_id, :string, 2
24
+ oneof :source do
25
+ optional :backup, :string, 3
26
+ end
27
+ end
28
+ add_message "google.bigtable.admin.v2.RestoreTableMetadata" do
29
+ optional :name, :string, 1
30
+ optional :source_type, :enum, 2, "google.bigtable.admin.v2.RestoreSourceType"
31
+ optional :optimize_table_operation_name, :string, 4
32
+ optional :progress, :message, 5, "google.bigtable.admin.v2.OperationProgress"
33
+ oneof :source_info do
34
+ optional :backup_info, :message, 3, "google.bigtable.admin.v2.BackupInfo"
35
+ end
36
+ end
37
+ add_message "google.bigtable.admin.v2.OptimizeRestoredTableMetadata" do
38
+ optional :name, :string, 1
39
+ optional :progress, :message, 2, "google.bigtable.admin.v2.OperationProgress"
40
+ end
21
41
  add_message "google.bigtable.admin.v2.CreateTableRequest" do
22
42
  optional :parent, :string, 1
23
43
  optional :table_id, :string, 2
@@ -124,13 +144,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
124
144
  optional :start_time, :message, 3, "google.protobuf.Timestamp"
125
145
  optional :end_time, :message, 4, "google.protobuf.Timestamp"
126
146
  end
127
- add_message "google.bigtable.admin.v2.GetBackupRequest" do
128
- optional :name, :string, 1
129
- end
130
147
  add_message "google.bigtable.admin.v2.UpdateBackupRequest" do
131
148
  optional :backup, :message, 1, "google.bigtable.admin.v2.Backup"
132
149
  optional :update_mask, :message, 2, "google.protobuf.FieldMask"
133
150
  end
151
+ add_message "google.bigtable.admin.v2.GetBackupRequest" do
152
+ optional :name, :string, 1
153
+ end
134
154
  add_message "google.bigtable.admin.v2.DeleteBackupRequest" do
135
155
  optional :name, :string, 1
136
156
  end
@@ -145,26 +165,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
145
165
  repeated :backups, :message, 1, "google.bigtable.admin.v2.Backup"
146
166
  optional :next_page_token, :string, 2
147
167
  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
168
  end
169
169
  end
170
170
 
@@ -173,6 +173,9 @@ module Google
173
173
  module Bigtable
174
174
  module Admin
175
175
  module V2
176
+ RestoreTableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreTableRequest").msgclass
177
+ RestoreTableMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreTableMetadata").msgclass
178
+ OptimizeRestoredTableMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.OptimizeRestoredTableMetadata").msgclass
176
179
  CreateTableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableRequest").msgclass
177
180
  CreateTableRequest::Split = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableRequest.Split").msgclass
178
181
  CreateTableFromSnapshotRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableFromSnapshotRequest").msgclass
@@ -196,14 +199,11 @@ module Google
196
199
  CreateTableFromSnapshotMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateTableFromSnapshotMetadata").msgclass
197
200
  CreateBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateBackupRequest").msgclass
198
201
  CreateBackupMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateBackupMetadata").msgclass
199
- GetBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetBackupRequest").msgclass
200
202
  UpdateBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateBackupRequest").msgclass
203
+ GetBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetBackupRequest").msgclass
201
204
  DeleteBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteBackupRequest").msgclass
202
205
  ListBackupsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListBackupsRequest").msgclass
203
206
  ListBackupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListBackupsResponse").msgclass
204
- RestoreTableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreTableRequest").msgclass
205
- RestoreTableMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreTableMetadata").msgclass
206
- OptimizeRestoredTableMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.OptimizeRestoredTableMetadata").msgclass
207
207
  end
208
208
  end
209
209
  end
@@ -41,7 +41,7 @@ module Google
41
41
  # Creates a new table in the specified instance.
42
42
  # The table can be created with a full set of initial column families,
43
43
  # specified in the request.
44
- rpc :CreateTable, Google::Cloud::Bigtable::Admin::V2::CreateTableRequest, Google::Cloud::Bigtable::Admin::V2::Table
44
+ rpc :CreateTable, ::Google::Cloud::Bigtable::Admin::V2::CreateTableRequest, ::Google::Cloud::Bigtable::Admin::V2::Table
45
45
  # Creates a new table from the specified snapshot. The target table must
46
46
  # not exist. The snapshot and the table must be in the same instance.
47
47
  #
@@ -50,31 +50,31 @@ module Google
50
50
  # feature might be changed in backward-incompatible ways and is not
51
51
  # recommended for production use. It is not subject to any SLA or deprecation
52
52
  # policy.
53
- rpc :CreateTableFromSnapshot, Google::Cloud::Bigtable::Admin::V2::CreateTableFromSnapshotRequest, Google::Longrunning::Operation
53
+ rpc :CreateTableFromSnapshot, ::Google::Cloud::Bigtable::Admin::V2::CreateTableFromSnapshotRequest, ::Google::Longrunning::Operation
54
54
  # Lists all tables served from a specified instance.
55
- rpc :ListTables, Google::Cloud::Bigtable::Admin::V2::ListTablesRequest, Google::Cloud::Bigtable::Admin::V2::ListTablesResponse
55
+ rpc :ListTables, ::Google::Cloud::Bigtable::Admin::V2::ListTablesRequest, ::Google::Cloud::Bigtable::Admin::V2::ListTablesResponse
56
56
  # Gets metadata information about the specified table.
57
- rpc :GetTable, Google::Cloud::Bigtable::Admin::V2::GetTableRequest, Google::Cloud::Bigtable::Admin::V2::Table
57
+ rpc :GetTable, ::Google::Cloud::Bigtable::Admin::V2::GetTableRequest, ::Google::Cloud::Bigtable::Admin::V2::Table
58
58
  # Permanently deletes a specified table and all of its data.
59
- rpc :DeleteTable, Google::Cloud::Bigtable::Admin::V2::DeleteTableRequest, Google::Protobuf::Empty
59
+ rpc :DeleteTable, ::Google::Cloud::Bigtable::Admin::V2::DeleteTableRequest, ::Google::Protobuf::Empty
60
60
  # Performs a series of column family modifications on the specified table.
61
61
  # Either all or none of the modifications will occur before this method
62
62
  # returns, but data requests received prior to that point may see a table
63
63
  # where only some modifications have taken effect.
64
- rpc :ModifyColumnFamilies, Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest, Google::Cloud::Bigtable::Admin::V2::Table
64
+ rpc :ModifyColumnFamilies, ::Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest, ::Google::Cloud::Bigtable::Admin::V2::Table
65
65
  # Permanently drop/delete a row range from a specified table. The request can
66
66
  # specify whether to delete all rows in a table, or only those that match a
67
67
  # particular prefix.
68
- rpc :DropRowRange, Google::Cloud::Bigtable::Admin::V2::DropRowRangeRequest, Google::Protobuf::Empty
68
+ rpc :DropRowRange, ::Google::Cloud::Bigtable::Admin::V2::DropRowRangeRequest, ::Google::Protobuf::Empty
69
69
  # Generates a consistency token for a Table, which can be used in
70
70
  # CheckConsistency to check whether mutations to the table that finished
71
71
  # before this call started have been replicated. The tokens will be available
72
72
  # for 90 days.
73
- rpc :GenerateConsistencyToken, Google::Cloud::Bigtable::Admin::V2::GenerateConsistencyTokenRequest, Google::Cloud::Bigtable::Admin::V2::GenerateConsistencyTokenResponse
73
+ rpc :GenerateConsistencyToken, ::Google::Cloud::Bigtable::Admin::V2::GenerateConsistencyTokenRequest, ::Google::Cloud::Bigtable::Admin::V2::GenerateConsistencyTokenResponse
74
74
  # Checks replication consistency based on a consistency token, that is, if
75
75
  # replication has caught up based on the conditions specified in the token
76
76
  # and the check request.
77
- rpc :CheckConsistency, Google::Cloud::Bigtable::Admin::V2::CheckConsistencyRequest, Google::Cloud::Bigtable::Admin::V2::CheckConsistencyResponse
77
+ rpc :CheckConsistency, ::Google::Cloud::Bigtable::Admin::V2::CheckConsistencyRequest, ::Google::Cloud::Bigtable::Admin::V2::CheckConsistencyResponse
78
78
  # Creates a new snapshot in the specified cluster from the specified
79
79
  # source table. The cluster and the table must be in the same instance.
80
80
  #
@@ -83,7 +83,7 @@ module Google
83
83
  # feature might be changed in backward-incompatible ways and is not
84
84
  # recommended for production use. It is not subject to any SLA or deprecation
85
85
  # policy.
86
- rpc :SnapshotTable, Google::Cloud::Bigtable::Admin::V2::SnapshotTableRequest, Google::Longrunning::Operation
86
+ rpc :SnapshotTable, ::Google::Cloud::Bigtable::Admin::V2::SnapshotTableRequest, ::Google::Longrunning::Operation
87
87
  # Gets metadata information about the specified snapshot.
88
88
  #
89
89
  # Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -91,7 +91,7 @@ module Google
91
91
  # feature might be changed in backward-incompatible ways and is not
92
92
  # recommended for production use. It is not subject to any SLA or deprecation
93
93
  # policy.
94
- rpc :GetSnapshot, Google::Cloud::Bigtable::Admin::V2::GetSnapshotRequest, Google::Cloud::Bigtable::Admin::V2::Snapshot
94
+ rpc :GetSnapshot, ::Google::Cloud::Bigtable::Admin::V2::GetSnapshotRequest, ::Google::Cloud::Bigtable::Admin::V2::Snapshot
95
95
  # Lists all snapshots associated with the specified cluster.
96
96
  #
97
97
  # Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -99,7 +99,7 @@ module Google
99
99
  # feature might be changed in backward-incompatible ways and is not
100
100
  # recommended for production use. It is not subject to any SLA or deprecation
101
101
  # policy.
102
- rpc :ListSnapshots, Google::Cloud::Bigtable::Admin::V2::ListSnapshotsRequest, Google::Cloud::Bigtable::Admin::V2::ListSnapshotsResponse
102
+ rpc :ListSnapshots, ::Google::Cloud::Bigtable::Admin::V2::ListSnapshotsRequest, ::Google::Cloud::Bigtable::Admin::V2::ListSnapshotsResponse
103
103
  # Permanently deletes the specified snapshot.
104
104
  #
105
105
  # Note: This is a private alpha release of Cloud Bigtable snapshots. This
@@ -107,43 +107,43 @@ module Google
107
107
  # feature might be changed in backward-incompatible ways and is not
108
108
  # recommended for production use. It is not subject to any SLA or deprecation
109
109
  # policy.
110
- rpc :DeleteSnapshot, Google::Cloud::Bigtable::Admin::V2::DeleteSnapshotRequest, Google::Protobuf::Empty
111
- # Starts creating a new Cloud Bigtable Backup. The returned backup
110
+ rpc :DeleteSnapshot, ::Google::Cloud::Bigtable::Admin::V2::DeleteSnapshotRequest, ::Google::Protobuf::Empty
111
+ # Starts creating a new Cloud Bigtable Backup. The returned backup
112
112
  # [long-running operation][google.longrunning.Operation] can be used to
113
113
  # track creation of the backup. The
114
114
  # [metadata][google.longrunning.Operation.metadata] field type is
115
115
  # [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The
116
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, Google::Cloud::Bigtable::Admin::V2::CreateBackupRequest, Google::Longrunning::Operation
117
+ # [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the returned operation will stop the
118
+ # creation and delete the backup.
119
+ rpc :CreateBackup, ::Google::Cloud::Bigtable::Admin::V2::CreateBackupRequest, ::Google::Longrunning::Operation
120
120
  # Gets metadata on a pending or completed Cloud Bigtable Backup.
121
- rpc :GetBackup, Google::Cloud::Bigtable::Admin::V2::GetBackupRequest, Google::Cloud::Bigtable::Admin::V2::Backup
121
+ rpc :GetBackup, ::Google::Cloud::Bigtable::Admin::V2::GetBackupRequest, ::Google::Cloud::Bigtable::Admin::V2::Backup
122
122
  # Updates a pending or completed Cloud Bigtable Backup.
123
- rpc :UpdateBackup, Google::Cloud::Bigtable::Admin::V2::UpdateBackupRequest, Google::Cloud::Bigtable::Admin::V2::Backup
123
+ rpc :UpdateBackup, ::Google::Cloud::Bigtable::Admin::V2::UpdateBackupRequest, ::Google::Cloud::Bigtable::Admin::V2::Backup
124
124
  # Deletes a pending or completed Cloud Bigtable backup.
125
- rpc :DeleteBackup, Google::Cloud::Bigtable::Admin::V2::DeleteBackupRequest, Google::Protobuf::Empty
125
+ rpc :DeleteBackup, ::Google::Cloud::Bigtable::Admin::V2::DeleteBackupRequest, ::Google::Protobuf::Empty
126
126
  # Lists Cloud Bigtable backups. Returns both completed and pending
127
127
  # backups.
128
- rpc :ListBackups, Google::Cloud::Bigtable::Admin::V2::ListBackupsRequest, Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse
128
+ rpc :ListBackups, ::Google::Cloud::Bigtable::Admin::V2::ListBackupsRequest, ::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse
129
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
130
+ # must be in the same instance as the instance containing the backup. The
131
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
132
+ # be used to track the progress of the operation, and to cancel it. The
133
133
  # [metadata][google.longrunning.Operation.metadata] field type is
134
- # [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The
134
+ # [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The
135
135
  # [response][google.longrunning.Operation.response] type is
136
136
  # [Table][google.bigtable.admin.v2.Table], if successful.
137
- rpc :RestoreTable, Google::Cloud::Bigtable::Admin::V2::RestoreTableRequest, Google::Longrunning::Operation
138
- # Gets the access control policy for a resource.
137
+ rpc :RestoreTable, ::Google::Cloud::Bigtable::Admin::V2::RestoreTableRequest, ::Google::Longrunning::Operation
138
+ # Gets the access control policy for a Table or Backup resource.
139
139
  # Returns an empty policy if the resource exists but does not have a policy
140
140
  # set.
141
- rpc :GetIamPolicy, Google::Iam::V1::GetIamPolicyRequest, Google::Iam::V1::Policy
141
+ rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
142
142
  # Sets the access control policy on a Table or Backup resource.
143
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
144
+ rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
145
+ # Returns permissions that the caller has on the specified Table or Backup resource.
146
+ rpc :TestIamPermissions, ::Google::Iam::V1::TestIamPermissionsRequest, ::Google::Iam::V1::TestIamPermissionsResponse
147
147
  end
148
148
 
149
149
  Stub = Service.rpc_stub_class
@@ -1391,7 +1391,7 @@ module Google
1391
1391
  # Required. The unique name of the app profile to be deleted. Values are of the form
1392
1392
  # `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
1393
1393
  # @param ignore_warnings [::Boolean]
1394
- # If true, ignore safety checks when deleting the app profile.
1394
+ # Required. If true, ignore safety checks when deleting the app profile.
1395
1395
  #
1396
1396
  # @yield [response, operation] Access the result along with the RPC operation
1397
1397
  # @yieldparam response [::Google::Protobuf::Empty]
@@ -265,8 +265,8 @@ module Google
265
265
  # Required. The unique name of the instance in which to create the table.
266
266
  # Values are of the form `projects/{project}/instances/{instance}`.
267
267
  # @param table_id [::String]
268
- # Required. The name by which the new table should be referred to within the
269
- # parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
268
+ # Required. The name by which the new table should be referred to within the parent
269
+ # instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
270
270
  # Maximum 50 characters.
271
271
  # @param table [::Google::Cloud::Bigtable::Admin::V2::Table, ::Hash]
272
272
  # Required. The Table to create.
@@ -362,12 +362,12 @@ module Google
362
362
  # Required. The unique name of the instance in which to create the table.
363
363
  # Values are of the form `projects/{project}/instances/{instance}`.
364
364
  # @param table_id [::String]
365
- # Required. The name by which the new table should be referred to within the
366
- # parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
365
+ # Required. The name by which the new table should be referred to within the parent
366
+ # instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
367
367
  # @param source_snapshot [::String]
368
- # Required. The unique name of the snapshot from which to restore the table.
369
- # The snapshot and the table must be in the same instance. Values are of the
370
- # form
368
+ # Required. The unique name of the snapshot from which to restore the table. The
369
+ # snapshot and the table must be in the same instance.
370
+ # Values are of the form
371
371
  # `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
372
372
  #
373
373
  # @yield [response, operation] Access the result along with the RPC operation
@@ -435,8 +435,8 @@ module Google
435
435
  # the default parameter values, pass an empty Hash as a request object (see above).
436
436
  #
437
437
  # @param parent [::String]
438
- # Required. The unique name of the instance for which tables should be
439
- # listed. Values are of the form `projects/{project}/instances/{instance}`.
438
+ # Required. The unique name of the instance for which tables should be listed.
439
+ # Values are of the form `projects/{project}/instances/{instance}`.
440
440
  # @param view [::Google::Cloud::Bigtable::Admin::V2::Table::View]
441
441
  # The view to be applied to the returned tables' fields.
442
442
  # Only NAME_ONLY view (default) and REPLICATION_VIEW are supported.
@@ -664,10 +664,10 @@ module Google
664
664
  # Values are of the form
665
665
  # `projects/{project}/instances/{instance}/tables/{table}`.
666
666
  # @param modifications [::Array<::Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest::Modification, ::Hash>]
667
- # Required. Modifications to be atomically applied to the specified table's
668
- # families. Entries are applied in order, meaning that earlier modifications
669
- # can be masked by later ones (in the case of repeated updates to the same
670
- # family, for example).
667
+ # Required. Modifications to be atomically applied to the specified table's families.
668
+ # Entries are applied in order, meaning that earlier modifications can be
669
+ # masked by later ones (in the case of repeated updates to the same family,
670
+ # for example).
671
671
  #
672
672
  # @yield [response, operation] Access the result along with the RPC operation
673
673
  # @yieldparam response [::Google::Cloud::Bigtable::Admin::V2::Table]
@@ -811,8 +811,8 @@ module Google
811
811
  # the default parameter values, pass an empty Hash as a request object (see above).
812
812
  #
813
813
  # @param name [::String]
814
- # Required. The unique name of the Table for which to create a consistency
815
- # token. Values are of the form
814
+ # Required. The unique name of the Table for which to create a consistency token.
815
+ # Values are of the form
816
816
  # `projects/{project}/instances/{instance}/tables/{table}`.
817
817
  #
818
818
  # @yield [response, operation] Access the result along with the RPC operation
@@ -881,8 +881,8 @@ module Google
881
881
  # the default parameter values, pass an empty Hash as a request object (see above).
882
882
  #
883
883
  # @param name [::String]
884
- # Required. The unique name of the Table for which to check replication
885
- # consistency. Values are of the form
884
+ # Required. The unique name of the Table for which to check replication consistency.
885
+ # Values are of the form
886
886
  # `projects/{project}/instances/{instance}/tables/{table}`.
887
887
  # @param consistency_token [::String]
888
888
  # Required. The token created using GenerateConsistencyToken for the Table.
@@ -966,9 +966,9 @@ module Google
966
966
  # Values are of the form
967
967
  # `projects/{project}/instances/{instance}/clusters/{cluster}`.
968
968
  # @param snapshot_id [::String]
969
- # Required. The ID by which the new snapshot should be referred to within the
970
- # parent cluster, e.g., `mysnapshot` of the form:
971
- # `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than
969
+ # Required. The ID by which the new snapshot should be referred to within the parent
970
+ # cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
971
+ # rather than
972
972
  # `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`.
973
973
  # @param ttl [::Google::Protobuf::Duration, ::Hash]
974
974
  # The amount of time that the new snapshot can stay active after it is
@@ -1123,8 +1123,8 @@ module Google
1123
1123
  # the default parameter values, pass an empty Hash as a request object (see above).
1124
1124
  #
1125
1125
  # @param parent [::String]
1126
- # Required. The unique name of the cluster for which snapshots should be
1127
- # listed. Values are of the form
1126
+ # Required. The unique name of the cluster for which snapshots should be listed.
1127
+ # Values are of the form
1128
1128
  # `projects/{project}/instances/{instance}/clusters/{cluster}`.
1129
1129
  # Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
1130
1130
  # e.g., `projects/{project}/instances/{instance}/clusters/-`.
@@ -1255,14 +1255,14 @@ module Google
1255
1255
  end
1256
1256
 
1257
1257
  ##
1258
- # Starts creating a new Cloud Bigtable Backup. The returned backup
1258
+ # Starts creating a new Cloud Bigtable Backup. The returned backup
1259
1259
  # {::Google::Longrunning::Operation long-running operation} can be used to
1260
1260
  # track creation of the backup. The
1261
1261
  # {::Google::Longrunning::Operation#metadata metadata} field type is
1262
1262
  # {::Google::Cloud::Bigtable::Admin::V2::CreateBackupMetadata CreateBackupMetadata}. The
1263
1263
  # {::Google::Longrunning::Operation#response response} field type is
1264
- # {::Google::Cloud::Bigtable::Admin::V2::Backup Backup}, if successful. Cancelling the
1265
- # returned operation will stop the creation and delete the backup.
1264
+ # {::Google::Cloud::Bigtable::Admin::V2::Backup Backup}, if successful. Cancelling the returned operation will stop the
1265
+ # creation and delete the backup.
1266
1266
  #
1267
1267
  # @overload create_backup(request, options = nil)
1268
1268
  # Pass arguments to `create_backup` via a request object, either of type
@@ -1570,7 +1570,7 @@ module Google
1570
1570
  # the default parameter values, pass an empty Hash as a request object (see above).
1571
1571
  #
1572
1572
  # @param parent [::String]
1573
- # Required. The cluster to list backups from. Values are of the
1573
+ # Required. The cluster to list backups from. Values are of the
1574
1574
  # form `projects/{project}/instances/{instance}/clusters/{cluster}`.
1575
1575
  # Use `{cluster} = '-'` to list backups for all clusters in an instance,
1576
1576
  # e.g., `projects/{project}/instances/{instance}/clusters/-`.
@@ -1579,7 +1579,7 @@ module Google
1579
1579
  # The expression must specify the field name, a comparison operator,
1580
1580
  # and the value that you want to use for filtering. The value must be a
1581
1581
  # string, a number, or a boolean. The comparison operator must be
1582
- # <, >, <=, >=, !=, =, or :. Colon ‘:’ represents a HAS operator which is
1582
+ # <, >, <=, >=, !=, =, or :. Colon ':' represents a HAS operator which is
1583
1583
  # roughly synonymous with equality. Filter rules are case insensitive.
1584
1584
  #
1585
1585
  # The fields eligible for filtering are:
@@ -1609,9 +1609,8 @@ module Google
1609
1609
  # * `size_bytes > 10000000000` --> The backup's size is greater than 10GB
1610
1610
  # @param order_by [::String]
1611
1611
  # An expression for specifying the sort order of the results of the request.
1612
- # The string value should specify one or more fields in
1613
- # {::Google::Cloud::Bigtable::Admin::V2::Backup Backup}. The full syntax is described at
1614
- # https://aip.dev/132#ordering.
1612
+ # The string value should specify one or more fields in {::Google::Cloud::Bigtable::Admin::V2::Backup Backup}. The full
1613
+ # syntax is described at https://aip.dev/132#ordering.
1615
1614
  #
1616
1615
  # Fields supported are:
1617
1616
  # * name
@@ -1634,10 +1633,9 @@ module Google
1634
1633
  # less, defaults to the server's maximum allowed page size.
1635
1634
  # @param page_token [::String]
1636
1635
  # If non-empty, `page_token` should contain a
1637
- # {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse#next_page_token next_page_token}
1638
- # from a previous
1639
- # {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse ListBackupsResponse} to the
1640
- # same `parent` and with the same `filter`.
1636
+ # {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse#next_page_token next_page_token} from a
1637
+ # previous {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse ListBackupsResponse} to the same `parent` and with the same
1638
+ # `filter`.
1641
1639
  #
1642
1640
  # @yield [response, operation] Access the result along with the RPC operation
1643
1641
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Bigtable::Admin::V2::Backup>]
@@ -1687,11 +1685,11 @@ module Google
1687
1685
 
1688
1686
  ##
1689
1687
  # Create a new table by restoring from a completed backup. The new table
1690
- # must be in the same instance as the instance containing the backup. The
1688
+ # must be in the same instance as the instance containing the backup. The
1691
1689
  # returned table {::Google::Longrunning::Operation long-running operation} can
1692
- # be used to track the progress of the operation, and to cancel it. The
1690
+ # be used to track the progress of the operation, and to cancel it. The
1693
1691
  # {::Google::Longrunning::Operation#metadata metadata} field type is
1694
- # [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The
1692
+ # [RestoreTableMetadata][google.bigtable.admin.RestoreTableMetadata]. The
1695
1693
  # {::Google::Longrunning::Operation#response response} type is
1696
1694
  # {::Google::Cloud::Bigtable::Admin::V2::Table Table}, if successful.
1697
1695
  #
@@ -1720,7 +1718,7 @@ module Google
1720
1718
  # `parent` forms the full table name of the form
1721
1719
  # `projects/<project>/instances/<instance>/tables/<table_id>`.
1722
1720
  # @param backup [::String]
1723
- # Name of the backup from which to restore. Values are of the form
1721
+ # Name of the backup from which to restore. Values are of the form
1724
1722
  # `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
1725
1723
  #
1726
1724
  # @yield [response, operation] Access the result along with the RPC operation
@@ -1770,7 +1768,7 @@ module Google
1770
1768
  end
1771
1769
 
1772
1770
  ##
1773
- # Gets the access control policy for a resource.
1771
+ # Gets the access control policy for a Table or Backup resource.
1774
1772
  # Returns an empty policy if the resource exists but does not have a policy
1775
1773
  # set.
1776
1774
  #
@@ -1915,7 +1913,7 @@ module Google
1915
1913
  end
1916
1914
 
1917
1915
  ##
1918
- # Returns permissions that the caller has on the specified table resource.
1916
+ # Returns permissions that the caller has on the specified Table or Backup resource.
1919
1917
  #
1920
1918
  # @overload test_iam_permissions(request, options = nil)
1921
1919
  # Pass arguments to `test_iam_permissions` via a request object, either of type
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigtable
23
23
  module Admin
24
24
  module V2
25
- VERSION = "0.1.2"
25
+ VERSION = "0.2.0"
26
26
  end
27
27
  end
28
28
  end
@@ -43,12 +43,12 @@ module Google
43
43
  #
44
44
  # The ResourceDescriptor Yaml config will look like:
45
45
  #
46
- # resources:
47
- # - type: "pubsub.googleapis.com/Topic"
48
- # name_descriptor:
49
- # - pattern: "projects/\\{project}/topics/\\{topic}"
50
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
51
- # parent_name_extractor: "projects/\\{project}"
46
+ # resources:
47
+ # - type: "pubsub.googleapis.com/Topic"
48
+ # name_descriptor:
49
+ # - pattern: "projects/{project}/topics/{topic}"
50
+ # parent_type: "cloudresourcemanager.googleapis.com/Project"
51
+ # parent_name_extractor: "projects/{project}"
52
52
  #
53
53
  # Sometimes, resources have multiple patterns, typically because they can
54
54
  # live under multiple parents.
@@ -183,15 +183,24 @@ module Google
183
183
  # }
184
184
  # @!attribute [rw] plural
185
185
  # @return [::String]
186
- # The plural name used in the resource name, such as 'projects' for
187
- # the name of 'projects/\\{project}'. It is the same concept of the `plural`
188
- # field in k8s CRD spec
186
+ # The plural name used in the resource name and permission names, such as
187
+ # 'projects' for the resource name of 'projects/\\{project}' and the permission
188
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
189
+ # concept of the `plural` field in k8s CRD spec
189
190
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
191
+ #
192
+ # Note: The plural form is required even for singleton resources. See
193
+ # https://aip.dev/156
190
194
  # @!attribute [rw] singular
191
195
  # @return [::String]
192
196
  # The same concept of the `singular` field in k8s CRD spec
193
197
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
194
198
  # Such as "project" for the `resourcemanager.googleapis.com/Project` type.
199
+ # @!attribute [rw] style
200
+ # @return [::Array<::Google::Api::ResourceDescriptor::Style>]
201
+ # Style flag(s) for this resource.
202
+ # These indicate that a resource is expected to conform to a given
203
+ # style. See the specific style flags for additional information.
195
204
  class ResourceDescriptor
196
205
  include ::Google::Protobuf::MessageExts
197
206
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -211,6 +220,22 @@ module Google
211
220
  # that from being necessary once there are multiple patterns.)
212
221
  FUTURE_MULTI_PATTERN = 2
213
222
  end
223
+
224
+ # A flag representing a specific style that a resource claims to conform to.
225
+ module Style
226
+ # The unspecified value. Do not use.
227
+ STYLE_UNSPECIFIED = 0
228
+
229
+ # This resource is intended to be "declarative-friendly".
230
+ #
231
+ # Declarative-friendly resources must be more strictly consistent, and
232
+ # setting this to true communicates to tools that this resource should
233
+ # adhere to declarative-friendly expectations.
234
+ #
235
+ # Note: This is used by the API linter (linter.aip.dev) to enable
236
+ # additional checks.
237
+ DECLARATIVE_FRIENDLY = 1
238
+ end
214
239
  end
215
240
 
216
241
  # Defines a proto annotation that describes a string field that refers to
@@ -226,6 +251,17 @@ module Google
226
251
  # type: "pubsub.googleapis.com/Topic"
227
252
  # }];
228
253
  # }
254
+ #
255
+ # Occasionally, a field may reference an arbitrary resource. In this case,
256
+ # APIs use the special value * in their resource reference.
257
+ #
258
+ # Example:
259
+ #
260
+ # message GetIamPolicyRequest {
261
+ # string resource = 2 [(google.api.resource_reference) = {
262
+ # type: "*"
263
+ # }];
264
+ # }
229
265
  # @!attribute [rw] child_type
230
266
  # @return [::String]
231
267
  # The resource type of a child collection that the annotated field
@@ -234,11 +270,11 @@ module Google
234
270
  #
235
271
  # Example:
236
272
  #
237
- # message ListLogEntriesRequest {
238
- # string parent = 1 [(google.api.resource_reference) = {
239
- # child_type: "logging.googleapis.com/LogEntry"
240
- # };
241
- # }
273
+ # message ListLogEntriesRequest {
274
+ # string parent = 1 [(google.api.resource_reference) = {
275
+ # child_type: "logging.googleapis.com/LogEntry"
276
+ # };
277
+ # }
242
278
  class ResourceReference
243
279
  include ::Google::Protobuf::MessageExts
244
280
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -360,7 +360,7 @@ module Google
360
360
  # `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
361
361
  # @!attribute [rw] ignore_warnings
362
362
  # @return [::Boolean]
363
- # If true, ignore safety checks when deleting the app profile.
363
+ # Required. If true, ignore safety checks when deleting the app profile.
364
364
  class DeleteAppProfileRequest
365
365
  include ::Google::Protobuf::MessageExts
366
366
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -22,6 +22,73 @@ module Google
22
22
  module Bigtable
23
23
  module Admin
24
24
  module V2
25
+ # The request for
26
+ # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#restore_table RestoreTable}.
27
+ # @!attribute [rw] parent
28
+ # @return [::String]
29
+ # Required. The name of the instance in which to create the restored
30
+ # table. This instance must be the parent of the source backup. Values are
31
+ # of the form `projects/<project>/instances/<instance>`.
32
+ # @!attribute [rw] table_id
33
+ # @return [::String]
34
+ # Required. The id of the table to create and restore to. This
35
+ # table must not already exist. The `table_id` appended to
36
+ # `parent` forms the full table name of the form
37
+ # `projects/<project>/instances/<instance>/tables/<table_id>`.
38
+ # @!attribute [rw] backup
39
+ # @return [::String]
40
+ # Name of the backup from which to restore. Values are of the form
41
+ # `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
42
+ class RestoreTableRequest
43
+ include ::Google::Protobuf::MessageExts
44
+ extend ::Google::Protobuf::MessageExts::ClassMethods
45
+ end
46
+
47
+ # Metadata type for the long-running operation returned by
48
+ # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#restore_table RestoreTable}.
49
+ # @!attribute [rw] name
50
+ # @return [::String]
51
+ # Name of the table being created and restored to.
52
+ # @!attribute [rw] source_type
53
+ # @return [::Google::Cloud::Bigtable::Admin::V2::RestoreSourceType]
54
+ # The type of the restore source.
55
+ # @!attribute [rw] backup_info
56
+ # @return [::Google::Cloud::Bigtable::Admin::V2::BackupInfo]
57
+ # @!attribute [rw] optimize_table_operation_name
58
+ # @return [::String]
59
+ # If exists, the name of the long-running operation that will be used to
60
+ # track the post-restore optimization process to optimize the performance of
61
+ # the restored table. The metadata type of the long-running operation is
62
+ # [OptimizeRestoreTableMetadata][]. The response type is
63
+ # {::Google::Protobuf::Empty Empty}. This long-running operation may be
64
+ # automatically created by the system if applicable after the
65
+ # RestoreTable long-running operation completes successfully. This operation
66
+ # may not be created if the table is already optimized or the restore was
67
+ # not successful.
68
+ # @!attribute [rw] progress
69
+ # @return [::Google::Cloud::Bigtable::Admin::V2::OperationProgress]
70
+ # The progress of the {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#restore_table RestoreTable}
71
+ # operation.
72
+ class RestoreTableMetadata
73
+ include ::Google::Protobuf::MessageExts
74
+ extend ::Google::Protobuf::MessageExts::ClassMethods
75
+ end
76
+
77
+ # Metadata type for the long-running operation used to track the progress
78
+ # of optimizations performed on a newly restored table. This long-running
79
+ # operation is automatically created by the system after the successful
80
+ # completion of a table restore, and cannot be cancelled.
81
+ # @!attribute [rw] name
82
+ # @return [::String]
83
+ # Name of the restored table being optimized.
84
+ # @!attribute [rw] progress
85
+ # @return [::Google::Cloud::Bigtable::Admin::V2::OperationProgress]
86
+ # The progress of the post-restore optimizations.
87
+ class OptimizeRestoredTableMetadata
88
+ include ::Google::Protobuf::MessageExts
89
+ extend ::Google::Protobuf::MessageExts::ClassMethods
90
+ end
91
+
25
92
  # Request message for
26
93
  # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#create_table google.bigtable.admin.v2.BigtableTableAdmin.CreateTable}
27
94
  # @!attribute [rw] parent
@@ -30,8 +97,8 @@ module Google
30
97
  # Values are of the form `projects/{project}/instances/{instance}`.
31
98
  # @!attribute [rw] table_id
32
99
  # @return [::String]
33
- # Required. The name by which the new table should be referred to within the
34
- # parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
100
+ # Required. The name by which the new table should be referred to within the parent
101
+ # instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
35
102
  # Maximum 50 characters.
36
103
  # @!attribute [rw] table
37
104
  # @return [::Google::Cloud::Bigtable::Admin::V2::Table]
@@ -81,13 +148,13 @@ module Google
81
148
  # Values are of the form `projects/{project}/instances/{instance}`.
82
149
  # @!attribute [rw] table_id
83
150
  # @return [::String]
84
- # Required. The name by which the new table should be referred to within the
85
- # parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
151
+ # Required. The name by which the new table should be referred to within the parent
152
+ # instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
86
153
  # @!attribute [rw] source_snapshot
87
154
  # @return [::String]
88
- # Required. The unique name of the snapshot from which to restore the table.
89
- # The snapshot and the table must be in the same instance. Values are of the
90
- # form
155
+ # Required. The unique name of the snapshot from which to restore the table. The
156
+ # snapshot and the table must be in the same instance.
157
+ # Values are of the form
91
158
  # `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
92
159
  class CreateTableFromSnapshotRequest
93
160
  include ::Google::Protobuf::MessageExts
@@ -117,8 +184,8 @@ module Google
117
184
  # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_tables google.bigtable.admin.v2.BigtableTableAdmin.ListTables}
118
185
  # @!attribute [rw] parent
119
186
  # @return [::String]
120
- # Required. The unique name of the instance for which tables should be
121
- # listed. Values are of the form `projects/{project}/instances/{instance}`.
187
+ # Required. The unique name of the instance for which tables should be listed.
188
+ # Values are of the form `projects/{project}/instances/{instance}`.
122
189
  # @!attribute [rw] view
123
190
  # @return [::Google::Cloud::Bigtable::Admin::V2::Table::View]
124
191
  # The view to be applied to the returned tables' fields.
@@ -194,10 +261,10 @@ module Google
194
261
  # `projects/{project}/instances/{instance}/tables/{table}`.
195
262
  # @!attribute [rw] modifications
196
263
  # @return [::Array<::Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest::Modification>]
197
- # Required. Modifications to be atomically applied to the specified table's
198
- # families. Entries are applied in order, meaning that earlier modifications
199
- # can be masked by later ones (in the case of repeated updates to the same
200
- # family, for example).
264
+ # Required. Modifications to be atomically applied to the specified table's families.
265
+ # Entries are applied in order, meaning that earlier modifications can be
266
+ # masked by later ones (in the case of repeated updates to the same family,
267
+ # for example).
201
268
  class ModifyColumnFamiliesRequest
202
269
  include ::Google::Protobuf::MessageExts
203
270
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -228,8 +295,8 @@ module Google
228
295
  # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#generate_consistency_token google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken}
229
296
  # @!attribute [rw] name
230
297
  # @return [::String]
231
- # Required. The unique name of the Table for which to create a consistency
232
- # token. Values are of the form
298
+ # Required. The unique name of the Table for which to create a consistency token.
299
+ # Values are of the form
233
300
  # `projects/{project}/instances/{instance}/tables/{table}`.
234
301
  class GenerateConsistencyTokenRequest
235
302
  include ::Google::Protobuf::MessageExts
@@ -250,8 +317,8 @@ module Google
250
317
  # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#check_consistency google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency}
251
318
  # @!attribute [rw] name
252
319
  # @return [::String]
253
- # Required. The unique name of the Table for which to check replication
254
- # consistency. Values are of the form
320
+ # Required. The unique name of the Table for which to check replication consistency.
321
+ # Values are of the form
255
322
  # `projects/{project}/instances/{instance}/tables/{table}`.
256
323
  # @!attribute [rw] consistency_token
257
324
  # @return [::String]
@@ -291,9 +358,9 @@ module Google
291
358
  # `projects/{project}/instances/{instance}/clusters/{cluster}`.
292
359
  # @!attribute [rw] snapshot_id
293
360
  # @return [::String]
294
- # Required. The ID by which the new snapshot should be referred to within the
295
- # parent cluster, e.g., `mysnapshot` of the form:
296
- # `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than
361
+ # Required. The ID by which the new snapshot should be referred to within the parent
362
+ # cluster, e.g., `mysnapshot` of the form: `[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
363
+ # rather than
297
364
  # `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`.
298
365
  # @!attribute [rw] ttl
299
366
  # @return [::Google::Protobuf::Duration]
@@ -335,8 +402,8 @@ module Google
335
402
  # for production use. It is not subject to any SLA or deprecation policy.
336
403
  # @!attribute [rw] parent
337
404
  # @return [::String]
338
- # Required. The unique name of the cluster for which snapshots should be
339
- # listed. Values are of the form
405
+ # Required. The unique name of the cluster for which snapshots should be listed.
406
+ # Values are of the form
340
407
  # `projects/{project}/instances/{instance}/clusters/{cluster}`.
341
408
  # Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
342
409
  # e.g., `projects/{project}/instances/{instance}/clusters/-`.
@@ -430,8 +497,7 @@ module Google
430
497
  extend ::Google::Protobuf::MessageExts::ClassMethods
431
498
  end
432
499
 
433
- # The request for
434
- # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#create_backup CreateBackup}.
500
+ # The request for {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#create_backup CreateBackup}.
435
501
  # @!attribute [rw] parent
436
502
  # @return [::String]
437
503
  # Required. This must be one of the clusters in the instance in which this
@@ -472,20 +538,7 @@ module Google
472
538
  extend ::Google::Protobuf::MessageExts::ClassMethods
473
539
  end
474
540
 
475
- # The request for
476
- # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#get_backup GetBackup}.
477
- # @!attribute [rw] name
478
- # @return [::String]
479
- # Required. Name of the backup.
480
- # Values are of the form
481
- # `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
482
- class GetBackupRequest
483
- include ::Google::Protobuf::MessageExts
484
- extend ::Google::Protobuf::MessageExts::ClassMethods
485
- end
486
-
487
- # The request for
488
- # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#update_backup UpdateBackup}.
541
+ # The request for {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#update_backup UpdateBackup}.
489
542
  # @!attribute [rw] backup
490
543
  # @return [::Google::Cloud::Bigtable::Admin::V2::Backup]
491
544
  # Required. The backup to update. `backup.name`, and the fields to be updated
@@ -504,8 +557,18 @@ module Google
504
557
  extend ::Google::Protobuf::MessageExts::ClassMethods
505
558
  end
506
559
 
507
- # The request for
508
- # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#delete_backup DeleteBackup}.
560
+ # The request for {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#get_backup GetBackup}.
561
+ # @!attribute [rw] name
562
+ # @return [::String]
563
+ # Required. Name of the backup.
564
+ # Values are of the form
565
+ # `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`.
566
+ class GetBackupRequest
567
+ include ::Google::Protobuf::MessageExts
568
+ extend ::Google::Protobuf::MessageExts::ClassMethods
569
+ end
570
+
571
+ # The request for {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#delete_backup DeleteBackup}.
509
572
  # @!attribute [rw] name
510
573
  # @return [::String]
511
574
  # Required. Name of the backup to delete.
@@ -516,11 +579,10 @@ module Google
516
579
  extend ::Google::Protobuf::MessageExts::ClassMethods
517
580
  end
518
581
 
519
- # The request for
520
- # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_backups ListBackups}.
582
+ # The request for {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_backups ListBackups}.
521
583
  # @!attribute [rw] parent
522
584
  # @return [::String]
523
- # Required. The cluster to list backups from. Values are of the
585
+ # Required. The cluster to list backups from. Values are of the
524
586
  # form `projects/{project}/instances/{instance}/clusters/{cluster}`.
525
587
  # Use `{cluster} = '-'` to list backups for all clusters in an instance,
526
588
  # e.g., `projects/{project}/instances/{instance}/clusters/-`.
@@ -530,7 +592,7 @@ module Google
530
592
  # The expression must specify the field name, a comparison operator,
531
593
  # and the value that you want to use for filtering. The value must be a
532
594
  # string, a number, or a boolean. The comparison operator must be
533
- # <, >, <=, >=, !=, =, or :. Colon ‘:’ represents a HAS operator which is
595
+ # <, >, <=, >=, !=, =, or :. Colon ':' represents a HAS operator which is
534
596
  # roughly synonymous with equality. Filter rules are case insensitive.
535
597
  #
536
598
  # The fields eligible for filtering are:
@@ -561,9 +623,8 @@ module Google
561
623
  # @!attribute [rw] order_by
562
624
  # @return [::String]
563
625
  # An expression for specifying the sort order of the results of the request.
564
- # The string value should specify one or more fields in
565
- # {::Google::Cloud::Bigtable::Admin::V2::Backup Backup}. The full syntax is described at
566
- # https://aip.dev/132#ordering.
626
+ # The string value should specify one or more fields in {::Google::Cloud::Bigtable::Admin::V2::Backup Backup}. The full
627
+ # syntax is described at https://aip.dev/132#ordering.
567
628
  #
568
629
  # Fields supported are:
569
630
  # * name
@@ -588,97 +649,27 @@ module Google
588
649
  # @!attribute [rw] page_token
589
650
  # @return [::String]
590
651
  # If non-empty, `page_token` should contain a
591
- # {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse#next_page_token next_page_token}
592
- # from a previous
593
- # {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse ListBackupsResponse} to the
594
- # same `parent` and with the same `filter`.
652
+ # {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse#next_page_token next_page_token} from a
653
+ # previous {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse ListBackupsResponse} to the same `parent` and with the same
654
+ # `filter`.
595
655
  class ListBackupsRequest
596
656
  include ::Google::Protobuf::MessageExts
597
657
  extend ::Google::Protobuf::MessageExts::ClassMethods
598
658
  end
599
659
 
600
- # The response for
601
- # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_backups ListBackups}.
660
+ # The response for {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_backups ListBackups}.
602
661
  # @!attribute [rw] backups
603
662
  # @return [::Array<::Google::Cloud::Bigtable::Admin::V2::Backup>]
604
663
  # The list of matching backups.
605
664
  # @!attribute [rw] next_page_token
606
665
  # @return [::String]
607
666
  # `next_page_token` can be sent in a subsequent
608
- # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_backups ListBackups} call
609
- # to fetch more of the matching backups.
667
+ # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_backups ListBackups} call to fetch more
668
+ # of the matching backups.
610
669
  class ListBackupsResponse
611
670
  include ::Google::Protobuf::MessageExts
612
671
  extend ::Google::Protobuf::MessageExts::ClassMethods
613
672
  end
614
-
615
- # The request for
616
- # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#restore_table RestoreTable}.
617
- # @!attribute [rw] parent
618
- # @return [::String]
619
- # Required. The name of the instance in which to create the restored
620
- # table. This instance must be the parent of the source backup. Values are
621
- # of the form `projects/<project>/instances/<instance>`.
622
- # @!attribute [rw] table_id
623
- # @return [::String]
624
- # Required. The id of the table to create and restore to. This
625
- # table must not already exist. The `table_id` appended to
626
- # `parent` forms the full table name of the form
627
- # `projects/<project>/instances/<instance>/tables/<table_id>`.
628
- # @!attribute [rw] backup
629
- # @return [::String]
630
- # Name of the backup from which to restore. Values are of the form
631
- # `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
632
- class RestoreTableRequest
633
- include ::Google::Protobuf::MessageExts
634
- extend ::Google::Protobuf::MessageExts::ClassMethods
635
- end
636
-
637
- # Metadata type for the long-running operation returned by
638
- # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#restore_table RestoreTable}.
639
- # @!attribute [rw] name
640
- # @return [::String]
641
- # Name of the table being created and restored to.
642
- # @!attribute [rw] source_type
643
- # @return [::Google::Cloud::Bigtable::Admin::V2::RestoreSourceType]
644
- # The type of the restore source.
645
- # @!attribute [rw] backup_info
646
- # @return [::Google::Cloud::Bigtable::Admin::V2::BackupInfo]
647
- # @!attribute [rw] optimize_table_operation_name
648
- # @return [::String]
649
- # If exists, the name of the long-running operation that will be used to
650
- # track the post-restore optimization process to optimize the performance of
651
- # the restored table. The metadata type of the long-running operation is
652
- # [OptimizeRestoreTableMetadata][]. The response type is
653
- # {::Google::Protobuf::Empty Empty}. This long-running operation may be
654
- # automatically created by the system if applicable after the
655
- # RestoreTable long-running operation completes successfully. This operation
656
- # may not be created if the table is already optimized or the restore was
657
- # not successful.
658
- # @!attribute [rw] progress
659
- # @return [::Google::Cloud::Bigtable::Admin::V2::OperationProgress]
660
- # The progress of the
661
- # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#restore_table RestoreTable}
662
- # operation.
663
- class RestoreTableMetadata
664
- include ::Google::Protobuf::MessageExts
665
- extend ::Google::Protobuf::MessageExts::ClassMethods
666
- end
667
-
668
- # Metadata type for the long-running operation used to track the progress
669
- # of optimizations performed on a newly restored table. This long-running
670
- # operation is automatically created by the system after the successful
671
- # completion of a table restore, and cannot be cancelled.
672
- # @!attribute [rw] name
673
- # @return [::String]
674
- # Name of the restored table being optimized.
675
- # @!attribute [rw] progress
676
- # @return [::Google::Cloud::Bigtable::Admin::V2::OperationProgress]
677
- # The progress of the post-restore optimizations.
678
- class OptimizeRestoredTableMetadata
679
- include ::Google::Protobuf::MessageExts
680
- extend ::Google::Protobuf::MessageExts::ClassMethods
681
- end
682
673
  end
683
674
  end
684
675
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigtable-admin-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-10 00:00:00.000000000 Z
11
+ date: 2020-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  - !ruby/object:Gem::Version
240
240
  version: '0'
241
241
  requirements: []
242
- rubygems_version: 3.1.3
242
+ rubygems_version: 3.1.4
243
243
  signing_key:
244
244
  specification_version: 4
245
245
  summary: API Client library for the Cloud Bigtable Admin V2 API