The version of IAM policies to request. If a policy with a condition is requested
without setting this, the server will return an error. This must be set to a value of 3
to retrieve IAM policies containing conditions. This is to prevent client code that
isn't aware of IAM conditions from interpreting and modifying policies incorrectly.
[[["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\u003eThe latest version of the \u003ccode\u003eGetBucketIamPolicyOptions\u003c/code\u003e class is 4.11.0, and the documentation provides access to previous versions, ranging back to 3.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetBucketIamPolicyOptions\u003c/code\u003e class is used for configuring options when retrieving IAM policies for a bucket in the Google Cloud Storage API.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties for \u003ccode\u003eRequestedPolicyVersion\u003c/code\u003e, allowing control over the version of the IAM policy being requested, particularly important for policies with conditions.\u003c/p\u003e\n"],["\u003cp\u003eThe class also provides properties to set custom retry options (\u003ccode\u003eRetryOptions\u003c/code\u003e) and specify a user project for billing purposes (\u003ccode\u003eUserProject\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetBucketIamPolicyOptions\u003c/code\u003e inherits base members such as GetHashCode(), GetType(), and ToString() from the system.object.\u003c/p\u003e\n"]]],[],null,[]]