Google Cloud Storage v1 API - Class CreateBucketOptions (4.9.0)

public sealed class CreateBucketOptions

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

Options for CreateBucket operations.

Inheritance

object > CreateBucketOptions

Namespace

Google.Cloud.Storage.V1

Assembly

Google.Cloud.Storage.V1.dll

Properties

ObjectRetentionEnabled

public bool? ObjectRetentionEnabled { get; set; }

When set to true, permanently enable object retention for this bucket.

Property Value
TypeDescription
bool

PredefinedAcl

public PredefinedBucketAcl? PredefinedAcl { get; set; }

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

Property Value
TypeDescription
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
PredefinedObjectAcl

Projection

public Projection? Projection { get; set; }

The projection to retrieve.

Property Value
TypeDescription
Projection

RetryOptions

public RetryOptions RetryOptions { get; set; }

Options to pass custom retry configuration for each API request.

Property Value
TypeDescription
RetryOptions