Class: Google::Apis::DfareportingV2_1::DirectorySiteContact
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::DirectorySiteContact
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
Contains properties of a Site Directory contact.
Instance Attribute Summary collapse
-
#address ⇒ String
Address of this directory site contact.
-
#email ⇒ String
Email address of this directory site contact.
-
#first_name ⇒ String
First name of this directory site contact.
-
#id ⇒ String
ID of this directory site contact.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#last_name ⇒ String
Last name of this directory site contact.
-
#phone ⇒ String
Phone number of this directory site contact.
-
#role ⇒ String
Directory site contact role.
-
#title ⇒ String
Title or designation of this directory site contact.
-
#type ⇒ String
Directory site contact type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DirectorySiteContact
constructor
A new instance of DirectorySiteContact.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DirectorySiteContact
Returns a new instance of DirectorySiteContact.
4494 4495 4496 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4494 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ String
Address of this directory site contact.
Corresponds to the JSON property address
4446 4447 4448 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4446 def address @address end |
#email ⇒ String
Email address of this directory site contact.
Corresponds to the JSON property email
4451 4452 4453 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4451 def email @email end |
#first_name ⇒ String
First name of this directory site contact.
Corresponds to the JSON property firstName
4456 4457 4458 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4456 def first_name @first_name end |
#id ⇒ String
ID of this directory site contact. This is a read-only, auto-generated field.
Corresponds to the JSON property id
4461 4462 4463 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4461 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#directorySiteContact".
Corresponds to the JSON property kind
4467 4468 4469 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4467 def kind @kind end |
#last_name ⇒ String
Last name of this directory site contact.
Corresponds to the JSON property lastName
4472 4473 4474 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4472 def last_name @last_name end |
#phone ⇒ String
Phone number of this directory site contact.
Corresponds to the JSON property phone
4477 4478 4479 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4477 def phone @phone end |
#role ⇒ String
Directory site contact role.
Corresponds to the JSON property role
4482 4483 4484 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4482 def role @role end |
#title ⇒ String
Title or designation of this directory site contact.
Corresponds to the JSON property title
4487 4488 4489 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4487 def title @title end |
#type ⇒ String
Directory site contact type.
Corresponds to the JSON property type
4492 4493 4494 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4492 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4499 def update!(**args) @address = args[:address] unless args[:address].nil? @email = args[:email] unless args[:email].nil? @first_name = args[:first_name] unless args[:first_name].nil? @id = args[:id] unless args[:id].nil? @kind = args[:kind] unless args[:kind].nil? @last_name = args[:last_name] unless args[:last_name].nil? @phone = args[:phone] unless args[:phone].nil? @role = args[:role] unless args[:role].nil? @title = args[:title] unless args[:title].nil? @type = args[:type] unless args[:type].nil? end |