Class: Google::Apis::AndroidmanagementV1::SetupAction

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 executed during setup.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SetupAction

Returns a new instance of SetupAction.



4878
4879
4880
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4878

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

Instance Attribute Details

#descriptionGoogle::Apis::AndroidmanagementV1::UserFacingMessage

Provides a user-facing message with locale info. The maximum message length is 4096 characters. Corresponds to the JSON property description



4865
4866
4867
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4865

def description
  @description
end

#launch_appGoogle::Apis::AndroidmanagementV1::LaunchAppAction

An action to launch an app. Corresponds to the JSON property launchApp



4870
4871
4872
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4870

def launch_app
  @launch_app
end

#titleGoogle::Apis::AndroidmanagementV1::UserFacingMessage

Provides a user-facing message with locale info. The maximum message length is 4096 characters. Corresponds to the JSON property title



4876
4877
4878
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4876

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4883
4884
4885
4886
4887
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 4883

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