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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 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`."]]],[]]