google-cloud-bigtable-admin-v2 0.22.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0da938219c2fe56140ae1b788bb639157136aa46c537d34a8b1c79015aa24895
4
- data.tar.gz: 72e06dc1bef0800802b7c5defcc5da7ddf5263e57cc28a8f70ebf0cadefd03b3
3
+ metadata.gz: ec2f368462ce0de78f2c92d9fdc35aa0aa96def352aa5be5251b36f7bc6d462f
4
+ data.tar.gz: eaa56eb83c49bf758ec61eeffde96062dc66bc3629caf8b61e253a301380e5e5
5
5
  SHA512:
6
- metadata.gz: 310120c80b90917294c080b2a0153244229ca1a996774fe85c7260303c29cf2d528f9d4ce2542c73c1297726e7b6d51f2b9025811414b3323939fd0096702c86
7
- data.tar.gz: 0afe1b849586077391acdc95c03a65e518ffca15ababdeeab9ea2d47b5716fcc4e601c896c4087426fd665df6304b3f374a1cc98f4917b44a54cb37777a73a1b
6
+ metadata.gz: 918f2aa7663099fa6d833a279345e92e46c4220a7ba37ee97c1df634f2670dc82d0424c74ec19ba45f4ebf68a9079a4ca40377a95c4b10a8381a67c035cc6f1a
7
+ data.tar.gz: 640ba1f42b1c35aafc06dcd1e6271388caafe66b6e690da3f08cb0f5b5a26a2fc7bd4c8e5e5251edb7f4c93fbc5873cd1473cc42618bd68eb37e7c8b1976adf9
@@ -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\"\xfd\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\x12\x1c\n\x0fignore_warnings\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\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\xda\x41\x15parent,table_id,table\x82\xd3\xe4\x93\x02/\"*/v2/{parent=projects/*/instances/*}/tables:\x01*\x12\x8a\x02\n\x17\x43reateTableFromSnapshot\x12\x38.google.bigtable.admin.v2.CreateTableFromSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\xca\x41(\n\x05Table\x12\x1f\x43reateTableFromSnapshotMetadata\xda\x41\x1fparent,table_id,source_snapshot\x82\xd3\xe4\x93\x02\x42\"=/v2/{parent=projects/*/instances/*}/tables:createFromSnapshot:\x01*\x12\xa4\x01\n\nListTables\x12+.google.bigtable.admin.v2.ListTablesRequest\x1a,.google.bigtable.admin.v2.ListTablesResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v2/{parent=projects/*/instances/*}/tables\x12\x91\x01\n\x08GetTable\x12).google.bigtable.admin.v2.GetTableRequest\x1a\x1f.google.bigtable.admin.v2.Table\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v2/{name=projects/*/instances/*/tables/*}\x12\xce\x01\n\x0bUpdateTable\x12,.google.bigtable.admin.v2.UpdateTableRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41\x1c\n\x05Table\x12\x13UpdateTableMetadata\xda\x41\x11table,update_mask\x82\xd3\xe4\x93\x02\x39\x32\x30/v2/{table.name=projects/*/instances/*/tables/*}:\x05table\x12\x8e\x01\n\x0b\x44\x65leteTable\x12,.google.bigtable.admin.v2.DeleteTableRequest\x1a\x16.google.protobuf.Empty\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v2/{name=projects/*/instances/*/tables/*}\x12\xc6\x01\n\rUndeleteTable\x12..google.bigtable.admin.v2.UndeleteTableRequest\x1a\x1d.google.longrunning.Operation\"f\xca\x41\x1e\n\x05Table\x12\x15UndeleteTableMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/instances/*/tables/*}:undelete:\x01*\x12\xcf\x01\n\x14ModifyColumnFamilies\x12\x35.google.bigtable.admin.v2.ModifyColumnFamiliesRequest\x1a\x1f.google.bigtable.admin.v2.Table\"_\xda\x41\x12name,modifications\x82\xd3\xe4\x93\x02\x44\"?/v2/{name=projects/*/instances/*/tables/*}:modifyColumnFamilies:\x01*\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\xda\x41\x04name\x82\xd3\xe4\x93\x02H\"C/v2/{name=projects/*/instances/*/tables/*}:generateConsistencyToken:\x01*\x12\xda\x01\n\x10\x43heckConsistency\x12\x31.google.bigtable.admin.v2.CheckConsistencyRequest\x1a\x32.google.bigtable.admin.v2.CheckConsistencyResponse\"_\xda\x41\x16name,consistency_token\x82\xd3\xe4\x93\x02@\";/v2/{name=projects/*/instances/*/tables/*}:checkConsistency:\x01*\x12\xea\x01\n\rSnapshotTable\x12..google.bigtable.admin.v2.SnapshotTableRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41!\n\x08Snapshot\x12\x15SnapshotTableMetadata\xda\x41$name,cluster,snapshot_id,description\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/instances/*/tables/*}:snapshot:\x01*\x12\xa8\x01\n\x0bGetSnapshot\x12,.google.bigtable.admin.v2.GetSnapshotRequest\x1a\".google.bigtable.admin.v2.Snapshot\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}\x12\xbb\x01\n\rListSnapshots\x12..google.bigtable.admin.v2.ListSnapshotsRequest\x1a/.google.bigtable.admin.v2.ListSnapshotsResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v2/{parent=projects/*/instances/*/clusters/*}/snapshots\x12\xa2\x01\n\x0e\x44\x65leteSnapshot\x12/.google.bigtable.admin.v2.DeleteSnapshotRequest\x1a\x16.google.protobuf.Empty\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:*8/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}\x12\xe0\x01\n\x0c\x43reateBackup\x12-.google.bigtable.admin.v2.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41\x1e\n\x06\x42\x61\x63kup\x12\x14\x43reateBackupMetadata\xda\x41\x17parent,backup_id,backup\x82\xd3\xe4\x93\x02@\"6/v2/{parent=projects/*/instances/*/clusters/*}/backups:\x06\x62\x61\x63kup\x12\xa0\x01\n\tGetBackup\x12*.google.bigtable.admin.v2.GetBackupRequest\x1a .google.bigtable.admin.v2.Backup\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{name=projects/*/instances/*/clusters/*/backups/*}\x12\xc3\x01\n\x0cUpdateBackup\x12-.google.bigtable.admin.v2.UpdateBackupRequest\x1a .google.bigtable.admin.v2.Backup\"b\xda\x41\x12\x62\x61\x63kup,update_mask\x82\xd3\xe4\x93\x02G2=/v2/{backup.name=projects/*/instances/*/clusters/*/backups/*}:\x06\x62\x61\x63kup\x12\x9c\x01\n\x0c\x44\x65leteBackup\x12-.google.bigtable.admin.v2.DeleteBackupRequest\x1a\x16.google.protobuf.Empty\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v2/{name=projects/*/instances/*/clusters/*/backups/*}\x12\xb3\x01\n\x0bListBackups\x12,.google.bigtable.admin.v2.ListBackupsRequest\x1a-.google.bigtable.admin.v2.ListBackupsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{parent=projects/*/instances/*/clusters/*}/backups\x12\xbb\x01\n\x0cRestoreTable\x12-.google.bigtable.admin.v2.RestoreTableRequest\x1a\x1d.google.longrunning.Operation\"]\xca\x41\x1d\n\x05Table\x12\x14RestoreTableMetadata\x82\xd3\xe4\x93\x02\x37\"2/v2/{parent=projects/*/instances/*}/tables:restore:\x01*\x12\xed\x01\n\nCopyBackup\x12+.google.bigtable.admin.v2.CopyBackupRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\xca\x41\x1c\n\x06\x42\x61\x63kup\x12\x12\x43opyBackupMetadata\xda\x41*parent,backup_id,source_backup,expire_time\x82\xd3\xe4\x93\x02@\";/v2/{parent=projects/*/instances/*/clusters/*}/backups:copy:\x01*\x12\xec\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa0\x01\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x8e\x01\";/v2/{resource=projects/*/instances/*/tables/*}:getIamPolicy:\x01*ZL\"G/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:getIamPolicy:\x01*\x12\xf3\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa7\x01\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02\x8e\x01\";/v2/{resource=projects/*/instances/*/tables/*}:setIamPolicy:\x01*ZL\"G/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:setIamPolicy:\x01*\x12\xa4\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xb8\x01\xda\x41\x14resource,permissions\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*\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\"\xfd\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\x12\x1c\n\x0fignore_warnings\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\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.OperationProgress\"\xcb\x01\n\x1b\x43reateAuthorizedViewRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+bigtableadmin.googleapis.com/AuthorizedView\x12\x1f\n\x12\x61uthorized_view_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x0f\x61uthorized_view\x18\x03 \x01(\x0b\x32(.google.bigtable.admin.v2.AuthorizedViewB\x03\xe0\x41\x02\"\xd2\x01\n\x1c\x43reateAuthorizedViewMetadata\x12O\n\x10original_request\x18\x01 \x01(\x0b\x32\x35.google.bigtable.admin.v2.CreateAuthorizedViewRequest\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\"\xdc\x01\n\x1aListAuthorizedViewsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\x12+bigtableadmin.googleapis.com/AuthorizedView\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12H\n\x04view\x18\x04 \x01(\x0e\x32\x35.google.bigtable.admin.v2.AuthorizedView.ResponseViewB\x03\xe0\x41\x01\"z\n\x1bListAuthorizedViewsResponse\x12\x42\n\x10\x61uthorized_views\x18\x01 \x03(\x0b\x32(.google.bigtable.admin.v2.AuthorizedView\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa7\x01\n\x18GetAuthorizedViewRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+bigtableadmin.googleapis.com/AuthorizedView\x12H\n\x04view\x18\x02 \x01(\x0e\x32\x35.google.bigtable.admin.v2.AuthorizedView.ResponseViewB\x03\xe0\x41\x01\"\xb9\x01\n\x1bUpdateAuthorizedViewRequest\x12\x46\n\x0f\x61uthorized_view\x18\x01 \x01(\x0b\x32(.google.bigtable.admin.v2.AuthorizedViewB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1c\n\x0fignore_warnings\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\xd2\x01\n\x1cUpdateAuthorizedViewMetadata\x12O\n\x10original_request\x18\x01 \x01(\x0b\x32\x35.google.bigtable.admin.v2.UpdateAuthorizedViewRequest\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\"s\n\x1b\x44\x65leteAuthorizedViewRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+bigtableadmin.googleapis.com/AuthorizedView\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x32\xb6\x33\n\x12\x42igtableTableAdmin\x12\xab\x01\n\x0b\x43reateTable\x12,.google.bigtable.admin.v2.CreateTableRequest\x1a\x1f.google.bigtable.admin.v2.Table\"M\xda\x41\x15parent,table_id,table\x82\xd3\xe4\x93\x02/\"*/v2/{parent=projects/*/instances/*}/tables:\x01*\x12\x8a\x02\n\x17\x43reateTableFromSnapshot\x12\x38.google.bigtable.admin.v2.CreateTableFromSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\xca\x41(\n\x05Table\x12\x1f\x43reateTableFromSnapshotMetadata\xda\x41\x1fparent,table_id,source_snapshot\x82\xd3\xe4\x93\x02\x42\"=/v2/{parent=projects/*/instances/*}/tables:createFromSnapshot:\x01*\x12\xa4\x01\n\nListTables\x12+.google.bigtable.admin.v2.ListTablesRequest\x1a,.google.bigtable.admin.v2.ListTablesResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v2/{parent=projects/*/instances/*}/tables\x12\x91\x01\n\x08GetTable\x12).google.bigtable.admin.v2.GetTableRequest\x1a\x1f.google.bigtable.admin.v2.Table\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v2/{name=projects/*/instances/*/tables/*}\x12\xce\x01\n\x0bUpdateTable\x12,.google.bigtable.admin.v2.UpdateTableRequest\x1a\x1d.google.longrunning.Operation\"r\xca\x41\x1c\n\x05Table\x12\x13UpdateTableMetadata\xda\x41\x11table,update_mask\x82\xd3\xe4\x93\x02\x39\x32\x30/v2/{table.name=projects/*/instances/*/tables/*}:\x05table\x12\x8e\x01\n\x0b\x44\x65leteTable\x12,.google.bigtable.admin.v2.DeleteTableRequest\x1a\x16.google.protobuf.Empty\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,**/v2/{name=projects/*/instances/*/tables/*}\x12\xc6\x01\n\rUndeleteTable\x12..google.bigtable.admin.v2.UndeleteTableRequest\x1a\x1d.google.longrunning.Operation\"f\xca\x41\x1e\n\x05Table\x12\x15UndeleteTableMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/instances/*/tables/*}:undelete:\x01*\x12\xa1\x02\n\x14\x43reateAuthorizedView\x12\x35.google.bigtable.admin.v2.CreateAuthorizedViewRequest\x1a\x1d.google.longrunning.Operation\"\xb2\x01\xca\x41.\n\x0e\x41uthorizedView\x12\x1c\x43reateAuthorizedViewMetadata\xda\x41)parent,authorized_view,authorized_view_id\x82\xd3\xe4\x93\x02O\"</v2/{parent=projects/*/instances/*/tables/*}/authorizedViews:\x0f\x61uthorized_view\x12\xd1\x01\n\x13ListAuthorizedViews\x12\x34.google.bigtable.admin.v2.ListAuthorizedViewsRequest\x1a\x35.google.bigtable.admin.v2.ListAuthorizedViewsResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v2/{parent=projects/*/instances/*/tables/*}/authorizedViews\x12\xbe\x01\n\x11GetAuthorizedView\x12\x32.google.bigtable.admin.v2.GetAuthorizedViewRequest\x1a(.google.bigtable.admin.v2.AuthorizedView\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>\x12</v2/{name=projects/*/instances/*/tables/*/authorizedViews/*}\x12\xa3\x02\n\x14UpdateAuthorizedView\x12\x35.google.bigtable.admin.v2.UpdateAuthorizedViewRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xca\x41.\n\x0e\x41uthorizedView\x12\x1cUpdateAuthorizedViewMetadata\xda\x41\x1b\x61uthorized_view,update_mask\x82\xd3\xe4\x93\x02_2L/v2/{authorized_view.name=projects/*/instances/*/tables/*/authorizedViews/*}:\x0f\x61uthorized_view\x12\xb2\x01\n\x14\x44\x65leteAuthorizedView\x12\x35.google.bigtable.admin.v2.DeleteAuthorizedViewRequest\x1a\x16.google.protobuf.Empty\"K\xda\x41\x04name\x82\xd3\xe4\x93\x02>*</v2/{name=projects/*/instances/*/tables/*/authorizedViews/*}\x12\xcf\x01\n\x14ModifyColumnFamilies\x12\x35.google.bigtable.admin.v2.ModifyColumnFamiliesRequest\x1a\x1f.google.bigtable.admin.v2.Table\"_\xda\x41\x12name,modifications\x82\xd3\xe4\x93\x02\x44\"?/v2/{name=projects/*/instances/*/tables/*}:modifyColumnFamilies:\x01*\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\xda\x41\x04name\x82\xd3\xe4\x93\x02H\"C/v2/{name=projects/*/instances/*/tables/*}:generateConsistencyToken:\x01*\x12\xda\x01\n\x10\x43heckConsistency\x12\x31.google.bigtable.admin.v2.CheckConsistencyRequest\x1a\x32.google.bigtable.admin.v2.CheckConsistencyResponse\"_\xda\x41\x16name,consistency_token\x82\xd3\xe4\x93\x02@\";/v2/{name=projects/*/instances/*/tables/*}:checkConsistency:\x01*\x12\xea\x01\n\rSnapshotTable\x12..google.bigtable.admin.v2.SnapshotTableRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41!\n\x08Snapshot\x12\x15SnapshotTableMetadata\xda\x41$name,cluster,snapshot_id,description\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/instances/*/tables/*}:snapshot:\x01*\x12\xa8\x01\n\x0bGetSnapshot\x12,.google.bigtable.admin.v2.GetSnapshotRequest\x1a\".google.bigtable.admin.v2.Snapshot\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:\x12\x38/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}\x12\xbb\x01\n\rListSnapshots\x12..google.bigtable.admin.v2.ListSnapshotsRequest\x1a/.google.bigtable.admin.v2.ListSnapshotsResponse\"I\xda\x41\x06parent\x82\xd3\xe4\x93\x02:\x12\x38/v2/{parent=projects/*/instances/*/clusters/*}/snapshots\x12\xa2\x01\n\x0e\x44\x65leteSnapshot\x12/.google.bigtable.admin.v2.DeleteSnapshotRequest\x1a\x16.google.protobuf.Empty\"G\xda\x41\x04name\x82\xd3\xe4\x93\x02:*8/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}\x12\xe0\x01\n\x0c\x43reateBackup\x12-.google.bigtable.admin.v2.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\xca\x41\x1e\n\x06\x42\x61\x63kup\x12\x14\x43reateBackupMetadata\xda\x41\x17parent,backup_id,backup\x82\xd3\xe4\x93\x02@\"6/v2/{parent=projects/*/instances/*/clusters/*}/backups:\x06\x62\x61\x63kup\x12\xa0\x01\n\tGetBackup\x12*.google.bigtable.admin.v2.GetBackupRequest\x1a .google.bigtable.admin.v2.Backup\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{name=projects/*/instances/*/clusters/*/backups/*}\x12\xc3\x01\n\x0cUpdateBackup\x12-.google.bigtable.admin.v2.UpdateBackupRequest\x1a .google.bigtable.admin.v2.Backup\"b\xda\x41\x12\x62\x61\x63kup,update_mask\x82\xd3\xe4\x93\x02G2=/v2/{backup.name=projects/*/instances/*/clusters/*/backups/*}:\x06\x62\x61\x63kup\x12\x9c\x01\n\x0c\x44\x65leteBackup\x12-.google.bigtable.admin.v2.DeleteBackupRequest\x1a\x16.google.protobuf.Empty\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v2/{name=projects/*/instances/*/clusters/*/backups/*}\x12\xb3\x01\n\x0bListBackups\x12,.google.bigtable.admin.v2.ListBackupsRequest\x1a-.google.bigtable.admin.v2.ListBackupsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{parent=projects/*/instances/*/clusters/*}/backups\x12\xbb\x01\n\x0cRestoreTable\x12-.google.bigtable.admin.v2.RestoreTableRequest\x1a\x1d.google.longrunning.Operation\"]\xca\x41\x1d\n\x05Table\x12\x14RestoreTableMetadata\x82\xd3\xe4\x93\x02\x37\"2/v2/{parent=projects/*/instances/*}/tables:restore:\x01*\x12\xed\x01\n\nCopyBackup\x12+.google.bigtable.admin.v2.CopyBackupRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\xca\x41\x1c\n\x06\x42\x61\x63kup\x12\x12\x43opyBackupMetadata\xda\x41*parent,backup_id,source_backup,expire_time\x82\xd3\xe4\x93\x02@\";/v2/{parent=projects/*/instances/*/clusters/*}/backups:copy:\x01*\x12\xec\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa0\x01\xda\x41\x08resource\x82\xd3\xe4\x93\x02\x8e\x01\";/v2/{resource=projects/*/instances/*/tables/*}:getIamPolicy:\x01*ZL\"G/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:getIamPolicy:\x01*\x12\xf3\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa7\x01\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02\x8e\x01\";/v2/{resource=projects/*/instances/*/tables/*}:setIamPolicy:\x01*ZL\"G/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:setIamPolicy:\x01*\x12\xa4\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xb8\x01\xda\x41\x14resource,permissions\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*\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
 
