class Google::Apis::CloudchannelV1::GoogleCloudChannelV1Customer
Entity representing a customer of a reseller or distributor.
Attributes
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. Corresponds to the JSON property `alternateEmail` @return [String]
Cloud Identity ID of the customer's channel partner. Populated only if a channel partner exists for this customer. Corresponds to the JSON property `channelPartnerId` @return [String]
Output only. The customer's Cloud Identity ID if the customer has a Cloud Identity resource. Corresponds to the JSON property `cloudIdentityId` @return [String]
Cloud Identity information for the Cloud Channel Customer. Corresponds to the JSON property `cloudIdentityInfo` @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1CloudIdentityInfo]
Output only. Time when the customer was created. Corresponds to the JSON property `createTime` @return [String]
Required. The customer's primary domain. Must match the primary contact email' s domain. Corresponds to the JSON property `domain` @return [String]
Optional. The BCP-47 language code, such as “en-US” or “sr-Latn”. For more information, see www.unicode.org/reports/tr35/# Unicode_locale_identifier. Corresponds to the JSON property `languageCode` @return [String]
Output only. Resource name of the customer. Format: accounts/`account_id`/ customers/`customer_id` Corresponds to the JSON property `name` @return [String]
Required. Name of the organization that the customer entity represents. Corresponds to the JSON property `orgDisplayName` @return [String]
Represents a postal address, e.g. for postal delivery or payments addresses. Given a postal address, a postal service can deliver items to a premise, P.O. Box or similar. It is not intended to model geographical locations (roads, towns, mountains). In typical usage an address would be created via user input or from importing existing data, depending on the type of process. Advice on address input / editing: - Use an i18n-ready address widget such as https:// github.com/google/libaddressinput) - Users should not be presented with UI elements for input or editing of fields outside countries where that field is used. For more guidance on how to use this schema, please see: support. google.com/business/answer/6397478 Corresponds to the JSON property `orgPostalAddress` @return [Google::Apis::CloudchannelV1::GoogleTypePostalAddress]
Contact information for a customer account. Corresponds to the JSON property `primaryContactInfo` @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1ContactInfo]
Output only. Time when the customer was updated. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/cloudchannel_v1/classes.rb, line 669 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudchannel_v1/classes.rb, line 674 def update!(**args) @alternate_email = args[:alternate_email] if args.key?(:alternate_email) @channel_partner_id = args[:channel_partner_id] if args.key?(:channel_partner_id) @cloud_identity_id = args[:cloud_identity_id] if args.key?(:cloud_identity_id) @cloud_identity_info = args[:cloud_identity_info] if args.key?(:cloud_identity_info) @create_time = args[:create_time] if args.key?(:create_time) @domain = args[:domain] if args.key?(:domain) @language_code = args[:language_code] if args.key?(:language_code) @name = args[:name] if args.key?(:name) @org_display_name = args[:org_display_name] if args.key?(:org_display_name) @org_postal_address = args[:org_postal_address] if args.key?(:org_postal_address) @primary_contact_info = args[:primary_contact_info] if args.key?(:primary_contact_info) @update_time = args[:update_time] if args.key?(:update_time) end