public sealed class GetIamPolicyRequest : IMessage<GetIamPolicyRequest>, IEquatable<GetIamPolicyRequest>, IDeepCloneable<GetIamPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Identity and Access Management (IAM) v1 API class GetIamPolicyRequest.
[[["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-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGetIamPolicyRequest\u003c/code\u003e class is part of the Google Cloud Identity and Access Management (IAM) v1 API, serving as the request message for the \u003ccode\u003eGetIamPolicy\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class has multiple available versions, with 3.4.0 being the latest and versions available back to 2.2.0, all of which are documented.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetIamPolicyRequest\u003c/code\u003e class implements several interfaces, including \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\u003eIt has properties for \u003ccode\u003eOptions\u003c/code\u003e (of type \u003ccode\u003eGetPolicyOptions\u003c/code\u003e) to specify retrieval options, and \u003ccode\u003eResource\u003c/code\u003e (of type string) which is required and indicates which resource to retrieve a policy for.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors that allow creating a new \u003ccode\u003eGetIamPolicyRequest\u003c/code\u003e object, or one based off of another, existing \u003ccode\u003eGetIamPolicyRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]