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\u003eThe latest version available is 2.7.0, with several previous versions accessible, including 2.6.0, 2.5.0, 2.4.0, 2.3.0, 2.2.0, 2.1.0, 2.0.0, 1.2.0, 1.1.0, and 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicy\u003c/code\u003e class, residing within the \u003ccode\u003eGoogle.Cloud.OrgPolicy.V2\u003c/code\u003e namespace, is used to specify \u003ccode\u003eConstraints\u003c/code\u003e for configurations of Cloud Platform resources.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicy\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and 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 robust functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003ePolicy\u003c/code\u003e includes properties such as \u003ccode\u003eAlternate\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003ePolicyName\u003c/code\u003e, and \u003ccode\u003eSpec\u003c/code\u003e, which provide information about the Organization Policy.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property of the \u003ccode\u003ePolicy\u003c/code\u003e class is immutable and follows specific formats depending on the resource type, be it a project, folder, or organization.\u003c/p\u003e\n"]]],[],null,[]]