public sealed class GetPolicyRequest : IMessage<GetPolicyRequest>, IEquatable<GetPolicyRequest>, IDeepCloneable<GetPolicyRequest>, IBufferMessage, IMessage
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 webpage details the \u003ccode\u003eGetPolicyRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.OrgPolicy.V2\u003c/code\u003e namespace, which is a request object used in the \u003ccode\u003eGetPolicy\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is 2.7.0, and the page provides access to various previous versions, including 2.0.0, down to 1.0.0 of this request object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetPolicyRequest\u003c/code\u003e class implements multiple 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\u003eThe class contains two constructors, one default constructor and one that takes another \u003ccode\u003eGetPolicyRequest\u003c/code\u003e object, and has properties like \u003ccode\u003eName\u003c/code\u003e and \u003ccode\u003ePolicyName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis object retrieves policy information using a resource name, which is a required field, and it is implemented by extending the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]