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.



1065
1066
1067
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1065

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


1063
1064
1065
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1063

def package_names
  @package_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1070
1071
1072
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1070

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