Class UpdateBucketOptions

public sealed class UpdateBucketOptions

Options for UpdateBucket operations.

Inheritance

Object > UpdateBucketOptions

Namespace

Google.Cloud.Storage.V1

Assembly

Google.Cloud.Storage.V1.dll

Properties

ForceNoPreconditions

public bool? ForceNoPreconditions { get; set; }

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.

Property Value
TypeDescription
Nullable<Boolean>

IfMetagenerationMatch

public long? IfMetagenerationMatch { get; set; }

Precondition for update: the bucket is only updated if its current meta-generation matches the given value.

Property Value
TypeDescription
Nullable<Int64>

IfMetagenerationNotMatch

public long? IfMetagenerationNotMatch { get; set; }

Precondition for update: the bucket is only updated if its current meta-generation does not match the given value.

Property Value
TypeDescription
Nullable<Int64>

PredefinedAcl

public PredefinedBucketAcl? PredefinedAcl { get; set; }

A pre-defined ACL of the bucket for simple access control scenarios.

Property Value
TypeDescription
Nullable<PredefinedBucketAcl>

PredefinedDefaultObjectAcl

public PredefinedObjectAcl? PredefinedDefaultObjectAcl { get; set; }

A pre-defined default ACL for objects created in the bucket, for simple access control scenarios.

Property Value
TypeDescription
Nullable<PredefinedObjectAcl>

Projection

public Projection? Projection { get; set; }

The projection of the updated object to return.

Property Value
TypeDescription
Nullable<Projection>

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