Class: Google::Apis::AndroidmanagementV1::ApplicationEvent
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::ApplicationEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb
Overview
An app-related event.
Instance Attribute Summary collapse
-
#create_time ⇒ String
The creation time of the event.
-
#event_type ⇒ String
App event type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApplicationEvent
constructor
A new instance of ApplicationEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApplicationEvent
Returns a new instance of ApplicationEvent.
495 496 497 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 495 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
The creation time of the event.
Corresponds to the JSON property createTime
488 489 490 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 488 def create_time @create_time end |
#event_type ⇒ String
App event type.
Corresponds to the JSON property eventType
493 494 495 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 493 def event_type @event_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
500 501 502 503 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 500 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @event_type = args[:event_type] if args.key?(:event_type) end |