Class DeleteObjectOptions (4.1.0)

public sealed class DeleteObjectOptions

Options for DeleteObject operations.

Inheritance

Object > DeleteObjectOptions

Namespace

Google.Cloud.Storage.V1

Assembly

Google.Cloud.Storage.V1.dll

Properties

Generation

public long? Generation { get; set; }

The generation to delete. If this is not specified, the latest generation will be deleted.

Property Value
TypeDescription
Nullable<Int64>

IfGenerationMatch

public long? IfGenerationMatch { get; set; }

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

Property Value
TypeDescription
Nullable<Int64>

IfGenerationNotMatch

public long? IfGenerationNotMatch { get; set; }

Precondition for deletion: the object is only deleted 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 deletion: the object is only deleted if the object's current meta-generation matches the given value.

Property Value
TypeDescription
Nullable<Int64>

IfMetagenerationNotMatch

public long? IfMetagenerationNotMatch { get; set; }

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

Property Value
TypeDescription
Nullable<Int64>

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