google-cloud-bigtable-admin-v2 1.10.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_pb.rb +9 -1
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +13 -3
- data/lib/google/bigtable/admin/v2/table_pb.rb +3 -1
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/client.rb +529 -7
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin/paths.rb +21 -0
- data/lib/google/cloud/bigtable/admin/v2/version.rb +1 -1
- data/proto_docs/google/bigtable/admin/v2/bigtable_table_admin.rb +151 -5
- data/proto_docs/google/bigtable/admin/v2/table.rb +43 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26474308fceff6c6fbae6ee66b5c95d3b4918780f4fb4f0d2916736d6e54952c
|
4
|
+
data.tar.gz: dc36ab177eb6e69b4ce4d326f593913d37e750d085e510f80f8e6a7172e7770c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 707cdc1fa91ff7f4e317987323620a9ad44fe6d1b6a456cb67c00ba7d4b4ca8e2ad197e3aeb8b6eb5d8fa45de3e7c23df1aba598f4dad27ec0d5e5419c2647cc
|
7
|
+
data.tar.gz: 022da012b0f359d70136234b8864bd892c1f76f7d5a3ca1980729515b8cabe32d5766382df412b55ab0fb08cbaa9a9d110bf11e23563d48e4d7613003894f1b9
|
@@ -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\"\x9d\x01\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\x12\x1c\n\x0fignore_warnings\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\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\"\xb3\x03\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\xdb\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\x12\x34\n\x0bupdate_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\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\"\xb2\x02\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\x12Y\n\x1bstandard_read_remote_writes\x18\x03 \x01(\x0b\x32\x32.google.bigtable.admin.v2.StandardReadRemoteWritesH\x00\x12Z\n\x1c\x64\x61ta_boost_read_local_writes\x18\x04 \x01(\x0b\x32\x32.google.bigtable.admin.v2.DataBoostReadLocalWritesH\x00\x42\x06\n\x04mode\"\x1a\n\x18StandardReadRemoteWrites\"\x1a\n\x18\x44\x61taBoostReadLocalWrites\".\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\xda\x01\n\x1c\x63om.google.bigtable.admin.v2B\x17\x42igtableTableAdminProtoP\x01Z8cloud.google.com/go/bigtable/admin/apiv2/adminpb;adminpb\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\"\x9d\x01\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\x12\x1c\n\x0fignore_warnings\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\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\"\xb3\x03\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\xdb\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\x12\x34\n\x0bupdate_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\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\"\xb2\x02\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\x12Y\n\x1bstandard_read_remote_writes\x18\x03 \x01(\x0b\x32\x32.google.bigtable.admin.v2.StandardReadRemoteWritesH\x00\x12Z\n\x1c\x64\x61ta_boost_read_local_writes\x18\x04 \x01(\x0b\x32\x32.google.bigtable.admin.v2.DataBoostReadLocalWritesH\x00\x42\x06\n\x04mode\"\x1a\n\x18StandardReadRemoteWrites\"\x1a\n\x18\x44\x61taBoostReadLocalWrites\".\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\"\xba\x01\n\x19\x43reateSchemaBundleRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12\x1d\n\x10schema_bundle_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\rschema_bundle\x18\x03 \x01(\x0b\x32&.google.bigtable.admin.v2.SchemaBundleB\x03\xe0\x41\x02\"\x88\x01\n\x1a\x43reateSchemaBundleMetadata\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\"\xb3\x01\n\x19UpdateSchemaBundleRequest\x12\x42\n\rschema_bundle\x18\x01 \x01(\x0b\x32&.google.bigtable.admin.v2.SchemaBundleB\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\"\x88\x01\n\x1aUpdateSchemaBundleMetadata\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\"Y\n\x16GetSchemaBundleRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)bigtableadmin.googleapis.com/SchemaBundle\"\x84\x01\n\x18ListSchemaBundlesRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)bigtableadmin.googleapis.com/SchemaBundle\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"t\n\x19ListSchemaBundlesResponse\x12>\n\x0eschema_bundles\x18\x01 \x03(\x0b\x32&.google.bigtable.admin.v2.SchemaBundle\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"o\n\x19\x44\x65leteSchemaBundleRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)bigtableadmin.googleapis.com/SchemaBundle\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x32\x92@\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\x92\x03\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xc6\x02\xda\x41\x08resource\x82\xd3\xe4\x93\x02\xb4\x02\";/v2/{resource=projects/*/instances/*/tables/*}:getIamPolicy:\x01*ZL\"G/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:getIamPolicy:\x01*ZR\"M/v2/{resource=projects/*/instances/*/tables/*/authorizedViews/*}:getIamPolicy:\x01*ZP\"K/v2/{resource=projects/*/instances/*/tables/*/schemaBundles/*}:getIamPolicy:\x01*\x12\x99\x03\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xcd\x02\xda\x41\x0fresource,policy\x82\xd3\xe4\x93\x02\xb4\x02\";/v2/{resource=projects/*/instances/*/tables/*}:setIamPolicy:\x01*ZL\"G/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:setIamPolicy:\x01*ZR\"M/v2/{resource=projects/*/instances/*/tables/*/authorizedViews/*}:setIamPolicy:\x01*ZP\"K/v2/{resource=projects/*/instances/*/tables/*/schemaBundles/*}:setIamPolicy:\x01*\x12\xd6\x03\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xea\x02\xda\x41\x14resource,permissions\x82\xd3\xe4\x93\x02\xcc\x02\"A/v2/{resource=projects/*/instances/*/tables/*}:testIamPermissions:\x01*ZR\"M/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:testIamPermissions:\x01*ZX\"S/v2/{resource=projects/*/instances/*/tables/*/authorizedViews/*}:testIamPermissions:\x01*ZV\"Q/v2/{resource=projects/*/instances/*/tables/*/schemaBundles/*}:testIamPermissions:\x01*\x12\x91\x02\n\x12\x43reateSchemaBundle\x12\x33.google.bigtable.admin.v2.CreateSchemaBundleRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\xca\x41*\n\x0cSchemaBundle\x12\x1a\x43reateSchemaBundleMetadata\xda\x41%parent,schema_bundle_id,schema_bundle\x82\xd3\xe4\x93\x02K\":/v2/{parent=projects/*/instances/*/tables/*}/schemaBundles:\rschema_bundle\x12\x93\x02\n\x12UpdateSchemaBundle\x12\x33.google.bigtable.admin.v2.UpdateSchemaBundleRequest\x1a\x1d.google.longrunning.Operation\"\xa8\x01\xca\x41*\n\x0cSchemaBundle\x12\x1aUpdateSchemaBundleMetadata\xda\x41\x19schema_bundle,update_mask\x82\xd3\xe4\x93\x02Y2H/v2/{schema_bundle.name=projects/*/instances/*/tables/*/schemaBundles/*}:\rschema_bundle\x12\xb6\x01\n\x0fGetSchemaBundle\x12\x30.google.bigtable.admin.v2.GetSchemaBundleRequest\x1a&.google.bigtable.admin.v2.SchemaBundle\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<\x12:/v2/{name=projects/*/instances/*/tables/*/schemaBundles/*}\x12\xc9\x01\n\x11ListSchemaBundles\x12\x32.google.bigtable.admin.v2.ListSchemaBundlesRequest\x1a\x33.google.bigtable.admin.v2.ListSchemaBundlesResponse\"K\xda\x41\x06parent\x82\xd3\xe4\x93\x02<\x12:/v2/{parent=projects/*/instances/*/tables/*}/schemaBundles\x12\xac\x01\n\x12\x44\x65leteSchemaBundle\x12\x33.google.bigtable.admin.v2.DeleteSchemaBundleRequest\x1a\x16.google.protobuf.Empty\"I\xda\x41\x04name\x82\xd3\xe4\x93\x02<*:/v2/{name=projects/*/instances/*/tables/*/schemaBundles/*}\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\xda\x01\n\x1c\x63om.google.bigtable.admin.v2B\x17\x42igtableTableAdminProtoP\x01Z8cloud.google.com/go/bigtable/admin/apiv2/adminpb;adminpb\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
|
|
@@ -102,6 +102,14 @@ module Google
|
|
102
102
|
UpdateAuthorizedViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateAuthorizedViewRequest").msgclass
|
103
103
|
UpdateAuthorizedViewMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateAuthorizedViewMetadata").msgclass
|
104
104
|
DeleteAuthorizedViewRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteAuthorizedViewRequest").msgclass
|
105
|
+
CreateSchemaBundleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateSchemaBundleRequest").msgclass
|
106
|
+
CreateSchemaBundleMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.CreateSchemaBundleMetadata").msgclass
|
107
|
+
UpdateSchemaBundleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateSchemaBundleRequest").msgclass
|
108
|
+
UpdateSchemaBundleMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.UpdateSchemaBundleMetadata").msgclass
|
109
|
+
GetSchemaBundleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.GetSchemaBundleRequest").msgclass
|
110
|
+
ListSchemaBundlesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListSchemaBundlesRequest").msgclass
|
111
|
+
ListSchemaBundlesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ListSchemaBundlesResponse").msgclass
|
112
|
+
DeleteSchemaBundleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.DeleteSchemaBundleRequest").msgclass
|
105
113
|
end
|
106
114
|
end
|
107
115
|
end
|
@@ -151,16 +151,26 @@ module Google
|
|
151
151
|
# Copy a Cloud Bigtable backup to a new backup in the destination cluster
|
152
152
|
# located in the destination instance and project.
|
153
153
|
rpc :CopyBackup, ::Google::Cloud::Bigtable::Admin::V2::CopyBackupRequest, ::Google::Longrunning::Operation
|
154
|
-
# Gets the access control policy for a
|
154
|
+
# Gets the access control policy for a Bigtable resource.
|
155
155
|
# Returns an empty policy if the resource exists but does not have a policy
|
156
156
|
# set.
|
157
157
|
rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
|
158
|
-
# Sets the access control policy on a
|
158
|
+
# Sets the access control policy on a Bigtable resource.
|
159
159
|
# Replaces any existing policy.
|
160
160
|
rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
|
161
|
-
# Returns permissions that the caller has on the specified
|
161
|
+
# Returns permissions that the caller has on the specified Bigtable
|
162
162
|
# resource.
|
163
163
|
rpc :TestIamPermissions, ::Google::Iam::V1::TestIamPermissionsRequest, ::Google::Iam::V1::TestIamPermissionsResponse
|
164
|
+
# Creates a new schema bundle in the specified table.
|
165
|
+
rpc :CreateSchemaBundle, ::Google::Cloud::Bigtable::Admin::V2::CreateSchemaBundleRequest, ::Google::Longrunning::Operation
|
166
|
+
# Updates a schema bundle in the specified table.
|
167
|
+
rpc :UpdateSchemaBundle, ::Google::Cloud::Bigtable::Admin::V2::UpdateSchemaBundleRequest, ::Google::Longrunning::Operation
|
168
|
+
# Gets metadata information about the specified schema bundle.
|
169
|
+
rpc :GetSchemaBundle, ::Google::Cloud::Bigtable::Admin::V2::GetSchemaBundleRequest, ::Google::Cloud::Bigtable::Admin::V2::SchemaBundle
|
170
|
+
# Lists all schema bundles associated with the specified table.
|
171
|
+
rpc :ListSchemaBundles, ::Google::Cloud::Bigtable::Admin::V2::ListSchemaBundlesRequest, ::Google::Cloud::Bigtable::Admin::V2::ListSchemaBundlesResponse
|
172
|
+
# Deletes a schema bundle in the specified table.
|
173
|
+
rpc :DeleteSchemaBundle, ::Google::Cloud::Bigtable::Admin::V2::DeleteSchemaBundleRequest, ::Google::Protobuf::Empty
|
164
174
|
end
|
165
175
|
|
166
176
|
Stub = Service.rpc_stub_class
|
@@ -12,7 +12,7 @@ require 'google/protobuf/timestamp_pb'
|
|
12
12
|
require 'google/rpc/status_pb'
|
13
13
|
|
14
14
|
|
15
|
-
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$google/bigtable/admin/v2/types.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\"\x95\x0c\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\x12X\n\x17\x61utomated_backup_policy\x18\r \x01(\x0b\x32\x35.google.bigtable.admin.v2.Table.AutomatedBackupPolicyH\x00\x12=\n\x0erow_key_schema\x18\x0f \x01(\x0b\x32%.google.bigtable.admin.v2.Type.Struct\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\x84\x01\n\x15\x41utomatedBackupPolicy\x12\x38\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12\x31\n\tfrequency\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\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}B\x19\n\x17\x61utomated_backup_config\"\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\"u\n\x0c\x43olumnFamily\x12\x31\n\x07gc_rule\x18\x01 \x01(\x0b\x32 .google.bigtable.admin.v2.GcRule\x12\x32\n\nvalue_type\x18\x03 \x01(\x0b\x32\x1e.google.bigtable.admin.v2.Type\"\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}\"\xf9\x05\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\x12@\n\x0b\x62\x61\x63kup_type\x18\x0b \x01(\x0e\x32+.google.bigtable.admin.v2.Backup.BackupType\x12\x38\n\x14hot_to_standard_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"7\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\"@\n\nBackupType\x12\x1b\n\x17\x42\x41\x43KUP_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x07\n\x03HOT\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\xf7\x02\n\x1c\x63om.google.bigtable.admin.v2B\nTableProtoP\x01Z8cloud.google.com/go/bigtable/admin/apiv2/adminpb;adminpb\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
|
+
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$google/bigtable/admin/v2/types.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\"\x95\x0c\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\x12X\n\x17\x61utomated_backup_policy\x18\r \x01(\x0b\x32\x35.google.bigtable.admin.v2.Table.AutomatedBackupPolicyH\x00\x12=\n\x0erow_key_schema\x18\x0f \x01(\x0b\x32%.google.bigtable.admin.v2.Type.Struct\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\x84\x01\n\x15\x41utomatedBackupPolicy\x12\x38\n\x10retention_period\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\x12\x31\n\tfrequency\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x02\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}B\x19\n\x17\x61utomated_backup_config\"\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\"u\n\x0c\x43olumnFamily\x12\x31\n\x07gc_rule\x18\x01 \x01(\x0b\x32 .google.bigtable.admin.v2.GcRule\x12\x32\n\nvalue_type\x18\x03 \x01(\x0b\x32\x1e.google.bigtable.admin.v2.Type\"\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}\"\xf9\x05\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\x12@\n\x0b\x62\x61\x63kup_type\x18\x0b \x01(\x0e\x32+.google.bigtable.admin.v2.Backup.BackupType\x12\x38\n\x14hot_to_standard_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"7\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\"@\n\nBackupType\x12\x1b\n\x17\x42\x41\x43KUP_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STANDARD\x10\x01\x12\x07\n\x03HOT\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\"-\n\x0bProtoSchema\x12\x1e\n\x11proto_descriptors\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x02\"\xa0\x02\n\x0cSchemaBundle\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12=\n\x0cproto_schema\x18\x02 \x01(\x0b\x32%.google.bigtable.admin.v2.ProtoSchemaH\x00\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01:\xa2\x01\xea\x41\x9e\x01\n)bigtableadmin.googleapis.com/SchemaBundle\x12Tprojects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}*\rschemaBundles2\x0cschemaBundleB\x06\n\x04type*D\n\x11RestoreSourceType\x12#\n\x1fRESTORE_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x42\x41\x43KUP\x10\x01\x42\xf7\x02\n\x1c\x63om.google.bigtable.admin.v2B\nTableProtoP\x01Z8cloud.google.com/go/bigtable/admin/apiv2/adminpb;adminpb\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"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -71,6 +71,8 @@ module Google
|
|
71
71
|
Backup::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Backup.State").enummodule
|
72
72
|
Backup::BackupType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Backup.BackupType").enummodule
|
73
73
|
BackupInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.BackupInfo").msgclass
|
74
|
+
ProtoSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ProtoSchema").msgclass
|
75
|
+
SchemaBundle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.SchemaBundle").msgclass
|
74
76
|
RestoreSourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreSourceType").enummodule
|
75
77
|
end
|
76
78
|
end
|
@@ -1122,8 +1122,8 @@ module Google
|
|
1122
1122
|
# @param page_token [::String]
|
1123
1123
|
# Optional. The value of `next_page_token` returned by a previous call.
|
1124
1124
|
# @param view [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView::ResponseView]
|
1125
|
-
# Optional. The resource_view to be applied to the returned
|
1126
|
-
# Default to NAME_ONLY.
|
1125
|
+
# Optional. The resource_view to be applied to the returned AuthorizedViews'
|
1126
|
+
# fields. Default to NAME_ONLY.
|
1127
1127
|
#
|
1128
1128
|
# @yield [response, operation] Access the result along with the RPC operation
|
1129
1129
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Bigtable::Admin::V2::AuthorizedView>]
|
@@ -1306,8 +1306,8 @@ module Google
|
|
1306
1306
|
# @param authorized_view [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView, ::Hash]
|
1307
1307
|
# Required. The AuthorizedView to update. The `name` in `authorized_view` is
|
1308
1308
|
# used to identify the AuthorizedView. AuthorizedView name must in this
|
1309
|
-
# format
|
1310
|
-
# projects
|
1309
|
+
# format:
|
1310
|
+
# `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
|
1311
1311
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1312
1312
|
# Optional. The list of fields to update.
|
1313
1313
|
# A mask specifying which fields in the AuthorizedView resource should be
|
@@ -3054,7 +3054,7 @@ module Google
|
|
3054
3054
|
end
|
3055
3055
|
|
3056
3056
|
##
|
3057
|
-
# Gets the access control policy for a
|
3057
|
+
# Gets the access control policy for a Bigtable resource.
|
3058
3058
|
# Returns an empty policy if the resource exists but does not have a policy
|
3059
3059
|
# set.
|
3060
3060
|
#
|
@@ -3145,7 +3145,7 @@ module Google
|
|
3145
3145
|
end
|
3146
3146
|
|
3147
3147
|
##
|
3148
|
-
# Sets the access control policy on a
|
3148
|
+
# Sets the access control policy on a Bigtable resource.
|
3149
3149
|
# Replaces any existing policy.
|
3150
3150
|
#
|
3151
3151
|
# @overload set_iam_policy(request, options = nil)
|
@@ -3243,7 +3243,7 @@ module Google
|
|
3243
3243
|
end
|
3244
3244
|
|
3245
3245
|
##
|
3246
|
-
# Returns permissions that the caller has on the specified
|
3246
|
+
# Returns permissions that the caller has on the specified Bigtable
|
3247
3247
|
# resource.
|
3248
3248
|
#
|
3249
3249
|
# @overload test_iam_permissions(request, options = nil)
|
@@ -3334,6 +3334,493 @@ module Google
|
|
3334
3334
|
raise ::Google::Cloud::Error.from_error(e)
|
3335
3335
|
end
|
3336
3336
|
|
3337
|
+
##
|
3338
|
+
# Creates a new schema bundle in the specified table.
|
3339
|
+
#
|
3340
|
+
# @overload create_schema_bundle(request, options = nil)
|
3341
|
+
# Pass arguments to `create_schema_bundle` via a request object, either of type
|
3342
|
+
# {::Google::Cloud::Bigtable::Admin::V2::CreateSchemaBundleRequest} or an equivalent Hash.
|
3343
|
+
#
|
3344
|
+
# @param request [::Google::Cloud::Bigtable::Admin::V2::CreateSchemaBundleRequest, ::Hash]
|
3345
|
+
# A request object representing the call parameters. Required. To specify no
|
3346
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
3347
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
3348
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
3349
|
+
#
|
3350
|
+
# @overload create_schema_bundle(parent: nil, schema_bundle_id: nil, schema_bundle: nil)
|
3351
|
+
# Pass arguments to `create_schema_bundle` via keyword arguments. Note that at
|
3352
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
3353
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
3354
|
+
#
|
3355
|
+
# @param parent [::String]
|
3356
|
+
# Required. The parent resource where this schema bundle will be created.
|
3357
|
+
# Values are of the form
|
3358
|
+
# `projects/{project}/instances/{instance}/tables/{table}`.
|
3359
|
+
# @param schema_bundle_id [::String]
|
3360
|
+
# Required. The unique ID to use for the schema bundle, which will become the
|
3361
|
+
# final component of the schema bundle's resource name.
|
3362
|
+
# @param schema_bundle [::Google::Cloud::Bigtable::Admin::V2::SchemaBundle, ::Hash]
|
3363
|
+
# Required. The schema bundle to create.
|
3364
|
+
#
|
3365
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
3366
|
+
# @yieldparam response [::Gapic::Operation]
|
3367
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
3368
|
+
#
|
3369
|
+
# @return [::Gapic::Operation]
|
3370
|
+
#
|
3371
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
3372
|
+
#
|
3373
|
+
# @example Basic example
|
3374
|
+
# require "google/cloud/bigtable/admin/v2"
|
3375
|
+
#
|
3376
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3377
|
+
# client = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new
|
3378
|
+
#
|
3379
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3380
|
+
# request = Google::Cloud::Bigtable::Admin::V2::CreateSchemaBundleRequest.new
|
3381
|
+
#
|
3382
|
+
# # Call the create_schema_bundle method.
|
3383
|
+
# result = client.create_schema_bundle request
|
3384
|
+
#
|
3385
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
3386
|
+
# # check the status of an operation, cancel it, or wait for results.
|
3387
|
+
# # Here is how to wait for a response.
|
3388
|
+
# result.wait_until_done! timeout: 60
|
3389
|
+
# if result.response?
|
3390
|
+
# p result.response
|
3391
|
+
# else
|
3392
|
+
# puts "No response received."
|
3393
|
+
# end
|
3394
|
+
#
|
3395
|
+
def create_schema_bundle request, options = nil
|
3396
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
3397
|
+
|
3398
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::CreateSchemaBundleRequest
|
3399
|
+
|
3400
|
+
# Converts hash and nil to an options object
|
3401
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
3402
|
+
|
3403
|
+
# Customize the options with defaults
|
3404
|
+
metadata = @config.rpcs.create_schema_bundle.metadata.to_h
|
3405
|
+
|
3406
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3407
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3408
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3409
|
+
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
3410
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3411
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3412
|
+
|
3413
|
+
header_params = {}
|
3414
|
+
if request.parent
|
3415
|
+
header_params["parent"] = request.parent
|
3416
|
+
end
|
3417
|
+
|
3418
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
3419
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
3420
|
+
|
3421
|
+
options.apply_defaults timeout: @config.rpcs.create_schema_bundle.timeout,
|
3422
|
+
metadata: metadata,
|
3423
|
+
retry_policy: @config.rpcs.create_schema_bundle.retry_policy
|
3424
|
+
|
3425
|
+
options.apply_defaults timeout: @config.timeout,
|
3426
|
+
metadata: @config.metadata,
|
3427
|
+
retry_policy: @config.retry_policy
|
3428
|
+
|
3429
|
+
@bigtable_table_admin_stub.call_rpc :create_schema_bundle, request, options: options do |response, operation|
|
3430
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
3431
|
+
yield response, operation if block_given?
|
3432
|
+
throw :response, response
|
3433
|
+
end
|
3434
|
+
rescue ::GRPC::BadStatus => e
|
3435
|
+
raise ::Google::Cloud::Error.from_error(e)
|
3436
|
+
end
|
3437
|
+
|
3438
|
+
##
|
3439
|
+
# Updates a schema bundle in the specified table.
|
3440
|
+
#
|
3441
|
+
# @overload update_schema_bundle(request, options = nil)
|
3442
|
+
# Pass arguments to `update_schema_bundle` via a request object, either of type
|
3443
|
+
# {::Google::Cloud::Bigtable::Admin::V2::UpdateSchemaBundleRequest} or an equivalent Hash.
|
3444
|
+
#
|
3445
|
+
# @param request [::Google::Cloud::Bigtable::Admin::V2::UpdateSchemaBundleRequest, ::Hash]
|
3446
|
+
# A request object representing the call parameters. Required. To specify no
|
3447
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
3448
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
3449
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
3450
|
+
#
|
3451
|
+
# @overload update_schema_bundle(schema_bundle: nil, update_mask: nil, ignore_warnings: nil)
|
3452
|
+
# Pass arguments to `update_schema_bundle` via keyword arguments. Note that at
|
3453
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
3454
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
3455
|
+
#
|
3456
|
+
# @param schema_bundle [::Google::Cloud::Bigtable::Admin::V2::SchemaBundle, ::Hash]
|
3457
|
+
# Required. The schema bundle to update.
|
3458
|
+
#
|
3459
|
+
# The schema bundle's `name` field is used to identify the schema bundle to
|
3460
|
+
# update. Values are of the form
|
3461
|
+
# `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
|
3462
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
3463
|
+
# Optional. The list of fields to update.
|
3464
|
+
# @param ignore_warnings [::Boolean]
|
3465
|
+
# Optional. If set, ignore the safety checks when updating the Schema Bundle.
|
3466
|
+
# The safety checks are:
|
3467
|
+
# - The new Schema Bundle is backwards compatible with the existing Schema
|
3468
|
+
# Bundle.
|
3469
|
+
#
|
3470
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
3471
|
+
# @yieldparam response [::Gapic::Operation]
|
3472
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
3473
|
+
#
|
3474
|
+
# @return [::Gapic::Operation]
|
3475
|
+
#
|
3476
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
3477
|
+
#
|
3478
|
+
# @example Basic example
|
3479
|
+
# require "google/cloud/bigtable/admin/v2"
|
3480
|
+
#
|
3481
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3482
|
+
# client = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new
|
3483
|
+
#
|
3484
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3485
|
+
# request = Google::Cloud::Bigtable::Admin::V2::UpdateSchemaBundleRequest.new
|
3486
|
+
#
|
3487
|
+
# # Call the update_schema_bundle method.
|
3488
|
+
# result = client.update_schema_bundle request
|
3489
|
+
#
|
3490
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
3491
|
+
# # check the status of an operation, cancel it, or wait for results.
|
3492
|
+
# # Here is how to wait for a response.
|
3493
|
+
# result.wait_until_done! timeout: 60
|
3494
|
+
# if result.response?
|
3495
|
+
# p result.response
|
3496
|
+
# else
|
3497
|
+
# puts "No response received."
|
3498
|
+
# end
|
3499
|
+
#
|
3500
|
+
def update_schema_bundle request, options = nil
|
3501
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
3502
|
+
|
3503
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::UpdateSchemaBundleRequest
|
3504
|
+
|
3505
|
+
# Converts hash and nil to an options object
|
3506
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
3507
|
+
|
3508
|
+
# Customize the options with defaults
|
3509
|
+
metadata = @config.rpcs.update_schema_bundle.metadata.to_h
|
3510
|
+
|
3511
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3512
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3513
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3514
|
+
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
3515
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3516
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3517
|
+
|
3518
|
+
header_params = {}
|
3519
|
+
if request.schema_bundle&.name
|
3520
|
+
header_params["schema_bundle.name"] = request.schema_bundle.name
|
3521
|
+
end
|
3522
|
+
|
3523
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
3524
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
3525
|
+
|
3526
|
+
options.apply_defaults timeout: @config.rpcs.update_schema_bundle.timeout,
|
3527
|
+
metadata: metadata,
|
3528
|
+
retry_policy: @config.rpcs.update_schema_bundle.retry_policy
|
3529
|
+
|
3530
|
+
options.apply_defaults timeout: @config.timeout,
|
3531
|
+
metadata: @config.metadata,
|
3532
|
+
retry_policy: @config.retry_policy
|
3533
|
+
|
3534
|
+
@bigtable_table_admin_stub.call_rpc :update_schema_bundle, request, options: options do |response, operation|
|
3535
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
3536
|
+
yield response, operation if block_given?
|
3537
|
+
throw :response, response
|
3538
|
+
end
|
3539
|
+
rescue ::GRPC::BadStatus => e
|
3540
|
+
raise ::Google::Cloud::Error.from_error(e)
|
3541
|
+
end
|
3542
|
+
|
3543
|
+
##
|
3544
|
+
# Gets metadata information about the specified schema bundle.
|
3545
|
+
#
|
3546
|
+
# @overload get_schema_bundle(request, options = nil)
|
3547
|
+
# Pass arguments to `get_schema_bundle` via a request object, either of type
|
3548
|
+
# {::Google::Cloud::Bigtable::Admin::V2::GetSchemaBundleRequest} or an equivalent Hash.
|
3549
|
+
#
|
3550
|
+
# @param request [::Google::Cloud::Bigtable::Admin::V2::GetSchemaBundleRequest, ::Hash]
|
3551
|
+
# A request object representing the call parameters. Required. To specify no
|
3552
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
3553
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
3554
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
3555
|
+
#
|
3556
|
+
# @overload get_schema_bundle(name: nil)
|
3557
|
+
# Pass arguments to `get_schema_bundle` via keyword arguments. Note that at
|
3558
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
3559
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
3560
|
+
#
|
3561
|
+
# @param name [::String]
|
3562
|
+
# Required. The unique name of the schema bundle to retrieve.
|
3563
|
+
# Values are of the form
|
3564
|
+
# `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
|
3565
|
+
#
|
3566
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
3567
|
+
# @yieldparam response [::Google::Cloud::Bigtable::Admin::V2::SchemaBundle]
|
3568
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
3569
|
+
#
|
3570
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::SchemaBundle]
|
3571
|
+
#
|
3572
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
3573
|
+
#
|
3574
|
+
# @example Basic example
|
3575
|
+
# require "google/cloud/bigtable/admin/v2"
|
3576
|
+
#
|
3577
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3578
|
+
# client = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new
|
3579
|
+
#
|
3580
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3581
|
+
# request = Google::Cloud::Bigtable::Admin::V2::GetSchemaBundleRequest.new
|
3582
|
+
#
|
3583
|
+
# # Call the get_schema_bundle method.
|
3584
|
+
# result = client.get_schema_bundle request
|
3585
|
+
#
|
3586
|
+
# # The returned object is of type Google::Cloud::Bigtable::Admin::V2::SchemaBundle.
|
3587
|
+
# p result
|
3588
|
+
#
|
3589
|
+
def get_schema_bundle request, options = nil
|
3590
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
3591
|
+
|
3592
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::GetSchemaBundleRequest
|
3593
|
+
|
3594
|
+
# Converts hash and nil to an options object
|
3595
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
3596
|
+
|
3597
|
+
# Customize the options with defaults
|
3598
|
+
metadata = @config.rpcs.get_schema_bundle.metadata.to_h
|
3599
|
+
|
3600
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3601
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3602
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3603
|
+
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
3604
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3605
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3606
|
+
|
3607
|
+
header_params = {}
|
3608
|
+
if request.name
|
3609
|
+
header_params["name"] = request.name
|
3610
|
+
end
|
3611
|
+
|
3612
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
3613
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
3614
|
+
|
3615
|
+
options.apply_defaults timeout: @config.rpcs.get_schema_bundle.timeout,
|
3616
|
+
metadata: metadata,
|
3617
|
+
retry_policy: @config.rpcs.get_schema_bundle.retry_policy
|
3618
|
+
|
3619
|
+
options.apply_defaults timeout: @config.timeout,
|
3620
|
+
metadata: @config.metadata,
|
3621
|
+
retry_policy: @config.retry_policy
|
3622
|
+
|
3623
|
+
@bigtable_table_admin_stub.call_rpc :get_schema_bundle, request, options: options do |response, operation|
|
3624
|
+
yield response, operation if block_given?
|
3625
|
+
end
|
3626
|
+
rescue ::GRPC::BadStatus => e
|
3627
|
+
raise ::Google::Cloud::Error.from_error(e)
|
3628
|
+
end
|
3629
|
+
|
3630
|
+
##
|
3631
|
+
# Lists all schema bundles associated with the specified table.
|
3632
|
+
#
|
3633
|
+
# @overload list_schema_bundles(request, options = nil)
|
3634
|
+
# Pass arguments to `list_schema_bundles` via a request object, either of type
|
3635
|
+
# {::Google::Cloud::Bigtable::Admin::V2::ListSchemaBundlesRequest} or an equivalent Hash.
|
3636
|
+
#
|
3637
|
+
# @param request [::Google::Cloud::Bigtable::Admin::V2::ListSchemaBundlesRequest, ::Hash]
|
3638
|
+
# A request object representing the call parameters. Required. To specify no
|
3639
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
3640
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
3641
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
3642
|
+
#
|
3643
|
+
# @overload list_schema_bundles(parent: nil, page_size: nil, page_token: nil)
|
3644
|
+
# Pass arguments to `list_schema_bundles` via keyword arguments. Note that at
|
3645
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
3646
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
3647
|
+
#
|
3648
|
+
# @param parent [::String]
|
3649
|
+
# Required. The parent, which owns this collection of schema bundles.
|
3650
|
+
# Values are of the form
|
3651
|
+
# `projects/{project}/instances/{instance}/tables/{table}`.
|
3652
|
+
# @param page_size [::Integer]
|
3653
|
+
# The maximum number of schema bundles to return. If the value is positive,
|
3654
|
+
# the server may return at most this value. If unspecified, the server will
|
3655
|
+
# return the maximum allowed page size.
|
3656
|
+
# @param page_token [::String]
|
3657
|
+
# A page token, received from a previous `ListSchemaBundles` call.
|
3658
|
+
# Provide this to retrieve the subsequent page.
|
3659
|
+
#
|
3660
|
+
# When paginating, all other parameters provided to `ListSchemaBundles` must
|
3661
|
+
# match the call that provided the page token.
|
3662
|
+
#
|
3663
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
3664
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Bigtable::Admin::V2::SchemaBundle>]
|
3665
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
3666
|
+
#
|
3667
|
+
# @return [::Gapic::PagedEnumerable<::Google::Cloud::Bigtable::Admin::V2::SchemaBundle>]
|
3668
|
+
#
|
3669
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
3670
|
+
#
|
3671
|
+
# @example Basic example
|
3672
|
+
# require "google/cloud/bigtable/admin/v2"
|
3673
|
+
#
|
3674
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3675
|
+
# client = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new
|
3676
|
+
#
|
3677
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3678
|
+
# request = Google::Cloud::Bigtable::Admin::V2::ListSchemaBundlesRequest.new
|
3679
|
+
#
|
3680
|
+
# # Call the list_schema_bundles method.
|
3681
|
+
# result = client.list_schema_bundles request
|
3682
|
+
#
|
3683
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
3684
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
3685
|
+
# result.each do |item|
|
3686
|
+
# # Each element is of type ::Google::Cloud::Bigtable::Admin::V2::SchemaBundle.
|
3687
|
+
# p item
|
3688
|
+
# end
|
3689
|
+
#
|
3690
|
+
def list_schema_bundles request, options = nil
|
3691
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
3692
|
+
|
3693
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::ListSchemaBundlesRequest
|
3694
|
+
|
3695
|
+
# Converts hash and nil to an options object
|
3696
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
3697
|
+
|
3698
|
+
# Customize the options with defaults
|
3699
|
+
metadata = @config.rpcs.list_schema_bundles.metadata.to_h
|
3700
|
+
|
3701
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3702
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3703
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3704
|
+
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
3705
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3706
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3707
|
+
|
3708
|
+
header_params = {}
|
3709
|
+
if request.parent
|
3710
|
+
header_params["parent"] = request.parent
|
3711
|
+
end
|
3712
|
+
|
3713
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
3714
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
3715
|
+
|
3716
|
+
options.apply_defaults timeout: @config.rpcs.list_schema_bundles.timeout,
|
3717
|
+
metadata: metadata,
|
3718
|
+
retry_policy: @config.rpcs.list_schema_bundles.retry_policy
|
3719
|
+
|
3720
|
+
options.apply_defaults timeout: @config.timeout,
|
3721
|
+
metadata: @config.metadata,
|
3722
|
+
retry_policy: @config.retry_policy
|
3723
|
+
|
3724
|
+
@bigtable_table_admin_stub.call_rpc :list_schema_bundles, request, options: options do |response, operation|
|
3725
|
+
response = ::Gapic::PagedEnumerable.new @bigtable_table_admin_stub, :list_schema_bundles, request, response, operation, options
|
3726
|
+
yield response, operation if block_given?
|
3727
|
+
throw :response, response
|
3728
|
+
end
|
3729
|
+
rescue ::GRPC::BadStatus => e
|
3730
|
+
raise ::Google::Cloud::Error.from_error(e)
|
3731
|
+
end
|
3732
|
+
|
3733
|
+
##
|
3734
|
+
# Deletes a schema bundle in the specified table.
|
3735
|
+
#
|
3736
|
+
# @overload delete_schema_bundle(request, options = nil)
|
3737
|
+
# Pass arguments to `delete_schema_bundle` via a request object, either of type
|
3738
|
+
# {::Google::Cloud::Bigtable::Admin::V2::DeleteSchemaBundleRequest} or an equivalent Hash.
|
3739
|
+
#
|
3740
|
+
# @param request [::Google::Cloud::Bigtable::Admin::V2::DeleteSchemaBundleRequest, ::Hash]
|
3741
|
+
# A request object representing the call parameters. Required. To specify no
|
3742
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
3743
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
3744
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
3745
|
+
#
|
3746
|
+
# @overload delete_schema_bundle(name: nil, etag: nil)
|
3747
|
+
# Pass arguments to `delete_schema_bundle` via keyword arguments. Note that at
|
3748
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
3749
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
3750
|
+
#
|
3751
|
+
# @param name [::String]
|
3752
|
+
# Required. The unique name of the schema bundle to delete.
|
3753
|
+
# Values are of the form
|
3754
|
+
# `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
|
3755
|
+
# @param etag [::String]
|
3756
|
+
# Optional. The etag of the schema bundle.
|
3757
|
+
# If this is provided, it must match the server's etag. The server
|
3758
|
+
# returns an ABORTED error on a mismatched etag.
|
3759
|
+
#
|
3760
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
3761
|
+
# @yieldparam response [::Google::Protobuf::Empty]
|
3762
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
3763
|
+
#
|
3764
|
+
# @return [::Google::Protobuf::Empty]
|
3765
|
+
#
|
3766
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
3767
|
+
#
|
3768
|
+
# @example Basic example
|
3769
|
+
# require "google/cloud/bigtable/admin/v2"
|
3770
|
+
#
|
3771
|
+
# # Create a client object. The client can be reused for multiple calls.
|
3772
|
+
# client = Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client.new
|
3773
|
+
#
|
3774
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
3775
|
+
# request = Google::Cloud::Bigtable::Admin::V2::DeleteSchemaBundleRequest.new
|
3776
|
+
#
|
3777
|
+
# # Call the delete_schema_bundle method.
|
3778
|
+
# result = client.delete_schema_bundle request
|
3779
|
+
#
|
3780
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
3781
|
+
# p result
|
3782
|
+
#
|
3783
|
+
def delete_schema_bundle request, options = nil
|
3784
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
3785
|
+
|
3786
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Bigtable::Admin::V2::DeleteSchemaBundleRequest
|
3787
|
+
|
3788
|
+
# Converts hash and nil to an options object
|
3789
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
3790
|
+
|
3791
|
+
# Customize the options with defaults
|
3792
|
+
metadata = @config.rpcs.delete_schema_bundle.metadata.to_h
|
3793
|
+
|
3794
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3795
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3796
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3797
|
+
gapic_version: ::Google::Cloud::Bigtable::Admin::V2::VERSION
|
3798
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3799
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3800
|
+
|
3801
|
+
header_params = {}
|
3802
|
+
if request.name
|
3803
|
+
header_params["name"] = request.name
|
3804
|
+
end
|
3805
|
+
|
3806
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
3807
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
3808
|
+
|
3809
|
+
options.apply_defaults timeout: @config.rpcs.delete_schema_bundle.timeout,
|
3810
|
+
metadata: metadata,
|
3811
|
+
retry_policy: @config.rpcs.delete_schema_bundle.retry_policy
|
3812
|
+
|
3813
|
+
options.apply_defaults timeout: @config.timeout,
|
3814
|
+
metadata: @config.metadata,
|
3815
|
+
retry_policy: @config.retry_policy
|
3816
|
+
|
3817
|
+
@bigtable_table_admin_stub.call_rpc :delete_schema_bundle, request, options: options do |response, operation|
|
3818
|
+
yield response, operation if block_given?
|
3819
|
+
end
|
3820
|
+
rescue ::GRPC::BadStatus => e
|
3821
|
+
raise ::Google::Cloud::Error.from_error(e)
|
3822
|
+
end
|
3823
|
+
|
3337
3824
|
##
|
3338
3825
|
# Configuration class for the BigtableTableAdmin API.
|
3339
3826
|
#
|
@@ -3650,6 +4137,31 @@ module Google
|
|
3650
4137
|
# @return [::Gapic::Config::Method]
|
3651
4138
|
#
|
3652
4139
|
attr_reader :test_iam_permissions
|
4140
|
+
##
|
4141
|
+
# RPC-specific configuration for `create_schema_bundle`
|
4142
|
+
# @return [::Gapic::Config::Method]
|
4143
|
+
#
|
4144
|
+
attr_reader :create_schema_bundle
|
4145
|
+
##
|
4146
|
+
# RPC-specific configuration for `update_schema_bundle`
|
4147
|
+
# @return [::Gapic::Config::Method]
|
4148
|
+
#
|
4149
|
+
attr_reader :update_schema_bundle
|
4150
|
+
##
|
4151
|
+
# RPC-specific configuration for `get_schema_bundle`
|
4152
|
+
# @return [::Gapic::Config::Method]
|
4153
|
+
#
|
4154
|
+
attr_reader :get_schema_bundle
|
4155
|
+
##
|
4156
|
+
# RPC-specific configuration for `list_schema_bundles`
|
4157
|
+
# @return [::Gapic::Config::Method]
|
4158
|
+
#
|
4159
|
+
attr_reader :list_schema_bundles
|
4160
|
+
##
|
4161
|
+
# RPC-specific configuration for `delete_schema_bundle`
|
4162
|
+
# @return [::Gapic::Config::Method]
|
4163
|
+
#
|
4164
|
+
attr_reader :delete_schema_bundle
|
3653
4165
|
|
3654
4166
|
# @private
|
3655
4167
|
def initialize parent_rpcs = nil
|
@@ -3713,6 +4225,16 @@ module Google
|
|
3713
4225
|
@set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config
|
3714
4226
|
test_iam_permissions_config = parent_rpcs.test_iam_permissions if parent_rpcs.respond_to? :test_iam_permissions
|
3715
4227
|
@test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config
|
4228
|
+
create_schema_bundle_config = parent_rpcs.create_schema_bundle if parent_rpcs.respond_to? :create_schema_bundle
|
4229
|
+
@create_schema_bundle = ::Gapic::Config::Method.new create_schema_bundle_config
|
4230
|
+
update_schema_bundle_config = parent_rpcs.update_schema_bundle if parent_rpcs.respond_to? :update_schema_bundle
|
4231
|
+
@update_schema_bundle = ::Gapic::Config::Method.new update_schema_bundle_config
|
4232
|
+
get_schema_bundle_config = parent_rpcs.get_schema_bundle if parent_rpcs.respond_to? :get_schema_bundle
|
4233
|
+
@get_schema_bundle = ::Gapic::Config::Method.new get_schema_bundle_config
|
4234
|
+
list_schema_bundles_config = parent_rpcs.list_schema_bundles if parent_rpcs.respond_to? :list_schema_bundles
|
4235
|
+
@list_schema_bundles = ::Gapic::Config::Method.new list_schema_bundles_config
|
4236
|
+
delete_schema_bundle_config = parent_rpcs.delete_schema_bundle if parent_rpcs.respond_to? :delete_schema_bundle
|
4237
|
+
@delete_schema_bundle = ::Gapic::Config::Method.new delete_schema_bundle_config
|
3716
4238
|
|
3717
4239
|
yield self if block_given?
|
3718
4240
|
end
|
@@ -126,6 +126,27 @@ module Google
|
|
126
126
|
"projects/#{project}/instances/#{instance}"
|
127
127
|
end
|
128
128
|
|
129
|
+
##
|
130
|
+
# Create a fully-qualified SchemaBundle resource string.
|
131
|
+
#
|
132
|
+
# The resource will be in the following format:
|
133
|
+
#
|
134
|
+
# `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
|
135
|
+
#
|
136
|
+
# @param project [String]
|
137
|
+
# @param instance [String]
|
138
|
+
# @param table [String]
|
139
|
+
# @param schema_bundle [String]
|
140
|
+
#
|
141
|
+
# @return [::String]
|
142
|
+
def schema_bundle_path project:, instance:, table:, schema_bundle:
|
143
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
144
|
+
raise ::ArgumentError, "instance cannot contain /" if instance.to_s.include? "/"
|
145
|
+
raise ::ArgumentError, "table cannot contain /" if table.to_s.include? "/"
|
146
|
+
|
147
|
+
"projects/#{project}/instances/#{instance}/tables/#{table}/schemaBundles/#{schema_bundle}"
|
148
|
+
end
|
149
|
+
|
129
150
|
##
|
130
151
|
# Create a fully-qualified Snapshot resource string.
|
131
152
|
#
|
@@ -881,7 +881,8 @@ module Google
|
|
881
881
|
# The metadata for the Operation returned by CreateAuthorizedView.
|
882
882
|
# @!attribute [rw] original_request
|
883
883
|
# @return [::Google::Cloud::Bigtable::Admin::V2::CreateAuthorizedViewRequest]
|
884
|
-
# The request that prompted the initiation of this
|
884
|
+
# The request that prompted the initiation of this CreateAuthorizedView
|
885
|
+
# operation.
|
885
886
|
# @!attribute [rw] request_time
|
886
887
|
# @return [::Google::Protobuf::Timestamp]
|
887
888
|
# The time at which the original request was received.
|
@@ -916,8 +917,8 @@ module Google
|
|
916
917
|
# Optional. The value of `next_page_token` returned by a previous call.
|
917
918
|
# @!attribute [rw] view
|
918
919
|
# @return [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView::ResponseView]
|
919
|
-
# Optional. The resource_view to be applied to the returned
|
920
|
-
# Default to NAME_ONLY.
|
920
|
+
# Optional. The resource_view to be applied to the returned AuthorizedViews'
|
921
|
+
# fields. Default to NAME_ONLY.
|
921
922
|
class ListAuthorizedViewsRequest
|
922
923
|
include ::Google::Protobuf::MessageExts
|
923
924
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -960,8 +961,8 @@ module Google
|
|
960
961
|
# @return [::Google::Cloud::Bigtable::Admin::V2::AuthorizedView]
|
961
962
|
# Required. The AuthorizedView to update. The `name` in `authorized_view` is
|
962
963
|
# used to identify the AuthorizedView. AuthorizedView name must in this
|
963
|
-
# format
|
964
|
-
# projects
|
964
|
+
# format:
|
965
|
+
# `projects/{project}/instances/{instance}/tables/{table}/authorizedViews/{authorized_view}`.
|
965
966
|
# @!attribute [rw] update_mask
|
966
967
|
# @return [::Google::Protobuf::FieldMask]
|
967
968
|
# Optional. The list of fields to update.
|
@@ -1014,6 +1015,151 @@ module Google
|
|
1014
1015
|
include ::Google::Protobuf::MessageExts
|
1015
1016
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1016
1017
|
end
|
1018
|
+
|
1019
|
+
# The request for
|
1020
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#create_schema_bundle CreateSchemaBundle}.
|
1021
|
+
# @!attribute [rw] parent
|
1022
|
+
# @return [::String]
|
1023
|
+
# Required. The parent resource where this schema bundle will be created.
|
1024
|
+
# Values are of the form
|
1025
|
+
# `projects/{project}/instances/{instance}/tables/{table}`.
|
1026
|
+
# @!attribute [rw] schema_bundle_id
|
1027
|
+
# @return [::String]
|
1028
|
+
# Required. The unique ID to use for the schema bundle, which will become the
|
1029
|
+
# final component of the schema bundle's resource name.
|
1030
|
+
# @!attribute [rw] schema_bundle
|
1031
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::SchemaBundle]
|
1032
|
+
# Required. The schema bundle to create.
|
1033
|
+
class CreateSchemaBundleRequest
|
1034
|
+
include ::Google::Protobuf::MessageExts
|
1035
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1036
|
+
end
|
1037
|
+
|
1038
|
+
# The metadata for the Operation returned by
|
1039
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#create_schema_bundle CreateSchemaBundle}.
|
1040
|
+
# @!attribute [rw] name
|
1041
|
+
# @return [::String]
|
1042
|
+
# The unique name identifying this schema bundle.
|
1043
|
+
# Values are of the form
|
1044
|
+
# `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
|
1045
|
+
# @!attribute [rw] start_time
|
1046
|
+
# @return [::Google::Protobuf::Timestamp]
|
1047
|
+
# The time at which this operation started.
|
1048
|
+
# @!attribute [rw] end_time
|
1049
|
+
# @return [::Google::Protobuf::Timestamp]
|
1050
|
+
# If set, the time at which this operation finished or was canceled.
|
1051
|
+
class CreateSchemaBundleMetadata
|
1052
|
+
include ::Google::Protobuf::MessageExts
|
1053
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
# The request for
|
1057
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#update_schema_bundle UpdateSchemaBundle}.
|
1058
|
+
# @!attribute [rw] schema_bundle
|
1059
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::SchemaBundle]
|
1060
|
+
# Required. The schema bundle to update.
|
1061
|
+
#
|
1062
|
+
# The schema bundle's `name` field is used to identify the schema bundle to
|
1063
|
+
# update. Values are of the form
|
1064
|
+
# `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
|
1065
|
+
# @!attribute [rw] update_mask
|
1066
|
+
# @return [::Google::Protobuf::FieldMask]
|
1067
|
+
# Optional. The list of fields to update.
|
1068
|
+
# @!attribute [rw] ignore_warnings
|
1069
|
+
# @return [::Boolean]
|
1070
|
+
# Optional. If set, ignore the safety checks when updating the Schema Bundle.
|
1071
|
+
# The safety checks are:
|
1072
|
+
# - The new Schema Bundle is backwards compatible with the existing Schema
|
1073
|
+
# Bundle.
|
1074
|
+
class UpdateSchemaBundleRequest
|
1075
|
+
include ::Google::Protobuf::MessageExts
|
1076
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
# The metadata for the Operation returned by
|
1080
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#update_schema_bundle UpdateSchemaBundle}.
|
1081
|
+
# @!attribute [rw] name
|
1082
|
+
# @return [::String]
|
1083
|
+
# The unique name identifying this schema bundle.
|
1084
|
+
# Values are of the form
|
1085
|
+
# `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
|
1086
|
+
# @!attribute [rw] start_time
|
1087
|
+
# @return [::Google::Protobuf::Timestamp]
|
1088
|
+
# The time at which this operation started.
|
1089
|
+
# @!attribute [rw] end_time
|
1090
|
+
# @return [::Google::Protobuf::Timestamp]
|
1091
|
+
# If set, the time at which this operation finished or was canceled.
|
1092
|
+
class UpdateSchemaBundleMetadata
|
1093
|
+
include ::Google::Protobuf::MessageExts
|
1094
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1095
|
+
end
|
1096
|
+
|
1097
|
+
# The request for
|
1098
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#get_schema_bundle GetSchemaBundle}.
|
1099
|
+
# @!attribute [rw] name
|
1100
|
+
# @return [::String]
|
1101
|
+
# Required. The unique name of the schema bundle to retrieve.
|
1102
|
+
# Values are of the form
|
1103
|
+
# `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
|
1104
|
+
class GetSchemaBundleRequest
|
1105
|
+
include ::Google::Protobuf::MessageExts
|
1106
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
# The request for
|
1110
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_schema_bundles ListSchemaBundles}.
|
1111
|
+
# @!attribute [rw] parent
|
1112
|
+
# @return [::String]
|
1113
|
+
# Required. The parent, which owns this collection of schema bundles.
|
1114
|
+
# Values are of the form
|
1115
|
+
# `projects/{project}/instances/{instance}/tables/{table}`.
|
1116
|
+
# @!attribute [rw] page_size
|
1117
|
+
# @return [::Integer]
|
1118
|
+
# The maximum number of schema bundles to return. If the value is positive,
|
1119
|
+
# the server may return at most this value. If unspecified, the server will
|
1120
|
+
# return the maximum allowed page size.
|
1121
|
+
# @!attribute [rw] page_token
|
1122
|
+
# @return [::String]
|
1123
|
+
# A page token, received from a previous `ListSchemaBundles` call.
|
1124
|
+
# Provide this to retrieve the subsequent page.
|
1125
|
+
#
|
1126
|
+
# When paginating, all other parameters provided to `ListSchemaBundles` must
|
1127
|
+
# match the call that provided the page token.
|
1128
|
+
class ListSchemaBundlesRequest
|
1129
|
+
include ::Google::Protobuf::MessageExts
|
1130
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
# The response for
|
1134
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#list_schema_bundles ListSchemaBundles}.
|
1135
|
+
# @!attribute [rw] schema_bundles
|
1136
|
+
# @return [::Array<::Google::Cloud::Bigtable::Admin::V2::SchemaBundle>]
|
1137
|
+
# The schema bundles from the specified table.
|
1138
|
+
# @!attribute [rw] next_page_token
|
1139
|
+
# @return [::String]
|
1140
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
1141
|
+
# If this field is omitted, there are no subsequent pages.
|
1142
|
+
class ListSchemaBundlesResponse
|
1143
|
+
include ::Google::Protobuf::MessageExts
|
1144
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1145
|
+
end
|
1146
|
+
|
1147
|
+
# The request for
|
1148
|
+
# {::Google::Cloud::Bigtable::Admin::V2::BigtableTableAdmin::Client#delete_schema_bundle DeleteSchemaBundle}.
|
1149
|
+
# @!attribute [rw] name
|
1150
|
+
# @return [::String]
|
1151
|
+
# Required. The unique name of the schema bundle to delete.
|
1152
|
+
# Values are of the form
|
1153
|
+
# `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
|
1154
|
+
# @!attribute [rw] etag
|
1155
|
+
# @return [::String]
|
1156
|
+
# Optional. The etag of the schema bundle.
|
1157
|
+
# If this is provided, it must match the server's etag. The server
|
1158
|
+
# returns an ABORTED error on a mismatched etag.
|
1159
|
+
class DeleteSchemaBundleRequest
|
1160
|
+
include ::Google::Protobuf::MessageExts
|
1161
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1162
|
+
end
|
1017
1163
|
end
|
1018
1164
|
end
|
1019
1165
|
end
|
@@ -643,6 +643,49 @@ module Google
|
|
643
643
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
644
644
|
end
|
645
645
|
|
646
|
+
# Represents a protobuf schema.
|
647
|
+
# @!attribute [rw] proto_descriptors
|
648
|
+
# @return [::String]
|
649
|
+
# Required. Contains a protobuf-serialized
|
650
|
+
# [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto),
|
651
|
+
# which could include multiple proto files.
|
652
|
+
# To generate it, [install](https://grpc.io/docs/protoc-installation/) and
|
653
|
+
# run `protoc` with
|
654
|
+
# `--include_imports` and `--descriptor_set_out`. For example, to generate
|
655
|
+
# for moon/shot/app.proto, run
|
656
|
+
# ```
|
657
|
+
# $protoc --proto_path=/app_path --proto_path=/lib_path \
|
658
|
+
# --include_imports \
|
659
|
+
# --descriptor_set_out=descriptors.pb \
|
660
|
+
# moon/shot/app.proto
|
661
|
+
# ```
|
662
|
+
# For more details, see protobuffer [self
|
663
|
+
# description](https://developers.google.com/protocol-buffers/docs/techniques#self-description).
|
664
|
+
class ProtoSchema
|
665
|
+
include ::Google::Protobuf::MessageExts
|
666
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
667
|
+
end
|
668
|
+
|
669
|
+
# A named collection of related schemas.
|
670
|
+
# @!attribute [rw] name
|
671
|
+
# @return [::String]
|
672
|
+
# Identifier. The unique name identifying this schema bundle.
|
673
|
+
# Values are of the form
|
674
|
+
# `projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schema_bundle}`
|
675
|
+
# @!attribute [rw] proto_schema
|
676
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::ProtoSchema]
|
677
|
+
# Schema for Protobufs.
|
678
|
+
# @!attribute [rw] etag
|
679
|
+
# @return [::String]
|
680
|
+
# Optional. The etag for this schema bundle.
|
681
|
+
# This may be sent on update and delete requests to ensure the
|
682
|
+
# client has an up-to-date value before proceeding. The server
|
683
|
+
# returns an ABORTED error on a mismatched etag.
|
684
|
+
class SchemaBundle
|
685
|
+
include ::Google::Protobuf::MessageExts
|
686
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
687
|
+
end
|
688
|
+
|
646
689
|
# Indicates the type of the restore source.
|
647
690
|
module RestoreSourceType
|
648
691
|
# No restore associated.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigtable-admin-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
|
-
rubygems_version: 3.6.
|
129
|
+
rubygems_version: 3.6.9
|
130
130
|
specification_version: 4
|
131
131
|
summary: Administer your Cloud Bigtable tables and instances.
|
132
132
|
test_files: []
|