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\u003eThis webpage provides documentation for the \u003ccode\u003eLocationPolicy\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, detailing its use in configuring location policies for Google Cloud Compute resources.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocationPolicy\u003c/code\u003e class is implemented across multiple versions, ranging from 1.0.0 to the latest version 3.6.0, with links to each version's specific documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocationPolicy\u003c/code\u003e class supports setting preferences for location selections, such as specifying preferred zones within a region.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocationPolicy\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities in message handling, comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eKey features of the LocationPolicy include a constructor, and a Locations property, which is a MapField, allowing location configurations to be mapped by location name, such as zones.\u003c/p\u003e\n"]]],[],null,[]]