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
TypeDescription
Nullable<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.

Property Value
TypeDescription
String