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\u003eThis document details the \u003ccode\u003eDistributionPolicy\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, outlining its structure, properties, and inheritance from other classes, including various version numbers.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version of this class is 3.6.0, however it includes details dating back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistributionPolicy\u003c/code\u003e class, which implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, offers properties such as \u003ccode\u003eHasTargetShape\u003c/code\u003e, \u003ccode\u003eTargetShape\u003c/code\u003e, and \u003ccode\u003eZones\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eDistributionPolicy\u003c/code\u003e supports two constructors, a default one and one that takes another \u003ccode\u003eDistributionPolicy\u003c/code\u003e object as an argument for replication.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDistributionPolicy\u003c/code\u003e is used for managing the distribution of instances in a managed instance group across zones, as indicated by the \u003ccode\u003eZones\u003c/code\u003e property.\u003c/p\u003e\n"]]],[],null,[]]