Class GetObjectOptions (3.6.0)

public sealed class GetObjectOptions

Options for GetObject operations.

Inheritance

Object > GetObjectOptions

Namespace

Google.Cloud.Storage.V1

Assembly

Google.Cloud.Storage.V1.dll

Properties

EncryptionKey

public EncryptionKey EncryptionKey { get; set; }

The encryption key to use for this operation. If this property is null, the EncryptionKey will be used instead. Use None to remove encryption headers from this request.

Property Value
TypeDescription
EncryptionKey

Generation

public long? Generation { get; set; }

The generation of the object resource to fetch. When not set, the latest generation will be retrieved.

Property Value
TypeDescription
Nullable<Int64>

IfGenerationMatch

public long? IfGenerationMatch { get; set; }

Precondition for retrieval: the object is only fetched if the object's current generation matches the given value.

Property Value
TypeDescription
Nullable<Int64>

IfGenerationNotMatch

public long? IfGenerationNotMatch { get; set; }

Precondition for retrieval: the object is only fetched if the object's current generation does not match the given value.

Property Value
TypeDescription
Nullable<Int64>

IfMetagenerationMatch

public long? IfMetagenerationMatch { get; set; }

Precondition for retrieval: the object is only fetched if the object's current meta-generation matches the given value.

Property Value
TypeDescription
Nullable<Int64>

IfMetagenerationNotMatch

public long? IfMetagenerationNotMatch { get; set; }

Precondition for retrieval: the object is only fetched if the object's current meta-generation does not match the given value.

Property Value
TypeDescription
Nullable<Int64>

Projection

public Projection? Projection { get; set; }

The projection to retrieve.

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