Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ContactInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1ContactInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb
Overview
Contact information for a customer account.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Output only.
-
#email ⇒ String
The customer account's contact email.
-
#first_name ⇒ String
The customer account contact's first name.
-
#last_name ⇒ String
The customer account contact's last name.
-
#phone ⇒ String
The customer account's contact phone number.
-
#title ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1ContactInfo
constructor
A new instance of GoogleCloudChannelV1ContactInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1ContactInfo
Returns a new instance of GoogleCloudChannelV1ContactInfo.
756 757 758 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 756 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
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
727 728 729 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 727 def display_name @display_name end |
#email ⇒ String
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
734 735 736 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 734 def email @email end |
#first_name ⇒ String
The customer account contact's first name. Optional for Team customers.
Corresponds to the JSON property firstName
739 740 741 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 739 def first_name @first_name end |
#last_name ⇒ String
The customer account contact's last name. Optional for Team customers.
Corresponds to the JSON property lastName
744 745 746 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 744 def last_name @last_name end |
#phone ⇒ String
The customer account's contact phone number.
Corresponds to the JSON property phone
749 750 751 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 749 def phone @phone end |
#title ⇒ String
Optional. The customer account contact's job title.
Corresponds to the JSON property title
754 755 756 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 754 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
761 762 763 764 765 766 767 768 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 761 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 |