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.



7866
7867
7868
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 7866

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>)


7858
7859
7860
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 7858

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



7864
7865
7866
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 7864

def wipe_reason
  @wipe_reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7871
7872
7873
7874
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 7871

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