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 provided content outlines the different versions of the \u003ccode\u003eGoogle.Cloud.Compute.V1.DistributionPolicy\u003c/code\u003e class, ranging from version 1.0.0 to the latest version, 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eDistributionPolicy\u003c/code\u003e, is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is implemented as a sealed class within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDistributionPolicy\u003c/code\u003e 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, and inherits members from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistributionPolicy\u003c/code\u003e class includes properties like \u003ccode\u003eHasTargetShape\u003c/code\u003e, \u003ccode\u003eTargetShape\u003c/code\u003e, and \u003ccode\u003eZones\u003c/code\u003e, which control the behavior and distribution of instances in a managed instance group.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the class \u003ccode\u003eDistributionPolicy\u003c/code\u003e, one taking in no arguments and another taking in a \u003ccode\u003eDistributionPolicy\u003c/code\u003e object as an argument.\u003c/p\u003e\n"]]],[],null,[]]