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 available for the \u003ccode\u003eLocationPolicy\u003c/code\u003e class in the Compute Engine v1 API is 3.6.0, with the current page detailing version 3.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLocationPolicy\u003c/code\u003e is a class used for configuring location preferences among multiple possible locations, primarily for zone selection within a region, as defined in the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for message manipulation, equality comparisons, deep cloning, and buffered message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocationPolicy\u003c/code\u003e class contains properties to manage location configurations (\u003ccode\u003eLocations\u003c/code\u003e), specify the distribution strategy of VMs across zones (\u003ccode\u003eTargetShape\u003c/code\u003e), and check if the target shape is set (\u003ccode\u003eHasTargetShape\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThere are 29 versions of the \u003ccode\u003eLocationPolicy\u003c/code\u003e class in the Google Cloud Compute V1 API that are available, each with its own documentation link.\u003c/p\u003e\n"]]],[],null,[]]