Google Cloud Storage v1 API - Class GetBucketOptions (4.5.0)

public sealed class GetBucketOptions

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

Options for GetBucket operations.

Inheritance

object > GetBucketOptions

Namespace

GoogleGoogle.CloudGoogle.Cloud.StorageV1

Assembly

Google.Cloud.Storage.V1.dll

Properties

IfMetagenerationMatch

public long? IfMetagenerationMatch { get; set; }

Precondition for retrieval: the bucket is only fetched if its meta-generation matches the given value.

Property Value
TypeDescription
long

IfMetagenerationNotMatch

public long? IfMetagenerationNotMatch { get; set; }

Precondition for retrieval: the bucket is only fetched if its meta-generation does not match the given value.

Property Value
TypeDescription
long

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

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