public sealed class GetPolicyRequest : IMessage<GetPolicyRequest>, IEquatable<GetPolicyRequest>, IDeepCloneable<GetPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Binary Authorization v1beta1 API class GetPolicyRequest.
Request message for [BinauthzManagementService.GetPolicy][].
[[["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 page provides reference documentation for the \u003ccode\u003eGetPolicyRequest\u003c/code\u003e class within the Binary Authorization v1beta1 API, specifically for version 2.0.0-beta07.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetPolicyRequest\u003c/code\u003e class is used as a request message for retrieving a policy using \u003ccode\u003eBinauthzManagementService.GetPolicy\u003c/code\u003e, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing several interfaces, such as \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 includes a constructor, \u003ccode\u003eGetPolicyRequest()\u003c/code\u003e, and another constructor, \u003ccode\u003eGetPolicyRequest(GetPolicyRequest other)\u003c/code\u003e that accepts another \u003ccode\u003eGetPolicyRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetPolicyRequest\u003c/code\u003e class has two properties, \u003ccode\u003eName\u003c/code\u003e, which is a string representing the resource name of the policy to retrieve, and \u003ccode\u003ePolicyName\u003c/code\u003e, which provides a typed view over the \u003ccode\u003eName\u003c/code\u003e resource name.\u003c/p\u003e\n"],["\u003cp\u003eThere are three different versions of this documentation available: 2.0.0-beta08 (latest), 2.0.0-beta07 and 1.0.0-beta05.\u003c/p\u003e\n"]]],[],null,[]]