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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/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.



5958
5959
5960
# File 'generated/google/apis/compute_v1/classes.rb', line 5958

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



5956
5957
5958
# File 'generated/google/apis/compute_v1/classes.rb', line 5956

def zones
  @zones
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5963
5964
5965
# File 'generated/google/apis/compute_v1/classes.rb', line 5963

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