Class: Google::Apis::DisplayvideoV1::ContactInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb

Overview

Contact information defining a Customer Match audience member.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContactInfo

Returns a new instance of ContactInfo.



2762
2763
2764
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2762

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#country_codeString

Country code of the member. Corresponds to the JSON property countryCode

Returns:

  • (String)


2735
2736
2737
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2735

def country_code
  @country_code
end

#hashed_emailsArray<String>

A list of SHA256 hashed email of the member. Corresponds to the JSON property hashedEmails

Returns:

  • (Array<String>)


2740
2741
2742
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2740

def hashed_emails
  @hashed_emails
end

#hashed_first_nameString

SHA256 hashed first name of the member. Corresponds to the JSON property hashedFirstName

Returns:

  • (String)


2745
2746
2747
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2745

def hashed_first_name
  @hashed_first_name
end

#hashed_last_nameString

SHA256 hashed last name of the member. Corresponds to the JSON property hashedLastName

Returns:

  • (String)


2750
2751
2752
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2750

def hashed_last_name
  @hashed_last_name
end

#hashed_phone_numbersArray<String>

A list of SHA256 hashed phone numbers of the member. Corresponds to the JSON property hashedPhoneNumbers

Returns:

  • (Array<String>)


2755
2756
2757
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2755

def hashed_phone_numbers
  @hashed_phone_numbers
end

#zip_codesArray<String>

A list of zip codes of the member. Corresponds to the JSON property zipCodes

Returns:

  • (Array<String>)


2760
2761
2762
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2760

def zip_codes
  @zip_codes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2767
2768
2769
2770
2771
2772
2773
2774
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2767

def update!(**args)
  @country_code = args[:country_code] if args.key?(:country_code)
  @hashed_emails = args[:hashed_emails] if args.key?(:hashed_emails)
  @hashed_first_name = args[:hashed_first_name] if args.key?(:hashed_first_name)
  @hashed_last_name = args[:hashed_last_name] if args.key?(:hashed_last_name)
  @hashed_phone_numbers = args[:hashed_phone_numbers] if args.key?(:hashed_phone_numbers)
  @zip_codes = args[:zip_codes] if args.key?(:zip_codes)
end