Class: Google::Apis::DfareportingV2_3::DirectorySiteContact
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_3::DirectorySiteContact
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_3/classes.rb,
generated/google/apis/dfareporting_v2_3/representations.rb,
generated/google/apis/dfareporting_v2_3/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::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DirectorySiteContact
Returns a new instance of DirectorySiteContact
4554 4555 4556 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4554 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ String
Address of this directory site contact.
Corresponds to the JSON property address
4506 4507 4508 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4506 def address @address end |
#email ⇒ String
Email address of this directory site contact.
Corresponds to the JSON property email
4511 4512 4513 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4511 def email @email end |
#first_name ⇒ String
First name of this directory site contact.
Corresponds to the JSON property firstName
4516 4517 4518 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4516 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
4521 4522 4523 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4521 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
4527 4528 4529 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4527 def kind @kind end |
#last_name ⇒ String
Last name of this directory site contact.
Corresponds to the JSON property lastName
4532 4533 4534 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4532 def last_name @last_name end |
#phone ⇒ String
Phone number of this directory site contact.
Corresponds to the JSON property phone
4537 4538 4539 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4537 def phone @phone end |
#role ⇒ String
Directory site contact role.
Corresponds to the JSON property role
4542 4543 4544 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4542 def role @role end |
#title ⇒ String
Title or designation of this directory site contact.
Corresponds to the JSON property title
4547 4548 4549 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4547 def title @title end |
#type ⇒ String
Directory site contact type.
Corresponds to the JSON property type
4552 4553 4554 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4552 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 |
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4559 def update!(**args) @address = args[:address] if args.key?(:address) @email = args[:email] if args.key?(:email) @first_name = args[:first_name] if args.key?(:first_name) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @last_name = args[:last_name] if args.key?(:last_name) @phone = args[:phone] if args.key?(:phone) @role = args[:role] if args.key?(:role) @title = args[:title] if args.key?(:title) @type = args[:type] if args.key?(:type) end |