public MapField<string, LocationPolicyLocation> Locations { get; }
Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a.
[[["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 `LocationPolicy` class in the Google.Cloud.Compute.V1 namespace provides configuration options for location preferences, such as zone selection, within a single region."],["The latest version available is 3.6.0, while the current page's focus is on version 2.2.0 of the Google.Cloud.Compute.V1 API's LocationPolicy class."],["The `LocationPolicy` class implements several interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage."],["Key properties of the `LocationPolicy` class include `HasTargetShape`, `Locations`, and `TargetShape`, which allow for setting and managing the distribution of virtual machines (VMs) across zones."],["The `LocationPolicy` class offers two constructors, one default and one that accepts another `LocationPolicy` object as a parameter."]]],[]]