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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003eThe LocationPolicy class, used for configuring location preferences, implements multiple interfaces, including IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows for the mapping of locations by name with the Locations property, which supports valid internal URLs such as zones/us-central1-a.\u003c/p\u003e\n"],["\u003cp\u003eThere 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".\u003c/p\u003e\n"]]],[],null,[]]