Class: Google::Apis::AndroidmanagementV1::WipeAction
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidmanagementV1::WipeAction
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb 
Overview
An action to reset a company owned device or delete a work profile. Note: blockAction must also be specified.
Instance Attribute Summary collapse
- 
  
    
      #preserve_frp  ⇒ Boolean 
    
    
      (also: #preserve_frp?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether the factory-reset protection data is preserved on the device.
 - 
  
    
      #wipe_after_days  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Number of days the policy is non-compliant before the device or work profile is wiped.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ WipeAction 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of WipeAction.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ WipeAction
Returns a new instance of WipeAction.
      6552 6553 6554  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6552 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#preserve_frp ⇒ Boolean Also known as: preserve_frp?
Whether the factory-reset protection data is preserved on the device. This
setting doesn’t apply to work profiles.
Corresponds to the JSON property preserveFrp
      6543 6544 6545  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6543 def preserve_frp @preserve_frp end  | 
  
#wipe_after_days ⇒ Fixnum
Number of days the policy is non-compliant before the device or work profile
is wiped. wipeAfterDays must be greater than blockAfterDays.
Corresponds to the JSON property wipeAfterDays
      6550 6551 6552  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6550 def wipe_after_days @wipe_after_days end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      6557 6558 6559 6560  | 
    
      # File 'lib/google/apis/androidmanagement_v1/classes.rb', line 6557 def update!(**args) @preserve_frp = args[:preserve_frp] if args.key?(:preserve_frp) @wipe_after_days = args[:wipe_after_days] if args.key?(:wipe_after_days) end  |