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.
8004 8005 8006 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 8004 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
7996 7997 7998 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 7996 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
8002 8003 8004 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 8002 def wipe_reason @wipe_reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8009 8010 8011 8012 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 8009 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 |