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-04-09 UTC."],[[["The latest version available for the `LocationPolicy` class in the Compute Engine v1 API is 3.6.0, with the current page detailing version 3.3.0."],["`LocationPolicy` is a class used for configuring location preferences among multiple possible locations, primarily for zone selection within a region, as defined in the Compute Engine v1 API."],["This class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, allowing for message manipulation, equality comparisons, deep cloning, and buffered message handling."],["The `LocationPolicy` class contains properties to manage location configurations (`Locations`), specify the distribution strategy of VMs across zones (`TargetShape`), and check if the target shape is set (`HasTargetShape`)."],["There are 29 versions of the `LocationPolicy` class in the Google Cloud Compute V1 API that are available, each with its own documentation link."]]],[]]