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\u003eThis webpage provides documentation for the \u003ccode\u003eResourcePolicyGroupPlacementPolicy\u003c/code\u003e class within the Google.Cloud.Compute.V1 namespace, detailing its usage in the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourcePolicyGroupPlacementPolicy\u003c/code\u003e class is used to configure resource placement, including specifying failure bucket separation, and it implements several interfaces like IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers the class's constructors, such as the default constructor and a copy constructor, along with properties like \u003ccode\u003eAvailabilityDomainCount\u003c/code\u003e, \u003ccode\u003eCollocation\u003c/code\u003e, \u003ccode\u003eVmCount\u003c/code\u003e, and their respective "Has" checks.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.6.0 is the most recent release of this class, while version 3.2.0 is the one featured, and there are many other versions available in the documentation, ranging from 1.0.0 to 3.5.0, along with many within the 2.X.X range.\u003c/p\u003e\n"],["\u003cp\u003eThe document outlines the inheritance structure of the \u003ccode\u003eResourcePolicyGroupPlacementPolicy\u003c/code\u003e class, indicating it inherits from \u003ccode\u003eobject\u003c/code\u003e and lists several inherited members such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]