google-cloud-bigtable-admin-v2 0.25.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ca133965c3c73786cb02fccca949a0670cfb0ba20986abc95a1958529686ba6
|
4
|
+
data.tar.gz: 1ee678406a5eaaac4d97fab1a769f33eba0b5dfb1aa93c04932b1dc40236bbf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65d906b75ccb8c9b93c1c61a53850cddb003a746ec73b73efd7240dc4c2657238f193ee3f134c1da96a4eacba022bf35bbc0df87fc66196144ca30e3580cff79
|
7
|
+
data.tar.gz: 2cbb866ae462aa5939405ffdefe66647f9314866dc2755719d246162f95810c470e7c8d13f961ea07892398295ad0c8cbe7c340935ecb0f494f76b54293d042b
|
@@ -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\"\xd6\x0b\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\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}\"\xbb\x04\n\x06\x42\x61\x63kup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1c\n\x0csource_table\x18\x02 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x02\x12\x1a\n\rsource_backup\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x17\n\nsize_bytes\x18\x06 \x01(\x03\x42\x03\xe0\x41\x03\x12:\n\x05state\x18\x07 \x01(\x0e\x32&.google.bigtable.admin.v2.Backup.StateB\x03\xe0\x41\x03\x12\x46\n\x0f\x65ncryption_info\x18\t \x01(\x0b\x32(.google.bigtable.admin.v2.EncryptionInfoB\x03\xe0\x41\x03\"7\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02:u\xea\x41r\n#bigtableadmin.googleapis.com/Backup\x12Kprojects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}\"\xc0\x01\n\nBackupInfo\x12\x13\n\x06\x62\x61\x63kup\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x19\n\x0csource_table\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rsource_backup\x18\n \x01(\tB\x03\xe0\x41\x03*D\n\x11RestoreSourceType\x12#\n\x1fRESTORE_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x42\x41\x43KUP\x10\x01\x42\xfc\x02\n\x1c\x63om.google.bigtable.admin.v2B\nTableProtoP\x01Z=google.golang.org/genproto/googleapis/bigtable/admin/v2;admin\xaa\x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\x02\x1eGoogle\\Cloud\\Bigtable\\Admin\\V2\xea\x02\"Google::Cloud::Bigtable::Admin::V2\xea\x41\xa6\x01\n(cloudkms.googleapis.com/CryptoKeyVersion\x12zprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}b\x06proto3"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -52,6 +52,7 @@ module Google
|
|
52
52
|
Table = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table").msgclass
|
53
53
|
Table::ClusterState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.ClusterState").msgclass
|
54
54
|
Table::ClusterState::ReplicationState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.ClusterState.ReplicationState").enummodule
|
55
|
+
Table::AutomatedBackupPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.AutomatedBackupPolicy").msgclass
|
55
56
|
Table::TimestampGranularity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.TimestampGranularity").enummodule
|
56
57
|
Table::View = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.Table.View").enummodule
|
57
58
|
AuthorizedView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.admin.v2.AuthorizedView").msgclass
|
@@ -91,6 +91,10 @@ module Google
|
|
91
91
|
# * The instance containing the table.
|
92
92
|
#
|
93
93
|
# Note one can still delete the data stored in the table through Data APIs.
|
94
|
+
# @!attribute [rw] automated_backup_policy
|
95
|
+
# @return [::Google::Cloud::Bigtable::Admin::V2::Table::AutomatedBackupPolicy]
|
96
|
+
# If specified, automated backups are enabled for this table.
|
97
|
+
# Otherwise, automated backups are disabled.
|
94
98
|
class Table
|
95
99
|
include ::Google::Protobuf::MessageExts
|
96
100
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -140,6 +144,20 @@ module Google
|
|
140
144
|
end
|
141
145
|
end
|
142
146
|
|
147
|
+
# Defines an automated backup policy for a table
|
148
|
+
# @!attribute [rw] retention_period
|
149
|
+
# @return [::Google::Protobuf::Duration]
|
150
|
+
# Required. How long the automated backups should be retained. The only
|
151
|
+
# supported value at this time is 3 days.
|
152
|
+
# @!attribute [rw] frequency
|
153
|
+
# @return [::Google::Protobuf::Duration]
|
154
|
+
# Required. How frequently automated backups should occur. The only
|
155
|
+
# supported value at this time is 24 hours.
|
156
|
+
class AutomatedBackupPolicy
|
157
|
+
include ::Google::Protobuf::MessageExts
|
158
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
159
|
+
end
|
160
|
+
|
143
161
|
# @!attribute [rw] key
|
144
162
|
# @return [::String]
|
145
163
|
# @!attribute [rw] value
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-bigtable-admin-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.26.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|