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.
Property Value
Type
Description
System.Nullable<System.Int32>
UserProject
public string UserProject { get; set; }
If set, this is the ID of the project which will be billed for the request.
The caller must have suitable permissions for the project being billed.
[[["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 webpage details the \u003ccode\u003eGetBucketIamPolicyOptions\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Storage.V1\u003c/code\u003e namespace, specifically for version 3.4.0 of the library, with links to the latest and prior versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetBucketIamPolicyOptions\u003c/code\u003e class is used to configure options for \u003ccode\u003eGetBucketIamPolicy\u003c/code\u003e operations, and it inherits from \u003ccode\u003eSystem.Object\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class contains two properties: \u003ccode\u003eRequestedPolicyVersion\u003c/code\u003e, an integer representing the version of IAM policies to request, and \u003ccode\u003eUserProject\u003c/code\u003e, a string that sets the project ID to bill for the request.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version is 4.11.0, with numerous previous versions listed down to 3.4.0, all of which have corresponding documentation links.\u003c/p\u003e\n"]]],[],null,[]]