Class GetBucketIamPolicyOptions
Options for GetBucketIamPolicy
operations.
Inheritance
System.Object
GetBucketIamPolicyOptions
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Storage.V1
Assembly: Google.Cloud.Storage.V1.dll
Syntax
public sealed class GetBucketIamPolicyOptions
Properties
RequestedPolicyVersion
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.
Declaration
public int? RequestedPolicyVersion { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
UserProject
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.
Declaration
public string UserProject { get; set; }
Property Value
Type | Description |
---|---|
System.String |