Class: Google::Cloud::Spanner::Admin::Database::V1::Backup
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::Admin::Database::V1::Backup
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/spanner/admin/database/v1/backup.rb
Overview
A backup of a Cloud Spanner database.
Defined Under Namespace
Modules: State
Instance Attribute Summary collapse
-
#backup_schedules ⇒ ::Array<::String>
readonly
Output only.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#database ⇒ ::String
Required for the CreateBackup operation.
-
#database_dialect ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::DatabaseDialect
readonly
Output only.
-
#encryption_info ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::EncryptionInfo
readonly
Output only.
-
#encryption_information ⇒ ::Array<::Google::Cloud::Spanner::Admin::Database::V1::EncryptionInfo>
readonly
Output only.
-
#exclusive_size_bytes ⇒ ::Integer
readonly
Output only.
-
#expire_time ⇒ ::Google::Protobuf::Timestamp
Required for the CreateBackup operation.
-
#freeable_size_bytes ⇒ ::Integer
readonly
Output only.
-
#incremental_backup_chain_id ⇒ ::String
readonly
Output only.
-
#instance_partitions ⇒ ::Array<::Google::Cloud::Spanner::Admin::Database::V1::BackupInstancePartition>
readonly
Output only.
-
#max_expire_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#name ⇒ ::String
Output only for the CreateBackup operation.
-
#oldest_version_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#referencing_backups ⇒ ::Array<::String>
readonly
Output only.
-
#referencing_databases ⇒ ::Array<::String>
readonly
Output only.
-
#size_bytes ⇒ ::Integer
readonly
Output only.
-
#state ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::Backup::State
readonly
Output only.
-
#version_time ⇒ ::Google::Protobuf::Timestamp
The backup will contain an externally consistent copy of the database at the timestamp specified by
version_time.
Instance Attribute Details
#backup_schedules ⇒ ::Array<::String> (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#database ⇒ ::String
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#database_dialect ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::DatabaseDialect (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#encryption_info ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::EncryptionInfo (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#encryption_information ⇒ ::Array<::Google::Cloud::Spanner::Admin::Database::V1::EncryptionInfo> (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#exclusive_size_bytes ⇒ ::Integer (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#freeable_size_bytes ⇒ ::Integer (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#incremental_backup_chain_id ⇒ ::String (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#instance_partitions ⇒ ::Array<::Google::Cloud::Spanner::Admin::Database::V1::BackupInstancePartition> (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#max_expire_time ⇒ ::Google::Protobuf::Timestamp (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#oldest_version_time ⇒ ::Google::Protobuf::Timestamp (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#referencing_backups ⇒ ::Array<::String> (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#referencing_databases ⇒ ::Array<::String> (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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::Cloud::Spanner::Admin::Database::V1::Backup::State (readonly)
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |
#version_time ⇒ ::Google::Protobuf::Timestamp
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'proto_docs/google/spanner/admin/database/v1/backup.rb', line 168 class Backup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |