Class: Google::Apis::AndroidmanagementV1::ClearAppsDataParams

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 CLEAR_APP_DATA command to clear the data of specified apps from the device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClearAppsDataParams

Returns a new instance of ClearAppsDataParams.



1009
1010
1011
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1009

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

Instance Attribute Details

#package_namesArray<String>

The package names of the apps whose data will be cleared when the command is executed. Corresponds to the JSON property packageNames

Returns:

  • (Array<String>)


1007
1008
1009
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1007

def package_names
  @package_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1014
1015
1016
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1014

def update!(**args)
  @package_names = args[:package_names] if args.key?(:package_names)
end