Class: Google::Apis::RedisV1beta1::ManagedBackupSource
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1beta1::ManagedBackupSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/redis_v1beta1/classes.rb,
lib/google/apis/redis_v1beta1/representations.rb,
lib/google/apis/redis_v1beta1/representations.rb
Overview
Backups that generated and managed by memorystore.
Instance Attribute Summary collapse
-
#backup ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedBackupSource
constructor
A new instance of ManagedBackupSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ManagedBackupSource
Returns a new instance of ManagedBackupSource.
2499 2500 2501 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2499 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup ⇒ String
Optional. Example: //redis.googleapis.com/projects/project/locations/
location/backupCollections/collection/backups/backup A shorter version (
without the prefix) of the backup name is also supported, like projects/
project/locations/location/backupCollections/collection/backups/
backup_id In this case, it assumes the backup is under redis.googleapis.com.
Corresponds to the JSON property backup
2497 2498 2499 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2497 def backup @backup end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2504 2505 2506 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2504 def update!(**args) @backup = args[:backup] if args.key?(:backup) end |