Class: Google::Apis::AndroidmanagementV1::ApplicationEvent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/google/apis/androidmanagement_v1/representations.rb

Overview

An app-related event.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ApplicationEvent

Returns a new instance of ApplicationEvent.


181
182
183
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 181

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

Instance Attribute Details

#create_timeString

The creation time of the event. Corresponds to the JSON property createTime

Returns:

  • (String)

174
175
176
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 174

def create_time
  @create_time
end

#event_typeString

App event type. Corresponds to the JSON property eventType

Returns:

  • (String)

179
180
181
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 179

def event_type
  @event_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


186
187
188
189
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 186

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @event_type = args[:event_type] if args.key?(:event_type)
end