Class: Google::Apis::DfareportingV3_2::DirectorySiteContact
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_2::DirectorySiteContact
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_2/classes.rb,
generated/google/apis/dfareporting_v3_2/representations.rb,
generated/google/apis/dfareporting_v3_2/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 ⇒ Fixnum
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
5293 5294 5295 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5293 def initialize(**args) update!(**args) end |
Instance Attribute Details
#address ⇒ String
Address of this directory site contact.
Corresponds to the JSON property address
5245 5246 5247 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5245 def address @address end |
#email ⇒ String
Email address of this directory site contact.
Corresponds to the JSON property email
5250 5251 5252 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5250 def email @email end |
#first_name ⇒ String
First name of this directory site contact.
Corresponds to the JSON property firstName
5255 5256 5257 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5255 def first_name @first_name end |
#id ⇒ Fixnum
ID of this directory site contact. This is a read-only, auto-generated field.
Corresponds to the JSON property id
5260 5261 5262 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5260 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
5266 5267 5268 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5266 def kind @kind end |
#last_name ⇒ String
Last name of this directory site contact.
Corresponds to the JSON property lastName
5271 5272 5273 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5271 def last_name @last_name end |
#phone ⇒ String
Phone number of this directory site contact.
Corresponds to the JSON property phone
5276 5277 5278 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5276 def phone @phone end |
#role ⇒ String
Directory site contact role.
Corresponds to the JSON property role
5281 5282 5283 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5281 def role @role end |
#title ⇒ String
Title or designation of this directory site contact.
Corresponds to the JSON property title
5286 5287 5288 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5286 def title @title end |
#type ⇒ String
Directory site contact type.
Corresponds to the JSON property type
5291 5292 5293 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5291 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 |
# File 'generated/google/apis/dfareporting_v3_2/classes.rb', line 5298 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 |