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

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

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) ⇒ SetupAction

Returns a new instance of SetupAction.


3088
3089
3090
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3088

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


3075
3076
3077
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3075

def description
  @description
end

#launch_appGoogle::Apis::AndroidmanagementV1::LaunchAppAction

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


3080
3081
3082
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3080

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


3086
3087
3088
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3086

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3093
3094
3095
3096
3097
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3093

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