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."],[[["This page provides reference documentation for the `GetPolicyRequest` class within the Binary Authorization v1beta1 API, specifically for version 2.0.0-beta07."],["The `GetPolicyRequest` class is used as a request message for retrieving a policy using `BinauthzManagementService.GetPolicy`, inheriting from `object` and implementing several interfaces, such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes a constructor, `GetPolicyRequest()`, and another constructor, `GetPolicyRequest(GetPolicyRequest other)` that accepts another `GetPolicyRequest` object as a parameter."],["The `GetPolicyRequest` class has two properties, `Name`, which is a string representing the resource name of the policy to retrieve, and `PolicyName`, which provides a typed view over the `Name` resource name."],["There are three different versions of this documentation available: 2.0.0-beta08 (latest), 2.0.0-beta07 and 1.0.0-beta05."]]],[]]