public sealed class DistributionPolicy : IMessage<DistributionPolicy>, IEquatable<DistributionPolicy>, IDeepCloneable<DistributionPolicy>, IBufferMessage, IMessage
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
Check the TargetShape enum for the list of possible values.
[[["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 \u003ccode\u003eDistributionPolicy\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, is a core component for defining the distribution of instances across zones.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<DistributionPolicy>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<DistributionPolicy>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, showcasing its integration within the Google Cloud .NET framework and its capabilities.\u003c/p\u003e\n"],["\u003cp\u003eIt is possible to interact with various versions of this Distribution policy class, ranging from version 1.0.0 to the most recent 3.6.0, offering flexibility to adapt to the desired version.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eHasTargetShape\u003c/code\u003e, \u003ccode\u003eTargetShape\u003c/code\u003e, and \u003ccode\u003eZones\u003c/code\u003e, allowing configuration of the distribution shape and the zones that will be managed by the regional managed instance group.\u003c/p\u003e\n"]]],[],null,[]]