Class: Google::Apis::ComputeAlpha::MultiMigLocationPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::MultiMigLocationPolicy
- 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
-
#provisioning_zones ⇒ Array<String>
List of zones where managed instance groups will be provisioned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MultiMigLocationPolicy
constructor
A new instance of MultiMigLocationPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_zones ⇒ Array<String>
List of zones where managed instance groups will be provisioned. Should be
valid RFC1035 name.
Corresponds to the JSON property provisioningZones
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 |