public sealed class ResourcePolicyGroupPlacementPolicy : IMessage<ResourcePolicyGroupPlacementPolicy>, IEquatable<ResourcePolicyGroupPlacementPolicy>, IDeepCloneable<ResourcePolicyGroupPlacementPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class ResourcePolicyGroupPlacementPolicy.
A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation
The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network.
Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version available for \u003ccode\u003eResourcePolicyGroupPlacementPolicy\u003c/code\u003e is 3.6.0, but this page is specifically for version 3.0.0, and there are several other versions listed ranging from 1.0.0 to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResourcePolicyGroupPlacementPolicy\u003c/code\u003e is a class within the Compute Engine v1 API, specifically found under the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, which specifies the resource placement configuration.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for message handling, comparison, cloning, and buffering.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eResourcePolicyGroupPlacementPolicy\u003c/code\u003e has properties like \u003ccode\u003eAvailabilityDomainCount\u003c/code\u003e and \u003ccode\u003eVmCount\u003c/code\u003e, along with \u003ccode\u003eCollocation\u003c/code\u003e, which allow configuring the number of availability domains, the number of VMs in a group, and network collocation preferences.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for this class, one that creates a default instance, and another that allows creating a copy of an existing \u003ccode\u003eResourcePolicyGroupPlacementPolicy\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]