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
Email of the contact in the customer account.
-
#first_name ⇒ String
First name of the contact in the customer account.
-
#last_name ⇒ String
Last name of the contact in the customer account.
-
#phone ⇒ String
Phone number of the contact in the customer account.
-
#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.
542 543 544 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 542 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Output only. Display name of the contact in the customer account. Populated by
combining customer first name and last name.
Corresponds to the JSON property displayName
513 514 515 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 513 def display_name @display_name end |
#email ⇒ String
Email of the contact in the customer account. Email is required for
entitlements that need creation of admin.google.com accounts. The email will
be the username used in credentials to access the admin.google.com account.
Corresponds to the JSON property email
520 521 522 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 520 def email @email end |
#first_name ⇒ String
First name of the contact in the customer account.
Corresponds to the JSON property firstName
525 526 527 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 525 def first_name @first_name end |
#last_name ⇒ String
Last name of the contact in the customer account.
Corresponds to the JSON property lastName
530 531 532 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 530 def last_name @last_name end |
#phone ⇒ String
Phone number of the contact in the customer account.
Corresponds to the JSON property phone
535 536 537 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 535 def phone @phone end |
#title ⇒ String
Optional. Job title of the contact in the customer account.
Corresponds to the JSON property title
540 541 542 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 540 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
547 548 549 550 551 552 553 554 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 547 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 |