google-cloud-bigtable-admin-v2 1.15.1 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 12d82dec41d2cdc4bcaa0c78731d32671f01ad14527dc67bac66e5684e3afefc
|
|
4
|
+
data.tar.gz: 4f2174f119e4d3d4486876e8a1f201fa6b7efbd42517411ccc751d665da3eb33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 31aa10d98eb099c082f7f2f70dcecde8ffcb1edd1881ed4768e7e425d8b3a600c7858fbce7d36eba920bf7a572670a03afc44baca8a66081c53588d4b26e796c
|
|
7
|
+
data.tar.gz: 826654a1d912bcac40bada98b230358e76ae7424485f31770dac0ea954a71b0fedd98f4ec0e9aeb70d9f82d46aa5480efdf94ec3d2ca0fcc782c327d7d90dd8f
|
|
@@ -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\"\
|
|
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\"\xe3\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\x12L\n\x15tiered_storage_config\x18\x0e \x01(\x0b\x32-.google.bigtable.admin.v2.TieredStorageConfig\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\x13TieredStorageConfig\x12\x46\n\x11infrequent_access\x18\x01 \x01(\x0b\x32+.google.bigtable.admin.v2.TieredStorageRule\"W\n\x11TieredStorageRule\x12:\n\x15include_if_older_than\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x42\x06\n\x04rule\"-\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
|
+
TieredStorageConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.TieredStorageConfig").msgclass
|
|
75
|
+
TieredStorageRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.TieredStorageRule").msgclass
|
|
74
76
|
ProtoSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.ProtoSchema").msgclass
|
|
75
77
|
SchemaBundle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.SchemaBundle").msgclass
|
|
76
78
|
RestoreSourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.RestoreSourceType").enummodule
|
|
@@ -95,6 +95,15 @@ module Google
|
|
|
95
95
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Table::AutomatedBackupPolicy]
|
|
96
96
|
# If specified, automated backups are enabled for this table.
|
|
97
97
|
# Otherwise, automated backups are disabled.
|
|
98
|
+
# @!attribute [rw] tiered_storage_config
|
|
99
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::TieredStorageConfig]
|
|
100
|
+
# Rules to specify what data is stored in each storage tier.
|
|
101
|
+
# Different tiers store data differently, providing different trade-offs
|
|
102
|
+
# between cost and performance. Different parts of a table can be stored
|
|
103
|
+
# separately on different tiers.
|
|
104
|
+
# If a config is specified, tiered storage is enabled for this table.
|
|
105
|
+
# Otherwise, tiered storage is disabled.
|
|
106
|
+
# Only SSD instances can configure tiered storage.
|
|
98
107
|
# @!attribute [rw] row_key_schema
|
|
99
108
|
# @return [::Google::Cloud::Bigtable::Admin::V2::Type::Struct]
|
|
100
109
|
# The row key schema for this table. The schema is used to decode the raw row
|
|
@@ -643,6 +652,30 @@ module Google
|
|
|
643
652
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
644
653
|
end
|
|
645
654
|
|
|
655
|
+
# Config for tiered storage.
|
|
656
|
+
# A valid config must have a valid TieredStorageRule. Otherwise the whole
|
|
657
|
+
# TieredStorageConfig must be unset.
|
|
658
|
+
# By default all data is stored in the SSD tier (only SSD instances can
|
|
659
|
+
# configure tiered storage).
|
|
660
|
+
# @!attribute [rw] infrequent_access
|
|
661
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::TieredStorageRule]
|
|
662
|
+
# Rule to specify what data is stored in the infrequent access(IA) tier.
|
|
663
|
+
# The IA tier allows storing more data per node with reduced performance.
|
|
664
|
+
class TieredStorageConfig
|
|
665
|
+
include ::Google::Protobuf::MessageExts
|
|
666
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
667
|
+
end
|
|
668
|
+
|
|
669
|
+
# Rule to specify what data is stored in a storage tier.
|
|
670
|
+
# @!attribute [rw] include_if_older_than
|
|
671
|
+
# @return [::Google::Protobuf::Duration]
|
|
672
|
+
# Include cells older than the given age.
|
|
673
|
+
# For the infrequent access tier, this value must be at least 30 days.
|
|
674
|
+
class TieredStorageRule
|
|
675
|
+
include ::Google::Protobuf::MessageExts
|
|
676
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
677
|
+
end
|
|
678
|
+
|
|
646
679
|
# Represents a protobuf schema.
|
|
647
680
|
# @!attribute [rw] proto_descriptors
|
|
648
681
|
# @return [::String]
|