@@ -92,6 +92,14 @@ module Google
92
92
  ListBackupsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListBackupsResponse").msgclass
93
93
  CopyBackupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CopyBackupRequest").msgclass
94
94
  CopyBackupMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CopyBackupMetadata").msgclass
95
+ CreateAuthorizedViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateAuthorizedViewRequest").msgclass
96
+ CreateAuthorizedViewMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateAuthorizedViewMetadata").msgclass
97
+ ListAuthorizedViewsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListAuthorizedViewsRequest").msgclass
98
+ ListAuthorizedViewsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListAuthorizedViewsResponse").msgclass
99
+ GetAuthorizedViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetAuthorizedViewRequest").msgclass
100
+ UpdateAuthorizedViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateAuthorizedViewRequest").msgclass
101
+ UpdateAuthorizedViewMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateAuthorizedViewMetadata").msgclass
102
+ DeleteAuthorizedViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteAuthorizedViewRequest").msgclass
95
103
  end
96
104
  end
97
105
  end
@@ -61,6 +61,16 @@ module Google
61
61
  rpc :DeleteTable, ::Google::Cloud::Bigtable::Admin::V2::DeleteTableRequest, ::Google::Protobuf::Empty
62
62
  # Restores a specified table which was accidentally deleted.
