class Google::Apis::AdminDirectoryV1::Customer
JSON template for Customer Resource object in Directory API.
Attributes
The customer's secondary contact email address. This email address cannot be on the same domain as the customerDomain Corresponds to the JSON property `alternateEmail` @return [String]
The customer's creation time (Readonly) Corresponds to the JSON property `customerCreationTime` @return [DateTime]
The customer's primary domain name string. Do not include the www prefix when creating a new customer. Corresponds to the JSON property `customerDomain` @return [String]
ETag of the resource. Corresponds to the JSON property `etag` @return [String]
The unique ID for the customer's Google account. (Readonly) Corresponds to the JSON property `id` @return [String]
Identifies the resource as a customer. Value: admin#directory#customer Corresponds to the JSON property `kind` @return [String]
The customer's ISO 639-2 language code. The default value is en-US Corresponds to the JSON property `language` @return [String]
The customer's contact phone number in E.164 format. Corresponds to the JSON property `phoneNumber` @return [String]
JSON template for postal address of a customer. Corresponds to the JSON property `postalAddress` @return [Google::Apis::AdminDirectoryV1::CustomerPostalAddress]
Public Class Methods
# File generated/google/apis/admin_directory_v1/classes.rb, line 665 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/admin_directory_v1/classes.rb, line 670 def update!(**args) @alternate_email = args[:alternate_email] if args.key?(:alternate_email) @customer_creation_time = args[:customer_creation_time] if args.key?(:customer_creation_time) @customer_domain = args[:customer_domain] if args.key?(:customer_domain) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @language = args[:language] if args.key?(:language) @phone_number = args[:phone_number] if args.key?(:phone_number) @postal_address = args[:postal_address] if args.key?(:postal_address) end