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
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
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
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
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
Auto Trait Implementations
impl RefUnwindSafe for Customer
impl UnwindSafe for Customer
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
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