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.



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

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



2011
2012
2013
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2011

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)


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

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)


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

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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