A snapshot of a table at a particular time. A snapshot can be used as a checkpoint for data restoration or a data source for a new table.
Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time when the snapshot is created.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Output only. The time when the snapshot is created.
- (::Google::Protobuf::Timestamp) — Output only. The time when the snapshot is created.
#data_size_bytes
def data_size_bytes() -> ::Integer
- (::Integer) — Output only. The size of the data in the source table at the time the snapshot was taken. In some cases, this value may be computed asynchronously via a background process and a placeholder of 0 will be used in the meantime.
#data_size_bytes=
def data_size_bytes=(value) -> ::Integer
- value (::Integer) — Output only. The size of the data in the source table at the time the snapshot was taken. In some cases, this value may be computed asynchronously via a background process and a placeholder of 0 will be used in the meantime.
- (::Integer) — Output only. The size of the data in the source table at the time the snapshot was taken. In some cases, this value may be computed asynchronously via a background process and a placeholder of 0 will be used in the meantime.
#delete_time
def delete_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time when the snapshot will be deleted. The maximum amount of time a snapshot can stay active is 365 days. If 'ttl' is not specified, the default maximum of 365 days will be used.
#delete_time=
def delete_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Output only. The time when the snapshot will be deleted. The maximum amount of time a snapshot can stay active is 365 days. If 'ttl' is not specified, the default maximum of 365 days will be used.
- (::Google::Protobuf::Timestamp) — Output only. The time when the snapshot will be deleted. The maximum amount of time a snapshot can stay active is 365 days. If 'ttl' is not specified, the default maximum of 365 days will be used.
#description
def description() -> ::String
- (::String) — Output only. Description of the snapshot.
#description=
def description=(value) -> ::String
- value (::String) — Output only. Description of the snapshot.
- (::String) — Output only. Description of the snapshot.
#name
def name() -> ::String
-
(::String) — Output only. The unique name of the snapshot.
Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}
.
#name=
def name=(value) -> ::String
-
value (::String) — Output only. The unique name of the snapshot.
Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}
.
-
(::String) — Output only. The unique name of the snapshot.
Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}
.
#source_table
def source_table() -> ::Google::Cloud::Bigtable::Admin::V2::Table
- (::Google::Cloud::Bigtable::Admin::V2::Table) — Output only. The source table at the time the snapshot was taken.
#source_table=
def source_table=(value) -> ::Google::Cloud::Bigtable::Admin::V2::Table
- value (::Google::Cloud::Bigtable::Admin::V2::Table) — Output only. The source table at the time the snapshot was taken.
- (::Google::Cloud::Bigtable::Admin::V2::Table) — Output only. The source table at the time the snapshot was taken.
#state
def state() -> ::Google::Cloud::Bigtable::Admin::V2::Snapshot::State
- (::Google::Cloud::Bigtable::Admin::V2::Snapshot::State) — Output only. The current state of the snapshot.
#state=
def state=(value) -> ::Google::Cloud::Bigtable::Admin::V2::Snapshot::State
- value (::Google::Cloud::Bigtable::Admin::V2::Snapshot::State) — Output only. The current state of the snapshot.
- (::Google::Cloud::Bigtable::Admin::V2::Snapshot::State) — Output only. The current state of the snapshot.