public sealed class GetBucketIamPolicyOptions
Reference documentation and code samples for the Google Cloud Storage v1 API class GetBucketIamPolicyOptions.
Options for GetBucketIamPolicy
operations.
Namespace
GoogleGoogle.CloudGoogle.Cloud.StorageV1Assembly
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 | |
---|---|
Type | Description |
int |
RetryOptions
public RetryOptions RetryOptions { get; set; }
Options to pass custom retry configuration for each API request.
Property Value | |
---|---|
Type | Description |
RetryOptions |
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 | |
---|---|
Type | Description |
string |