public sealed class CreateBucketOptions
Reference documentation and code samples for the Google Cloud Storage v1 API class CreateBucketOptions.
Options for CreateBucket
operations.
Namespace
Google.Cloud.Storage.V1Assembly
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 | |
---|---|
Type | Description |
bool |
PredefinedAcl
public PredefinedBucketAcl? PredefinedAcl { get; set; }
A pre-defined ACL of the bucket for simple access control scenarios.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
PredefinedObjectAcl |
Projection
public Projection? Projection { get; set; }
The projection to retrieve.
Property Value | |
---|---|
Type | Description |
Projection |
RetryOptions
public RetryOptions RetryOptions { get; set; }
Options to pass custom retry configuration for each API request.
Property Value | |
---|---|
Type | Description |
RetryOptions |