Class: Google::Apis::AndroidmanagementV1::ClearAppsDataParams
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::ClearAppsDataParams
- 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
-
#package_names ⇒ Array<String>
The package names of the apps whose data will be cleared when the command is executed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClearAppsDataParams
constructor
A new instance of ClearAppsDataParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClearAppsDataParams
Returns a new instance of ClearAppsDataParams.
749 750 751 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 749 def initialize(**args) update!(**args) end |
Instance Attribute Details
#package_names ⇒ Array<String>
The package names of the apps whose data will be cleared when the command is
executed.
Corresponds to the JSON property packageNames
747 748 749 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 747 def package_names @package_names end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
754 755 756 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 754 def update!(**args) @package_names = args[:package_names] if args.key?(:package_names) end |