Class: Google::Apis::RedisV1beta1::GcsBackupSource
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1beta1::GcsBackupSource
- 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 stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the clusters.
Instance Attribute Summary collapse
-
#uris ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GcsBackupSource
constructor
A new instance of GcsBackupSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GcsBackupSource
Returns a new instance of GcsBackupSource.
1572 1573 1574 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1572 def initialize(**args) update!(**args) end |
Instance Attribute Details
#uris ⇒ Array<String>
Optional. URIs of the GCS objects to import. Example: gs://bucket1/object1, gs:
//bucket2/folder2/object2
Corresponds to the JSON property uris
1570 1571 1572 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1570 def uris @uris end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1577 1578 1579 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1577 def update!(**args) @uris = args[:uris] if args.key?(:uris) end |