google-cloud-bigtable-admin-v2 0.16.3 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_pb.rb +3 -1
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +8 -5
- data/lib/google/bigtable/admin/v2/table_pb.rb +1 -1
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb +187 -59
- data/lib/google/cloud/bigtable/admin/v2/version.rb +1 -1
- data/proto_docs/google/bigtable/admin/v2/bigtable_table_admin.rb +130 -63
- data/proto_docs/google/bigtable/admin/v2/table.rb +40 -26
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bf5711a511ae135a51458a93cff83c8d3937df507cd346c0335617d1e6dd44b
|
|
4
|
+
data.tar.gz: 193bfef194f86b9e72f1111f238f25e9d3086d94494ee056c756add9cd80b106
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d51f24285a0ee7790071a102ee10547b920f75e96a770e5ac3410c71b3f4421da6b7770d18fe0ec5b3e3519432c6ab488943da0511d3df7a31d5dbe16d91d14f
|
|
7
|
+
data.tar.gz: 6562b7c5a7d24f8d1f8cef09f3e1c69c420a9a3ab8e9da477df8a460eb8be41dfe041e9e51c511a99c004d89c5a6c278d4abbc134eb7d3e2cc4ff028ec675228
|
|
@@ -19,7 +19,7 @@ require 'google/protobuf/field_mask_pb'
|
|
|
19
19
|
require 'google/protobuf/timestamp_pb'
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
descriptor_data = "\n3google/bigtable/admin/v2/bigtable_table_admin.proto\x12\x18google.bigtable.admin.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a%google/bigtable/admin/v2/common.proto\x1a$google/bigtable/admin/v2/table.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb1\x01\n\x13RestoreTableRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x15\n\x08table_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06\x62\x61\x63kup\x18\x03 \x01(\tB(\xfa\x41%\n#bigtableadmin.googleapis.com/BackupH\x00\x42\x08\n\x06source\"\x98\x02\n\x14RestoreTableMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12@\n\x0bsource_type\x18\x02 \x01(\x0e\x32+.google.bigtable.admin.v2.RestoreSourceType\x12;\n\x0b\x62\x61\x63kup_info\x18\x03 \x01(\x0b\x32$.google.bigtable.admin.v2.BackupInfoH\x00\x12%\n\x1doptimize_table_operation_name\x18\x04 \x01(\t\x12=\n\x08progress\x18\x05 \x01(\x0b\x32+.google.bigtable.admin.v2.OperationProgressB\r\n\x0bsource_info\"l\n\x1dOptimizeRestoredTableMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x08progress\x18\x02 \x01(\x0b\x32+.google.bigtable.admin.v2.OperationProgress\"\x81\x02\n\x12\x43reateTableRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x15\n\x08table_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x05table\x18\x03 \x01(\x0b\x32\x1f.google.bigtable.admin.v2.TableB\x03\xe0\x41\x02\x12J\n\x0einitial_splits\x18\x04 \x03(\x0b\x32\x32.google.bigtable.admin.v2.CreateTableRequest.Split\x1a\x14\n\x05Split\x12\x0b\n\x03key\x18\x01 \x01(\x0c\"\xbe\x01\n\x1e\x43reateTableFromSnapshotRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x15\n\x08table_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x0fsource_snapshot\x18\x03 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Snapshot\"\x99\x01\n\x13\x44ropRowRangeRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12\x18\n\x0erow_key_prefix\x18\x02 \x01(\x0cH\x00\x12$\n\x1a\x64\x65lete_all_data_from_table\x18\x03 \x01(\x08H\x00\x42\x08\n\x06target\"\xad\x01\n\x11ListTablesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x32\n\x04view\x18\x02 \x01(\x0e\x32$.google.bigtable.admin.v2.Table.View\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"^\n\x12ListTablesResponse\x12/\n\x06tables\x18\x01 \x03(\x0b\x32\x1f.google.bigtable.admin.v2.Table\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x7f\n\x0fGetTableRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12\x32\n\x04view\x18\x02 \x01(\x0e\x32$.google.bigtable.admin.v2.Table.View\"\x7f\n\x12UpdateTableRequest\x12\x33\n\x05table\x18\x01 \x01(\x0b\x32\x1f.google.bigtable.admin.v2.TableB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\x81\x01\n\x13UpdateTableMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"N\n\x12\x44\x65leteTableRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\"P\n\x14UndeleteTableRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\"\x83\x01\n\x15UndeleteTableMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdf\x02\n\x1bModifyColumnFamiliesRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12^\n\rmodifications\x18\x02 \x03(\x0b\x32\x42.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationB\x03\xe0\x41\x02\x1a\xa5\x01\n\x0cModification\x12\n\n\x02id\x18\x01 \x01(\t\x12\x38\n\x06\x63reate\x18\x02 \x01(\x0b\x32&.google.bigtable.admin.v2.ColumnFamilyH\x00\x12\x38\n\x06update\x18\x03 \x01(\x0b\x32&.google.bigtable.admin.v2.ColumnFamilyH\x00\x12\x0e\n\x04\x64rop\x18\x04 \x01(\x08H\x00\x42\x05\n\x03mod\"[\n\x1fGenerateConsistencyTokenRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\"=\n GenerateConsistencyTokenResponse\x12\x19\n\x11\x63onsistency_token\x18\x01 \x01(\t\"s\n\x17\x43heckConsistencyRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12\x1e\n\x11\x63onsistency_token\x18\x02 \x01(\tB\x03\xe0\x41\x02\".\n\x18\x43heckConsistencyResponse\x12\x12\n\nconsistent\x18\x01 \x01(\x08\"\xe6\x01\n\x14SnapshotTableRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12=\n\x07\x63luster\x18\x02 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12\x18\n\x0bsnapshot_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12&\n\x03ttl\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\"Q\n\x12GetSnapshotRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Snapshot\"{\n\x14ListSnapshotsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"g\n\x15ListSnapshotsResponse\x12\x35\n\tsnapshots\x18\x01 \x03(\x0b\x32\".google.bigtable.admin.v2.Snapshot\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"T\n\x15\x44\x65leteSnapshotRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Snapshot\"\xc4\x01\n\x15SnapshotTableMetadata\x12H\n\x10original_request\x18\x01 \x01(\x0b\x32..google.bigtable.admin.v2.SnapshotTableRequest\x12\x30\n\x0crequest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd8\x01\n\x1f\x43reateTableFromSnapshotMetadata\x12R\n\x10original_request\x18\x01 \x01(\x0b\x32\x38.google.bigtable.admin.v2.CreateTableFromSnapshotRequest\x12\x30\n\x0crequest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa2\x01\n\x13\x43reateBackupRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32 .google.bigtable.admin.v2.BackupB\x03\xe0\x41\x02\"\x98\x01\n\x14\x43reateBackupMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0csource_table\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x82\x01\n\x13UpdateBackupRequest\x12\x35\n\x06\x62\x61\x63kup\x18\x01 \x01(\x0b\x32 .google.bigtable.admin.v2.BackupB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"M\n\x10GetBackupRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#bigtableadmin.googleapis.com/Backup\"P\n\x13\x44\x65leteBackupRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#bigtableadmin.googleapis.com/Backup\"\x9b\x01\n\x12ListBackupsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"a\n\x13ListBackupsResponse\x12\x31\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32 .google.bigtable.admin.v2.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xb2(\n\x12\x42igtableTableAdmin\x12\xab\x01\n\x0b\x43reateTable\x12,.google.bigtable.admin.v2.CreateTableRequest\x1a\x1f.google.bigtable.admin.v2.Table\"M\x82\xd3\xe4\x93\x02/\"*/v2/{parent=projects/*/instances/*}/tables:\x01*\xda\x41\x15parent,table_id,table\x12\x8a\x02\n\x17\x43reateTableFromSnapshot\x12\x38.google.bigtable.admin.v2.CreateTableFromSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\x82\xd3\xe4\x93\x02\x42\"=/v2/{parent=projects/*/instances/*}/tables:createFromSnapshot:\x01*\xda\x41\x1fparent,table_id,source_snapshot\xca\x41(\n\x05Table\x12\x1f\x43reateTableFromSnapshotMetadata\x12\xa4\x01\n\nListTables\x12+.google.bigtable.admin.v2.ListTablesRequest\x1a,.google.bigtable.admin.v2.ListTablesResponse\";\x82\xd3\xe4\x93\x02,\x12*/v2/{parent=projects/*/instances/*}/tables\xda\x41\x06parent\x12\x91\x01\n\x08GetTable\x12).google.bigtable.admin.v2.GetTableRequest\x1a\x1f.google.bigtable.admin.v2.Table\"9\x82\xd3\xe4\x93\x02,\x12*/v2/{name=projects/*/instances/*/tables/*}\xda\x41\x04name\x12\xce\x01\n\x0bUpdateTable\x12,.google.bigtable.admin.v2.UpdateTableRequest\x1a\x1d.google.longrunning.Operation\"r\x82\xd3\xe4\x93\x02\x39\x32\x30/v2/{table.name=projects/*/instances/*/tables/*}:\x05table\xda\x41\x11table,update_mask\xca\x41\x1c\n\x05Table\x12\x13UpdateTableMetadata\x12\x8e\x01\n\x0b\x44\x65leteTable\x12,.google.bigtable.admin.v2.DeleteTableRequest\x1a\x16.google.protobuf.Empty\"9\x82\xd3\xe4\x93\x02,**/v2/{name=projects/*/instances/*/tables/*}\xda\x41\x04name\x12\xc6\x01\n\rUndeleteTable\x12..google.bigtable.admin.v2.UndeleteTableRequest\x1a\x1d.google.longrunning.Operation\"f\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/instances/*/tables/*}:undelete:\x01*\xda\x41\x04name\xca\x41\x1e\n\x05Table\x12\x15UndeleteTableMetadata\x12\xcf\x01\n\x14ModifyColumnFamilies\x12\x35.google.bigtable.admin.v2.ModifyColumnFamiliesRequest\x1a\x1f.google.bigtable.admin.v2.Table\"_\x82\xd3\xe4\x93\x02\x44\"?/v2/{name=projects/*/instances/*/tables/*}:modifyColumnFamilies:\x01*\xda\x41\x12name,modifications\x12\x99\x01\n\x0c\x44ropRowRange\x12-.google.bigtable.admin.v2.DropRowRangeRequest\x1a\x16.google.protobuf.Empty\"B\x82\xd3\xe4\x93\x02<\"7/v2/{name=projects/*/instances/*/tables/*}:dropRowRange:\x01*\x12\xe8\x01\n\x18GenerateConsistencyToken\x12\x39.google.bigtable.admin.v2.GenerateConsistencyTokenRequest\x1a:.google.bigtable.admin.v2.GenerateConsistencyTokenResponse\"U\x82\xd3\xe4\x93\x02H\"C/v2/{name=projects/*/instances/*/tables/*}:generateConsistencyToken:\x01*\xda\x41\x04name\x12\xda\x01\n\x10\x43heckConsistency\x12\x31.google.bigtable.admin.v2.CheckConsistencyRequest\x1a\x32.google.bigtable.admin.v2.CheckConsistencyResponse\"_\x82\xd3\xe4\x93\x02@\";/v2/{name=projects/*/instances/*/tables/*}:checkConsistency:\x01*\xda\x41\x16name,consistency_token\x12\xea\x01\n\rSnapshotTable\x12..google.bigtable.admin.v2.SnapshotTableRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/instances/*/tables/*}:snapshot:\x01*\xda\x41$name,cluster,snapshot_id,description\xca\x41!\n\x08Snapshot\x12\x15SnapshotTableMetadata\x12\xa8\x01\n\x0bGetSnapshot\x12,.google.bigtable.admin.v2.GetSnapshotRequest\x1a\".google.bigtable.admin.v2.Snapshot\"G\x82\xd3\xe4\x93\x02:\x12\x38/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}\xda\x41\x04name\x12\xbb\x01\n\rListSnapshots\x12..google.bigtable.admin.v2.ListSnapshotsRequest\x1a/.google.bigtable.admin.v2.ListSnapshotsResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v2/{parent=projects/*/instances/*/clusters/*}/snapshots\xda\x41\x06parent\x12\xa2\x01\n\x0e\x44\x65leteSnapshot\x12/.google.bigtable.admin.v2.DeleteSnapshotRequest\x1a\x16.google.protobuf.Empty\"G\x82\xd3\xe4\x93\x02:*8/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}\xda\x41\x04name\x12\xe0\x01\n\x0c\x43reateBackup\x12-.google.bigtable.admin.v2.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\x82\xd3\xe4\x93\x02@\"6/v2/{parent=projects/*/instances/*/clusters/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup_id,backup\xca\x41\x1e\n\x06\x42\x61\x63kup\x12\x14\x43reateBackupMetadata\x12\xa0\x01\n\tGetBackup\x12*.google.bigtable.admin.v2.GetBackupRequest\x1a .google.bigtable.admin.v2.Backup\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{name=projects/*/instances/*/clusters/*/backups/*}\xda\x41\x04name\x12\xc3\x01\n\x0cUpdateBackup\x12-.google.bigtable.admin.v2.UpdateBackupRequest\x1a .google.bigtable.admin.v2.Backup\"b\x82\xd3\xe4\x93\x02G2=/v2/{backup.name=projects/*/instances/*/clusters/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\x12\x9c\x01\n\x0c\x44\x65leteBackup\x12-.google.bigtable.admin.v2.DeleteBackupRequest\x1a\x16.google.protobuf.Empty\"E\x82\xd3\xe4\x93\x02\x38*6/v2/{name=projects/*/instances/*/clusters/*/backups/*}\xda\x41\x04name\x12\xb3\x01\n\x0bListBackups\x12,.google.bigtable.admin.v2.ListBackupsRequest\x1a-.google.bigtable.admin.v2.ListBackupsResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{parent=projects/*/instances/*/clusters/*}/backups\xda\x41\x06parent\x12\xbb\x01\n\x0cRestoreTable\x12-.google.bigtable.admin.v2.RestoreTableRequest\x1a\x1d.google.longrunning.Operation\"]\x82\xd3\xe4\x93\x02\x37\"2/v2/{parent=projects/*/instances/*}/tables:restore:\x01*\xca\x41\x1d\n\x05Table\x12\x14RestoreTableMetadata\x12\xec\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa0\x01\x82\xd3\xe4\x93\x02\x8e\x01\";/v2/{resource=projects/*/instances/*/tables/*}:getIamPolicy:\x01*ZL\"G/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\xf3\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa7\x01\x82\xd3\xe4\x93\x02\x8e\x01\";/v2/{resource=projects/*/instances/*/tables/*}:setIamPolicy:\x01*ZL\"G/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xa4\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\x9a\x01\"A/v2/{resource=projects/*/instances/*/tables/*}:testIamPermissions:\x01*ZR\"M/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x1a\xde\x02\xca\x41\x1c\x62igtableadmin.googleapis.com\xd2\x41\xbb\x02https://www.googleapis.com/auth/bigtable.admin,https://www.googleapis.com/auth/bigtable.admin.table,https://www.googleapis.com/auth/cloud-bigtable.admin,https://www.googleapis.com/auth/cloud-bigtable.admin.table,https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\xdf\x01\n\x1c\x63om.google.bigtable.admin.v2B\x17\x42igtableTableAdminProtoP\x01Z=google.golang.org/genproto/googleapis/bigtable/admin/v2;admin\xaa\x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\x02\x1eGoogle\\Cloud\\Bigtable\\Admin\\V2\xea\x02\"Google::Cloud::Bigtable::Admin::V2b\x06proto3"
|
|
22
|
+
descriptor_data = "\n3google/bigtable/admin/v2/bigtable_table_admin.proto\x12\x18google.bigtable.admin.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a%google/bigtable/admin/v2/common.proto\x1a$google/bigtable/admin/v2/table.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb1\x01\n\x13RestoreTableRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x15\n\x08table_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06\x62\x61\x63kup\x18\x03 \x01(\tB(\xfa\x41%\n#bigtableadmin.googleapis.com/BackupH\x00\x42\x08\n\x06source\"\x98\x02\n\x14RestoreTableMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12@\n\x0bsource_type\x18\x02 \x01(\x0e\x32+.google.bigtable.admin.v2.RestoreSourceType\x12;\n\x0b\x62\x61\x63kup_info\x18\x03 \x01(\x0b\x32$.google.bigtable.admin.v2.BackupInfoH\x00\x12%\n\x1doptimize_table_operation_name\x18\x04 \x01(\t\x12=\n\x08progress\x18\x05 \x01(\x0b\x32+.google.bigtable.admin.v2.OperationProgressB\r\n\x0bsource_info\"l\n\x1dOptimizeRestoredTableMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x08progress\x18\x02 \x01(\x0b\x32+.google.bigtable.admin.v2.OperationProgress\"\x81\x02\n\x12\x43reateTableRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x15\n\x08table_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x05table\x18\x03 \x01(\x0b\x32\x1f.google.bigtable.admin.v2.TableB\x03\xe0\x41\x02\x12J\n\x0einitial_splits\x18\x04 \x03(\x0b\x32\x32.google.bigtable.admin.v2.CreateTableRequest.Split\x1a\x14\n\x05Split\x12\x0b\n\x03key\x18\x01 \x01(\x0c\"\xbe\x01\n\x1e\x43reateTableFromSnapshotRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x15\n\x08table_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x0fsource_snapshot\x18\x03 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Snapshot\"\x99\x01\n\x13\x44ropRowRangeRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12\x18\n\x0erow_key_prefix\x18\x02 \x01(\x0cH\x00\x12$\n\x1a\x64\x65lete_all_data_from_table\x18\x03 \x01(\x08H\x00\x42\x08\n\x06target\"\xad\x01\n\x11ListTablesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x32\n\x04view\x18\x02 \x01(\x0e\x32$.google.bigtable.admin.v2.Table.View\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"^\n\x12ListTablesResponse\x12/\n\x06tables\x18\x01 \x03(\x0b\x32\x1f.google.bigtable.admin.v2.Table\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x7f\n\x0fGetTableRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12\x32\n\x04view\x18\x02 \x01(\x0e\x32$.google.bigtable.admin.v2.Table.View\"\x7f\n\x12UpdateTableRequest\x12\x33\n\x05table\x18\x01 \x01(\x0b\x32\x1f.google.bigtable.admin.v2.TableB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\x81\x01\n\x13UpdateTableMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"N\n\x12\x44\x65leteTableRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\"P\n\x14UndeleteTableRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\"\x83\x01\n\x15UndeleteTableMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdf\x02\n\x1bModifyColumnFamiliesRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12^\n\rmodifications\x18\x02 \x03(\x0b\x32\x42.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationB\x03\xe0\x41\x02\x1a\xa5\x01\n\x0cModification\x12\n\n\x02id\x18\x01 \x01(\t\x12\x38\n\x06\x63reate\x18\x02 \x01(\x0b\x32&.google.bigtable.admin.v2.ColumnFamilyH\x00\x12\x38\n\x06update\x18\x03 \x01(\x0b\x32&.google.bigtable.admin.v2.ColumnFamilyH\x00\x12\x0e\n\x04\x64rop\x18\x04 \x01(\x08H\x00\x42\x05\n\x03mod\"[\n\x1fGenerateConsistencyTokenRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\"=\n GenerateConsistencyTokenResponse\x12\x19\n\x11\x63onsistency_token\x18\x01 \x01(\t\"s\n\x17\x43heckConsistencyRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12\x1e\n\x11\x63onsistency_token\x18\x02 \x01(\tB\x03\xe0\x41\x02\".\n\x18\x43heckConsistencyResponse\x12\x12\n\nconsistent\x18\x01 \x01(\x08\"\xe6\x01\n\x14SnapshotTableRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12=\n\x07\x63luster\x18\x02 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12\x18\n\x0bsnapshot_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12&\n\x03ttl\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\"Q\n\x12GetSnapshotRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Snapshot\"{\n\x14ListSnapshotsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"g\n\x15ListSnapshotsResponse\x12\x35\n\tsnapshots\x18\x01 \x03(\x0b\x32\".google.bigtable.admin.v2.Snapshot\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"T\n\x15\x44\x65leteSnapshotRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Snapshot\"\xc4\x01\n\x15SnapshotTableMetadata\x12H\n\x10original_request\x18\x01 \x01(\x0b\x32..google.bigtable.admin.v2.SnapshotTableRequest\x12\x30\n\x0crequest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd8\x01\n\x1f\x43reateTableFromSnapshotMetadata\x12R\n\x10original_request\x18\x01 \x01(\x0b\x32\x38.google.bigtable.admin.v2.CreateTableFromSnapshotRequest\x12\x30\n\x0crequest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa2\x01\n\x13\x43reateBackupRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32 .google.bigtable.admin.v2.BackupB\x03\xe0\x41\x02\"\x98\x01\n\x14\x43reateBackupMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0csource_table\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x82\x01\n\x13UpdateBackupRequest\x12\x35\n\x06\x62\x61\x63kup\x18\x01 \x01(\x0b\x32 .google.bigtable.admin.v2.BackupB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"M\n\x10GetBackupRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#bigtableadmin.googleapis.com/Backup\"P\n\x13\x44\x65leteBackupRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#bigtableadmin.googleapis.com/Backup\"\x9b\x01\n\x12ListBackupsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"a\n\x13ListBackupsResponse\x12\x31\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32 .google.bigtable.admin.v2.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe3\x01\n\x11\x43opyBackupRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\rsource_backup\x18\x03 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#bigtableadmin.googleapis.com/Backup\x12\x34\n\x0b\x65xpire_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\xcd\x01\n\x12\x43opyBackupMetadata\x12\x36\n\x04name\x18\x01 \x01(\tB(\xfa\x41%\n#bigtableadmin.googleapis.com/Backup\x12@\n\x12source_backup_info\x18\x02 \x01(\x0b\x32$.google.bigtable.admin.v2.BackupInfo\x12=\n\x08progress\x18\x03 \x01(\x0b\x32+.google.bigtable.admin.v2.OperationProgress2\xa2*\n\x12\x42igtableTableAdmin\x12\xab\x01\n\x0b\x43reateTable\x12,.google.bigtable.admin.v2.CreateTableRequest\x1a\x1f.google.bigtable.admin.v2.Table\"M\x82\xd3\xe4\x93\x02/\"*/v2/{parent=projects/*/instances/*}/tables:\x01*\xda\x41\x15parent,table_id,table\x12\x8a\x02\n\x17\x43reateTableFromSnapshot\x12\x38.google.bigtable.admin.v2.CreateTableFromSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\x82\xd3\xe4\x93\x02\x42\"=/v2/{parent=projects/*/instances/*}/tables:createFromSnapshot:\x01*\xda\x41\x1fparent,table_id,source_snapshot\xca\x41(\n\x05Table\x12\x1f\x43reateTableFromSnapshotMetadata\x12\xa4\x01\n\nListTables\x12+.google.bigtable.admin.v2.ListTablesRequest\x1a,.google.bigtable.admin.v2.ListTablesResponse\";\x82\xd3\xe4\x93\x02,\x12*/v2/{parent=projects/*/instances/*}/tables\xda\x41\x06parent\x12\x91\x01\n\x08GetTable\x12).google.bigtable.admin.v2.GetTableRequest\x1a\x1f.google.bigtable.admin.v2.Table\"9\x82\xd3\xe4\x93\x02,\x12*/v2/{name=projects/*/instances/*/tables/*}\xda\x41\x04name\x12\xce\x01\n\x0bUpdateTable\x12,.google.bigtable.admin.v2.UpdateTableRequest\x1a\x1d.google.longrunning.Operation\"r\x82\xd3\xe4\x93\x02\x39\x32\x30/v2/{table.name=projects/*/instances/*/tables/*}:\x05table\xda\x41\x11table,update_mask\xca\x41\x1c\n\x05Table\x12\x13UpdateTableMetadata\x12\x8e\x01\n\x0b\x44\x65leteTable\x12,.google.bigtable.admin.v2.DeleteTableRequest\x1a\x16.google.protobuf.Empty\"9\x82\xd3\xe4\x93\x02,**/v2/{name=projects/*/instances/*/tables/*}\xda\x41\x04name\x12\xc6\x01\n\rUndeleteTable\x12..google.bigtable.admin.v2.UndeleteTableRequest\x1a\x1d.google.longrunning.Operation\"f\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/instances/*/tables/*}:undelete:\x01*\xda\x41\x04name\xca\x41\x1e\n\x05Table\x12\x15UndeleteTableMetadata\x12\xcf\x01\n\x14ModifyColumnFamilies\x12\x35.google.bigtable.admin.v2.ModifyColumnFamiliesRequest\x1a\x1f.google.bigtable.admin.v2.Table\"_\x82\xd3\xe4\x93\x02\x44\"?/v2/{name=projects/*/instances/*/tables/*}:modifyColumnFamilies:\x01*\xda\x41\x12name,modifications\x12\x99\x01\n\x0c\x44ropRowRange\x12-.google.bigtable.admin.v2.DropRowRangeRequest\x1a\x16.google.protobuf.Empty\"B\x82\xd3\xe4\x93\x02<\"7/v2/{name=projects/*/instances/*/tables/*}:dropRowRange:\x01*\x12\xe8\x01\n\x18GenerateConsistencyToken\x12\x39.google.bigtable.admin.v2.GenerateConsistencyTokenRequest\x1a:.google.bigtable.admin.v2.GenerateConsistencyTokenResponse\"U\x82\xd3\xe4\x93\x02H\"C/v2/{name=projects/*/instances/*/tables/*}:generateConsistencyToken:\x01*\xda\x41\x04name\x12\xda\x01\n\x10\x43heckConsistency\x12\x31.google.bigtable.admin.v2.CheckConsistencyRequest\x1a\x32.google.bigtable.admin.v2.CheckConsistencyResponse\"_\x82\xd3\xe4\x93\x02@\";/v2/{name=projects/*/instances/*/tables/*}:checkConsistency:\x01*\xda\x41\x16name,consistency_token\x12\xea\x01\n\rSnapshotTable\x12..google.bigtable.admin.v2.SnapshotTableRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/instances/*/tables/*}:snapshot:\x01*\xda\x41$name,cluster,snapshot_id,description\xca\x41!\n\x08Snapshot\x12\x15SnapshotTableMetadata\x12\xa8\x01\n\x0bGetSnapshot\x12,.google.bigtable.admin.v2.GetSnapshotRequest\x1a\".google.bigtable.admin.v2.Snapshot\"G\x82\xd3\xe4\x93\x02:\x12\x38/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}\xda\x41\x04name\x12\xbb\x01\n\rListSnapshots\x12..google.bigtable.admin.v2.ListSnapshotsRequest\x1a/.google.bigtable.admin.v2.ListSnapshotsResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v2/{parent=projects/*/instances/*/clusters/*}/snapshots\xda\x41\x06parent\x12\xa2\x01\n\x0e\x44\x65leteSnapshot\x12/.google.bigtable.admin.v2.DeleteSnapshotRequest\x1a\x16.google.protobuf.Empty\"G\x82\xd3\xe4\x93\x02:*8/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}\xda\x41\x04name\x12\xe0\x01\n\x0c\x43reateBackup\x12-.google.bigtable.admin.v2.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\x82\xd3\xe4\x93\x02@\"6/v2/{parent=projects/*/instances/*/clusters/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup_id,backup\xca\x41\x1e\n\x06\x42\x61\x63kup\x12\x14\x43reateBackupMetadata\x12\xa0\x01\n\tGetBackup\x12*.google.bigtable.admin.v2.GetBackupRequest\x1a .google.bigtable.admin.v2.Backup\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{name=projects/*/instances/*/clusters/*/backups/*}\xda\x41\x04name\x12\xc3\x01\n\x0cUpdateBackup\x12-.google.bigtable.admin.v2.UpdateBackupRequest\x1a .google.bigtable.admin.v2.Backup\"b\x82\xd3\xe4\x93\x02G2=/v2/{backup.name=projects/*/instances/*/clusters/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\x12\x9c\x01\n\x0c\x44\x65leteBackup\x12-.google.bigtable.admin.v2.DeleteBackupRequest\x1a\x16.google.protobuf.Empty\"E\x82\xd3\xe4\x93\x02\x38*6/v2/{name=projects/*/instances/*/clusters/*/backups/*}\xda\x41\x04name\x12\xb3\x01\n\x0bListBackups\x12,.google.bigtable.admin.v2.ListBackupsRequest\x1a-.google.bigtable.admin.v2.ListBackupsResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{parent=projects/*/instances/*/clusters/*}/backups\xda\x41\x06parent\x12\xbb\x01\n\x0cRestoreTable\x12-.google.bigtable.admin.v2.RestoreTableRequest\x1a\x1d.google.longrunning.Operation\"]\x82\xd3\xe4\x93\x02\x37\"2/v2/{parent=projects/*/instances/*}/tables:restore:\x01*\xca\x41\x1d\n\x05Table\x12\x14RestoreTableMetadata\x12\xed\x01\n\nCopyBackup\x12+.google.bigtable.admin.v2.CopyBackupRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\x82\xd3\xe4\x93\x02@\";/v2/{parent=projects/*/instances/*/clusters/*}/backups:copy:\x01*\xda\x41*parent,backup_id,source_backup,expire_time\xca\x41\x1c\n\x06\x42\x61\x63kup\x12\x12\x43opyBackupMetadata\x12\xec\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa0\x01\x82\xd3\xe4\x93\x02\x8e\x01\";/v2/{resource=projects/*/instances/*/tables/*}:getIamPolicy:\x01*ZL\"G/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\xf3\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa7\x01\x82\xd3\xe4\x93\x02\x8e\x01\";/v2/{resource=projects/*/instances/*/tables/*}:setIamPolicy:\x01*ZL\"G/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xa4\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\x9a\x01\"A/v2/{resource=projects/*/instances/*/tables/*}:testIamPermissions:\x01*ZR\"M/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x1a\xde\x02\xca\x41\x1c\x62igtableadmin.googleapis.com\xd2\x41\xbb\x02https://www.googleapis.com/auth/bigtable.admin,https://www.googleapis.com/auth/bigtable.admin.table,https://www.googleapis.com/auth/cloud-bigtable.admin,https://www.googleapis.com/auth/cloud-bigtable.admin.table,https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\xdf\x01\n\x1c\x63om.google.bigtable.admin.v2B\x17\x42igtableTableAdminProtoP\x01Z=google.golang.org/genproto/googleapis/bigtable/admin/v2;admin\xaa\x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\x02\x1eGoogle\\Cloud\\Bigtable\\Admin\\V2\xea\x02\"Google::Cloud::Bigtable::Admin::V2b\x06proto3"
|
|
23
23
|
|
|
24
24
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
25
25
|
|
|
@@ -90,6 +90,8 @@ module Google
|
|
|
90
90
|
DeleteBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteBackupRequest").msgclass
|
|
91
91
|
ListBackupsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListBackupsRequest").msgclass
|
|
92
92
|
ListBackupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListBackupsResponse").msgclass
|
|
93
|
+
CopyBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CopyBackupRequest").msgclass
|
|
94
|
+
CopyBackupMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CopyBackupMetadata").msgclass
|
|
93
95
|
end
|
|
94
96
|
end
|
|
95
97
|
end
|
|
@@ -118,8 +118,8 @@ module Google
|
|
|
118
118
|
# [metadata][google.longrunning.Operation.metadata] field type is
|
|
119
119
|
# [CreateBackupMetadata][google.bigtable.admin.v2.CreateBackupMetadata]. The
|
|
120
120
|
# [response][google.longrunning.Operation.response] field type is
|
|
121
|
-
# [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the
|
|
122
|
-
# creation and delete the backup.
|
|
121
|
+
# [Backup][google.bigtable.admin.v2.Backup], if successful. Cancelling the
|
|
122
|
+
# returned operation will stop the creation and delete the backup.
|
|
123
123
|
rpc :CreateBackup, ::Google::Cloud::Bigtable::Admin::V2::CreateBackupRequest, ::Google::Longrunning::Operation
|
|
124
124
|
# Gets metadata on a pending or completed Cloud Bigtable Backup.
|
|
125
125
|
rpc :GetBackup, ::Google::Cloud::Bigtable::Admin::V2::GetBackupRequest, ::Google::Cloud::Bigtable::Admin::V2::Backup
|
|
@@ -130,8 +130,7 @@ module Google
|
|
|
130
130
|
# Lists Cloud Bigtable backups. Returns both completed and pending
|
|
131
131
|
# backups.
|
|
132
132
|
rpc :ListBackups, ::Google::Cloud::Bigtable::Admin::V2::ListBackupsRequest, ::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse
|
|
133
|
-
# Create a new table by restoring from a completed backup.
|
|
134
|
-
# must be in the same project as the instance containing the backup. The
|
|
133
|
+
# Create a new table by restoring from a completed backup. The
|
|
135
134
|
# returned table [long-running operation][google.longrunning.Operation] can
|
|
136
135
|
# be used to track the progress of the operation, and to cancel it. The
|
|
137
136
|
# [metadata][google.longrunning.Operation.metadata] field type is
|
|
@@ -139,6 +138,9 @@ module Google
|
|
|
139
138
|
# [response][google.longrunning.Operation.response] type is
|
|
140
139
|
# [Table][google.bigtable.admin.v2.Table], if successful.
|
|
141
140
|
rpc :RestoreTable, ::Google::Cloud::Bigtable::Admin::V2::RestoreTableRequest, ::Google::Longrunning::Operation
|
|
141
|
+
# Copy a Cloud Bigtable backup to a new backup in the destination cluster
|
|
142
|
+
# located in the destination instance and project.
|
|
143
|
+
rpc :CopyBackup, ::Google::Cloud::Bigtable::Admin::V2::CopyBackupRequest, ::Google::Longrunning::Operation
|
|
142
144
|
# Gets the access control policy for a Table or Backup resource.
|
|
143
145
|
# Returns an empty policy if the resource exists but does not have a policy
|
|
144
146
|
# set.
|
|
@@ -146,7 +148,8 @@ module Google
|
|
|
146
148
|
# Sets the access control policy on a Table or Backup resource.
|
|
147
149
|
# Replaces any existing policy.
|
|
148
150
|
rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
|
|
149
|
-
# Returns permissions that the caller has on the specified Table or Backup
|
|
151
|
+
# Returns permissions that the caller has on the specified Table or Backup
|
|
152
|
+
# resource.
|
|
150
153
|
rpc :TestIamPermissions, ::Google::Iam::V1::TestIamPermissionsRequest, ::Google::Iam::V1::TestIamPermissionsResponse
|
|
151
154
|
end
|
|
152
155
|
|
|
@@ -11,7 +11,7 @@ require 'google/protobuf/timestamp_pb'
|
|
|
11
11
|
require 'google/rpc/status_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n$google/bigtable/admin/v2/table.proto\x12\x18google.bigtable.admin.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x9b\x01\n\x0bRestoreInfo\x12@\n\x0bsource_type\x18\x01 \x01(\x0e\x32+.google.bigtable.admin.v2.RestoreSourceType\x12;\n\x0b\x62\x61\x63kup_info\x18\x02 \x01(\x0b\x32$.google.bigtable.admin.v2.BackupInfoH\x00\x42\r\n\x0bsource_info\"I\n\x12\x43hangeStreamConfig\x12\x33\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xda\t\n\x05Table\x12\x0c\n\x04name\x18\x01 \x01(\t\x12O\n\x0e\x63luster_states\x18\x02 \x03(\x0b\x32\x32.google.bigtable.admin.v2.Table.ClusterStatesEntryB\x03\xe0\x41\x03\x12L\n\x0f\x63olumn_families\x18\x03 \x03(\x0b\x32\x33.google.bigtable.admin.v2.Table.ColumnFamiliesEntry\x12N\n\x0bgranularity\x18\x04 \x01(\x0e\x32\x34.google.bigtable.admin.v2.Table.TimestampGranularityB\x03\xe0\x41\x05\x12@\n\x0crestore_info\x18\x06 \x01(\x0b\x32%.google.bigtable.admin.v2.RestoreInfoB\x03\xe0\x41\x03\x12J\n\x14\x63hange_stream_config\x18\x08 \x01(\x0b\x32,.google.bigtable.admin.v2.ChangeStreamConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\t \x01(\x08\x1a\xc6\x02\n\x0c\x43lusterState\x12]\n\x11replication_state\x18\x01 \x01(\x0e\x32=.google.bigtable.admin.v2.Table.ClusterState.ReplicationStateB\x03\xe0\x41\x03\x12\x46\n\x0f\x65ncryption_info\x18\x02 \x03(\x0b\x32(.google.bigtable.admin.v2.EncryptionInfoB\x03\xe0\x41\x03\"\x8e\x01\n\x10ReplicationState\x12\x13\n\x0fSTATE_NOT_KNOWN\x10\x00\x12\x10\n\x0cINITIALIZING\x10\x01\x12\x17\n\x13PLANNED_MAINTENANCE\x10\x02\x12\x19\n\x15UNPLANNED_MAINTENANCE\x10\x03\x12\t\n\x05READY\x10\x04\x12\x14\n\x10READY_OPTIMIZING\x10\x05\x1a\x62\n\x12\x43lusterStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.google.bigtable.admin.v2.Table.ClusterState:\x02\x38\x01\x1a]\n\x13\x43olumnFamiliesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.google.bigtable.admin.v2.ColumnFamily:\x02\x38\x01\"I\n\x14TimestampGranularity\x12%\n!TIMESTAMP_GRANULARITY_UNSPECIFIED\x10\x00\x12\n\n\x06MILLIS\x10\x01\"q\n\x04View\x12\x14\n\x10VIEW_UNSPECIFIED\x10\x00\x12\r\n\tNAME_ONLY\x10\x01\x12\x0f\n\x0bSCHEMA_VIEW\x10\x02\x12\x14\n\x10REPLICATION_VIEW\x10\x03\x12\x13\n\x0f\x45NCRYPTION_VIEW\x10\x05\x12\x08\n\x04\x46ULL\x10\x04:_\xea\x41\\\n\"bigtableadmin.googleapis.com/Table\x12\x36projects/{project}/instances/{instance}/tables/{table}\"A\n\x0c\x43olumnFamily\x12\x31\n\x07gc_rule\x18\x01 \x01(\x0b\x32 .google.bigtable.admin.v2.GcRule\"\xd5\x02\n\x06GcRule\x12\x1a\n\x10max_num_versions\x18\x01 \x01(\x05H\x00\x12,\n\x07max_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x45\n\x0cintersection\x18\x03 \x01(\x0b\x32-.google.bigtable.admin.v2.GcRule.IntersectionH\x00\x12\x37\n\x05union\x18\x04 \x01(\x0b\x32&.google.bigtable.admin.v2.GcRule.UnionH\x00\x1a?\n\x0cIntersection\x12/\n\x05rules\x18\x01 \x03(\x0b\x32 .google.bigtable.admin.v2.GcRule\x1a\x38\n\x05Union\x12/\n\x05rules\x18\x01 \x03(\x0b\x32 .google.bigtable.admin.v2.GcRuleB\x06\n\x04rule\"\xd9\x02\n\x0e\x45ncryptionInfo\x12U\n\x0f\x65ncryption_type\x18\x03 \x01(\x0e\x32\x37.google.bigtable.admin.v2.EncryptionInfo.EncryptionTypeB\x03\xe0\x41\x03\x12\x32\n\x11\x65ncryption_status\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12I\n\x0fkms_key_version\x18\x02 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\"q\n\x0e\x45ncryptionType\x12\x1f\n\x1b\x45NCRYPTION_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19GOOGLE_DEFAULT_ENCRYPTION\x10\x01\x12\x1f\n\x1b\x43USTOMER_MANAGED_ENCRYPTION\x10\x02\"\
|
|
14
|
+
descriptor_data = "\n$google/bigtable/admin/v2/table.proto\x12\x18google.bigtable.admin.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x9b\x01\n\x0bRestoreInfo\x12@\n\x0bsource_type\x18\x01 \x01(\x0e\x32+.google.bigtable.admin.v2.RestoreSourceType\x12;\n\x0b\x62\x61\x63kup_info\x18\x02 \x01(\x0b\x32$.google.bigtable.admin.v2.BackupInfoH\x00\x42\r\n\x0bsource_info\"I\n\x12\x43hangeStreamConfig\x12\x33\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xda\t\n\x05Table\x12\x0c\n\x04name\x18\x01 \x01(\t\x12O\n\x0e\x63luster_states\x18\x02 \x03(\x0b\x32\x32.google.bigtable.admin.v2.Table.ClusterStatesEntryB\x03\xe0\x41\x03\x12L\n\x0f\x63olumn_families\x18\x03 \x03(\x0b\x32\x33.google.bigtable.admin.v2.Table.ColumnFamiliesEntry\x12N\n\x0bgranularity\x18\x04 \x01(\x0e\x32\x34.google.bigtable.admin.v2.Table.TimestampGranularityB\x03\xe0\x41\x05\x12@\n\x0crestore_info\x18\x06 \x01(\x0b\x32%.google.bigtable.admin.v2.RestoreInfoB\x03\xe0\x41\x03\x12J\n\x14\x63hange_stream_config\x18\x08 \x01(\x0b\x32,.google.bigtable.admin.v2.ChangeStreamConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\t \x01(\x08\x1a\xc6\x02\n\x0c\x43lusterState\x12]\n\x11replication_state\x18\x01 \x01(\x0e\x32=.google.bigtable.admin.v2.Table.ClusterState.ReplicationStateB\x03\xe0\x41\x03\x12\x46\n\x0f\x65ncryption_info\x18\x02 \x03(\x0b\x32(.google.bigtable.admin.v2.EncryptionInfoB\x03\xe0\x41\x03\"\x8e\x01\n\x10ReplicationState\x12\x13\n\x0fSTATE_NOT_KNOWN\x10\x00\x12\x10\n\x0cINITIALIZING\x10\x01\x12\x17\n\x13PLANNED_MAINTENANCE\x10\x02\x12\x19\n\x15UNPLANNED_MAINTENANCE\x10\x03\x12\t\n\x05READY\x10\x04\x12\x14\n\x10READY_OPTIMIZING\x10\x05\x1a\x62\n\x12\x43lusterStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.google.bigtable.admin.v2.Table.ClusterState:\x02\x38\x01\x1a]\n\x13\x43olumnFamiliesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x35\n\x05value\x18\x02 \x01(\x0b\x32&.google.bigtable.admin.v2.ColumnFamily:\x02\x38\x01\"I\n\x14TimestampGranularity\x12%\n!TIMESTAMP_GRANULARITY_UNSPECIFIED\x10\x00\x12\n\n\x06MILLIS\x10\x01\"q\n\x04View\x12\x14\n\x10VIEW_UNSPECIFIED\x10\x00\x12\r\n\tNAME_ONLY\x10\x01\x12\x0f\n\x0bSCHEMA_VIEW\x10\x02\x12\x14\n\x10REPLICATION_VIEW\x10\x03\x12\x13\n\x0f\x45NCRYPTION_VIEW\x10\x05\x12\x08\n\x04\x46ULL\x10\x04:_\xea\x41\\\n\"bigtableadmin.googleapis.com/Table\x12\x36projects/{project}/instances/{instance}/tables/{table}\"A\n\x0c\x43olumnFamily\x12\x31\n\x07gc_rule\x18\x01 \x01(\x0b\x32 .google.bigtable.admin.v2.GcRule\"\xd5\x02\n\x06GcRule\x12\x1a\n\x10max_num_versions\x18\x01 \x01(\x05H\x00\x12,\n\x07max_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x45\n\x0cintersection\x18\x03 \x01(\x0b\x32-.google.bigtable.admin.v2.GcRule.IntersectionH\x00\x12\x37\n\x05union\x18\x04 \x01(\x0b\x32&.google.bigtable.admin.v2.GcRule.UnionH\x00\x1a?\n\x0cIntersection\x12/\n\x05rules\x18\x01 \x03(\x0b\x32 .google.bigtable.admin.v2.GcRule\x1a\x38\n\x05Union\x12/\n\x05rules\x18\x01 \x03(\x0b\x32 .google.bigtable.admin.v2.GcRuleB\x06\n\x04rule\"\xd9\x02\n\x0e\x45ncryptionInfo\x12U\n\x0f\x65ncryption_type\x18\x03 \x01(\x0e\x32\x37.google.bigtable.admin.v2.EncryptionInfo.EncryptionTypeB\x03\xe0\x41\x03\x12\x32\n\x11\x65ncryption_status\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12I\n\x0fkms_key_version\x18\x02 \x01(\tB0\xe0\x41\x03\xfa\x41*\n(cloudkms.googleapis.com/CryptoKeyVersion\"q\n\x0e\x45ncryptionType\x12\x1f\n\x1b\x45NCRYPTION_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19GOOGLE_DEFAULT_ENCRYPTION\x10\x01\x12\x1f\n\x1b\x43USTOMER_MANAGED_ENCRYPTION\x10\x02\"\xe0\x03\n\x08Snapshot\x12\x0c\n\x04name\x18\x01 \x01(\t\x12:\n\x0csource_table\x18\x02 \x01(\x0b\x32\x1f.google.bigtable.admin.v2.TableB\x03\xe0\x41\x03\x12\x1c\n\x0f\x64\x61ta_size_bytes\x18\x03 \x01(\x03\x42\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12/\n\x0b\x64\x65lete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12<\n\x05state\x18\x06 \x01(\x0e\x32(.google.bigtable.admin.v2.Snapshot.StateB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\"5\n\x05State\x12\x13\n\x0fSTATE_NOT_KNOWN\x10\x00\x12\t\n\x05READY\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02:{\xea\x41x\n%bigtableadmin.googleapis.com/Snapshot\x12Oprojects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}\"\xbb\x04\n\x06\x42\x61\x63kup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1c\n\x0csource_table\x18\x02 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x02\x12\x1a\n\rsource_backup\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\nsize_bytes\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03\x12:\n\x05state\x18\x07 \x01(\x0e\x32&.google.bigtable.admin.v2.Backup.StateB\x03\xe0\x41\x03\x12\x46\n\x0f\x65ncryption_info\x18\t \x01(\x0b\x32(.google.bigtable.admin.v2.EncryptionInfoB\x03\xe0\x41\x03\"7\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02:u\xea\x41r\n#bigtableadmin.googleapis.com/Backup\x12Kprojects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}\"\xc0\x01\n\nBackupInfo\x12\x13\n\x06\x62\x61\x63kup\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x19\n\x0csource_table\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rsource_backup\x18\n \x01(\tB\x03\xe0\x41\x03*D\n\x11RestoreSourceType\x12#\n\x1fRESTORE_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x42\x41\x43KUP\x10\x01\x42\xfc\x02\n\x1c\x63om.google.bigtable.admin.v2B\nTableProtoP\x01Z=google.golang.org/genproto/googleapis/bigtable/admin/v2;admin\xaa\x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\x02\x1eGoogle\\Cloud\\Bigtable\\Admin\\V2\xea\x02\"Google::Cloud::Bigtable::Admin::V2\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}b\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
|
|
@@ -256,8 +256,8 @@ module Google
|
|
|
256
256
|
# Required. The unique name of the instance in which to create the table.
|
|
257
257
|
# Values are of the form `projects/{project}/instances/{instance}`.
|
|
258
258
|
# @param table_id [::String]
|
|
259
|
-
# Required. The name by which the new table should be referred to within the
|
|
260
|
-
# instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
|
|
259
|
+
# Required. The name by which the new table should be referred to within the
|
|
260
|
+
# parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
|
|
261
261
|
# Maximum 50 characters.
|
|
262
262
|
# @param table [::Google::Cloud::Bigtable::Admin::V2::Table, ::Hash]
|
|
263
263
|
# Required. The Table to create.
|
|
@@ -372,12 +372,12 @@ module Google
|
|
|
372
372
|
# Required. The unique name of the instance in which to create the table.
|
|
373
373
|
# Values are of the form `projects/{project}/instances/{instance}`.
|
|
374
374
|
# @param table_id [::String]
|
|
375
|
-
# Required. The name by which the new table should be referred to within the
|
|
376
|
-
# instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
|
|
375
|
+
# Required. The name by which the new table should be referred to within the
|
|
376
|
+
# parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
|
|
377
377
|
# @param source_snapshot [::String]
|
|
378
|
-
# Required. The unique name of the snapshot from which to restore the table.
|
|
379
|
-
# snapshot and the table must be in the same instance.
|
|
380
|
-
#
|
|
378
|
+
# Required. The unique name of the snapshot from which to restore the table.
|
|
379
|
+
# The snapshot and the table must be in the same instance. Values are of the
|
|
380
|
+
# form
|
|
381
381
|
# `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
|
|
382
382
|
#
|
|
383
383
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
@@ -471,11 +471,11 @@ module Google
|
|
|
471
471
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
472
472
|
#
|
|
473
473
|
# @param parent [::String]
|
|
474
|
-
# Required. The unique name of the instance for which tables should be
|
|
475
|
-
# Values are of the form `projects/{project}/instances/{instance}`.
|
|
474
|
+
# Required. The unique name of the instance for which tables should be
|
|
475
|
+
# listed. Values are of the form `projects/{project}/instances/{instance}`.
|
|
476
476
|
# @param view [::Google::Cloud::Bigtable::Admin::V2::Table::View]
|
|
477
477
|
# The view to be applied to the returned tables' fields.
|
|
478
|
-
#
|
|
478
|
+
# NAME_ONLY view (default) and REPLICATION_VIEW are supported.
|
|
479
479
|
# @param page_size [::Integer]
|
|
480
480
|
# Maximum number of results per page.
|
|
481
481
|
#
|
|
@@ -963,10 +963,10 @@ module Google
|
|
|
963
963
|
# Values are of the form
|
|
964
964
|
# `projects/{project}/instances/{instance}/tables/{table}`.
|
|
965
965
|
# @param modifications [::Array<::Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest::Modification, ::Hash>]
|
|
966
|
-
# Required. Modifications to be atomically applied to the specified table's
|
|
967
|
-
# Entries are applied in order, meaning that earlier modifications
|
|
968
|
-
# masked by later ones (in the case of repeated updates to the same
|
|
969
|
-
# for example).
|
|
966
|
+
# Required. Modifications to be atomically applied to the specified table's
|
|
967
|
+
# families. Entries are applied in order, meaning that earlier modifications
|
|
968
|
+
# can be masked by later ones (in the case of repeated updates to the same
|
|
969
|
+
# family, for example).
|
|
970
970
|
#
|
|
971
971
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
972
972
|
# @yieldparam response [::Google::Cloud::Bigtable::Admin::V2::Table]
|
|
@@ -1148,8 +1148,8 @@ module Google
|
|
|
1148
1148
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1149
1149
|
#
|
|
1150
1150
|
# @param name [::String]
|
|
1151
|
-
# Required. The unique name of the Table for which to create a consistency
|
|
1152
|
-
# Values are of the form
|
|
1151
|
+
# Required. The unique name of the Table for which to create a consistency
|
|
1152
|
+
# token. Values are of the form
|
|
1153
1153
|
# `projects/{project}/instances/{instance}/tables/{table}`.
|
|
1154
1154
|
#
|
|
1155
1155
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
@@ -1237,8 +1237,8 @@ module Google
|
|
|
1237
1237
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1238
1238
|
#
|
|
1239
1239
|
# @param name [::String]
|
|
1240
|
-
# Required. The unique name of the Table for which to check replication
|
|
1241
|
-
# Values are of the form
|
|
1240
|
+
# Required. The unique name of the Table for which to check replication
|
|
1241
|
+
# consistency. Values are of the form
|
|
1242
1242
|
# `projects/{project}/instances/{instance}/tables/{table}`.
|
|
1243
1243
|
# @param consistency_token [::String]
|
|
1244
1244
|
# Required. The token created using GenerateConsistencyToken for the Table.
|
|
@@ -1341,9 +1341,9 @@ module Google
|
|
|
1341
1341
|
# Values are of the form
|
|
1342
1342
|
# `projects/{project}/instances/{instance}/clusters/{cluster}`.
|
|
1343
1343
|
# @param snapshot_id [::String]
|
|
1344
|
-
# Required. The ID by which the new snapshot should be referred to within the
|
|
1345
|
-
# cluster, e.g., `mysnapshot` of the form:
|
|
1346
|
-
# rather than
|
|
1344
|
+
# Required. The ID by which the new snapshot should be referred to within the
|
|
1345
|
+
# parent cluster, e.g., `mysnapshot` of the form:
|
|
1346
|
+
# `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than
|
|
1347
1347
|
# `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`.
|
|
1348
1348
|
# @param ttl [::Google::Protobuf::Duration, ::Hash]
|
|
1349
1349
|
# The amount of time that the new snapshot can stay active after it is
|
|
@@ -1543,8 +1543,8 @@ module Google
|
|
|
1543
1543
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
1544
1544
|
#
|
|
1545
1545
|
# @param parent [::String]
|
|
1546
|
-
# Required. The unique name of the cluster for which snapshots should be
|
|
1547
|
-
# Values are of the form
|
|
1546
|
+
# Required. The unique name of the cluster for which snapshots should be
|
|
1547
|
+
# listed. Values are of the form
|
|
1548
1548
|
# `projects/{project}/instances/{instance}/clusters/{cluster}`.
|
|
1549
1549
|
# Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
|
|
1550
1550
|
# e.g., `projects/{project}/instances/{instance}/clusters/-`.
|
|
@@ -1723,8 +1723,8 @@ module Google
|
|
|
1723
1723
|
# {::Google::Longrunning::Operation#metadata metadata} field type is
|
|
1724
1724
|
# {::Google::Cloud::Bigtable::Admin::V2::CreateBackupMetadata CreateBackupMetadata}. The
|
|
1725
1725
|
# {::Google::Longrunning::Operation#response response} field type is
|
|
1726
|
-
# {::Google::Cloud::Bigtable::Admin::V2::Backup Backup}, if successful. Cancelling the
|
|
1727
|
-
# creation and delete the backup.
|
|
1726
|
+
# {::Google::Cloud::Bigtable::Admin::V2::Backup Backup}, if successful. Cancelling the
|
|
1727
|
+
# returned operation will stop the creation and delete the backup.
|
|
1728
1728
|
#
|
|
1729
1729
|
# @overload create_backup(request, options = nil)
|
|
1730
1730
|
# Pass arguments to `create_backup` via a request object, either of type
|
|
@@ -1936,6 +1936,7 @@ module Google
|
|
|
1936
1936
|
# Required. The backup to update. `backup.name`, and the fields to be updated
|
|
1937
1937
|
# as specified by `update_mask` are required. Other fields are ignored.
|
|
1938
1938
|
# Update is only supported for the following fields:
|
|
1939
|
+
#
|
|
1939
1940
|
# * `backup.expire_time`.
|
|
1940
1941
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
|
1941
1942
|
# Required. A mask specifying which fields (e.g. `expire_time`) in the
|
|
@@ -2128,13 +2129,14 @@ module Google
|
|
|
2128
2129
|
# roughly synonymous with equality. Filter rules are case insensitive.
|
|
2129
2130
|
#
|
|
2130
2131
|
# The fields eligible for filtering are:
|
|
2131
|
-
#
|
|
2132
|
-
#
|
|
2133
|
-
#
|
|
2134
|
-
#
|
|
2135
|
-
#
|
|
2136
|
-
#
|
|
2137
|
-
#
|
|
2132
|
+
#
|
|
2133
|
+
# * `name`
|
|
2134
|
+
# * `source_table`
|
|
2135
|
+
# * `state`
|
|
2136
|
+
# * `start_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
|
|
2137
|
+
# * `end_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
|
|
2138
|
+
# * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
|
|
2139
|
+
# * `size_bytes`
|
|
2138
2140
|
#
|
|
2139
2141
|
# To filter on multiple expressions, provide each separate expression within
|
|
2140
2142
|
# parentheses. By default, each expression is an AND expression. However,
|
|
@@ -2142,29 +2144,31 @@ module Google
|
|
|
2142
2144
|
#
|
|
2143
2145
|
# Some examples of using filters are:
|
|
2144
2146
|
#
|
|
2145
|
-
#
|
|
2146
|
-
#
|
|
2147
|
-
#
|
|
2148
|
-
#
|
|
2149
|
-
#
|
|
2150
|
-
#
|
|
2151
|
-
#
|
|
2152
|
-
#
|
|
2153
|
-
#
|
|
2154
|
-
#
|
|
2147
|
+
# * `name:"exact"` --> The backup's name is the string "exact".
|
|
2148
|
+
# * `name:howl` --> The backup's name contains the string "howl".
|
|
2149
|
+
# * `source_table:prod`
|
|
2150
|
+
# --> The source_table's name contains the string "prod".
|
|
2151
|
+
# * `state:CREATING` --> The backup is pending creation.
|
|
2152
|
+
# * `state:READY` --> The backup is fully created and ready for use.
|
|
2153
|
+
# * `(name:howl) AND (start_time < \"2018-03-28T14:50:00Z\")`
|
|
2154
|
+
# --> The backup name contains the string "howl" and start_time
|
|
2155
|
+
# of the backup is before 2018-03-28T14:50:00Z.
|
|
2156
|
+
# * `size_bytes > 10000000000` --> The backup's size is greater than 10GB
|
|
2155
2157
|
# @param order_by [::String]
|
|
2156
2158
|
# An expression for specifying the sort order of the results of the request.
|
|
2157
|
-
# The string value should specify one or more fields in
|
|
2158
|
-
# syntax is described at
|
|
2159
|
+
# The string value should specify one or more fields in
|
|
2160
|
+
# {::Google::Cloud::Bigtable::Admin::V2::Backup Backup}. The full syntax is described at
|
|
2161
|
+
# https://aip.dev/132#ordering.
|
|
2159
2162
|
#
|
|
2160
2163
|
# Fields supported are:
|
|
2161
|
-
#
|
|
2162
|
-
#
|
|
2163
|
-
#
|
|
2164
|
-
#
|
|
2165
|
-
#
|
|
2166
|
-
#
|
|
2167
|
-
#
|
|
2164
|
+
#
|
|
2165
|
+
# * name
|
|
2166
|
+
# * source_table
|
|
2167
|
+
# * expire_time
|
|
2168
|
+
# * start_time
|
|
2169
|
+
# * end_time
|
|
2170
|
+
# * size_bytes
|
|
2171
|
+
# * state
|
|
2168
2172
|
#
|
|
2169
2173
|
# For example, "start_time". The default sorting order is ascending.
|
|
2170
2174
|
# To specify descending order for the field, a suffix " desc" should
|
|
@@ -2178,9 +2182,10 @@ module Google
|
|
|
2178
2182
|
# less, defaults to the server's maximum allowed page size.
|
|
2179
2183
|
# @param page_token [::String]
|
|
2180
2184
|
# If non-empty, `page_token` should contain a
|
|
2181
|
-
# {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse#next_page_token next_page_token}
|
|
2182
|
-
#
|
|
2183
|
-
#
|
|
2185
|
+
# {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse#next_page_token next_page_token}
|
|
2186
|
+
# from a previous
|
|
2187
|
+
# {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse ListBackupsResponse} to the
|
|
2188
|
+
# same `parent` and with the same `filter`.
|
|
2184
2189
|
#
|
|
2185
2190
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
2186
2191
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Bigtable::Admin::V2::Backup>]
|
|
@@ -2252,8 +2257,7 @@ module Google
|
|
|
2252
2257
|
end
|
|
2253
2258
|
|
|
2254
2259
|
##
|
|
2255
|
-
# Create a new table by restoring from a completed backup.
|
|
2256
|
-
# must be in the same project as the instance containing the backup. The
|
|
2260
|
+
# Create a new table by restoring from a completed backup. The
|
|
2257
2261
|
# returned table {::Google::Longrunning::Operation long-running operation} can
|
|
2258
2262
|
# be used to track the progress of the operation, and to cancel it. The
|
|
2259
2263
|
# {::Google::Longrunning::Operation#metadata metadata} field type is
|
|
@@ -2278,8 +2282,7 @@ module Google
|
|
|
2278
2282
|
#
|
|
2279
2283
|
# @param parent [::String]
|
|
2280
2284
|
# Required. The name of the instance in which to create the restored
|
|
2281
|
-
# table.
|
|
2282
|
-
# Values are of the form `projects/<project>/instances/<instance>`.
|
|
2285
|
+
# table. Values are of the form `projects/<project>/instances/<instance>`.
|
|
2283
2286
|
# @param table_id [::String]
|
|
2284
2287
|
# Required. The id of the table to create and restore to. This
|
|
2285
2288
|
# table must not already exist. The `table_id` appended to
|
|
@@ -2361,6 +2364,123 @@ module Google
|
|
|
2361
2364
|
raise ::Google::Cloud::Error.from_error(e)
|
|
2362
2365
|
end
|
|
2363
2366
|
|
|
2367
|
+
##
|
|
2368
|
+
# Copy a Cloud Bigtable backup to a new backup in the destination cluster
|
|
2369
|
+
# located in the destination instance and project.
|
|
2370
|
+
#
|
|
2371
|
+
# @overload copy_backup(request, options = nil)
|
|
2372
|
+
# Pass arguments to `copy_backup` via a request object, either of type
|
|
2373
|
+
# {::Google::Cloud::Bigtable::Admin::V2::CopyBackupRequest} or an equivalent Hash.
|
|
2374
|
+
#
|
|
2375
|
+
# @param request [::Google::Cloud::Bigtable::Admin::V2::CopyBackupRequest, ::Hash]
|
|
2376
|
+
# A request object representing the call parameters. Required. To specify no
|
|
2377
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
|
2378
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
|
2379
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
2380
|
+
#
|
|
2381
|
+
# @overload copy_backup(parent: nil, backup_id: nil, source_backup: nil, expire_time: nil)
|
|
2382
|
+
# Pass arguments to `copy_backup` via keyword arguments. Note that at
|
|
2383
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
2384
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
2385
|
+
#
|
|
2386
|
+
# @param parent [::String]
|
|
2387
|
+
# Required. The name of the destination cluster that will contain the backup
|
|
2388
|
+
# copy. The cluster must already exists. Values are of the form:
|
|
2389
|
+
# `projects/{project}/instances/{instance}/clusters/{cluster}`.
|
|
2390
|
+
# @param backup_id [::String]
|
|
2391
|
+
# Required. The id of the new backup. The `backup_id` along with `parent`
|
|
2392
|
+
# are combined as \\{parent}/backups/\\{backup_id} to create the full backup
|
|
2393
|
+
# name, of the form:
|
|
2394
|
+
# `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
|
|
2395
|
+
# This string must be between 1 and 50 characters in length and match the
|
|
2396
|
+
# regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
|
|
2397
|
+
# @param source_backup [::String]
|
|
2398
|
+
# Required. The source backup to be copied from.
|
|
2399
|
+
# The source backup needs to be in READY state for it to be copied.
|
|
2400
|
+
# Copying a copied backup is not allowed.
|
|
2401
|
+
# Once CopyBackup is in progress, the source backup cannot be deleted or
|
|
2402
|
+
# cleaned up on expiration until CopyBackup is finished.
|
|
2403
|
+
# Values are of the form:
|
|
2404
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
|
|
2405
|
+
# @param expire_time [::Google::Protobuf::Timestamp, ::Hash]
|
|
2406
|
+
# Required. Required. The expiration time of the copied backup with
|
|
2407
|
+
# microsecond granularity that must be at least 6 hours and at most 30 days
|
|
2408
|
+
# from the time the request is received. Once the `expire_time` has
|
|
2409
|
+
# passed, Cloud Bigtable will delete the backup and free the resources used
|
|
2410
|
+
# by the backup.
|
|
2411
|
+
#
|
|
2412
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
|
2413
|
+
# @yieldparam response [::Gapic::Operation]
|
|
2414
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
|
2415
|
+
#
|
|
2416
|
+
# @return [::Gapic::Operation]
|
|
2417
|
+
#
|
|
2418
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
|
2419
|
+
#
|
|
2420
|
+
# @example Basic example
|
|
2421
|
+
# require "google/cloud/bigtable/admin/v2"
|
|
2422
|
+
#
|
|
2423
|
+
# # Create a client object. The client can be reused for multiple calls.
|
|
2424
|
+
# client = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new
|
|
2425
|
+
#
|
|
2426
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
|
2427
|
+
# request = Google::Cloud::Bigtable::Admin::V2::CopyBackupRequest.new
|
|
2428
|
+
#
|
|
2429
|
+
# # Call the copy_backup method.
|
|
2430
|
+
# result = client.copy_backup request
|
|
2431
|
+
#
|
|
2432
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
|
2433
|
+
# # check the status of an operation, cancel it, or wait for results.
|
|
2434
|
+
# # Here is how to wait for a response.
|
|
2435
|
+
# result.wait_until_done! timeout: 60
|
|
2436
|
+
# if result.response?
|
|
2437
|
+
# p result.response
|
|
2438
|
+
# else
|
|
2439
|
+
# puts "No response received."
|
|
2440
|
+
# end
|
|
2441
|
+
#
|
|
2442
|
+
def copy_backup request, options = nil
|
|
2443
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
|
2444
|
+
|
|
2445
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::CopyBackupRequest
|
|
2446
|
+
|
|
2447
|
+
# Converts hash and nil to an options object
|
|
2448
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
|
2449
|
+
|
|
2450
|
+
# Customize the options with defaults
|
|
2451
|
+
metadata = @config.rpcs.copy_backup.metadata.to_h
|
|
2452
|
+
|
|
2453
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
|
2454
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2455
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2456
|
+
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
|
2457
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2458
|
+
|
|
2459
|
+
header_params = {}
|
|
2460
|
+
if request.parent
|
|
2461
|
+
header_params["parent"] = request.parent
|
|
2462
|
+
end
|
|
2463
|
+
|
|
2464
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
|
2465
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
|
2466
|
+
|
|
2467
|
+
options.apply_defaults timeout: @config.rpcs.copy_backup.timeout,
|
|
2468
|
+
metadata: metadata,
|
|
2469
|
+
retry_policy: @config.rpcs.copy_backup.retry_policy
|
|
2470
|
+
|
|
2471
|
+
options.apply_defaults timeout: @config.timeout,
|
|
2472
|
+
metadata: @config.metadata,
|
|
2473
|
+
retry_policy: @config.retry_policy
|
|
2474
|
+
|
|
2475
|
+
@bigtable_table_admin_stub.call_rpc :copy_backup, request, options: options do |response, operation|
|
|
2476
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
|
2477
|
+
yield response, operation if block_given?
|
|
2478
|
+
return response
|
|
2479
|
+
end
|
|
2480
|
+
rescue ::GRPC::BadStatus => e
|
|
2481
|
+
raise ::Google::Cloud::Error.from_error(e)
|
|
2482
|
+
end
|
|
2483
|
+
|
|
2364
2484
|
##
|
|
2365
2485
|
# Gets the access control policy for a Table or Backup resource.
|
|
2366
2486
|
# Returns an empty policy if the resource exists but does not have a policy
|
|
@@ -2551,7 +2671,8 @@ module Google
|
|
|
2551
2671
|
end
|
|
2552
2672
|
|
|
2553
2673
|
##
|
|
2554
|
-
# Returns permissions that the caller has on the specified Table or Backup
|
|
2674
|
+
# Returns permissions that the caller has on the specified Table or Backup
|
|
2675
|
+
# resource.
|
|
2555
2676
|
#
|
|
2556
2677
|
# @overload test_iam_permissions(request, options = nil)
|
|
2557
2678
|
# Pass arguments to `test_iam_permissions` via a request object, either of type
|
|
@@ -2884,6 +3005,11 @@ module Google
|
|
|
2884
3005
|
#
|
|
2885
3006
|
attr_reader :restore_table
|
|
2886
3007
|
##
|
|
3008
|
+
# RPC-specific configuration for `copy_backup`
|
|
3009
|
+
# @return [::Gapic::Config::Method]
|
|
3010
|
+
#
|
|
3011
|
+
attr_reader :copy_backup
|
|
3012
|
+
##
|
|
2887
3013
|
# RPC-specific configuration for `get_iam_policy`
|
|
2888
3014
|
# @return [::Gapic::Config::Method]
|
|
2889
3015
|
#
|
|
@@ -2943,6 +3069,8 @@ module Google
|
|
|
2943
3069
|
@list_backups = ::Gapic::Config::Method.new list_backups_config
|
|
2944
3070
|
restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table
|
|
2945
3071
|
@restore_table = ::Gapic::Config::Method.new restore_table_config
|
|
3072
|
+
copy_backup_config = parent_rpcs.copy_backup if parent_rpcs.respond_to? :copy_backup
|
|
3073
|
+
@copy_backup = ::Gapic::Config::Method.new copy_backup_config
|
|
2946
3074
|
get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy
|
|
2947
3075
|
@get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config
|
|
2948
3076
|
set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy
|
|
@@ -27,8 +27,7 @@ module Google
|
|
|
27
27
|
# @!attribute [rw] parent
|
|
28
28
|
# @return [::String]
|
|
29
29
|
# Required. The name of the instance in which to create the restored
|
|
30
|
-
# table.
|
|
31
|
-
# Values are of the form `projects/<project>/instances/<instance>`.
|
|
30
|
+
# table. Values are of the form `projects/<project>/instances/<instance>`.
|
|
32
31
|
# @!attribute [rw] table_id
|
|
33
32
|
# @return [::String]
|
|
34
33
|
# Required. The id of the table to create and restore to. This
|
|
@@ -67,7 +66,8 @@ module Google
|
|
|
67
66
|
# not successful.
|
|
68
67
|
# @!attribute [rw] progress
|
|
69
68
|
# @return [::Google::Cloud::Bigtable::Admin::V2::OperationProgress]
|
|
70
|
-
# The progress of the
|
|
69
|
+
# The progress of the
|
|
70
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#restore_table RestoreTable}
|
|
71
71
|
# operation.
|
|
72
72
|
class RestoreTableMetadata
|
|
73
73
|
include ::Google::Protobuf::MessageExts
|
|
@@ -97,8 +97,8 @@ module Google
|
|
|
97
97
|
# Values are of the form `projects/{project}/instances/{instance}`.
|
|
98
98
|
# @!attribute [rw] table_id
|
|
99
99
|
# @return [::String]
|
|
100
|
-
# Required. The name by which the new table should be referred to within the
|
|
101
|
-
# instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
|
|
100
|
+
# Required. The name by which the new table should be referred to within the
|
|
101
|
+
# parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
|
|
102
102
|
# Maximum 50 characters.
|
|
103
103
|
# @!attribute [rw] table
|
|
104
104
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Table]
|
|
@@ -148,13 +148,13 @@ module Google
|
|
|
148
148
|
# Values are of the form `projects/{project}/instances/{instance}`.
|
|
149
149
|
# @!attribute [rw] table_id
|
|
150
150
|
# @return [::String]
|
|
151
|
-
# Required. The name by which the new table should be referred to within the
|
|
152
|
-
# instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
|
|
151
|
+
# Required. The name by which the new table should be referred to within the
|
|
152
|
+
# parent instance, e.g., `foobar` rather than `{parent}/tables/foobar`.
|
|
153
153
|
# @!attribute [rw] source_snapshot
|
|
154
154
|
# @return [::String]
|
|
155
|
-
# Required. The unique name of the snapshot from which to restore the table.
|
|
156
|
-
# snapshot and the table must be in the same instance.
|
|
157
|
-
#
|
|
155
|
+
# Required. The unique name of the snapshot from which to restore the table.
|
|
156
|
+
# The snapshot and the table must be in the same instance. Values are of the
|
|
157
|
+
# form
|
|
158
158
|
# `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
|
|
159
159
|
class CreateTableFromSnapshotRequest
|
|
160
160
|
include ::Google::Protobuf::MessageExts
|
|
@@ -184,12 +184,12 @@ module Google
|
|
|
184
184
|
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_tables google.bigtable.admin.v2.BigtableTableAdmin.ListTables}
|
|
185
185
|
# @!attribute [rw] parent
|
|
186
186
|
# @return [::String]
|
|
187
|
-
# Required. The unique name of the instance for which tables should be
|
|
188
|
-
# Values are of the form `projects/{project}/instances/{instance}`.
|
|
187
|
+
# Required. The unique name of the instance for which tables should be
|
|
188
|
+
# listed. Values are of the form `projects/{project}/instances/{instance}`.
|
|
189
189
|
# @!attribute [rw] view
|
|
190
190
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Table::View]
|
|
191
191
|
# The view to be applied to the returned tables' fields.
|
|
192
|
-
#
|
|
192
|
+
# NAME_ONLY view (default) and REPLICATION_VIEW are supported.
|
|
193
193
|
# @!attribute [rw] page_size
|
|
194
194
|
# @return [::Integer]
|
|
195
195
|
# Maximum number of results per page.
|
|
@@ -330,10 +330,10 @@ module Google
|
|
|
330
330
|
# `projects/{project}/instances/{instance}/tables/{table}`.
|
|
331
331
|
# @!attribute [rw] modifications
|
|
332
332
|
# @return [::Array<::Google::Cloud::Bigtable::Admin::V2::ModifyColumnFamiliesRequest::Modification>]
|
|
333
|
-
# Required. Modifications to be atomically applied to the specified table's
|
|
334
|
-
# Entries are applied in order, meaning that earlier modifications
|
|
335
|
-
# masked by later ones (in the case of repeated updates to the same
|
|
336
|
-
# for example).
|
|
333
|
+
# Required. Modifications to be atomically applied to the specified table's
|
|
334
|
+
# families. Entries are applied in order, meaning that earlier modifications
|
|
335
|
+
# can be masked by later ones (in the case of repeated updates to the same
|
|
336
|
+
# family, for example).
|
|
337
337
|
class ModifyColumnFamiliesRequest
|
|
338
338
|
include ::Google::Protobuf::MessageExts
|
|
339
339
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -364,8 +364,8 @@ module Google
|
|
|
364
364
|
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#generate_consistency_token google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken}
|
|
365
365
|
# @!attribute [rw] name
|
|
366
366
|
# @return [::String]
|
|
367
|
-
# Required. The unique name of the Table for which to create a consistency
|
|
368
|
-
# Values are of the form
|
|
367
|
+
# Required. The unique name of the Table for which to create a consistency
|
|
368
|
+
# token. Values are of the form
|
|
369
369
|
# `projects/{project}/instances/{instance}/tables/{table}`.
|
|
370
370
|
class GenerateConsistencyTokenRequest
|
|
371
371
|
include ::Google::Protobuf::MessageExts
|
|
@@ -386,8 +386,8 @@ module Google
|
|
|
386
386
|
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#check_consistency google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency}
|
|
387
387
|
# @!attribute [rw] name
|
|
388
388
|
# @return [::String]
|
|
389
|
-
# Required. The unique name of the Table for which to check replication
|
|
390
|
-
# Values are of the form
|
|
389
|
+
# Required. The unique name of the Table for which to check replication
|
|
390
|
+
# consistency. Values are of the form
|
|
391
391
|
# `projects/{project}/instances/{instance}/tables/{table}`.
|
|
392
392
|
# @!attribute [rw] consistency_token
|
|
393
393
|
# @return [::String]
|
|
@@ -427,9 +427,9 @@ module Google
|
|
|
427
427
|
# `projects/{project}/instances/{instance}/clusters/{cluster}`.
|
|
428
428
|
# @!attribute [rw] snapshot_id
|
|
429
429
|
# @return [::String]
|
|
430
|
-
# Required. The ID by which the new snapshot should be referred to within the
|
|
431
|
-
# cluster, e.g., `mysnapshot` of the form:
|
|
432
|
-
# rather than
|
|
430
|
+
# Required. The ID by which the new snapshot should be referred to within the
|
|
431
|
+
# parent cluster, e.g., `mysnapshot` of the form:
|
|
432
|
+
# `[_a-zA-Z0-9][-_.a-zA-Z0-9]*` rather than
|
|
433
433
|
# `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`.
|
|
434
434
|
# @!attribute [rw] ttl
|
|
435
435
|
# @return [::Google::Protobuf::Duration]
|
|
@@ -471,8 +471,8 @@ module Google
|
|
|
471
471
|
# for production use. It is not subject to any SLA or deprecation policy.
|
|
472
472
|
# @!attribute [rw] parent
|
|
473
473
|
# @return [::String]
|
|
474
|
-
# Required. The unique name of the cluster for which snapshots should be
|
|
475
|
-
# Values are of the form
|
|
474
|
+
# Required. The unique name of the cluster for which snapshots should be
|
|
475
|
+
# listed. Values are of the form
|
|
476
476
|
# `projects/{project}/instances/{instance}/clusters/{cluster}`.
|
|
477
477
|
# Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
|
|
478
478
|
# e.g., `projects/{project}/instances/{instance}/clusters/-`.
|
|
@@ -566,7 +566,8 @@ module Google
|
|
|
566
566
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
567
567
|
end
|
|
568
568
|
|
|
569
|
-
# The request for
|
|
569
|
+
# The request for
|
|
570
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#create_backup CreateBackup}.
|
|
570
571
|
# @!attribute [rw] parent
|
|
571
572
|
# @return [::String]
|
|
572
573
|
# Required. This must be one of the clusters in the instance in which this
|
|
@@ -607,12 +608,14 @@ module Google
|
|
|
607
608
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
608
609
|
end
|
|
609
610
|
|
|
610
|
-
# The request for
|
|
611
|
+
# The request for
|
|
612
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#update_backup UpdateBackup}.
|
|
611
613
|
# @!attribute [rw] backup
|
|
612
614
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Backup]
|
|
613
615
|
# Required. The backup to update. `backup.name`, and the fields to be updated
|
|
614
616
|
# as specified by `update_mask` are required. Other fields are ignored.
|
|
615
617
|
# Update is only supported for the following fields:
|
|
618
|
+
#
|
|
616
619
|
# * `backup.expire_time`.
|
|
617
620
|
# @!attribute [rw] update_mask
|
|
618
621
|
# @return [::Google::Protobuf::FieldMask]
|
|
@@ -626,7 +629,8 @@ module Google
|
|
|
626
629
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
627
630
|
end
|
|
628
631
|
|
|
629
|
-
# The request for
|
|
632
|
+
# The request for
|
|
633
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#get_backup GetBackup}.
|
|
630
634
|
# @!attribute [rw] name
|
|
631
635
|
# @return [::String]
|
|
632
636
|
# Required. Name of the backup.
|
|
@@ -637,7 +641,8 @@ module Google
|
|
|
637
641
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
638
642
|
end
|
|
639
643
|
|
|
640
|
-
# The request for
|
|
644
|
+
# The request for
|
|
645
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#delete_backup DeleteBackup}.
|
|
641
646
|
# @!attribute [rw] name
|
|
642
647
|
# @return [::String]
|
|
643
648
|
# Required. Name of the backup to delete.
|
|
@@ -648,7 +653,8 @@ module Google
|
|
|
648
653
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
649
654
|
end
|
|
650
655
|
|
|
651
|
-
# The request for
|
|
656
|
+
# The request for
|
|
657
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_backups ListBackups}.
|
|
652
658
|
# @!attribute [rw] parent
|
|
653
659
|
# @return [::String]
|
|
654
660
|
# Required. The cluster to list backups from. Values are of the
|
|
@@ -665,13 +671,14 @@ module Google
|
|
|
665
671
|
# roughly synonymous with equality. Filter rules are case insensitive.
|
|
666
672
|
#
|
|
667
673
|
# The fields eligible for filtering are:
|
|
668
|
-
#
|
|
669
|
-
#
|
|
670
|
-
#
|
|
671
|
-
#
|
|
672
|
-
#
|
|
673
|
-
#
|
|
674
|
-
#
|
|
674
|
+
#
|
|
675
|
+
# * `name`
|
|
676
|
+
# * `source_table`
|
|
677
|
+
# * `state`
|
|
678
|
+
# * `start_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
|
|
679
|
+
# * `end_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
|
|
680
|
+
# * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ)
|
|
681
|
+
# * `size_bytes`
|
|
675
682
|
#
|
|
676
683
|
# To filter on multiple expressions, provide each separate expression within
|
|
677
684
|
# parentheses. By default, each expression is an AND expression. However,
|
|
@@ -679,30 +686,32 @@ module Google
|
|
|
679
686
|
#
|
|
680
687
|
# Some examples of using filters are:
|
|
681
688
|
#
|
|
682
|
-
#
|
|
683
|
-
#
|
|
684
|
-
#
|
|
685
|
-
#
|
|
686
|
-
#
|
|
687
|
-
#
|
|
688
|
-
#
|
|
689
|
-
#
|
|
690
|
-
#
|
|
691
|
-
#
|
|
689
|
+
# * `name:"exact"` --> The backup's name is the string "exact".
|
|
690
|
+
# * `name:howl` --> The backup's name contains the string "howl".
|
|
691
|
+
# * `source_table:prod`
|
|
692
|
+
# --> The source_table's name contains the string "prod".
|
|
693
|
+
# * `state:CREATING` --> The backup is pending creation.
|
|
694
|
+
# * `state:READY` --> The backup is fully created and ready for use.
|
|
695
|
+
# * `(name:howl) AND (start_time < \"2018-03-28T14:50:00Z\")`
|
|
696
|
+
# --> The backup name contains the string "howl" and start_time
|
|
697
|
+
# of the backup is before 2018-03-28T14:50:00Z.
|
|
698
|
+
# * `size_bytes > 10000000000` --> The backup's size is greater than 10GB
|
|
692
699
|
# @!attribute [rw] order_by
|
|
693
700
|
# @return [::String]
|
|
694
701
|
# An expression for specifying the sort order of the results of the request.
|
|
695
|
-
# The string value should specify one or more fields in
|
|
696
|
-
# syntax is described at
|
|
702
|
+
# The string value should specify one or more fields in
|
|
703
|
+
# {::Google::Cloud::Bigtable::Admin::V2::Backup Backup}. The full syntax is described at
|
|
704
|
+
# https://aip.dev/132#ordering.
|
|
697
705
|
#
|
|
698
706
|
# Fields supported are:
|
|
699
|
-
#
|
|
700
|
-
#
|
|
701
|
-
#
|
|
702
|
-
#
|
|
703
|
-
#
|
|
704
|
-
#
|
|
705
|
-
#
|
|
707
|
+
#
|
|
708
|
+
# * name
|
|
709
|
+
# * source_table
|
|
710
|
+
# * expire_time
|
|
711
|
+
# * start_time
|
|
712
|
+
# * end_time
|
|
713
|
+
# * size_bytes
|
|
714
|
+
# * state
|
|
706
715
|
#
|
|
707
716
|
# For example, "start_time". The default sorting order is ascending.
|
|
708
717
|
# To specify descending order for the field, a suffix " desc" should
|
|
@@ -718,27 +727,85 @@ module Google
|
|
|
718
727
|
# @!attribute [rw] page_token
|
|
719
728
|
# @return [::String]
|
|
720
729
|
# If non-empty, `page_token` should contain a
|
|
721
|
-
# {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse#next_page_token next_page_token}
|
|
722
|
-
#
|
|
723
|
-
#
|
|
730
|
+
# {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse#next_page_token next_page_token}
|
|
731
|
+
# from a previous
|
|
732
|
+
# {::Google::Cloud::Bigtable::Admin::V2::ListBackupsResponse ListBackupsResponse} to the
|
|
733
|
+
# same `parent` and with the same `filter`.
|
|
724
734
|
class ListBackupsRequest
|
|
725
735
|
include ::Google::Protobuf::MessageExts
|
|
726
736
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
727
737
|
end
|
|
728
738
|
|
|
729
|
-
# The response for
|
|
739
|
+
# The response for
|
|
740
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_backups ListBackups}.
|
|
730
741
|
# @!attribute [rw] backups
|
|
731
742
|
# @return [::Array<::Google::Cloud::Bigtable::Admin::V2::Backup>]
|
|
732
743
|
# The list of matching backups.
|
|
733
744
|
# @!attribute [rw] next_page_token
|
|
734
745
|
# @return [::String]
|
|
735
746
|
# `next_page_token` can be sent in a subsequent
|
|
736
|
-
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_backups ListBackups} call
|
|
737
|
-
# of the matching backups.
|
|
747
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_backups ListBackups} call
|
|
748
|
+
# to fetch more of the matching backups.
|
|
738
749
|
class ListBackupsResponse
|
|
739
750
|
include ::Google::Protobuf::MessageExts
|
|
740
751
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
741
752
|
end
|
|
753
|
+
|
|
754
|
+
# The request for
|
|
755
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#copy_backup CopyBackup}.
|
|
756
|
+
# @!attribute [rw] parent
|
|
757
|
+
# @return [::String]
|
|
758
|
+
# Required. The name of the destination cluster that will contain the backup
|
|
759
|
+
# copy. The cluster must already exists. Values are of the form:
|
|
760
|
+
# `projects/{project}/instances/{instance}/clusters/{cluster}`.
|
|
761
|
+
# @!attribute [rw] backup_id
|
|
762
|
+
# @return [::String]
|
|
763
|
+
# Required. The id of the new backup. The `backup_id` along with `parent`
|
|
764
|
+
# are combined as \\{parent}/backups/\\{backup_id} to create the full backup
|
|
765
|
+
# name, of the form:
|
|
766
|
+
# `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.
|
|
767
|
+
# This string must be between 1 and 50 characters in length and match the
|
|
768
|
+
# regex [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
|
|
769
|
+
# @!attribute [rw] source_backup
|
|
770
|
+
# @return [::String]
|
|
771
|
+
# Required. The source backup to be copied from.
|
|
772
|
+
# The source backup needs to be in READY state for it to be copied.
|
|
773
|
+
# Copying a copied backup is not allowed.
|
|
774
|
+
# Once CopyBackup is in progress, the source backup cannot be deleted or
|
|
775
|
+
# cleaned up on expiration until CopyBackup is finished.
|
|
776
|
+
# Values are of the form:
|
|
777
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
|
|
778
|
+
# @!attribute [rw] expire_time
|
|
779
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
780
|
+
# Required. Required. The expiration time of the copied backup with
|
|
781
|
+
# microsecond granularity that must be at least 6 hours and at most 30 days
|
|
782
|
+
# from the time the request is received. Once the `expire_time` has
|
|
783
|
+
# passed, Cloud Bigtable will delete the backup and free the resources used
|
|
784
|
+
# by the backup.
|
|
785
|
+
class CopyBackupRequest
|
|
786
|
+
include ::Google::Protobuf::MessageExts
|
|
787
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
788
|
+
end
|
|
789
|
+
|
|
790
|
+
# Metadata type for the google.longrunning.Operation returned by
|
|
791
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#copy_backup CopyBackup}.
|
|
792
|
+
# @!attribute [rw] name
|
|
793
|
+
# @return [::String]
|
|
794
|
+
# The name of the backup being created through the copy operation.
|
|
795
|
+
# Values are of the form
|
|
796
|
+
# `projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>`.
|
|
797
|
+
# @!attribute [rw] source_backup_info
|
|
798
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::BackupInfo]
|
|
799
|
+
# Information about the source backup that is being copied from.
|
|
800
|
+
# @!attribute [rw] progress
|
|
801
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::OperationProgress]
|
|
802
|
+
# The progress of the
|
|
803
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#copy_backup CopyBackup}
|
|
804
|
+
# operation.
|
|
805
|
+
class CopyBackupMetadata
|
|
806
|
+
include ::Google::Protobuf::MessageExts
|
|
807
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
808
|
+
end
|
|
742
809
|
end
|
|
743
810
|
end
|
|
744
811
|
end
|
|
@@ -65,17 +65,17 @@ module Google
|
|
|
65
65
|
# @!attribute [rw] column_families
|
|
66
66
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::ColumnFamily}]
|
|
67
67
|
# The column families configured for this table, mapped by column family ID.
|
|
68
|
-
# Views: `SCHEMA_VIEW`, `FULL`
|
|
68
|
+
# Views: `SCHEMA_VIEW`, `STATS_VIEW`, `FULL`
|
|
69
69
|
# @!attribute [rw] granularity
|
|
70
70
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Table::TimestampGranularity]
|
|
71
|
-
# Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
|
|
72
|
-
# table. Timestamps not matching the granularity will be rejected.
|
|
73
|
-
#
|
|
74
|
-
#
|
|
71
|
+
# Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
|
|
72
|
+
# in this table. Timestamps not matching the granularity will be rejected. If
|
|
73
|
+
# unspecified at creation time, the value will be set to `MILLIS`. Views:
|
|
74
|
+
# `SCHEMA_VIEW`, `FULL`.
|
|
75
75
|
# @!attribute [r] restore_info
|
|
76
76
|
# @return [::Google::Cloud::Bigtable::Admin::V2::RestoreInfo]
|
|
77
|
-
# Output only. If this table was restored from another data source (e.g. a
|
|
78
|
-
# field will be populated with information about the restore.
|
|
77
|
+
# Output only. If this table was restored from another data source (e.g. a
|
|
78
|
+
# backup), this field will be populated with information about the restore.
|
|
79
79
|
# @!attribute [rw] change_stream_config
|
|
80
80
|
# @return [::Google::Cloud::Bigtable::Admin::V2::ChangeStreamConfig]
|
|
81
81
|
# If specified, enable the change stream on this table.
|
|
@@ -85,9 +85,11 @@ module Google
|
|
|
85
85
|
# @return [::Boolean]
|
|
86
86
|
# Set to true to make the table protected against data loss. i.e. deleting
|
|
87
87
|
# the following resources through Admin APIs are prohibited:
|
|
88
|
-
#
|
|
89
|
-
#
|
|
90
|
-
#
|
|
88
|
+
#
|
|
89
|
+
# * The table.
|
|
90
|
+
# * The column families in the table.
|
|
91
|
+
# * The instance containing the table.
|
|
92
|
+
#
|
|
91
93
|
# Note one can still delete the data stored in the table through Data APIs.
|
|
92
94
|
class Table
|
|
93
95
|
include ::Google::Protobuf::MessageExts
|
|
@@ -251,12 +253,13 @@ module Google
|
|
|
251
253
|
# Output only. The type of encryption used to protect this resource.
|
|
252
254
|
# @!attribute [r] encryption_status
|
|
253
255
|
# @return [::Google::Rpc::Status]
|
|
254
|
-
# Output only. The status of encrypt/decrypt calls on underlying data for
|
|
255
|
-
# Regardless of status, the existing data is always encrypted
|
|
256
|
+
# Output only. The status of encrypt/decrypt calls on underlying data for
|
|
257
|
+
# this resource. Regardless of status, the existing data is always encrypted
|
|
258
|
+
# at rest.
|
|
256
259
|
# @!attribute [r] kms_key_version
|
|
257
260
|
# @return [::String]
|
|
258
|
-
# Output only. The version of the Cloud KMS key specified in the parent
|
|
259
|
-
# in use for the data underlying this table.
|
|
261
|
+
# Output only. The version of the Cloud KMS key specified in the parent
|
|
262
|
+
# cluster that is in use for the data underlying this table.
|
|
260
263
|
class EncryptionInfo
|
|
261
264
|
include ::Google::Protobuf::MessageExts
|
|
262
265
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -291,32 +294,32 @@ module Google
|
|
|
291
294
|
# for production use. It is not subject to any SLA or deprecation policy.
|
|
292
295
|
# @!attribute [rw] name
|
|
293
296
|
# @return [::String]
|
|
294
|
-
#
|
|
297
|
+
# The unique name of the snapshot.
|
|
295
298
|
# Values are of the form
|
|
296
299
|
# `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
|
|
297
|
-
# @!attribute [
|
|
300
|
+
# @!attribute [r] source_table
|
|
298
301
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Table]
|
|
299
302
|
# Output only. The source table at the time the snapshot was taken.
|
|
300
|
-
# @!attribute [
|
|
303
|
+
# @!attribute [r] data_size_bytes
|
|
301
304
|
# @return [::Integer]
|
|
302
305
|
# Output only. The size of the data in the source table at the time the
|
|
303
306
|
# snapshot was taken. In some cases, this value may be computed
|
|
304
307
|
# asynchronously via a background process and a placeholder of 0 will be used
|
|
305
308
|
# in the meantime.
|
|
306
|
-
# @!attribute [
|
|
309
|
+
# @!attribute [r] create_time
|
|
307
310
|
# @return [::Google::Protobuf::Timestamp]
|
|
308
311
|
# Output only. The time when the snapshot is created.
|
|
309
312
|
# @!attribute [rw] delete_time
|
|
310
313
|
# @return [::Google::Protobuf::Timestamp]
|
|
311
|
-
#
|
|
312
|
-
#
|
|
314
|
+
# The time when the snapshot will be deleted. The maximum amount of time a
|
|
315
|
+
# snapshot can stay active is 365 days. If 'ttl' is not specified,
|
|
313
316
|
# the default maximum of 365 days will be used.
|
|
314
|
-
# @!attribute [
|
|
317
|
+
# @!attribute [r] state
|
|
315
318
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Snapshot::State]
|
|
316
319
|
# Output only. The current state of the snapshot.
|
|
317
320
|
# @!attribute [rw] description
|
|
318
321
|
# @return [::String]
|
|
319
|
-
#
|
|
322
|
+
# Description of the snapshot.
|
|
320
323
|
class Snapshot
|
|
321
324
|
include ::Google::Protobuf::MessageExts
|
|
322
325
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -351,9 +354,14 @@ module Google
|
|
|
351
354
|
# `projects/{project}/instances/{instance}/clusters/{cluster}`.
|
|
352
355
|
# @!attribute [rw] source_table
|
|
353
356
|
# @return [::String]
|
|
354
|
-
# Required. Immutable. Name of the table from which this backup was created.
|
|
355
|
-
# to be in the same instance as the backup. Values are of the form
|
|
357
|
+
# Required. Immutable. Name of the table from which this backup was created.
|
|
358
|
+
# This needs to be in the same instance as the backup. Values are of the form
|
|
356
359
|
# `projects/{project}/instances/{instance}/tables/{source_table}`.
|
|
360
|
+
# @!attribute [r] source_backup
|
|
361
|
+
# @return [::String]
|
|
362
|
+
# Output only. Name of the backup from which this backup was copied. If a
|
|
363
|
+
# backup is not created by copying a backup, this field will be empty. Values
|
|
364
|
+
# are of the form: projects/<project>/instances/<instance>/backups/<backup>.
|
|
357
365
|
# @!attribute [rw] expire_time
|
|
358
366
|
# @return [::Google::Protobuf::Timestamp]
|
|
359
367
|
# Required. The expiration time of the backup, with microseconds
|
|
@@ -365,8 +373,9 @@ module Google
|
|
|
365
373
|
# @return [::Google::Protobuf::Timestamp]
|
|
366
374
|
# Output only. `start_time` is the time that the backup was started
|
|
367
375
|
# (i.e. approximately the time the
|
|
368
|
-
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#create_backup CreateBackup}
|
|
369
|
-
# row data in this backup will be no older than
|
|
376
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#create_backup CreateBackup}
|
|
377
|
+
# request is received). The row data in this backup will be no older than
|
|
378
|
+
# this timestamp.
|
|
370
379
|
# @!attribute [r] end_time
|
|
371
380
|
# @return [::Google::Protobuf::Timestamp]
|
|
372
381
|
# Output only. `end_time` is the time that the backup was finished. The row
|
|
@@ -413,6 +422,11 @@ module Google
|
|
|
413
422
|
# @!attribute [r] source_table
|
|
414
423
|
# @return [::String]
|
|
415
424
|
# Output only. Name of the table the backup was created from.
|
|
425
|
+
# @!attribute [r] source_backup
|
|
426
|
+
# @return [::String]
|
|
427
|
+
# Output only. Name of the backup from which this backup was copied. If a
|
|
428
|
+
# backup is not created by copying a backup, this field will be empty. Values
|
|
429
|
+
# are of the form: projects/<project>/instances/<instance>/backups/<backup>.
|
|
416
430
|
class BackupInfo
|
|
417
431
|
include ::Google::Protobuf::MessageExts
|
|
418
432
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
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.
|
|
4
|
+
version: 0.17.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: 2023-08-
|
|
11
|
+
date: 2023-08-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|