class Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema

Represents the list of app restrictions available to be pre-configured for the product.

Attributes

kind[RW]

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

restrictions[RW]

The set of restrictions that make up this schema. Corresponds to the JSON property `restrictions` @return [Array<Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestriction>]

Public Class Methods

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