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 managed instance groups. Initially only zonal managed instance groups 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.



29546
29547
29548
# File 'lib/google/apis/compute_alpha/classes.rb', line 29546

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

Instance Attribute Details

#provisioning_zonesArray<String>

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

Returns:

  • (Array<String>)


29544
29545
29546
# File 'lib/google/apis/compute_alpha/classes.rb', line 29544

def provisioning_zones
  @provisioning_zones
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29551
29552
29553
# File 'lib/google/apis/compute_alpha/classes.rb', line 29551

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