pub struct Organization {
pub creation_time: Option<DateTime<Utc>>,
pub display_name: Option<String>,
pub lifecycle_state: Option<String>,
pub name: Option<String>,
pub organization_id: Option<String>,
pub owner: Option<OrganizationOwner>,
}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).
- get organizations (response)
- get iam policy organizations (none)
- list organizations (none)
- set iam policy organizations (none)
- test iam permissions organizations (none)
- update organizations (request|response)
Fields§
§creation_time: Option<DateTime<Utc>>Timestamp when the Organization was created. Assigned by the server.
display_name: Option<String>A human-readable string that refers to the Organization in the Google Cloud console. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, “google.com”) of the G Suite customer that owns the organization.
lifecycle_state: Option<String>The organization’s current lifecycle state. Assigned by the server.
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”.
organization_id: Option<String>An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only.
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.
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 more