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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-31 UTC."],[[["The latest version of the `Google.Cloud.Compute.V1.DistributionPolicy` is 3.6.0, with numerous prior versions available for reference, including the current 2.5.0."],["The `DistributionPolicy` class, part of the `Google.Cloud.Compute.V1` namespace, is a sealed class that implements several interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `DistributionPolicy` class has two constructors, one default and one that takes another `DistributionPolicy` object as a parameter for copying, and also inherits members from the base `Object` class."],["The `DistributionPolicy` class contains properties such as `HasTargetShape`, `TargetShape`, and `Zones` that manage the distribution of instances within a managed group."],["The `TargetShape` property sets how the instance group is distributed and converges, with `Zones` specifying the regional locations of those managed instances."]]],[]]