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."],[[["This document provides reference documentation for the `GetPolicyRequest` class within the Binary Authorization v1 API, specifically version 2.4.0."],["`GetPolicyRequest` is a request message used to retrieve a policy via `BinauthzManagementService.GetPolicy`."],["The `GetPolicyRequest` class inherits from `object` and implements interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["It includes constructors for creating a new `GetPolicyRequest` instance, and contains properties such as `Name` (a string) and `PolicyName`, which is a typed view over the `Name` property, to identify the specific policy being requested."],["The `Name` property, which holds the resource name of the policy to retrieve, is a required field in the format `projects/*/policy`."]]],[]]