63
63
  rpc :UndeleteTable, ::Google::Cloud::Bigtable::Admin::V2::UndeleteTableRequest, ::Google::Longrunning::Operation
64
+ # Creates a new AuthorizedView in a table.
65
+ rpc :CreateAuthorizedView, ::Google::Cloud::Bigtable::Admin::V2::CreateAuthorizedViewRequest, ::Google::Longrunning::Operation
66
+ # Lists all AuthorizedViews from a specific table.
67
+ rpc :ListAuthorizedViews, ::Google::Cloud::Bigtable::Admin::V2::ListAuthorizedViewsRequest, ::Google::Cloud::Bigtable::Admin::V2::ListAuthorizedViewsResponse
68
+ # Gets information from a specified AuthorizedView.
69
+ rpc :GetAuthorizedView, ::Google::Cloud::Bigtable::Admin::V2::GetAuthorizedViewRequest, ::Google::Cloud::Bigtable::Admin::V2::AuthorizedView
70
+ # Updates an AuthorizedView in a table.
71
+ rpc :UpdateAuthorizedView, ::Google::Cloud::Bigtable::Admin::V2::UpdateAuthorizedViewRequest, ::Google::Longrunning::Operation
72
+ # Permanently deletes a specified AuthorizedView.
73
+ rpc :DeleteAuthorizedView, ::Google::Cloud::Bigtable::Admin::V2::DeleteAuthorizedViewRequest, ::Google::Protobuf::Empty
64
74
  # Performs a series of column family modifications on the specified table.
65
75
  # Either all or none of the modifications will occur before this method
66
76
  # returns, but data requests received prior to that point may see a table
@@ -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\"\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"
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}\"\xe3\x05\n\x0e\x41uthorizedView\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12J\n\x0bsubset_view\x18\x02 \x01(\x0b\x32\x33.google.bigtable.admin.v2.AuthorizedView.SubsetViewH\x00\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\x12\x1b\n\x13\x64\x65letion_protection\x18\x04 \x01(\x08\x1a?\n\rFamilySubsets\x12\x12\n\nqualifiers\x18\x01 \x03(\x0c\x12\x1a\n\x12qualifier_prefixes\x18\x02 \x03(\x0c\x1a\xf0\x01\n\nSubsetView\x12\x14\n\x0crow_prefixes\x18\x01 \x03(\x0c\x12^\n\x0e\x66\x61mily_subsets\x18\x02 \x03(\x0b\x32\x46.google.bigtable.admin.v2.AuthorizedView.SubsetView.FamilySubsetsEntry\x1al\n\x12\x46\x61milySubsetsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.google.bigtable.admin.v2.AuthorizedView.FamilySubsets:\x02\x38\x01\"Q\n\x0cResponseView\x12\x1d\n\x19RESPONSE_VIEW_UNSPECIFIED\x10\x00\x12\r\n\tNAME_ONLY\x10\x01\x12\t\n\x05\x42\x41SIC\x10\x02\x12\x08\n\x04\x46ULL\x10\x03:\xac\x01\xea\x41\xa8\x01\n+bigtableadmin.googleapis.com/AuthorizedView\x12Xprojects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}*\x0f\x61uthorizedViews2\x0e\x61uthorizedViewB\x11\n\x0f\x61uthorized_view\"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
 
