Class: Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaChangeEvent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidenterprise_v1/classes.rb,
lib/google/apis/androidenterprise_v1/representations.rb,
lib/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppRestrictionsSchemaChangeEvent

Returns a new instance of AppRestrictionsSchemaChangeEvent.



295
296
297
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 295

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

Instance Attribute Details

#product_idString

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

Returns:

  • (String)


293
294
295
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 293

def product_id
  @product_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



300
301
302
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 300

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