Class: Google::Apis::StorageV1::RelocateBucketRequest::DestinationCustomPlacementConfig

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

Overview

The bucket's new custom placement configuration if relocating to a Custom Dual Region.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DestinationCustomPlacementConfig

Returns a new instance of DestinationCustomPlacementConfig.



3004
3005
3006
# File 'lib/google/apis/storage_v1/classes.rb', line 3004

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

Instance Attribute Details

#data_locationsArray<String>

The list of regional locations in which data is placed. Corresponds to the JSON property dataLocations

Returns:

  • (Array<String>)


3002
3003
3004
# File 'lib/google/apis/storage_v1/classes.rb', line 3002

def data_locations
  @data_locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3009
3010
3011
# File 'lib/google/apis/storage_v1/classes.rb', line 3009

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