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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/google/apis/androidmanagement_v1/representations.rb

Overview

An action to launch an app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LaunchAppAction

Returns a new instance of LaunchAppAction.


1561
1562
1563
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1561

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)

1559
1560
1561
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1559

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1566
1567
1568
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 1566

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