Immutable. The resource name of the Policy. Must be one of the following
forms, where constraint_name is the name of the constraint which this
Policy configures:
For example, "projects/123/policies/compute.disableSerialPortAccess".
Note: projects/{project_id}/policies/{constraint_name} is also an
acceptable name for API requests, but responses will return the name using
the equivalent project number.
[[["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-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003ePolicy\u003c/code\u003e class within the Google Cloud Organization Policy v2 API, specifically for version 2.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicy\u003c/code\u003e class is used to define \u003ccode\u003eConstraints\u003c/code\u003e for configurations of Cloud Platform resources, and its resource name can be structured for projects, folders, or organizations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicy\u003c/code\u003e class includes properties like \u003ccode\u003eAlternate\u003c/code\u003e (deprecated), \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003ePolicyName\u003c/code\u003e, and \u003ccode\u003eSpec\u003c/code\u003e which provide details and configuration options for the policy.\u003c/p\u003e\n"],["\u003cp\u003eThis API includes access to various previous versions, with the latest being 2.7.0 and the earliest being 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces like IMessage, IEquatable, IDeepCloneable, and IBufferMessage and inherits members from the base Object class.\u003c/p\u003e\n"]]],[],null,[]]