Resource: Folder
A folder in an organization's resource hierarchy, used to organize that organization's resources.
JSON representation |
---|
{
"name": string,
"parent": string,
"displayName": string,
"state": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of the folder. Its format is |
parent |
Required. The folder's parent's resource name. Updates to the folder's parent must be performed using |
displayName |
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: |
state |
Output only. The lifecycle state of the folder. Updates to the state must be performed using |
createTime |
Output only. Timestamp when the folder was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Timestamp when the folder was last modified. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
deleteTime |
Output only. Timestamp when the folder was requested to be deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
etag |
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. |
tags |
Optional. Input only. Immutable. Tag keys/values directly bound to this folder. Each item in the map must be expressed as " Note: Currently this field is in Preview. |
State
Folder lifecycle states.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unspecified state. |
ACTIVE |
The normal and active state. |
DELETE_REQUESTED |
The folder has been marked for deletion by the user. |
Methods |
|
---|---|
|
Creates a folder in the resource hierarchy. |
|
Requests deletion of a folder. |
|
Retrieves a folder identified by the supplied resource name. |
|
Gets the access control policy for a folder. |
|
Lists the folders that are direct descendants of supplied parent resource. |
|
Moves a folder under a new resource parent. |
|
Updates a folder, changing its display_name . |
|
Search for folders that match specific filter criteria. |
|
Sets the access control policy on a folder, replacing any existing policy. |
|
Returns permissions that a caller has on the specified folder. |
|
Cancels the deletion request for a folder. |