Class: Google::Apis::ComputeAlpha::MultiMigLocationPolicy

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

Overview

Policy regarding where to create MIGs Initially only zonal MIGs in the same zone are supported.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MultiMigLocationPolicy

Returns a new instance of MultiMigLocationPolicy.



27126
27127
27128
# File 'lib/google/apis/compute_alpha/classes.rb', line 27126

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

Instance Attribute Details

#provisioning_zonesArray<String>

List of zones where MIGs will be provisioned. Should be valid RFC1035 name Corresponds to the JSON property provisioningZones

Returns:

  • (Array<String>)


27124
27125
27126
# File 'lib/google/apis/compute_alpha/classes.rb', line 27124

def provisioning_zones
  @provisioning_zones
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27131
27132
27133
# File 'lib/google/apis/compute_alpha/classes.rb', line 27131

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