@@ -52,6 +52,10 @@ module Google
52
52
  Table::ClusterState::ReplicationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.ClusterState.ReplicationState").enummodule
53
53
  Table::TimestampGranularity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.TimestampGranularity").enummodule
54
54
  Table::View = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.View").enummodule
55
+ AuthorizedView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AuthorizedView").msgclass
56
+ AuthorizedView::FamilySubsets = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AuthorizedView.FamilySubsets").msgclass
57
+ AuthorizedView::SubsetView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AuthorizedView.SubsetView").msgclass
58
+ AuthorizedView::ResponseView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AuthorizedView.ResponseView").enummodule
55
59
  ColumnFamily = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ColumnFamily").msgclass
56
60
  GcRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GcRule").msgclass
57
61
  GcRule::Intersection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GcRule.Intersection").msgclass
@@ -954,6 +954,504 @@ module Google
954
954
  raise ::Google::Cloud::Error.from_error(e)
955
955
  end
956
956
 
957
+ ##
958
+ # Creates a new AuthorizedView in a table.
959
+ #
960
+ # @overload create_authorized_view(request, options = nil)
961
+ # Pass arguments to `create_authorized_view` via a request object, either of type
962
+ # {::Google::Cloud::Bigtable::Admin::V2::CreateAuthorizedViewRequest} or an equivalent Hash.
963
+ #
964
+ # @param request [::Google::Cloud::Bigtable::Admin::V2::CreateAuthorizedViewRequest, ::Hash]
965
+ # A request object representing the call parameters. Required. To specify no
966
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
967
+ # @param options [::Gapic::CallOptions, ::Hash]
968
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
969
+ #
970
+ # @overload create_authorized_view(parent: nil, authorized_view_id: nil, authorized_view: nil)
971
+ # Pass arguments to `create_authorized_view` via keyword arguments. Note that at
972
+ # least one keyword argument is required. To specify no parameters, or to keep all
973
+ # the default parameter values, pass an empty Hash as a request object (see above).
974
+ #
975
+ # @param parent [::String]
976
+ # Required. This is the name of the table the AuthorizedView belongs to.
977
+ # Values are of the form
978
+ # `projects/{project}/instances/{instance}/tables/{table}`.
979
+ # @param authorized_view_id [::String]
980
+ # Required. The id of the AuthorizedView to create. This AuthorizedView must
981
+ # not already exist. The `authorized_view_id` appended to `parent` forms the
982
+ # full AuthorizedView name of the form
983
+ # `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.
984
+ # @param authorized_view [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView, ::Hash]
985
+ # Required. The AuthorizedView to create.
986
+ #
987
+ # @yield [response, operation] Access the result along with the RPC operation
988
+ # @yieldparam response [::Gapic::Operation]
989
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
990
+ #
991
+ # @return [::Gapic::Operation]
992
+ #
993
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
994
+ #
995
+ # @example Basic example
996
+ # require "google/cloud/bigtable/admin/v2"
997
+ #
998
+ # # Create a client object. The client can be reused for multiple calls.
999
+ # client = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new
1000
+ #
1001
+ # # Create a request. To set request fields, pass in keyword arguments.
1002
+ # request = Google::Cloud::Bigtable::Admin::V2::CreateAuthorizedViewRequest.new
1003
+ #
1004
+ # # Call the create_authorized_view method.
1005
+ # result = client.create_authorized_view request
1006
+ #
1007
+ # # The returned object is of type Gapic::Operation. You can use it to
1008
+ # # check the status of an operation, cancel it, or wait for results.
1009
+ # # Here is how to wait for a response.
1010
+ # result.wait_until_done! timeout: 60
1011
+ # if result.response?
1012
+ # p result.response
1013
+ # else
1014
+ # puts "No response received."
1015
+ # end
1016
+ #
1017
+ def create_authorized_view request, options = nil
1018
+ raise ::ArgumentError, "request must be provided" if request.nil?
1019
+
1020
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::CreateAuthorizedViewRequest
1021
+
1022
+ # Converts hash and nil to an options object
1023
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1024
+
1025
+ # Customize the options with defaults
1026
+ metadata = @config.rpcs.create_authorized_view.metadata.to_h
1027
+
1028
+ # Set x-goog-api-client and x-goog-user-project headers
1029
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1030
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1031
+ gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
1032
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1033
+
1034
+ header_params = {}
1035
+ if request.parent
1036
+ header_params["parent"] = request.parent
1037
+ end
1038
+
1039
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1040
+ metadata[:"x-goog-request-params"] ||= request_params_header
1041
+
1042
+ options.apply_defaults timeout: @config.rpcs.create_authorized_view.timeout,
1043
+ metadata: metadata,
1044
+ retry_policy: @config.rpcs.create_authorized_view.retry_policy
1045
+
1046
+ options.apply_defaults timeout: @config.timeout,
1047
+ metadata: @config.metadata,
1048
+ retry_policy: @config.retry_policy
1049
+
1050
+ @bigtable_table_admin_stub.call_rpc :create_authorized_view, request, options: options do |response, operation|
1051
+ response = ::Gapic::Operation.new response, @operations_client, options: options
1052
+ yield response, operation if block_given?
1053
+ return response
1054
+ end
1055
+ rescue ::GRPC::BadStatus => e
1056
+ raise ::Google::Cloud::Error.from_error(e)
1057
+ end
1058
+
1059
+ ##
1060
+ # Lists all AuthorizedViews from a specific table.
1061
+ #
1062
+ # @overload list_authorized_views(request, options = nil)
1063
+ # Pass arguments to `list_authorized_views` via a request object, either of type
1064
+ # {::Google::Cloud::Bigtable::Admin::V2::ListAuthorizedViewsRequest} or an equivalent Hash.
1065
+ #
1066
+ # @param request [::Google::Cloud::Bigtable::Admin::V2::ListAuthorizedViewsRequest, ::Hash]
1067
+ # A request object representing the call parameters. Required. To specify no
1068
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1069
+ # @param options [::Gapic::CallOptions, ::Hash]
1070
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1071
+ #
1072
+ # @overload list_authorized_views(parent: nil, page_size: nil, page_token: nil, view: nil)
1073
+ # Pass arguments to `list_authorized_views` via keyword arguments. Note that at
1074
+ # least one keyword argument is required. To specify no parameters, or to keep all
1075
+ # the default parameter values, pass an empty Hash as a request object (see above).
1076
+ #
1077
+ # @param parent [::String]
1078
+ # Required. The unique name of the table for which AuthorizedViews should be
1079
+ # listed. Values are of the form
1080
+ # `projects/{project}/instances/{instance}/tables/{table}`.
1081
+ # @param page_size [::Integer]
1082
+ # Optional. Maximum number of results per page.
1083
+ #
1084
+ # A page_size of zero lets the server choose the number of items to return.
1085
+ # A page_size which is strictly positive will return at most that many items.
1086
+ # A negative page_size will cause an error.
1087
+ #
1088
+ # Following the first request, subsequent paginated calls are not required
1089
+ # to pass a page_size. If a page_size is set in subsequent calls, it must
1090
+ # match the page_size given in the first request.
1091
+ # @param page_token [::String]
1092
+ # Optional. The value of `next_page_token` returned by a previous call.
1093
+ # @param view [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView::ResponseView]
1094
+ # Optional. The resource_view to be applied to the returned views' fields.
1095
+ # Default to NAME_ONLY.
1096
+ #
1097
+ # @yield [response, operation] Access the result along with the RPC operation
1098
+ # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Bigtable::Admin::V2::AuthorizedView>]
1099
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1100
+ #
1101
+ # @return [::Gapic::PagedEnumerable<::Google::Cloud::Bigtable::Admin::V2::AuthorizedView>]
1102
+ #
1103
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1104
+ #
1105
+ # @example Basic example
1106
+ # require "google/cloud/bigtable/admin/v2"
1107
+ #
1108
+ # # Create a client object. The client can be reused for multiple calls.
1109
+ # client = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new
1110
+ #
1111
+ # # Create a request. To set request fields, pass in keyword arguments.
1112
+ # request = Google::Cloud::Bigtable::Admin::V2::ListAuthorizedViewsRequest.new
1113
+ #
1114
+ # # Call the list_authorized_views method.
1115
+ # result = client.list_authorized_views request
1116
+ #
1117
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
1118
+ # # over elements, and API calls will be issued to fetch pages as needed.
1119
+ # result.each do |item|
1120
+ # # Each element is of type ::Google::Cloud::Bigtable::Admin::V2::AuthorizedView.
1121
+ # p item
1122
+ # end
1123
+ #
1124
+ def list_authorized_views request, options = nil
1125
+ raise ::ArgumentError, "request must be provided" if request.nil?
1126
+
1127
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::ListAuthorizedViewsRequest
1128
+
1129
+ # Converts hash and nil to an options object
1130
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1131
+
1132
+ # Customize the options with defaults
1133
+ metadata = @config.rpcs.list_authorized_views.metadata.to_h
1134
+
1135
+ # Set x-goog-api-client and x-goog-user-project headers
1136
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1137
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1138
+ gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
1139
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1140
+
1141
+ header_params = {}
1142
+ if request.parent
1143
+ header_params["parent"] = request.parent
1144
+ end
1145
+
1146
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1147
+ metadata[:"x-goog-request-params"] ||= request_params_header
1148
+
1149
+ options.apply_defaults timeout: @config.rpcs.list_authorized_views.timeout,
1150
+ metadata: metadata,
1151
+ retry_policy: @config.rpcs.list_authorized_views.retry_policy
1152
+
1153
+ options.apply_defaults timeout: @config.timeout,
1154
+ metadata: @config.metadata,
1155
+ retry_policy: @config.retry_policy
1156
+
1157
+ @bigtable_table_admin_stub.call_rpc :list_authorized_views, request, options: options do |response, operation|
1158
+ response = ::Gapic::PagedEnumerable.new @bigtable_table_admin_stub, :list_authorized_views, request, response, operation, options
1159
+ yield response, operation if block_given?
1160
+ return response
1161
+ end
1162
+ rescue ::GRPC::BadStatus => e
1163
+ raise ::Google::Cloud::Error.from_error(e)
1164
+ end
1165
+
1166
+ ##
1167
+ # Gets information from a specified AuthorizedView.
1168
+ #
1169
+ # @overload get_authorized_view(request, options = nil)
1170
+ # Pass arguments to `get_authorized_view` via a request object, either of type
1171
+ # {::Google::Cloud::Bigtable::Admin::V2::GetAuthorizedViewRequest} or an equivalent Hash.
1172
+ #
1173
+ # @param request [::Google::Cloud::Bigtable::Admin::V2::GetAuthorizedViewRequest, ::Hash]
1174
+ # A request object representing the call parameters. Required. To specify no
1175
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1176
+ # @param options [::Gapic::CallOptions, ::Hash]
1177
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1178
+ #
1179
+ # @overload get_authorized_view(name: nil, view: nil)
1180
+ # Pass arguments to `get_authorized_view` via keyword arguments. Note that at
1181
+ # least one keyword argument is required. To specify no parameters, or to keep all
1182
+ # the default parameter values, pass an empty Hash as a request object (see above).
1183
+ #
1184
+ # @param name [::String]
1185
+ # Required. The unique name of the requested AuthorizedView.
1186
+ # Values are of the form
1187
+ # `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
1188
+ # @param view [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView::ResponseView]
1189
+ # Optional. The resource_view to be applied to the returned AuthorizedView's
1190
+ # fields. Default to BASIC.
1191
+ #
1192
+ # @yield [response, operation] Access the result along with the RPC operation
1193
+ # @yieldparam response [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView]
1194
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1195
+ #
1196
+ # @return [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView]
1197
+ #
1198
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1199
+ #
1200
+ # @example Basic example
1201
+ # require "google/cloud/bigtable/admin/v2"
1202
+ #
1203
+ # # Create a client object. The client can be reused for multiple calls.
1204
+ # client = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new
1205
+ #
1206
+ # # Create a request. To set request fields, pass in keyword arguments.
1207
+ # request = Google::Cloud::Bigtable::Admin::V2::GetAuthorizedViewRequest.new
1208
+ #
1209
+ # # Call the get_authorized_view method.
1210
+ # result = client.get_authorized_view request
1211
+ #
1212
+ # # The returned object is of type Google::Cloud::Bigtable::Admin::V2::AuthorizedView.
1213
+ # p result
1214
+ #
1215
+ def get_authorized_view request, options = nil
1216
+ raise ::ArgumentError, "request must be provided" if request.nil?
1217
+
1218
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::GetAuthorizedViewRequest
1219
+
1220
+ # Converts hash and nil to an options object
1221
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1222
+
1223
+ # Customize the options with defaults
1224
+ metadata = @config.rpcs.get_authorized_view.metadata.to_h
1225
+
1226
+ # Set x-goog-api-client and x-goog-user-project headers
1227
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1228
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1229
+ gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
1230
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1231
+
1232
+ header_params = {}
1233
+ if request.name
1234
+ header_params["name"] = request.name
1235
+ end
1236
+
1237
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1238
+ metadata[:"x-goog-request-params"] ||= request_params_header
1239
+
1240
+ options.apply_defaults timeout: @config.rpcs.get_authorized_view.timeout,
1241
+ metadata: metadata,
1242
+ retry_policy: @config.rpcs.get_authorized_view.retry_policy
1243
+
1244
+ options.apply_defaults timeout: @config.timeout,
1245
+ metadata: @config.metadata,
1246
+ retry_policy: @config.retry_policy
1247
+
1248
+ @bigtable_table_admin_stub.call_rpc :get_authorized_view, request, options: options do |response, operation|
1249
+ yield response, operation if block_given?
1250
+ return response
1251
+ end
1252
+ rescue ::GRPC::BadStatus => e
1253
+ raise ::Google::Cloud::Error.from_error(e)
1254
+ end
1255
+
1256
+ ##
1257
+ # Updates an AuthorizedView in a table.
1258
+ #
1259
+ # @overload update_authorized_view(request, options = nil)
1260
+ # Pass arguments to `update_authorized_view` via a request object, either of type
1261
+ # {::Google::Cloud::Bigtable::Admin::V2::UpdateAuthorizedViewRequest} or an equivalent Hash.
1262
+ #
1263
+ # @param request [::Google::Cloud::Bigtable::Admin::V2::UpdateAuthorizedViewRequest, ::Hash]
1264
+ # A request object representing the call parameters. Required. To specify no
1265
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1266
+ # @param options [::Gapic::CallOptions, ::Hash]
1267
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1268
+ #
1269
+ # @overload update_authorized_view(authorized_view: nil, update_mask: nil, ignore_warnings: nil)
1270
+ # Pass arguments to `update_authorized_view` via keyword arguments. Note that at
1271
+ # least one keyword argument is required. To specify no parameters, or to keep all
1272
+ # the default parameter values, pass an empty Hash as a request object (see above).
1273
+ #
1274
+ # @param authorized_view [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView, ::Hash]
1275
+ # Required. The AuthorizedView to update. The `name` in `authorized_view` is
1276
+ # used to identify the AuthorizedView. AuthorizedView name must in this
1277
+ # format
1278
+ # projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>
1279
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
1280
+ # Optional. The list of fields to update.
1281
+ # A mask specifying which fields in the AuthorizedView resource should be
1282
+ # updated. This mask is relative to the AuthorizedView resource, not to the
1283
+ # request message. A field will be overwritten if it is in the mask. If
1284
+ # empty, all fields set in the request will be overwritten. A special value
1285
+ # `*` means to overwrite all fields (including fields not set in the
1286
+ # request).
1287
+ # @param ignore_warnings [::Boolean]
1288
+ # Optional. If true, ignore the safety checks when updating the
1289
+ # AuthorizedView.
1290
+ #
1291
+ # @yield [response, operation] Access the result along with the RPC operation
1292
+ # @yieldparam response [::Gapic::Operation]
1293
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1294
+ #
1295
+ # @return [::Gapic::Operation]
1296
+ #
1297
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1298
+ #
1299
+ # @example Basic example
1300
+ # require "google/cloud/bigtable/admin/v2"
1301
+ #
1302
+ # # Create a client object. The client can be reused for multiple calls.
1303
+ # client = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new
1304
+ #
1305
+ # # Create a request. To set request fields, pass in keyword arguments.
1306
+ # request = Google::Cloud::Bigtable::Admin::V2::UpdateAuthorizedViewRequest.new
1307
+ #
1308
+ # # Call the update_authorized_view method.
1309
+ # result = client.update_authorized_view request
1310
+ #
1311
+ # # The returned object is of type Gapic::Operation. You can use it to
1312
+ # # check the status of an operation, cancel it, or wait for results.
1313
+ # # Here is how to wait for a response.
1314
+ # result.wait_until_done! timeout: 60
1315
+ # if result.response?
1316
+ # p result.response
1317
+ # else
1318
+ # puts "No response received."
1319
+ # end
1320
+ #
1321
+ def update_authorized_view request, options = nil
1322
+ raise ::ArgumentError, "request must be provided" if request.nil?
1323
+
1324
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::UpdateAuthorizedViewRequest
1325
+
1326
+ # Converts hash and nil to an options object
1327
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1328
+
1329
+ # Customize the options with defaults
1330
+ metadata = @config.rpcs.update_authorized_view.metadata.to_h
1331
+
1332
+ # Set x-goog-api-client and x-goog-user-project headers
1333
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1334
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1335
+ gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
1336
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1337
+
1338
+ header_params = {}
1339
+ if request.authorized_view&.name
1340
+ header_params["authorized_view.name"] = request.authorized_view.name
1341
+ end
1342
+
1343
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1344
+ metadata[:"x-goog-request-params"] ||= request_params_header
1345
+
1346
+ options.apply_defaults timeout: @config.rpcs.update_authorized_view.timeout,
1347
+ metadata: metadata,
1348
+ retry_policy: @config.rpcs.update_authorized_view.retry_policy
1349
+
1350
+ options.apply_defaults timeout: @config.timeout,
1351
+ metadata: @config.metadata,
1352
+ retry_policy: @config.retry_policy
1353
+
1354
+ @bigtable_table_admin_stub.call_rpc :update_authorized_view, request, options: options do |response, operation|
1355
+ response = ::Gapic::Operation.new response, @operations_client, options: options
1356
+ yield response, operation if block_given?
1357
+ return response
1358
+ end
1359
+ rescue ::GRPC::BadStatus => e
1360
+ raise ::Google::Cloud::Error.from_error(e)
1361
+ end
1362
+
1363
+ ##
1364
+ # Permanently deletes a specified AuthorizedView.
1365
+ #
1366
+ # @overload delete_authorized_view(request, options = nil)
1367
+ # Pass arguments to `delete_authorized_view` via a request object, either of type
1368
+ # {::Google::Cloud::Bigtable::Admin::V2::DeleteAuthorizedViewRequest} or an equivalent Hash.
1369
+ #
1370
+ # @param request [::Google::Cloud::Bigtable::Admin::V2::DeleteAuthorizedViewRequest, ::Hash]
1371
+ # A request object representing the call parameters. Required. To specify no
1372
+ # parameters, or to keep all the default parameter values, pass an empty Hash.
1373
+ # @param options [::Gapic::CallOptions, ::Hash]
1374
+ # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1375
+ #
1376
+ # @overload delete_authorized_view(name: nil, etag: nil)
1377
+ # Pass arguments to `delete_authorized_view` via keyword arguments. Note that at
1378
+ # least one keyword argument is required. To specify no parameters, or to keep all
1379
+ # the default parameter values, pass an empty Hash as a request object (see above).
1380
+ #
1381
+ # @param name [::String]
1382
+ # Required. The unique name of the AuthorizedView to be deleted.
1383
+ # Values are of the form
1384
+ # `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
1385
+ # @param etag [::String]
1386
+ # Optional. The current etag of the AuthorizedView.
1387
+ # If an etag is provided and does not match the current etag of the
1388
+ # AuthorizedView, deletion will be blocked and an ABORTED error will be
1389
+ # returned.
1390
+ #
1391
+ # @yield [response, operation] Access the result along with the RPC operation
1392
+ # @yieldparam response [::Google::Protobuf::Empty]
1393
+ # @yieldparam operation [::GRPC::ActiveCall::Operation]
1394
+ #
1395
+ # @return [::Google::Protobuf::Empty]
1396
+ #
1397
+ # @raise [::Google::Cloud::Error] if the RPC is aborted.
1398
+ #
1399
+ # @example Basic example
1400
+ # require "google/cloud/bigtable/admin/v2"
1401
+ #
1402
+ # # Create a client object. The client can be reused for multiple calls.
1403
+ # client = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new
1404
+ #
1405
+ # # Create a request. To set request fields, pass in keyword arguments.
1406
+ # request = Google::Cloud::Bigtable::Admin::V2::DeleteAuthorizedViewRequest.new
1407
+ #
1408
+ # # Call the delete_authorized_view method.
1409
+ # result = client.delete_authorized_view request
1410
+ #
1411
+ # # The returned object is of type Google::Protobuf::Empty.
1412
+ # p result
1413
+ #
1414
+ def delete_authorized_view request, options = nil
1415
+ raise ::ArgumentError, "request must be provided" if request.nil?
1416
+
1417
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::DeleteAuthorizedViewRequest
1418
+
1419
+ # Converts hash and nil to an options object
1420
+ options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
1421
+
1422
+ # Customize the options with defaults
1423
+ metadata = @config.rpcs.delete_authorized_view.metadata.to_h
1424
+
1425
+ # Set x-goog-api-client and x-goog-user-project headers
1426
+ metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1427
+ lib_name: @config.lib_name, lib_version: @config.lib_version,
1428
+ gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
1429
+ metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1430
+
1431
+ header_params = {}
1432
+ if request.name
1433
+ header_params["name"] = request.name
1434
+ end
1435
+
1436
+ request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
1437
+ metadata[:"x-goog-request-params"] ||= request_params_header
1438
+
1439
+ options.apply_defaults timeout: @config.rpcs.delete_authorized_view.timeout,
1440
+ metadata: metadata,
1441
+ retry_policy: @config.rpcs.delete_authorized_view.retry_policy
1442
+
1443
+ options.apply_defaults timeout: @config.timeout,
1444
+ metadata: @config.metadata,
1445
+ retry_policy: @config.retry_policy
1446
+
1447
+ @bigtable_table_admin_stub.call_rpc :delete_authorized_view, request, options: options do |response, operation|
1448
+ yield response, operation if block_given?
1449
+ return response
1450
+ end
1451
+ rescue ::GRPC::BadStatus => e
1452
+ raise ::Google::Cloud::Error.from_error(e)
1453
+ end
1454
+
957
1455
  ##
