[][src]Struct google_cloudresourcemanager2::Folder

pub struct Folder {
    pub create_time: Option<String>,
    pub display_name: Option<String>,
    pub name: Option<String>,
    pub parent: Option<String>,
    pub lifecycle_state: 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}])?.

name: Option<String>

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

parent: Option<String>

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

lifecycle_state: Option<String>

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

Trait Implementations

impl Resource for Folder[src]

impl ResponseResult for Folder[src]

impl RequestValue for Folder[src]

impl Default for Folder[src]

impl Clone for Folder[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Folder[src]

impl Serialize for Folder[src]

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

Auto Trait Implementations

impl Send for Folder

impl Unpin for Folder

impl Sync for Folder

impl UnwindSafe for Folder

impl RefUnwindSafe for Folder

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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