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"]],[["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 Google Cloud Organization Policy v2 API."],["The latest version of the API is 2.7.0, and there are multiple prior versions available, dating back to version 1.0.0."],["`GetPolicyRequest` implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` in its functionality."],["The `GetPolicyRequest` class includes two constructors and properties, such as `Name`, which is the resource name of the policy, and `PolicyName`, a typed view over the resource name property."],["This class is used to construct the request for the `GetPolicy` method, and it inherits methods from the base `object` class such as `GetHashCode`, `GetType`, and `ToString`."]]],[]]