Class UpdateBucketOptions
Options for UpdateBucket
operations.
Inheritance
Inherited Members
Namespace: Google.Cloud.Storage.V1
Assembly: Google.Cloud.Storage.V1.dll
Syntax
public sealed class UpdateBucketOptions
Properties
ForceNoPreconditions
If set to true, no other preconditions must be set, and the local metageneration of the bucket being updated is not used to create a precondition.
Declaration
public bool? ForceNoPreconditions { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
IfMetagenerationMatch
Precondition for update: the bucket is only updated if its current meta-generation matches the given value.
Declaration
public long? IfMetagenerationMatch { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
IfMetagenerationNotMatch
Precondition for update: the bucket is only updated if its current meta-generation does not match the given value.
Declaration
public long? IfMetagenerationNotMatch { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
PredefinedAcl
A pre-defined ACL of the bucket for simple access control scenarios.
Declaration
public PredefinedBucketAcl? PredefinedAcl { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<PredefinedBucketAcl> |
PredefinedDefaultObjectAcl
A pre-defined default ACL for objects created in the bucket, for simple access control scenarios.
Declaration
public PredefinedObjectAcl? PredefinedDefaultObjectAcl { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<PredefinedObjectAcl> |
Projection
The projection of the updated object to return.
Declaration
public Projection? Projection { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Projection> |
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 |