class Google::Apis::AndroidenterpriseV1::ProductPermissions

Information about the permissions required by a specific app and whether they have been accepted by the enterprise.

Attributes

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ androidenterprise#productPermissions”. Corresponds to the JSON property `kind` @return [String]

permission[RW]

The permissions required by the app. Corresponds to the JSON property `permission` @return [Array<Google::Apis::AndroidenterpriseV1::ProductPermission>]

product_id[RW]

The ID of the app that the permissions relate to, e.g. “app:com.google.android. gm”. Corresponds to the JSON property `productId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/androidenterprise_v1/classes.rb, line 1083
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 1088
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @permission = args[:permission] if args.key?(:permission)
  @product_id = args[:product_id] if args.key?(:product_id)
end