Reference documentation and code samples for the Cloud Channel V1 API class Google::Cloud::Channel::V1::Customer.
Entity representing a customer of a reseller or distributor.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#alternate_email
def alternate_email() -> ::String
Returns
- (::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.
#alternate_email=
def alternate_email=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.
#channel_partner_id
def channel_partner_id() -> ::String
Returns
- (::String) — Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
#channel_partner_id=
def channel_partner_id=(value) -> ::String
Parameter
- value (::String) — Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
Returns
- (::String) — Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer.
#cloud_identity_id
def cloud_identity_id() -> ::String
Returns
- (::String) — Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource.
#cloud_identity_info
def cloud_identity_info() -> ::Google::Cloud::Channel::V1::CloudIdentityInfo
Returns
- (::Google::Cloud::Channel::V1::CloudIdentityInfo) — Output only. Cloud Identity information for the customer. Populated only if a Cloud Identity account exists for this customer.
#correlation_id
def correlation_id() -> ::String
Returns
- (::String) — Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
#correlation_id=
def correlation_id=(value) -> ::String
Parameter
- value (::String) — Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
Returns
- (::String) — Optional. External CRM ID for the customer. Populated only if a CRM ID exists for this customer.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when the customer was created.
#domain
def domain() -> ::String
Returns
- (::String) — Required. The customer's primary domain. Must match the primary contact email's domain.
#domain=
def domain=(value) -> ::String
Parameter
- value (::String) — Required. The customer's primary domain. Must match the primary contact email's domain.
Returns
- (::String) — Required. The customer's primary domain. Must match the primary contact email's domain.
#language_code
def language_code() -> ::String
Returns
- (::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.
#language_code=
def language_code=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.
#name
def name() -> ::String
Returns
- (::String) — Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}
#org_display_name
def org_display_name() -> ::String
Returns
- (::String) — Required. Name of the organization that the customer entity represents.
#org_display_name=
def org_display_name=(value) -> ::String
Parameter
- value (::String) — Required. Name of the organization that the customer entity represents.
Returns
- (::String) — Required. Name of the organization that the customer entity represents.
#org_postal_address
def org_postal_address() -> ::Google::Type::PostalAddress
Returns
- (::Google::Type::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.
#org_postal_address=
def org_postal_address=(value) -> ::Google::Type::PostalAddress
Parameter
- value (::Google::Type::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.
Returns
- (::Google::Type::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
def primary_contact_info() -> ::Google::Cloud::Channel::V1::ContactInfo
Returns
- (::Google::Cloud::Channel::V1::ContactInfo) — Primary contact info.
#primary_contact_info=
def primary_contact_info=(value) -> ::Google::Cloud::Channel::V1::ContactInfo
Parameter
- value (::Google::Cloud::Channel::V1::ContactInfo) — Primary contact info.
Returns
- (::Google::Cloud::Channel::V1::ContactInfo) — Primary contact info.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when the customer was updated.