Struct google_cloudresourcemanager2::api::Folder[][src]

pub struct Folder {
    pub create_time: Option<String>,
    pub display_name: Option<String>,
    pub lifecycle_state: Option<String>,
    pub name: Option<String>,
    pub parent: Option<String>,
}

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).

Fields

create_time: Option<String>

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.

Trait Implementations

impl Clone for Folder[src]

impl Debug for Folder[src]

impl Default for Folder[src]

impl<'de> Deserialize<'de> for Folder[src]

impl RequestValue for Folder[src]

impl Resource for Folder[src]

impl ResponseResult for Folder[src]

impl Serialize for Folder[src]

Auto Trait Implementations

impl RefUnwindSafe for Folder

impl Send for Folder

impl Sync for Folder

impl Unpin for Folder

impl UnwindSafe for Folder

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.