public sealed class GetPolicyRequest : IMessage<GetPolicyRequest>, IEquatable<GetPolicyRequest>, IDeepCloneable<GetPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Organization Policy v2 API class GetPolicyRequest.
The request sent to the [GetPolicy]
[google.cloud.orgpolicy.v2.OrgPolicy.GetPolicy] method.
[[["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 documentation for the \u003ccode\u003eGetPolicyRequest\u003c/code\u003e class within the Organization Policy v2 API, specifically for version 2.3.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetPolicyRequest\u003c/code\u003e is a class used to make requests to the \u003ccode\u003eGetPolicy\u003c/code\u003e method, implemented to retrieve a policy resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetPolicyRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eName\u003c/code\u003e and \u003ccode\u003ePolicyName\u003c/code\u003e, with \u003ccode\u003eName\u003c/code\u003e being a string that denotes the required resource name, and \u003ccode\u003ePolicyName\u003c/code\u003e is a typed view of the \u003ccode\u003eName\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetPolicyRequest\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.\u003c/p\u003e\n"],["\u003cp\u003eSeveral previous versions of the API's documentation are listed, from version 1.0.0 all the way up to the latest 2.7.0, in addition to the page being viewed which is 2.3.0.\u003c/p\u003e\n"]]],[],null,[]]