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."],[[["This page provides documentation for the `DistributionPolicy` class within the `Google.Cloud.Compute.V1` namespace, detailing its properties and usage across different versions."],["Version 3.6.0 is the latest version, and the page lists all available versions of the `DistributionPolicy` class, starting from 3.6.0 down to 1.0.0, each with their own linked documentation."],["The `DistributionPolicy` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base `object` class."],["Key properties of the `DistributionPolicy` class include `HasTargetShape`, `TargetShape`, and `Zones`, which manage the target distribution and zones for instance groups."],["The class has two constructors, one default and another which takes another `DistributionPolicy` instance, to provide flexibility when making new instances of the class."]]],[]]