Class: Google::Bigtable::Admin::V2::Backup
- Inherits:
-
Object
- Object
- Google::Bigtable::Admin::V2::Backup
- Defined in:
- lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb
Overview
A backup of a Cloud Bigtable table.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#end_time ⇒ Google::Protobuf::Timestamp
Output only.
-
#expire_time ⇒ Google::Protobuf::Timestamp
Required.
-
#name ⇒ String
Output only.
-
#size_bytes ⇒ Integer
Output only.
-
#source_table ⇒ String
Required.
-
#start_time ⇒ Google::Protobuf::Timestamp
Output only.
-
#state ⇒ Google::Bigtable::Admin::V2::Backup::State
Output only.
Instance Attribute Details
#end_time ⇒ Google::Protobuf::Timestamp
Returns Output only. end_time
is the time that the backup was finished. The row
data in the backup will be no newer than this timestamp.
260 261 262 263 264 265 266 267 268 269 270 271 272 273 |
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260 class Backup # Indicates the current state of the backup. module State # Not specified. STATE_UNSPECIFIED = 0 # The pending backup is still being created. Operations on the # backup may fail with `FAILED_PRECONDITION` in this state. CREATING = 1 # The backup is complete and ready for use. READY = 2 end end |
#expire_time ⇒ Google::Protobuf::Timestamp
Returns Required. The expiration time of the backup, with microseconds
granularity that must be at least 6 hours and at most 30 days
from the time the request is received. Once the expire_time
has passed, Cloud Bigtable will delete the backup and free the
resources used by the backup.
260 261 262 263 264 265 266 267 268 269 270 271 272 273 |
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260 class Backup # Indicates the current state of the backup. module State # Not specified. STATE_UNSPECIFIED = 0 # The pending backup is still being created. Operations on the # backup may fail with `FAILED_PRECONDITION` in this state. CREATING = 1 # The backup is complete and ready for use. READY = 2 end end |
#name ⇒ String
Returns Output only. A globally unique identifier for the backup which cannot be
changed. Values are of the form
projects/{project}/instances/{instance}/clusters/{cluster}/
backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*
The final segment of the name must be between 1 and 50 characters
in length.
The backup is stored in the cluster identified by the prefix of the backup
name of the form
projects/{project}/instances/{instance}/clusters/{cluster}
.
260 261 262 263 264 265 266 267 268 269 270 271 272 273 |
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260 class Backup # Indicates the current state of the backup. module State # Not specified. STATE_UNSPECIFIED = 0 # The pending backup is still being created. Operations on the # backup may fail with `FAILED_PRECONDITION` in this state. CREATING = 1 # The backup is complete and ready for use. READY = 2 end end |
#size_bytes ⇒ Integer
Returns Output only. Size of the backup in bytes.
260 261 262 263 264 265 266 267 268 269 270 271 272 273 |
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260 class Backup # Indicates the current state of the backup. module State # Not specified. STATE_UNSPECIFIED = 0 # The pending backup is still being created. Operations on the # backup may fail with `FAILED_PRECONDITION` in this state. CREATING = 1 # The backup is complete and ready for use. READY = 2 end end |
#source_table ⇒ String
Returns Required. Immutable. Name of the table from which this backup was created.
This needs to be in the same instance as the backup. Values are of the form
projects/{project}/instances/{instance}/tables/{source_table}
.
260 261 262 263 264 265 266 267 268 269 270 271 272 273 |
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260 class Backup # Indicates the current state of the backup. module State # Not specified. STATE_UNSPECIFIED = 0 # The pending backup is still being created. Operations on the # backup may fail with `FAILED_PRECONDITION` in this state. CREATING = 1 # The backup is complete and ready for use. READY = 2 end end |
#start_time ⇒ Google::Protobuf::Timestamp
Returns Output only. start_time
is the time that the backup was started
(i.e. approximately the time the
CreateBackup
request is received). The row data in this backup will be no older than
this timestamp.
260 261 262 263 264 265 266 267 268 269 270 271 272 273 |
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260 class Backup # Indicates the current state of the backup. module State # Not specified. STATE_UNSPECIFIED = 0 # The pending backup is still being created. Operations on the # backup may fail with `FAILED_PRECONDITION` in this state. CREATING = 1 # The backup is complete and ready for use. READY = 2 end end |
#state ⇒ Google::Bigtable::Admin::V2::Backup::State
Returns Output only. The current state of the backup.
260 261 262 263 264 265 266 267 268 269 270 271 272 273 |
# File 'lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb', line 260 class Backup # Indicates the current state of the backup. module State # Not specified. STATE_UNSPECIFIED = 0 # The pending backup is still being created. Operations on the # backup may fail with `FAILED_PRECONDITION` in this state. CREATING = 1 # The backup is complete and ready for use. READY = 2 end end |