public sealed class PatchBucketOptions
Reference documentation and code samples for the Google Cloud Storage v1 API class PatchBucketOptions.
Options for PatchBucket
operations.
Namespace
GoogleGoogle.CloudGoogle.Cloud.StorageV1Assembly
Google.Cloud.Storage.V1.dll
Properties
IfMetagenerationMatch
public long? IfMetagenerationMatch { get; set; }
Precondition for patch: the bucket is only patched if its current meta-generation matches the given value.
Property Value | |
---|---|
Type | Description |
long |
IfMetagenerationNotMatch
public long? IfMetagenerationNotMatch { get; set; }
Precondition for patch: the bucket is only patched if its current meta-generation does not match the given value.
Property Value | |
---|---|
Type | Description |
long |
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 of the updated object to return.
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 |
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 | |
---|---|
Type | Description |
string |