Class: Google::Apis::AndroidmanagementV1::LaunchAppAction
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::LaunchAppAction
- 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
An action to launch an app.
Instance Attribute Summary collapse
-
#package_name ⇒ String
Package name of app to be launched Corresponds to the JSON property
packageName.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LaunchAppAction
constructor
A new instance of LaunchAppAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LaunchAppAction
Returns a new instance of LaunchAppAction.
1813 1814 1815 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1813 def initialize(**args) update!(**args) end |
Instance Attribute Details
#package_name ⇒ String
Package name of app to be launched
Corresponds to the JSON property packageName
1811 1812 1813 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1811 def package_name @package_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1818 1819 1820 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 1818 def update!(**args) @package_name = args[:package_name] if args.key?(:package_name) end |