Class: Google::Apis::AndroidmanagementV1::WipeParams

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WipeParams

Returns a new instance of WipeParams.



7901
7902
7903
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 7901

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#wipe_data_flagsArray<String>

Optional. Flags to determine what data to wipe. Corresponds to the JSON property wipeDataFlags

Returns:

  • (Array<String>)


7893
7894
7895
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 7893

def wipe_data_flags
  @wipe_data_flags
end

#wipe_reasonGoogle::Apis::AndroidmanagementV1::UserFacingMessage

Provides a user-facing message with locale info. The maximum message length is 4096 characters. Corresponds to the JSON property wipeReason



7899
7900
7901
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 7899

def wipe_reason
  @wipe_reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7906
7907
7908
7909
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 7906

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