class Google::Apis::DfareportingV2_3::DirectorySiteContact

Contains properties of a Site Directory contact.

Attributes

address[RW]

Address of this directory site contact. Corresponds to the JSON property `address` @return [String]

email[RW]

Email address of this directory site contact. Corresponds to the JSON property `email` @return [String]

first_name[RW]

First name of this directory site contact. Corresponds to the JSON property `firstName` @return [String]

id[RW]

ID of this directory site contact. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#directorySiteContact”. Corresponds to the JSON property `kind` @return [String]

last_name[RW]

Last name of this directory site contact. Corresponds to the JSON property `lastName` @return [String]

phone[RW]

Phone number of this directory site contact. Corresponds to the JSON property `phone` @return [String]

role[RW]

Directory site contact role. Corresponds to the JSON property `role` @return [String]

title[RW]

Title or designation of this directory site contact. Corresponds to the JSON property `title` @return [String]

type[RW]

Directory site contact type. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 4545
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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