Class: Google::Apis::CloudidentityV1beta1::WipeDeviceRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::WipeDeviceRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb
Overview
Request message for wiping all data on the device.
Instance Attribute Summary collapse
-
#remove_reset_lock ⇒ Boolean
(also: #remove_reset_lock?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WipeDeviceRequest
constructor
A new instance of WipeDeviceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WipeDeviceRequest
Returns a new instance of WipeDeviceRequest.
2885 2886 2887 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2885 def initialize(**args) update!(**args) end |
Instance Attribute Details
#remove_reset_lock ⇒ Boolean Also known as: remove_reset_lock?
Optional. Specifies if a user is able to factory reset a device after a Device
Wipe. On iOS, this is called "Activation Lock", while on Android, this is
known as "Factory Reset Protection". If true, this protection will be removed
from the device, so that a user can successfully factory reset. If false, the
setting is untouched on the device.
Corresponds to the JSON property removeResetLock
2882 2883 2884 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2882 def remove_reset_lock @remove_reset_lock end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2890 2891 2892 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 2890 def update!(**args) @remove_reset_lock = args[:remove_reset_lock] if args.key?(:remove_reset_lock) end |