class Google::Apis::AndroidenterpriseV1::Permission

A Permissions resource 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 MDM user interface when obtaining consent from the enterprise.

Attributes

description[RW]

A longer description of the Permissions resource, giving more details of what it affects. Corresponds to the JSON property `description` @return [String]

name[RW]

The name of the permission. Corresponds to the JSON property `name` @return [String]

permission_id[RW]

An opaque string uniquely identifying the permission. Corresponds to the JSON property `permissionId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidenterprise_v1/classes.rb, line 1792
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidenterprise_v1/classes.rb, line 1797
def update!(**args)
  @description = args[:description] if args.key?(:description)
  @name = args[:name] if args.key?(:name)
  @permission_id = args[:permission_id] if args.key?(:permission_id)
end