Class: Google::Apis::AdsenseplatformV1alpha::EventInfo
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseplatformV1alpha::EventInfo
- 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
-
#billing_address ⇒ Google::Apis::AdsenseplatformV1alpha::Address
Address data.
-
#email ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventInfo
constructor
A new instance of EventInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_address ⇒ Google::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 |
#email ⇒ String
Required. The email address that is associated with the publisher when
performing the event.
Corresponds to the JSON property email
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 |