Struct gapi_grpc::google::cloud::channel::v1::Customer[][src]

pub struct Customer {
    pub name: String,
    pub org_display_name: String,
    pub org_postal_address: Option<PostalAddress>,
    pub primary_contact_info: Option<ContactInfo>,
    pub alternate_email: String,
    pub domain: String,
    pub create_time: Option<Timestamp>,
    pub update_time: Option<Timestamp>,
    pub cloud_identity_id: String,
    pub language_code: String,
    pub cloud_identity_info: Option<CloudIdentityInfo>,
    pub channel_partner_id: String,
}

Entity representing a customer of a reseller or distributor.

Fields

name: String

Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}

org_display_name: String

Required. Name of the organization that the customer entity represents.

org_postal_address: Option<PostalAddress>

Required. Address of the organization of the customer entity. Region and zip codes are required to enforce US laws and embargoes. Valid address lines are required for all customers. Language code is discarded. Use the Customer-level language code to set the customer’s language.

primary_contact_info: Option<ContactInfo>

Primary contact info.

alternate_email: String

Secondary contact email. Alternate email and primary contact email are required to have different domains if primary contact email is present. When creating admin.google.com accounts, users get notified credentials at this email. This email address is also used as a recovery email.

domain: String

Required. Primary domain used by the customer. Domain of primary contact email is required to be same as the provided domain.

create_time: Option<Timestamp>

Output only. The time at which the customer is created.

update_time: Option<Timestamp>

Output only. The time at which the customer is updated.

cloud_identity_id: String

Output only. Customer’s cloud_identity_id. Populated only if a Cloud Identity resource exists for this customer.

language_code: String

Optional. The BCP-47 language code, such as “en-US” or “sr-Latn”. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

cloud_identity_info: Option<CloudIdentityInfo>

Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.

channel_partner_id: String

Cloud Identity ID of the customer’s channel partner. Populated only if a channel partner exists for this customer.

Trait Implementations

impl Clone for Customer[src]

impl Debug for Customer[src]

impl Default for Customer[src]

impl Message for Customer[src]

impl PartialEq<Customer> for Customer[src]

impl StructuralPartialEq for Customer[src]

Auto Trait Implementations

impl RefUnwindSafe for Customer

impl Send for Customer

impl Sync for Customer

impl Unpin for Customer

impl UnwindSafe for Customer

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]