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-21 UTC."],[[["The `DistributionPolicy` class, found within the `Google.Cloud.Compute.V1` namespace and `Google.Cloud.Compute.V1.dll` assembly, is designed for managing instance distribution policies in Google Cloud."],["This class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its role in handling structured data and cloning."],["It has two constructors, a default constructor and one that takes another `DistributionPolicy` object for copying, allowing for easy initialization and cloning."],["The `DistributionPolicy` class includes properties such as `HasTargetShape`, `TargetShape`, and `Zones` to configure the target shape of distribution and specific zones for instance management."],["The page lists a comprehensive history of the DistributionPolicy through different versions, ranging from 1.0.0 all the way to the latest version of 3.6.0."]]],[]]