class Google::Apis::AndroidenterpriseV1::NewPermissionsEvent
An event generated when new permissions are added to an app.
Attributes
The set of permissions that the enterprise admin has already approved for this application. Use Permissions.Get on the EMM API to retrieve details about these permissions. Corresponds to the JSON property `approvedPermissions` @return [Array<String>]
The id of the product (e.g. “app:com.google.android.gm”) for which new permissions were added. This field will always be present. Corresponds to the JSON property `productId` @return [String]
The set of permissions that the app is currently requesting. Use Permissions. Get on the EMM API to retrieve details about these permissions. Corresponds to the JSON property `requestedPermissions` @return [Array<String>]
Public Class Methods
# File lib/google/apis/androidenterprise_v1/classes.rb, line 1605 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/androidenterprise_v1/classes.rb, line 1610 def update!(**args) @approved_permissions = args[:approved_permissions] if args.key?(:approved_permissions) @product_id = args[:product_id] if args.key?(:product_id) @requested_permissions = args[:requested_permissions] if args.key?(:requested_permissions) end