Class: Google::Apis::RedisV1beta1::GcsBackupSource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GcsBackupSource

Returns a new instance of GcsBackupSource.



1490
1491
1492
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1490

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#urisArray<String>

Optional. URIs of the GCS objects to import. Example: gs://bucket1/object1, gs: //bucket2/folder2/object2 Corresponds to the JSON property uris

Returns:

  • (Array<String>)


1488
1489
1490
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1488

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1495
1496
1497
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1495

def update!(**args)
  @uris = args[:uris] if args.key?(:uris)
end