Cloud Resource Manager v3 API - Class Folder (2.4.0)

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

Reference documentation and code samples for the Cloud Resource Manager v3 API class Folder.

A folder in an organization's resource hierarchy, used to organize that organization's resources.

Inheritance

object > Folder

Namespace

Google.Cloud.ResourceManager.V3

Assembly

Google.Cloud.ResourceManager.V3.dll

Constructors

Folder()

public Folder()

Folder(Folder)

public Folder(Folder other)
Parameter
NameDescription
otherFolder

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Timestamp when the folder was created.

Property Value
TypeDescription
Timestamp

DeleteTime

public Timestamp DeleteTime { get; set; }

Output only. Timestamp when the folder was requested to be deleted.

Property Value
TypeDescription
Timestamp

DisplayName

public string DisplayName { get; set; }

The folder's display name. A folder's display name must be unique amongst its siblings. For example, no two folders with the same parent can share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters. This is captured by the regular expression: [\p{L}\p{N}]([\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?.

Property Value
TypeDescription
string

Etag

public string Etag { get; set; }

Output only. A checksum computed by the server based on the current value of the folder resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Property Value
TypeDescription
string

FolderName

public FolderName FolderName { get; set; }

FolderName-typed view over the Name resource name property.

Property Value
TypeDescription
FolderName

Name

public string Name { get; set; }

Output only. The resource name of the folder. Its format is folders/{folder_id}, for example: "folders/1234".

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. The folder's parent's resource name. Updates to the folder's parent must be performed using [MoveFolder][google.cloud.resourcemanager.v3.Folders.MoveFolder].

Property Value
TypeDescription
string

State

public Folder.Types.State State { get; set; }

Output only. The lifecycle state of the folder. Updates to the state must be performed using [DeleteFolder][google.cloud.resourcemanager.v3.Folders.DeleteFolder] and [UndeleteFolder][google.cloud.resourcemanager.v3.Folders.UndeleteFolder].

Property Value
TypeDescription
FolderTypesState

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Timestamp when the folder was last modified.

Property Value
TypeDescription
Timestamp