Show / Hide Table of Contents

Class Folder

A Folder in an Organization's resource hierarchy, used to organize that Organization's resources.

Inheritance
object
Folder
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.CloudResourceManager.v2beta1.Data
Assembly: Google.Apis.CloudResourceManager.v2beta1.dll
Syntax
public class Folder : IDirectResponseSchema

Properties

ConfiguredCapabilities

Output only. Optional capabilities configured for this folder (via UpdateCapability API). Example: folders/123/capabilities/app-management.

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

CreateTime

object representation of CreateTimeRaw.

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

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

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

CreateTimeRaw

Output only. Timestamp when the Folder was created. Assigned by the server.

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

DisplayName

The folder's display name. A folder's display name must be unique amongst its siblings, e.g. 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}])?.

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

ETag

The ETag of the item.

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

LifecycleState

Output only. The lifecycle state of the folder. Updates to the lifecycle_state must be performed via DeleteFolder and UndeleteFolder.

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

ManagementProject

Output only. Management Project associated with this folder (if app-management capability is enabled). Example: projects/google-mp-123 OUTPUT ONLY.

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

Name

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

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

Parent

Required. The Folder's parent's resource name. Updates to the folder's parent must be performed via MoveFolder.

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

Tags

Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as " : ". For example: "123/environment" : "production", "123/costCenter" : "marketing" Note: Currently this field is in Preview.

Declaration
[JsonProperty("tags")]
public virtual IDictionary<string, string> Tags { get; set; }
Property Value
Type Description
IDictionary<string, string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX