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

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 resource. This resource can only exist in a hierarchical namespace enabled bucket. Hierarchical namespace buckets are in allowlist preview.

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
Name Description
other Folder

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation time of the folder.

Property Value
Type Description
Timestamp

FolderName

public FolderName FolderName { get; set; }

FolderName-typed view over the Name resource name property.

Property Value
Type Description
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
Type Description
long

Name

public string Name { get; set; }

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

Property Value
Type Description
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
Type Description
PendingRenameInfo

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The modification time of the folder.

Property Value
Type Description
Timestamp