Class ObjectRetention
Describes options for object retention update.
Implements
Inherited Members
Namespace: Google.Apis.StorageBatchOperations.v1.Data
Assembly: Google.Apis.StorageBatchOperations.v1.dll
Syntax
public class ObjectRetention : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RetainUntilTime
Required. The time when the object will be retained until. UNSET will clear the retention. Must be specified in RFC 3339 format e.g. YYYY-MM-DD'T'HH:MM:SS.SS'Z' or YYYY-MM-DD'T'HH:MM:SS'Z'.
Declaration
[JsonProperty("retainUntilTime")]
public virtual string RetainUntilTime { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RetentionMode
Required. The retention mode of the object.
Declaration
[JsonProperty("retentionMode")]
public virtual string RetentionMode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |