Class: Google::Apis::ComputeV1::DistributionPolicy

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DistributionPolicy

Returns a new instance of DistributionPolicy.



6371
6372
6373
# File 'lib/google/apis/compute_v1/classes.rb', line 6371

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

Instance Attribute Details

#zonesArray<Google::Apis::ComputeV1::DistributionPolicyZoneConfiguration>

Zones where the regional managed instance group will create and manage its instances. Corresponds to the JSON property zones



6369
6370
6371
# File 'lib/google/apis/compute_v1/classes.rb', line 6369

def zones
  @zones
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6376
6377
6378
# File 'lib/google/apis/compute_v1/classes.rb', line 6376

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