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.
1065 1066 1067 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1065 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
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 |