Struct gapi_grpc::google::cloud::resourcemanager::v3::Organization[][src]

pub struct Organization {
    pub name: String,
    pub display_name: String,
    pub state: i32,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub delete_time: Option<Timestamp>,
    pub etag: String,
    pub owner: Option<Owner>,
}

The root node in the resource hierarchy to which a particular entity’s (a company, for example) resources belong.

Fields

name: 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”.

display_name: String

Output only. 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 Google Workspace customer that owns the organization.

state: i32

Output only. The organization’s current lifecycle state.

create_time: Option<Timestamp>

Output only. Timestamp when the Organization was created.

update_time: Option<Timestamp>

Output only. Timestamp when the Organization was last modified.

delete_time: Option<Timestamp>

Output only. Timestamp when the Organization was requested for deletion.

etag: String

Output only. A checksum computed by the server based on the current value of the Organization resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

owner: Option<Owner>

The owner of this organization. The owner should be specified on creation. Once set, it cannot be changed.

The lifetime of the organization and all of its descendants are bound to the owner. If the owner is deleted, the organization and all its descendants will be deleted.

Implementations

impl Organization[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for Organization[src]

impl Debug for Organization[src]

impl Default for Organization[src]

impl Message for Organization[src]

impl PartialEq<Organization> for Organization[src]

impl StructuralPartialEq for Organization[src]

Auto Trait Implementations

impl RefUnwindSafe for Organization

impl Send for Organization

impl Sync for Organization

impl Unpin for Organization

impl UnwindSafe for Organization

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]