public sealed class GetPolicyRequest : IMessage<GetPolicyRequest>, IEquatable<GetPolicyRequest>, IDeepCloneable<GetPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Organization Policy v2 API class GetPolicyRequest.
The request sent to the [GetPolicy]
[google.cloud.orgpolicy.v2.OrgPolicy.GetPolicy] method.
[[["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 page provides reference documentation for the `GetPolicyRequest` class within the Organization Policy v2 API, specifically for version 2.6.0."],["The `GetPolicyRequest` class is used to request the retrieval of a policy via the `GetPolicy` method and implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class includes properties for `Name` (a string representing the policy's resource name) and `PolicyName` (a `PolicyName`-typed view over the `Name` property), essential for identifying and accessing specific policies."],["The documentation lists the history of the API, from v1.0.0 to v2.7.0 (latest) which is not the version covered in this page."]]],[]]