Class: Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaChangeEvent
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaChangeEvent
- 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 app version is uploaded to Google Play and its app restrictions schema changed. To fetch the app restrictions schema for an app, use Products.getAppRestrictionsSchema on the EMM API.
Instance Attribute Summary collapse
-
#product_id ⇒ String
The id of the product (e.g. "app:com.google.android.gm") for which the app restriction schema changed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppRestrictionsSchemaChangeEvent
constructor
A new instance of AppRestrictionsSchemaChangeEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AppRestrictionsSchemaChangeEvent
Returns a new instance of AppRestrictionsSchemaChangeEvent
282 283 284 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 282 def initialize(**args) update!(**args) end |
Instance Attribute Details
#product_id ⇒ String
The id of the product (e.g. "app:com.google.android.gm") for which the app
restriction schema changed. This field will always be present.
Corresponds to the JSON property productId
280 281 282 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 280 def product_id @product_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
287 288 289 |
# File 'generated/google/apis/androidenterprise_v1/classes.rb', line 287 def update!(**args) @product_id = args[:product_id] if args.key?(:product_id) end |