[[["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-28 UTC."],[],[],null,["# Google API Common Protos V1 Client - Class GetIamPolicyRequest (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Cloud.Iam.V1.GetIamPolicyRequest)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Cloud.Iam.V1.GetIamPolicyRequest)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Cloud.Iam.V1.GetIamPolicyRequest)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Cloud.Iam.V1.GetIamPolicyRequest)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Cloud.Iam.V1.GetIamPolicyRequest)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Cloud.Iam.V1.GetIamPolicyRequest) \nReference documentation and code samples for the Google API Common Protos V1 Client class GetIamPolicyRequest.\n\nRequest message for `GetIamPolicy` method.\n\nGenerated from protobuf message `google.iam.v1.GetIamPolicyRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Iam \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getResource\n\nREQUIRED: The resource for which the policy is being requested.\n\nSee the operation documentation for the appropriate value for this field.\n\n### setResource\n\nREQUIRED: The resource for which the policy is being requested.\n\nSee the operation documentation for the appropriate value for this field.\n\n### getOptions\n\nOPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`.\n\n### hasOptions\n\n### clearOptions\n\n### setOptions\n\nOPTIONAL: A `GetPolicyOptions` object for specifying options to\n`GetIamPolicy`."]]