[][src]Struct gcp_client::google::cloud::support::common::SupportAccount

pub struct SupportAccount {
    pub name: String,
    pub account_id: String,
    pub cloud_resource: String,
    pub display_name: String,
    pub state: i32,
    pub create_time: Option<Timestamp>,
    pub billing_account_name: String,
    pub unify_account_id: String,
    pub pricing_model: i32,
}

A Google Cloud Platform account that identifies support eligibility for a Cloud resource. Currently the Cloud resource can only be an Organization but this might change in future.

Fields

name: String

The resource name for a support account in format supportAccounts/{account_id}. Output only.

account_id: String

Identifier for this entity that gets persisted in storage system. The resource name is populated using this field in format supportAccounts/{account_id}.

cloud_resource: String

The Cloud resource with which this support account is associated.

display_name: String

A user friendly display name assigned to this support account.

state: i32

Indicates the current state of an account.

create_time: Option<Timestamp>

Time when this account was created. Output only.

billing_account_name: String

The resource name of a billing account associated with this support account. For example, billingAccounts/ABCDEF-012345-567890.

unify_account_id: Stringpricing_model: i32

The PricingModel applicable to this support account.

Implementations

impl SupportAccount[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.

pub fn pricing_model(&self) -> PricingModel[src]

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

pub fn set_pricing_model(&mut self, value: PricingModel)[src]

Sets pricing_model to the provided enum value.

Trait Implementations

impl Clone for SupportAccount[src]

impl Debug for SupportAccount[src]

impl Default for SupportAccount[src]

impl Message for SupportAccount[src]

impl PartialEq<SupportAccount> for SupportAccount[src]

impl StructuralPartialEq for SupportAccount[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]