Show / Hide Table of Contents

Class BulkRestoreObjectsRequest

A bulk restore objects request.

Inheritance
object
BulkRestoreObjectsRequest
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.Storage.v1.Data
Assembly: Google.Apis.Storage.v1.dll
Syntax
public class BulkRestoreObjectsRequest : IDirectResponseSchema

Properties

AllowOverwrite

If false (default), the restore will not overwrite live objects with the same name at the destination. This means some deleted objects may be skipped. If true, live objects will be overwritten resulting in a noncurrent object (if versioning is enabled). If versioning is not enabled, overwriting the object will result in a soft-deleted object. In either case, if a noncurrent object already exists with the same name, a live version can be written without issue.

Declaration
[JsonProperty("allowOverwrite")]
public virtual bool? AllowOverwrite { get; set; }
Property Value
Type Description
bool?

CopySourceAcl

If true, copies the source object's ACL; otherwise, uses the bucket's default object ACL. The default is false.

Declaration
[JsonProperty("copySourceAcl")]
public virtual bool? CopySourceAcl { get; set; }
Property Value
Type Description
bool?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

MatchGlobs

Restores only the objects matching any of the specified glob(s). If this parameter is not specified, all objects will be restored within the specified time range.

Declaration
[JsonProperty("matchGlobs")]
public virtual IList<string> MatchGlobs { get; set; }
Property Value
Type Description
IList<string>

SoftDeletedAfterTime

DateTime representation of SoftDeletedAfterTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use SoftDeletedAfterTimeDateTimeOffset instead.")]
public virtual DateTime? SoftDeletedAfterTime { get; set; }
Property Value
Type Description
DateTime?

SoftDeletedAfterTimeDateTimeOffset

DateTimeOffset representation of SoftDeletedAfterTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? SoftDeletedAfterTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

SoftDeletedAfterTimeRaw

Restores only the objects that were soft-deleted after this time.

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

SoftDeletedBeforeTime

DateTime representation of SoftDeletedBeforeTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use SoftDeletedBeforeTimeDateTimeOffset instead.")]
public virtual DateTime? SoftDeletedBeforeTime { get; set; }
Property Value
Type Description
DateTime?

SoftDeletedBeforeTimeDateTimeOffset

DateTimeOffset representation of SoftDeletedBeforeTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? SoftDeletedBeforeTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

SoftDeletedBeforeTimeRaw

Restores only the objects that were soft-deleted before this time.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX