class Google::Apis::DfareportingV2_3::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_3/classes.rb, line 9789 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 9794 def update!(**args) @address = args[:address] if args.key?(:address) @contact_type = args[:contact_type] if args.key?(:contact_type) @email = args[:email] if args.key?(:email) @first_name = args[:first_name] if args.key?(:first_name) @id = args[:id] if args.key?(:id) @last_name = args[:last_name] if args.key?(:last_name) @phone = args[:phone] if args.key?(:phone) @title = args[:title] if args.key?(:title) end