class Google::Apis::ComputeV1::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::ComputeV1::DistributionPolicyZoneConfiguration>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 6358
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_v1/classes.rb, line 6363
def update!(**args)
  @target_shape = args[:target_shape] if args.key?(:target_shape)
  @zones = args[:zones] if args.key?(:zones)
end