Send feedback
Class GetBucketIamPolicyOptions (4.1.0)
public sealed class GetBucketIamPolicyOptions
Options for GetBucketIamPolicy
operations.
Inheritance
Object >
GetBucketIamPolicyOptions
Namespace
Google.Cloud.Storage.V1
Assembly
Google.Cloud.Storage.V1.dll
Properties
RequestedPolicyVersion
public int? RequestedPolicyVersion { get; set; }
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
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.
Property Value
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-22 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?