Show / Hide Table of Contents

Class ObjectRetention

Describes options for object retention update.

Inheritance
object
ObjectRetention
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 object's retention expiration time, during which, the object is protected from being deleted or overwritten. The time must be specified in RFC 3339 format, for example YYYY-MM-DD'T'HH:MM:SS'Z' or YYYY-MM-DD'T'HH:MM:SS.SS'Z'. To clear an object's retention, both retentionMode and retainUntilTime must be left unset (omitted). Setting retentionMode to RETENTION_MODE_UNSPECIFIED is treated as a no-op. Unlike an unset field, it doesn't modify or clear the retention settings.

Declaration
[JsonProperty("retainUntilTime")]
public virtual string RetainUntilTime { get; set; }
Property Value
Type Description
string

RetentionMode

Required. The retention mode.

Declaration
[JsonProperty("retentionMode")]
public virtual string RetentionMode { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX