Class: Google::Apis::AndroidmanagementV1::ApiLevelCondition
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidmanagementV1::ApiLevelCondition
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidmanagement_v1/classes.rb,
 generated/google/apis/androidmanagement_v1/representations.rb,
 generated/google/apis/androidmanagement_v1/representations.rb
Overview
A compliance rule condition which is satisfied if the Android Framework API level on the device doesn't meet a minimum requirement. There can only be one rule with this type of condition per policy.
Instance Attribute Summary collapse
- 
  
    
      #min_api_level  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The minimum desired Android Framework API level. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ApiLevelCondition 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ApiLevelCondition. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ApiLevelCondition
Returns a new instance of ApiLevelCondition
| 64 65 66 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 64 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#min_api_level ⇒ Fixnum
The minimum desired Android Framework API level. If the device doesn't meet
the minimum requirement, this condition is satisfied. Must be greater than
zero.
Corresponds to the JSON property minApiLevel
| 62 63 64 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 62 def min_api_level @min_api_level end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 69 70 71 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 69 def update!(**args) @min_api_level = args[:min_api_level] if args.key?(:min_api_level) end |