Cloud Storage v2 API - Class Folder (1.0.0-beta02)

public sealed class Folder : IMessage<Folder>, IEquatable<Folder>, IDeepCloneable<Folder>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Storage v2 API class Folder.

A folder.

Inheritance

object > Folder

Namespace

Google.Cloud.Storage.Control.V2

Assembly

Google.Cloud.Storage.Control.V2.dll

Constructors

Folder()

public Folder()

Folder(Folder)

public Folder(Folder other)
Parameter
NameDescription
otherFolder

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation time of the folder.

Property Value
TypeDescription
Timestamp

FolderName

public FolderName FolderName { get; set; }

FolderName-typed view over the Name resource name property.

Property Value
TypeDescription
FolderName

Metageneration

public long Metageneration { get; set; }

Output only. The version of the metadata for this folder. Used for preconditions and for detecting changes in metadata.

Property Value
TypeDescription
long

Name

public string Name { get; set; }

Identifier. The name of this folder. Format: projects/{project}/buckets/{bucket}/folders/{folder}

Property Value
TypeDescription
string

PendingRenameInfo

public PendingRenameInfo PendingRenameInfo { get; set; }

Output only. Only present if the folder is part of an ongoing RenameFolder operation. Contains information which can be used to query the operation status. The presence of this field also indicates all write operations are blocked for this folder, including folder, managed folder, and object operations.

Property Value
TypeDescription
PendingRenameInfo

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The modification time of the folder.

Property Value
TypeDescription
Timestamp