Class: Google::Apis::AndroidmanagementV1::DefaultApplicationInfo

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

The default application information for a specific DefaultApplicationType.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DefaultApplicationInfo

Returns a new instance of DefaultApplicationInfo.



2029
2030
2031
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2029

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

Instance Attribute Details

#default_application_setting_attemptsArray<Google::Apis::AndroidmanagementV1::DefaultApplicationSettingAttempt>

Output only. Details on the default application setting attempts, in the same order as listed in defaultApplications. Corresponds to the JSON property defaultApplicationSettingAttempts



2017
2018
2019
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2017

def default_application_setting_attempts
  @default_application_setting_attempts
end

#default_application_typeString

Output only. The default application type. Corresponds to the JSON property defaultApplicationType

Returns:

  • (String)


2022
2023
2024
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2022

def default_application_type
  @default_application_type
end

#package_nameString

Output only. The package name of the current default application. Corresponds to the JSON property packageName

Returns:

  • (String)


2027
2028
2029
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2027

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2034
2035
2036
2037
2038
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2034

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