Class: Google::Apis::RedisV1::ExportBackupRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/representations.rb

Overview

Request for [ExportBackup].

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExportBackupRequest

Returns a new instance of ExportBackupRequest.



1427
1428
1429
# File 'lib/google/apis/redis_v1/classes.rb', line 1427

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

Instance Attribute Details

#gcs_bucketString

Google Cloud Storage bucket, like "my-bucket". Corresponds to the JSON property gcsBucket

Returns:

  • (String)


1425
1426
1427
# File 'lib/google/apis/redis_v1/classes.rb', line 1425

def gcs_bucket
  @gcs_bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1432
1433
1434
# File 'lib/google/apis/redis_v1/classes.rb', line 1432

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