pub struct Organization {
pub owner: Option<OrganizationOwner>,
pub display_name: Option<String>,
pub creation_time: Option<String>,
pub lifecycle_state: Option<String>,
pub name: Option<String>,
}Expand description
The root node in the resource hierarchy to which a particular entity’s (e.g., company) resources belong.
§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).
- set iam policy organizations (none)
- get iam policy organizations (none)
- get org policy organizations (none)
- test iam permissions organizations (none)
- get effective org policy organizations (none)
- set org policy organizations (none)
- get organizations (response)
- list available org policy constraints organizations (none)
- search organizations (none)
- list org policies organizations (none)
- clear org policy organizations (none)
Fields§
§owner: Option<OrganizationOwner>The owner of this Organization. The owner should be specified on creation. Once set, it cannot be changed. This field is required.
display_name: Option<String>A friendly string to be used to refer to the Organization in the UI. Assigned by the server, set to the primary domain of the G Suite customer that owns the organization. @OutputOnly
creation_time: Option<String>Timestamp when the Organization was created. Assigned by the server. @OutputOnly
lifecycle_state: Option<String>The organization’s current lifecycle state. Assigned by the server. @OutputOnly
name: Option<String>Output Only. The resource name of the organization. This is the organization’s relative path in the API. Its format is “organizations/[organization_id]”. For example, “organizations/1234”.
Trait Implementations§
source§impl Clone for Organization
impl Clone for Organization
source§fn clone(&self) -> Organization
fn clone(&self) -> Organization
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Organization
impl Debug for Organization
source§impl Default for Organization
impl Default for Organization
source§fn default() -> Organization
fn default() -> Organization
source§impl Deserialize for Organization
impl Deserialize for Organization
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer,
source§impl Serialize for Organization
impl Serialize for Organization
impl Resource for Organization
impl ResponseResult for Organization
Auto Trait Implementations§
impl Freeze for Organization
impl RefUnwindSafe for Organization
impl Send for Organization
impl Sync for Organization
impl Unpin for Organization
impl UnwindSafe for Organization
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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