public sealed class GetPolicyRequest : IMessage<GetPolicyRequest>, IEquatable<GetPolicyRequest>, IDeepCloneable<GetPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Binary Authorization v1 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 documentation is for the \u003ccode\u003eGetPolicyRequest\u003c/code\u003e class within the Google Cloud Binary Authorization v1 API, specifically version 2.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetPolicyRequest\u003c/code\u003e class is used to construct a request for retrieving a policy via the \u003ccode\u003eBinauthzManagementService.GetPolicy\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetPolicyRequest\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and 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 \u003ccode\u003eGetPolicyRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eName\u003c/code\u003e (a string representing the resource name of the policy) and \u003ccode\u003ePolicyName\u003c/code\u003e (a typed view of the resource name).\u003c/p\u003e\n"],["\u003cp\u003eThere are various versions of the Google.Cloud.BinaryAuthorization.V1 API available for this class, ranging from version 1.0.0 to the latest 2.5.0, all with links to their documentation.\u003c/p\u003e\n"]]],[],null,[]]