Class: Google::Apis::AdsenseplatformV1::EventInfo

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

Overview

Private information for partner recorded events (PII).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EventInfo

Returns a new instance of EventInfo.



254
255
256
# File 'lib/google/apis/adsenseplatform_v1/classes.rb', line 254

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

Instance Attribute Details

#billing_addressGoogle::Apis::AdsenseplatformV1::Address

Address data. Corresponds to the JSON property billingAddress



246
247
248
# File 'lib/google/apis/adsenseplatform_v1/classes.rb', line 246

def billing_address
  @billing_address
end

#emailString

Required. The email address that is associated with the publisher when performing the event. Corresponds to the JSON property email

Returns:

  • (String)


252
253
254
# File 'lib/google/apis/adsenseplatform_v1/classes.rb', line 252

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



259
260
261
262
# File 'lib/google/apis/adsenseplatform_v1/classes.rb', line 259

def update!(**args)
  @billing_address = args[:billing_address] if args.key?(:billing_address)
  @email = args[:email] if args.key?(:email)
end