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.
227 228 229 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 227 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
215 216 217 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 215 def event_info @event_info end |
#event_time ⇒ String
Required. Event timestamp.
Corresponds to the JSON property eventTime
220 221 222 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 220 def event_time @event_time end |
#event_type ⇒ String
Required. Event type.
Corresponds to the JSON property eventType
225 226 227 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 225 def event_type @event_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
232 233 234 235 236 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 232 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 |