Class: Google::Apis::AndroidmanagementV1::LaunchAppAction

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

An action to launch an app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LaunchAppAction

Returns a new instance of LaunchAppAction.



3005
3006
3007
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3005

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

Instance Attribute Details

#package_nameString

Package name of app to be launched Corresponds to the JSON property packageName

Returns:

  • (String)


3003
3004
3005
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3003

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3010
3011
3012
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3010

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