class Google::Apis::DfareportingV2_3::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_3/classes.rb, line 4545 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 4550 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