Struct googapis::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,
}
Expand description

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. The organization address for the customer. To enforce US laws and embargoes, we require a region and zip code. You must provide valid addresses for every customer. To set the customer’s language, use the Customer-level language code.

primary_contact_info: Option<ContactInfo>

Primary contact info.

alternate_email: String

Secondary contact email. You need to provide an alternate email to create different domains if a primary contact email already exists. Users will receive a notification with credentials when you create an admin.google.com account. Secondary emails are also recovery email addresses. Alternate emails are optional when you create Team customers.

domain: String

Required. The customer’s primary domain. Must match the primary contact email’s domain.

create_time: Option<Timestamp>

Output only. Time when the customer was created.

update_time: Option<Timestamp>

Output only. Time when the customer was updated.

cloud_identity_id: String

Output only. The customer’s Cloud Identity ID if the customer has a Cloud Identity resource.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

Encodes the message to a buffer. Read more

Encodes the message to a newly allocated buffer.

Encodes the message with a length-delimiter to a buffer. Read more

Encodes the message with a length-delimiter to a newly allocated buffer.

Decodes an instance of the message from a buffer. Read more

Decodes a length-delimited instance of the message from the buffer.

Decodes an instance of the message from a buffer, and merges it into self. Read more

Decodes a length-delimited instance of the message from buffer, and merges it into self. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more