public sealed class GetResourcePolicyRequest : IMessage<GetResourcePolicyRequest>, IEquatable<GetResourcePolicyRequest>, IDeepCloneable<GetResourcePolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class GetResourcePolicyRequest.
A request message for ResourcePolicies.Get. See the method description for details.
[[["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-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGetResourcePolicyRequest\u003c/code\u003e class is part of the Google Cloud Compute Engine v1 API, and is used to create a request message for retrieving resource policy details.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API documented is 3.6.0, with a historical record of versions down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eProject\u003c/code\u003e, \u003ccode\u003eRegion\u003c/code\u003e, and \u003ccode\u003eResourcePolicy\u003c/code\u003e, all of which are strings and are used to define the scope and name of the resource policy in the request.\u003c/p\u003e\n"],["\u003cp\u003eThe document details two constructors, a parameter-less option, and one that takes a \u003ccode\u003eGetResourcePolicyRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]