class Google::Apis::AndroidenterpriseV1::Permission
A permission represents some extra capability, to be granted to an Android app, which requires explicit consent. An enterprise admin must consent to these permissions on behalf of their users before an entitlement for the app can be created. The permissions collection is read-only. The information provided for each permission (localized name and description) is intended to be used in the EMM user interface when obtaining consent from the enterprise.
Attributes
A longer description of the permissions giving more details of what it affects. Corresponds to the JSON property `description` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ androidenterprise#permission”. Corresponds to the JSON property `kind` @return [String]
The name of the permission. Corresponds to the JSON property `name` @return [String]
An opaque string uniquely identifying the permission. Corresponds to the JSON property `permissionId` @return [String]
Public Class Methods
# File generated/google/apis/androidenterprise_v1/classes.rb, line 916 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/androidenterprise_v1/classes.rb, line 921 def update!(**args) @description = args[:description] if args.key?(:description) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @permission_id = args[:permission_id] if args.key?(:permission_id) end