class Google::Apis::CloudchannelV1::GoogleCloudChannelV1ContactInfo

Contact information for a customer account.

Attributes

display_name[RW]

Output only. The customer account contact's display name, formatted as a combination of the customer's first and last name. Corresponds to the JSON property `displayName` @return [String]

email[RW]

The customer account's contact email. Required for entitlements that create admin.google.com accounts, and serves as the customer's username for those accounts. Use this email to invite Team customers. Corresponds to the JSON property `email` @return [String]

first_name[RW]

The customer account contact's first name. Optional for Team customers. Corresponds to the JSON property `firstName` @return [String]

last_name[RW]

The customer account contact's last name. Optional for Team customers. Corresponds to the JSON property `lastName` @return [String]

phone[RW]

The customer account's contact phone number. Corresponds to the JSON property `phone` @return [String]

title[RW]

Optional. The customer account contact's job title. Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudchannel_v1/classes.rb, line 539
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudchannel_v1/classes.rb, line 544
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @email = args[:email] if args.key?(:email)
  @first_name = args[:first_name] if args.key?(:first_name)
  @last_name = args[:last_name] if args.key?(:last_name)
  @phone = args[:phone] if args.key?(:phone)
  @title = args[:title] if args.key?(:title)
end