Class: Google::Apis::AndroidmanagementV1::WipeParams
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::WipeParams
- 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
Parameters associated with the WIPE command to wipe the device.
Instance Attribute Summary collapse
-
#wipe_data_flags ⇒ Array<String>
Optional.
-
#wipe_reason ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WipeParams
constructor
A new instance of WipeParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WipeParams
Returns a new instance of WipeParams.
8009 8010 8011 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 8009 def initialize(**args) update!(**args) end |
Instance Attribute Details
#wipe_data_flags ⇒ Array<String>
Optional. Flags to determine what data to wipe.
Corresponds to the JSON property wipeDataFlags
8001 8002 8003 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 8001 def wipe_data_flags @wipe_data_flags end |
#wipe_reason ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info. The maximum message length is
4096 characters.
Corresponds to the JSON property wipeReason
8007 8008 8009 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 8007 def wipe_reason @wipe_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8014 8015 8016 8017 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 8014 def update!(**args) @wipe_data_flags = args[:wipe_data_flags] if args.key?(:wipe_data_flags) @wipe_reason = args[:wipe_reason] if args.key?(:wipe_reason) end |