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.



2010
2011
2012
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2010

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

Instance Attribute Details

#urisArray<String>

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

Returns:

  • (Array<String>)


2008
2009
2010
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2008

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2015
2016
2017
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 2015

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