class Google::Apis::ComputeBeta::DistributionPolicy
Attributes
target_shape[RW]
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy. instanceRedistributionType). Corresponds to the JSON property `targetShape` @return [String]
zones[RW]
Zones where the regional managed instance group will create and manage its instances. Corresponds to the JSON property `zones` @return [Array<Google::Apis::ComputeBeta::DistributionPolicyZoneConfiguration>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 6934 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_beta/classes.rb, line 6939 def update!(**args) @target_shape = args[:target_shape] if args.key?(:target_shape) @zones = args[:zones] if args.key?(:zones) end