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 \u003ccode\u003eLocationPolicy\u003c/code\u003e class in the Google.Cloud.Compute.V1 namespace provides configuration options for location preferences, such as zone selection, within a single region.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocationPolicy\u003c/code\u003e class implements several interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eLocationPolicy\u003c/code\u003e class include \u003ccode\u003eHasTargetShape\u003c/code\u003e, \u003ccode\u003eLocations\u003c/code\u003e, and \u003ccode\u003eTargetShape\u003c/code\u003e, which allow for setting and managing the distribution of virtual machines (VMs) across zones.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocationPolicy\u003c/code\u003e class offers two constructors, one default and one that accepts another \u003ccode\u003eLocationPolicy\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]