Class: Google::Apis::AdsenseplatformV1alpha::Event
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseplatformV1alpha::Event
- 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
A platform sub-account event to record spam signals.
Instance Attribute Summary collapse
-
#event_info ⇒ Google::Apis::AdsenseplatformV1alpha::EventInfo
Private information for partner recorded events (PII).
-
#event_time ⇒ String
Required.
-
#event_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Event
constructor
A new instance of Event.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Event
Returns a new instance of Event.
283 284 285 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_info ⇒ Google::Apis::AdsenseplatformV1alpha::EventInfo
Private information for partner recorded events (PII).
Corresponds to the JSON property eventInfo
271 272 273 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 271 def event_info @event_info end |
#event_time ⇒ String
Required. Event timestamp.
Corresponds to the JSON property eventTime
276 277 278 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 276 def event_time @event_time end |
#event_type ⇒ String
Required. Event type.
Corresponds to the JSON property eventType
281 282 283 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 281 def event_type @event_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
288 289 290 291 292 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 288 def update!(**args) @event_info = args[:event_info] if args.key?(:event_info) @event_time = args[:event_time] if args.key?(:event_time) @event_type = args[:event_type] if args.key?(:event_type) end |