958
1456
  # Performs a series of column family modifications on the specified table.
959
1457
  # Either all or none of the modifications will occur before this method
@@ -2970,6 +3468,31 @@ module Google
2970
3468
  #
2971
3469
  attr_reader :undelete_table
2972
3470
  ##
3471
+ # RPC-specific configuration for `create_authorized_view`
3472
+ # @return [::Gapic::Config::Method]
3473
+ #
3474
+ attr_reader :create_authorized_view
3475
+ ##
3476
+ # RPC-specific configuration for `list_authorized_views`
3477
+ # @return [::Gapic::Config::Method]
3478
+ #
3479
+ attr_reader :list_authorized_views
3480
+ ##
3481
+ # RPC-specific configuration for `get_authorized_view`
3482
+ # @return [::Gapic::Config::Method]
3483
+ #
3484
+ attr_reader :get_authorized_view
3485
+ ##
3486
+ # RPC-specific configuration for `update_authorized_view`
3487
+ # @return [::Gapic::Config::Method]
3488
+ #
3489
+ attr_reader :update_authorized_view
3490
+ ##
3491
+ # RPC-specific configuration for `delete_authorized_view`
3492
+ # @return [::Gapic::Config::Method]
3493
+ #
3494
+ attr_reader :delete_authorized_view
3495
+ ##
2973
3496
  # RPC-specific configuration for `modify_column_families`
