Class Folder
A Folder in an Organization's resource hierarchy, used to organize that Organization's resources.
Implements
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v2beta1.Data
Assembly: Google.Apis.CloudResourceManager.v2beta1.dll
Syntax
public class Folder : IDirectResponseSchema
Properties
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 |
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> |