class Google::Apis::ComputeBeta::ResourcePolicyGroupPlacementPolicy
A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality
Attributes
availability_domain_count[RW]
The number of availability domains instances will be spread across. If two instances are in different availability domain, they will not be put in the same low latency network Corresponds to the JSON property `availabilityDomainCount` @return [Fixnum]
collocation[RW]
Specifies network collocation Corresponds to the JSON property `collocation` @return [String]
vm_count[RW]
Number of vms in this placement group Corresponds to the JSON property `vmCount` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 28327 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 28332 def update!(**args) @availability_domain_count = args[:availability_domain_count] if args.key?(:availability_domain_count) @collocation = args[:collocation] if args.key?(:collocation) @vm_count = args[:vm_count] if args.key?(:vm_count) end