Struct google_cloudresourcemanager2::api::Folder
source · [−]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>,
}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<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
sourceimpl<'de> Deserialize<'de> for Folder
impl<'de> Deserialize<'de> for Folder
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for Folder
impl Resource for Folder
impl ResponseResult for Folder
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more