Class: Google::Apis::AndroidmanagementV1::SetupAction
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::SetupAction
- 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 executed during setup.
Instance Attribute Summary collapse
-
#description ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info.
-
#launch_app ⇒ Google::Apis::AndroidmanagementV1::LaunchAppAction
An action to launch an app.
-
#title ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SetupAction
constructor
A new instance of SetupAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SetupAction
Returns a new instance of SetupAction.
3667 3668 3669 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3667 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info. The maximum message length is
4096 characters.
Corresponds to the JSON property description
3654 3655 3656 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3654 def description @description end |
#launch_app ⇒ Google::Apis::AndroidmanagementV1::LaunchAppAction
An action to launch an app.
Corresponds to the JSON property launchApp
3659 3660 3661 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3659 def launch_app @launch_app end |
#title ⇒ Google::Apis::AndroidmanagementV1::UserFacingMessage
Provides a user-facing message with locale info. The maximum message length is
4096 characters.
Corresponds to the JSON property title
3665 3666 3667 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3665 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3672 3673 3674 3675 3676 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 3672 def update!(**args) @description = args[:description] if args.key?(:description) @launch_app = args[:launch_app] if args.key?(:launch_app) @title = args[:title] if args.key?(:title) end |