Optional. The maximum policy version that will be used to format the
policy.
Valid values are 0, 1, and 3. Requests specifying an invalid value will be
rejected.
Requests for policies with any conditional role bindings must specify
version 3. Policies with no conditional role bindings may specify any valid
value or leave the field unset.
The policy in the response might use the policy version that you specified,
or it might use a lower policy version. For example, if you specify version
3, but the policy has no conditional role bindings, the response uses
version 1.
To learn which resources support conditions in their IAM policies, see the
IAM
documentation.
[[["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."],[[["\u003cp\u003eThis page details the \u003ccode\u003eGetPolicyOptions\u003c/code\u003e class, which is used to encapsulate settings for the \u003ccode\u003eGetIamPolicy\u003c/code\u003e method within the Google.Cloud.Iam.V1 namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetPolicyOptions\u003c/code\u003e class is part of the Google.Cloud.Iam.V1 assembly (Google.Cloud.Iam.V1.dll) and implements the \u003ccode\u003eProtobuf.IBufferMessage\u003c/code\u003e interface.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default one and another that takes a \u003ccode\u003eGetPolicyOptions\u003c/code\u003e object as a parameter for copying.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRequestedPolicyVersion\u003c/code\u003e property, an integer, allows users to set the maximum policy version (0, 1, or 3) to be used in formatting, with version 3 required for conditional role bindings.\u003c/p\u003e\n"],["\u003cp\u003eThe latest documented version is 3.4.0, and other versions range from 3.3.0 to 2.2.0.\u003c/p\u003e\n"]]],[],null,[]]