2974
3497
  # @return [::Gapic::Config::Method]
2975
3498
  #
@@ -3076,6 +3599,16 @@ module Google
3076
3599
  @delete_table = ::Gapic::Config::Method.new delete_table_config
3077
3600
  undelete_table_config = parent_rpcs.undelete_table if parent_rpcs.respond_to? :undelete_table
3078
3601
  @undelete_table = ::Gapic::Config::Method.new undelete_table_config
3602
+ create_authorized_view_config = parent_rpcs.create_authorized_view if parent_rpcs.respond_to? :create_authorized_view
3603
+ @create_authorized_view = ::Gapic::Config::Method.new create_authorized_view_config
3604
+ list_authorized_views_config = parent_rpcs.list_authorized_views if parent_rpcs.respond_to? :list_authorized_views
3605
+ @list_authorized_views = ::Gapic::Config::Method.new list_authorized_views_config
3606
+ get_authorized_view_config = parent_rpcs.get_authorized_view if parent_rpcs.respond_to? :get_authorized_view
3607
+ @get_authorized_view = ::Gapic::Config::Method.new get_authorized_view_config
3608
+ update_authorized_view_config = parent_rpcs.update_authorized_view if parent_rpcs.respond_to? :update_authorized_view
3609
+ @update_authorized_view = ::Gapic::Config::Method.new update_authorized_view_config
3610
+ delete_authorized_view_config = parent_rpcs.delete_authorized_view if parent_rpcs.respond_to? :delete_authorized_view
3611
+ @delete_authorized_view = ::Gapic::Config::Method.new delete_authorized_view_config
3079
3612
  modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families
