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.



1983
1984
1985
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1983

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>)


1981
1982
1983
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1981

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1988
1989
1990
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 1988

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