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 latest version of the \u003ccode\u003eGoogle.Cloud.Compute.V1.DistributionPolicy\u003c/code\u003e is 3.6.0, with numerous prior versions available for reference, including the current 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistributionPolicy\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, is a sealed class that implements several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistributionPolicy\u003c/code\u003e class has two constructors, one default and one that takes another \u003ccode\u003eDistributionPolicy\u003c/code\u003e object as a parameter for copying, and also inherits members from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDistributionPolicy\u003c/code\u003e class contains properties such as \u003ccode\u003eHasTargetShape\u003c/code\u003e, \u003ccode\u003eTargetShape\u003c/code\u003e, and \u003ccode\u003eZones\u003c/code\u003e that manage the distribution of instances within a managed group.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTargetShape\u003c/code\u003e property sets how the instance group is distributed and converges, with \u003ccode\u003eZones\u003c/code\u003e specifying the regional locations of those managed instances.\u003c/p\u003e\n"]]],[],null,[]]