3080
3613
  @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config
3081
3614
  drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range
@@ -25,6 +25,27 @@ module Google
25
25
  module BigtableTableAdmin
26
26
  # Path helper methods for the BigtableTableAdmin API.
27
27
  module Paths
28
+ ##
29
+ # Create a fully-qualified AuthorizedView resource string.
30
+ #
31
+ # The resource will be in the following format:
32
+ #
33
+ # `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`
34
+ #
35
+ # @param project [String]
36
+ # @param instance [String]
37
+ # @param table [String]
38
+ # @param authorized_view [String]
39
+ #
40
+ # @return [::String]
41
+ def authorized_view_path project:, instance:, table:, authorized_view:
42
+ raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
43
+ raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
44
+ raise ::ArgumentError, "table cannot contain /" if table.to_s.include? "/"
45
+
46
+ "projects/#{project}/instances/#{instance}/tables/#{table}/authorizedViews/#{authorized_view}"
47
+ end
48
+
28
49
  ##
29
50
  # Create a fully-qualified Backup resource string.
30
51
  #
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigtable
23
23
  module Admin
24
24
  module V2
25
- VERSION = "0.22.0"
25
+ VERSION = "0.23.0"
26
26
  end
27
27
  end
28
28
  end
@@ -809,6 +809,164 @@ module Google
809
809
  include ::Google::Protobuf::MessageExts
810
810
  extend ::Google::Protobuf::MessageExts::ClassMethods
811
811
  end
812
+
813
+ # The request for
814
+ # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#create_authorized_view CreateAuthorizedView}
815
+ # @!attribute [rw] parent
816
+ # @return [::String]
817
+ # Required. This is the name of the table the AuthorizedView belongs to.
818
+ # Values are of the form
819
+ # `projects/{project}/instances/{instance}/tables/{table}`.
820
+ # @!attribute [rw] authorized_view_id
821
+ # @return [::String]
822
+ # Required. The id of the AuthorizedView to create. This AuthorizedView must
823
+ # not already exist. The `authorized_view_id` appended to `parent` forms the
824
+ # full AuthorizedView name of the form
825
+ # `projects/{project}/instances/{instance}/tables/{table}/authorizedView/{authorized_view}`.
826
+ # @!attribute [rw] authorized_view
827
+ # @return [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView]
828
+ # Required. The AuthorizedView to create.
829
+ class CreateAuthorizedViewRequest
830
+ include ::Google::Protobuf::MessageExts
831
+ extend ::Google::Protobuf::MessageExts::ClassMethods
832
+ end
833
+
834
+ # The metadata for the Operation returned by CreateAuthorizedView.
835
+ # @!attribute [rw] original_request
836
+ # @return [::Google::Cloud::Bigtable::Admin::V2::CreateAuthorizedViewRequest]
837
+ # The request that prompted the initiation of this CreateInstance operation.
838
+ # @!attribute [rw] request_time
839
+ # @return [::Google::Protobuf::Timestamp]
840
+ # The time at which the original request was received.
841
+ # @!attribute [rw] finish_time
842
+ # @return [::Google::Protobuf::Timestamp]
843
+ # The time at which the operation failed or was completed successfully.
844
+ class CreateAuthorizedViewMetadata
845
+ include ::Google::Protobuf::MessageExts
846
+ extend ::Google::Protobuf::MessageExts::ClassMethods
847
+ end
848
+
849
+ # Request message for
850
+ # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_authorized_views google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews}
851
+ # @!attribute [rw] parent
852
+ # @return [::String]
853
+ # Required. The unique name of the table for which AuthorizedViews should be
854
+ # listed. Values are of the form
855
+ # `projects/{project}/instances/{instance}/tables/{table}`.
856
+ # @!attribute [rw] page_size
857
+ # @return [::Integer]
858
+ # Optional. Maximum number of results per page.
859
+ #
860
+ # A page_size of zero lets the server choose the number of items to return.
861
+ # A page_size which is strictly positive will return at most that many items.
862
+ # A negative page_size will cause an error.
863
+ #
864
+ # Following the first request, subsequent paginated calls are not required
865
+ # to pass a page_size. If a page_size is set in subsequent calls, it must
866
+ # match the page_size given in the first request.
867
+ # @!attribute [rw] page_token
868
+ # @return [::String]
869
+ # Optional. The value of `next_page_token` returned by a previous call.
870
+ # @!attribute [rw] view
871
+ # @return [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView::ResponseView]
872
+ # Optional. The resource_view to be applied to the returned views' fields.
873
+ # Default to NAME_ONLY.
874
+ class ListAuthorizedViewsRequest
875
+ include ::Google::Protobuf::MessageExts
876
+ extend ::Google::Protobuf::MessageExts::ClassMethods
877
+ end
878
+
879
+ # Response message for
880
+ # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_authorized_views google.bigtable.admin.v2.BigtableTableAdmin.ListAuthorizedViews}
881
+ # @!attribute [rw] authorized_views
882
+ # @return [::Array<::Google::Cloud::Bigtable::Admin::V2::AuthorizedView>]
883
+ # The AuthorizedViews present in the requested table.
884
+ # @!attribute [rw] next_page_token
885
+ # @return [::String]
886
+ # Set if not all tables could be returned in a single response.
887
+ # Pass this value to `page_token` in another request to get the next
888
+ # page of results.
889
+ class ListAuthorizedViewsResponse
890
+ include ::Google::Protobuf::MessageExts
891
+ extend ::Google::Protobuf::MessageExts::ClassMethods
892
+ end
893
+
894
+ # Request message for
895
+ # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#get_authorized_view google.bigtable.admin.v2.BigtableTableAdmin.GetAuthorizedView}
896
+ # @!attribute [rw] name
897
+ # @return [::String]
898
+ # Required. The unique name of the requested AuthorizedView.
899
+ # Values are of the form
900
+ # `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
901
+ # @!attribute [rw] view
902
+ # @return [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView::ResponseView]
903
+ # Optional. The resource_view to be applied to the returned AuthorizedView's
904
+ # fields. Default to BASIC.
905
+ class GetAuthorizedViewRequest
906
+ include ::Google::Protobuf::MessageExts
907
+ extend ::Google::Protobuf::MessageExts::ClassMethods
908
+ end
909
+
910
+ # The request for
911
+ # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#update_authorized_view UpdateAuthorizedView}.
912
+ # @!attribute [rw] authorized_view
913
+ # @return [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView]
914
+ # Required. The AuthorizedView to update. The `name` in `authorized_view` is
915
+ # used to identify the AuthorizedView. AuthorizedView name must in this
916
+ # format
917
+ # projects/<project>/instances/<instance>/tables/<table>/authorizedViews/<authorized_view>
918
+ # @!attribute [rw] update_mask
919
+ # @return [::Google::Protobuf::FieldMask]
920
+ # Optional. The list of fields to update.
921
+ # A mask specifying which fields in the AuthorizedView resource should be
922
+ # updated. This mask is relative to the AuthorizedView resource, not to the
923
+ # request message. A field will be overwritten if it is in the mask. If
924
+ # empty, all fields set in the request will be overwritten. A special value
925
+ # `*` means to overwrite all fields (including fields not set in the
926
+ # request).
927
+ # @!attribute [rw] ignore_warnings
928
+ # @return [::Boolean]
929
+ # Optional. If true, ignore the safety checks when updating the
930
+ # AuthorizedView.
931
+ class UpdateAuthorizedViewRequest
932
+ include ::Google::Protobuf::MessageExts
933
+ extend ::Google::Protobuf::MessageExts::ClassMethods
934
+ end
935
+
936
+ # Metadata for the google.longrunning.Operation returned by
937
+ # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#update_authorized_view UpdateAuthorizedView}.
938
+ # @!attribute [rw] original_request
939
+ # @return [::Google::Cloud::Bigtable::Admin::V2::UpdateAuthorizedViewRequest]
940
+ # The request that prompted the initiation of this UpdateAuthorizedView
941
+ # operation.
942
+ # @!attribute [rw] request_time
943
+ # @return [::Google::Protobuf::Timestamp]
944
+ # The time at which the original request was received.
945
+ # @!attribute [rw] finish_time
946
+ # @return [::Google::Protobuf::Timestamp]
947
+ # The time at which the operation failed or was completed successfully.
948
+ class UpdateAuthorizedViewMetadata
949
+ include ::Google::Protobuf::MessageExts
950
+ extend ::Google::Protobuf::MessageExts::ClassMethods
951
+ end
952
+
953
+ # Request message for
954
+ # {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#delete_authorized_view google.bigtable.admin.v2.BigtableTableAdmin.DeleteAuthorizedView}
955
+ # @!attribute [rw] name
956
+ # @return [::String]
957
+ # Required. The unique name of the AuthorizedView to be deleted.
958
+ # Values are of the form
959
+ # `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
960
+ # @!attribute [rw] etag
961
+ # @return [::String]
962
+ # Optional. The current etag of the AuthorizedView.
963
+ # If an etag is provided and does not match the current etag of the
964
+ # AuthorizedView, deletion will be blocked and an ABORTED error will be
965
+ # returned.
966
+ class DeleteAuthorizedViewRequest
967
+ include ::Google::Protobuf::MessageExts
968
+ extend ::Google::Protobuf::MessageExts::ClassMethods
969
+ end
812
970
  end
