Google Cloud Storage v1 API - Class GetBucketIamPolicyOptions (4.4.0)

public sealed class GetBucketIamPolicyOptions

Reference documentation and code samples for the Google Cloud Storage v1 API class GetBucketIamPolicyOptions.

Options for GetBucketIamPolicy operations.

Inheritance

object > GetBucketIamPolicyOptions

Namespace

GoogleGoogle.CloudGoogle.Cloud.StorageV1

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
int

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