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 document provides reference documentation for the \u003ccode\u003eLocationPolicy\u003c/code\u003e class within the Google Cloud Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version of the \u003ccode\u003eLocationPolicy\u003c/code\u003e documentation is version 3.6.0, and the page lists versions from 1.0.0 to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLocationPolicy\u003c/code\u003e is used to configure the desired location policy among multiple possible locations, such as when selecting zones within a region.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocationPolicy\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e and inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties such as \u003ccode\u003eHasTargetShape\u003c/code\u003e, \u003ccode\u003eLocations\u003c/code\u003e (a map of location configurations), and \u003ccode\u003eTargetShape\u003c/code\u003e to manage location-specific settings for virtual machines.\u003c/p\u003e\n"]]],[],null,[]]