pub struct Customer {Show 13 fields
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,
pub correlation_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, postal code, and address lines. 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.
correlation_id: String
Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
Trait Implementations§
source§impl Message for Customer
impl Message for Customer
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Customer
impl PartialEq for Customer
impl StructuralPartialEq for Customer
Auto Trait Implementations§
impl Freeze for Customer
impl RefUnwindSafe for Customer
impl Send for Customer
impl Sync for Customer
impl Unpin for Customer
impl UnwindSafe for Customer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request