Struct google_cloudresourcemanager2::api::Folder
source · pub struct Folder {
pub create_time: Option<DateTime<Utc>>,
pub display_name: Option<String>,
pub lifecycle_state: Option<String>,
pub name: Option<String>,
pub parent: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
A Folder in an Organization’s resource hierarchy, used to organize that Organization’s resources.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- create folders (request)
- delete folders (response)
- get folders (response)
- get iam policy folders (none)
- list folders (none)
- move folders (none)
- patch folders (request|response)
- search folders (none)
- set iam policy folders (none)
- test iam permissions folders (none)
- undelete folders (response)
Fields§
§create_time: Option<DateTime<Utc>>
Output only. Timestamp when the Folder was created. Assigned by the server.
display_name: Option<String>
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}])?
.
lifecycle_state: Option<String>
Output only. The lifecycle state of the folder. Updates to the lifecycle_state must be performed via DeleteFolder and UndeleteFolder.
name: Option<String>
Output only. The resource name of the Folder. Its format is folders/{folder_id}
, for example: “folders/1234”.
parent: Option<String>
Required. The Folder’s parent’s resource name. Updates to the folder’s parent must be performed via MoveFolder.
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”