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

description[RW]

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

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ androidenterprise#permission”. Corresponds to the JSON property `kind` @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 generated/google/apis/androidenterprise_v1/classes.rb, line 916
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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