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” Note: Currently this field is in Preview.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Folder
impl<'de> Deserialize<'de> for Folder
Source§fn 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>,
impl RequestValue for Folder
impl Resource for Folder
impl ResponseResult for Folder
Auto Trait Implementations§
impl Freeze for Folder
impl RefUnwindSafe for Folder
impl Send for Folder
impl Sync for Folder
impl Unpin for Folder
impl UnwindSafe for Folder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more