class Google::Apis::AndroidenterpriseV1::ProductPermission

A product permissions resource represents the set of permissions required by a specific app and whether or not they have been accepted by an enterprise admin. The API can be used to read the set of permissions, and also to update the set to indicate that permissions have been accepted.

Attributes

permission_id[RW]

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

state[RW]

Whether the permission has been accepted or not. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidenterprise_v1/classes.rb, line 2105
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 2110
def update!(**args)
  @permission_id = args[:permission_id] if args.key?(:permission_id)
  @state = args[:state] if args.key?(:state)
end