class Google::Apis::DfareportingV2_1::SiteContact
Site Contact
Attributes
Address of this site contact. Corresponds to the JSON property `address` @return [String]
Site contact type. Corresponds to the JSON property `contactType` @return [String]
Email address of this site contact. This is a required field. Corresponds to the JSON property `email` @return [String]
First name of this site contact. Corresponds to the JSON property `firstName` @return [String]
ID of this site contact. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [String]
Last name of this site contact. Corresponds to the JSON property `lastName` @return [String]
Primary phone number of this site contact. Corresponds to the JSON property `phone` @return [String]
Title or designation of this site contact. Corresponds to the JSON property `title` @return [String]
Public Class Methods
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 9768 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 9773 def update!(**args) @address = args[:address] unless args[:address].nil? @contact_type = args[:contact_type] unless args[:contact_type].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? @last_name = args[:last_name] unless args[:last_name].nil? @phone = args[:phone] unless args[:phone].nil? @title = args[:title] unless args[:title].nil? end