class Google::Apis::DfareportingV2_1::DirectorySiteContact
Contains properties of a Site Directory contact.
Attributes
Address of this directory site contact. Corresponds to the JSON property `address` @return [String]
Email address of this directory site contact. Corresponds to the JSON property `email` @return [String]
First name of this directory site contact. Corresponds to the JSON property `firstName` @return [String]
ID of this directory site contact. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#directorySiteContact”. Corresponds to the JSON property `kind` @return [String]
Last name of this directory site contact. Corresponds to the JSON property `lastName` @return [String]
Phone number of this directory site contact. Corresponds to the JSON property `phone` @return [String]
Directory site contact role. Corresponds to the JSON property `role` @return [String]
Title or designation of this directory site contact. Corresponds to the JSON property `title` @return [String]
Directory site contact type. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 4494 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# 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