813
971
  end
814
972
  end
@@ -192,6 +192,87 @@ module Google
192
192
  end
193
193
  end
194
194
 
195
+ # AuthorizedViews represent subsets of a particular Cloud Bigtable table. Users
196
+ # can configure access to each Authorized View independently from the table and
197
+ # use the existing Data APIs to access the subset of data.
198
+ # @!attribute [rw] name
199
+ # @return [::String]
200
+ # Identifier. The name of this AuthorizedView.
201
+ # Values are of the form
202
+ # `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`
203
+ # @!attribute [rw] subset_view
204
+ # @return [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView::SubsetView]
205
+ # An AuthorizedView permitting access to an explicit subset of a Table.
206
+ # @!attribute [rw] etag
207
+ # @return [::String]
208
+ # The etag for this AuthorizedView.
209
+ # If this is provided on update, it must match the server's etag. The server
210
+ # returns ABORTED error on a mismatched etag.
211
+ # @!attribute [rw] deletion_protection
212
+ # @return [::Boolean]
213
+ # Set to true to make the AuthorizedView protected against deletion.
214
+ # The parent Table and containing Instance cannot be deleted if an
215
+ # AuthorizedView has this bit set.
216
+ class AuthorizedView
217
+ include ::Google::Protobuf::MessageExts
218
+ extend ::Google::Protobuf::MessageExts::ClassMethods
219
+
220
+ # Subsets of a column family that are included in this AuthorizedView.
221
+ # @!attribute [rw] qualifiers
222
+ # @return [::Array<::String>]
223
+ # Individual exact column qualifiers to be included in the AuthorizedView.
224
+ # @!attribute [rw] qualifier_prefixes
225
+ # @return [::Array<::String>]
226
+ # Prefixes for qualifiers to be included in the AuthorizedView. Every
227
+ # qualifier starting with one of these prefixes is included in the
228
+ # AuthorizedView. To provide access to all qualifiers, include the empty
229
+ # string as a prefix
230
+ # ("").
231
+ class FamilySubsets
232
+ include ::Google::Protobuf::MessageExts
233
+ extend ::Google::Protobuf::MessageExts::ClassMethods
234
+ end
235
+
236
+ # Defines a simple AuthorizedView that is a subset of the underlying Table.
237
+ # @!attribute [rw] row_prefixes
238
+ # @return [::Array<::String>]
239
+ # Row prefixes to be included in the AuthorizedView.
240
+ # To provide access to all rows, include the empty string as a prefix ("").
241
+ # @!attribute [rw] family_subsets
242
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::Bigtable::Admin::V2::AuthorizedView::FamilySubsets}]
243
+ # Map from column family name to the columns in this family to be included
244
+ # in the AuthorizedView.
245
+ class SubsetView
246
+ include ::Google::Protobuf::MessageExts
247
+ extend ::Google::Protobuf::MessageExts::ClassMethods
248
+
249
+ # @!attribute [rw] key
250
+ # @return [::String]
251
+ # @!attribute [rw] value
252
+ # @return [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView::FamilySubsets]
253
+ class FamilySubsetsEntry
254
+ include ::Google::Protobuf::MessageExts
255
+ extend ::Google::Protobuf::MessageExts::ClassMethods
256
+ end
257
+ end
258
+
259
+ # Defines a subset of an AuthorizedView's fields.
260
+ module ResponseView
261
+ # Uses the default view for each method as documented in the request.
262
+ RESPONSE_VIEW_UNSPECIFIED = 0
263
+
264
+ # Only populates `name`.
265
+ NAME_ONLY = 1
266
+
267
+ # Only populates the AuthorizedView's basic metadata. This includes:
268
+ # name, deletion_protection, etag.
269
+ BASIC = 2
270
+
271
+ # Populates every fields.
272
+ FULL = 3
273
+ end
274
+ end
275
+
195
276
  # A set of columns within a table which share a common configuration.
196
277
  # @!attribute [rw] gc_rule
197
278
  # @return [::Google::Cloud::Bigtable::Admin::V2::GcRule]
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.22.0
4
+ version: 0.23.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: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common