class Google::Apis::AndroidmanagementV1::WipeAction
An action to reset a fully managed device or delete a work profile. Note: blockAction must also be specified.
Attributes
preserve_frp[RW]
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` @return [Boolean]
preserve_frp?[RW]
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` @return [Boolean]
wipe_after_days[RW]
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` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 4052 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/androidmanagement_v1/classes.rb, line 4057 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