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 latest version of the Google.Cloud.Compute.V1 API for LocationPolicy is 3.6.0, with multiple previous versions available, down to version 1.0.0, as seen in the version history."],["The LocationPolicy class, used for configuring location preferences, implements multiple interfaces, including IMessage, IEquatable, IDeepCloneable, and IBufferMessage."],["The class LocationPolicy contains properties to define location configurations, and allows for a strategy to distribute virtual machines across different zones in a region using the TargetShape property."],["The class allows for the mapping of locations by name with the Locations property, which supports valid internal URLs such as zones/us-central1-a."],["There are two constructors, one empty and one taking in another instance of LocationPolicy, and the properties allow for reading of \"HasTargetShape\", and to get or set the fields \"Locations\" and \"TargetShape\"."]]],[]]