Class: Google::Apis::AdsenseplatformV1alpha::EventInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/adsenseplatform_v1alpha/classes.rb,
lib/google/apis/adsenseplatform_v1alpha/representations.rb,
lib/google/apis/adsenseplatform_v1alpha/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_v1alpha/classes.rb', line 254

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

Instance Attribute Details

#billing_addressGoogle::Apis::AdsenseplatformV1alpha::Address

Address data. Corresponds to the JSON property billingAddress



246
247
248
# File 'lib/google/apis/adsenseplatform_v1alpha/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_v1alpha/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_v1alpha/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