Class: Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema
- Inherits:
-
Object
- Object
- Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidenterprise_v1/classes.rb,
lib/google/apis/androidenterprise_v1/representations.rb,
lib/google/apis/androidenterprise_v1/representations.rb
Overview
Represents the list of app restrictions available to be pre-configured for the product.
Instance Attribute Summary collapse
-
#kind ⇒ String
Deprecated.
-
#restrictions ⇒ Array<Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestriction>
The set of restrictions that make up this schema.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppRestrictionsSchema
constructor
A new instance of AppRestrictionsSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppRestrictionsSchema
Returns a new instance of AppRestrictionsSchema.
272 273 274 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 272 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Deprecated.
Corresponds to the JSON property kind
265 266 267 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 265 def kind @kind end |
#restrictions ⇒ Array<Google::Apis::AndroidenterpriseV1::AppRestrictionsSchemaRestriction>
The set of restrictions that make up this schema.
Corresponds to the JSON property restrictions
270 271 272 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 270 def restrictions @restrictions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
277 278 279 280 |
# File 'lib/google/apis/androidenterprise_v1/classes.rb', line 277 def update!(**args) @kind = args[:kind] if args.key?(:kind) @restrictions = args[:restrictions] if args.key?(:restrictions) end |