Class: Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidenterpriseV1::AppRestrictionsSchema
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidenterprise_v1/classes.rb,
 generated/google/apis/androidenterprise_v1/representations.rb,
 generated/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 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
- 
  
    
      #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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AppRestrictionsSchema
Returns a new instance of AppRestrictionsSchema
| 151 152 153 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 151 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
androidenterprise#appRestrictionsSchema".
Corresponds to the JSON property kind
| 144 145 146 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 144 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
| 149 150 151 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 149 def restrictions @restrictions end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 156 157 158 159 | # File 'generated/google/apis/androidenterprise_v1/classes.rb', line 156 def update!(**args) @kind = args[:kind] if args.key?(:kind) @restrictions = args[:restrictions] if args.key?(:restrictions) end |