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 documentation covers the `GetPolicyRequest` class, which is part of the Google Cloud Binary Authorization v1 API, specifically within version 2.2.0."],["`GetPolicyRequest` is used to send a request message to retrieve a policy via the `BinauthzManagementService.GetPolicy` method, as defined by the API."],["The `GetPolicyRequest` class implements several interfaces, including `IMessage`, `IEquatable\u003cGetPolicyRequest\u003e`, `IDeepCloneable\u003cGetPolicyRequest\u003e`, and `IBufferMessage`."],["The class has two constructors: a default constructor and one that takes another `GetPolicyRequest` object as a parameter, and also contains a required string property `Name` and a `PolicyName` property."],["The documentation provides access to the history of the `GetPolicyRequest`, showing versions ranging from 1.0.0 up to the most current one, version 2.5.0, all found in the sidebar."]]],[]]