Class: Google::Apis::AndroidenterpriseV1::AppUpdateEvent
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::AppUpdateEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidenterprise_v1/classes.rb,
generated/google/apis/androidenterprise_v1/representations.rb,
generated/google/apis/androidenterprise_v1/representations.rb
Overview
An event generated when a new version of an app is uploaded to Google Play. Notifications are sent for new public versions only: alpha, beta, or canary versions do not generate this event. To fetch up-to-date version history for an app, use Products.Get on the EMM API.
Instance Attribute Summary collapse
-
#product_id ⇒ String
The id of the product (e.g. "app:com.google.android.gm") that was updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppUpdateEvent
constructor
A new instance of AppUpdateEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AppUpdateEvent
Returns a new instance of AppUpdateEvent
418 419 420 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 418 def initialize(**args) update!(**args) end |
Instance Attribute Details
#product_id ⇒ String
The id of the product (e.g. "app:com.google.android.gm") that was updated.
This field will always be present.
Corresponds to the JSON property productId
416 417 418 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 416 def product_id @product_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
423 424 425 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 423 def update!(**args) @product_id = args[:product_id] if args.key?(:product_id) end |