class Google::Apis::AndroidmanagementV1::PermissionGrant

Configuration for an Android permission and its grant state.

Attributes

permission[RW]

The Android permission or group, e.g. android.permission.READ_CALENDAR or android.permission_group.CALENDAR. Corresponds to the JSON property `permission` @return [String]

policy[RW]

The policy for granting the permission. Corresponds to the JSON property `policy` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidmanagement_v1/classes.rb, line 2490
def update!(**args)
  @permission = args[:permission] if args.key?(:permission)
  @policy = args[:policy] if args.key?(:policy)
end