Class: Google::Cloud::Spanner::Admin::Database::V1::BackupSchedule
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::Admin::Database::V1::BackupSchedule
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/spanner/admin/database/v1/backup_schedule.rb
Overview
BackupSchedule expresses the automated backup creation specification for a Spanner database. Next ID: 10
Instance Attribute Summary collapse
-
#encryption_config ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::CreateBackupEncryptionConfig
Optional.
-
#full_backup_spec ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::FullBackupSpec
The schedule creates only full backups.
-
#incremental_backup_spec ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::IncrementalBackupSpec
The schedule creates incremental backup chains.
-
#name ⇒ ::String
Identifier.
-
#retention_duration ⇒ ::Google::Protobuf::Duration
Optional.
-
#spec ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::BackupScheduleSpec
Optional.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#encryption_config ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::CreateBackupEncryptionConfig
Returns Optional. The encryption configuration that will be used to encrypt the backup. If this field is not specified, the backup will use the same encryption configuration as the database.
74 75 76 77 |
# File 'proto_docs/google/spanner/admin/database/v1/backup_schedule.rb', line 74 class BackupSchedule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#full_backup_spec ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::FullBackupSpec
Returns The schedule creates only full backups.
74 75 76 77 |
# File 'proto_docs/google/spanner/admin/database/v1/backup_schedule.rb', line 74 class BackupSchedule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#incremental_backup_spec ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::IncrementalBackupSpec
Returns The schedule creates incremental backup chains.
74 75 76 77 |
# File 'proto_docs/google/spanner/admin/database/v1/backup_schedule.rb', line 74 class BackupSchedule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Identifier. Output only for the
[CreateBackupSchedule][DatabaseAdmin.CreateBackupSchededule] operation.
Required for the
UpdateBackupSchedule
operation. A globally unique identifier for the backup schedule which
cannot be changed. Values are of the form
projects/<project>/instances/<instance>/databases/<database>/backupSchedules/[a-z][a-z0-9_\-]*[a-z0-9]
The final segment of the name must be between 2 and 60 characters in
length.
74 75 76 77 |
# File 'proto_docs/google/spanner/admin/database/v1/backup_schedule.rb', line 74 class BackupSchedule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#retention_duration ⇒ ::Google::Protobuf::Duration
Returns Optional. The retention duration of a backup that must be at least 6 hours and at most 366 days. The backup is eligible to be automatically deleted once the retention period has elapsed.
74 75 76 77 |
# File 'proto_docs/google/spanner/admin/database/v1/backup_schedule.rb', line 74 class BackupSchedule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#spec ⇒ ::Google::Cloud::Spanner::Admin::Database::V1::BackupScheduleSpec
Returns Optional. The schedule specification based on which the backup creations are triggered.
74 75 76 77 |
# File 'proto_docs/google/spanner/admin/database/v1/backup_schedule.rb', line 74 class BackupSchedule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The timestamp at which the schedule was last updated. If the schedule has never been updated, this field contains the timestamp when the schedule was first created.
74 75 76 77 |
# File 'proto_docs/google/spanner/admin/database/v1/backup_schedule.rb', line 74 class BackupSchedule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |