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.



2058
2059
2060
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2058

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



2046
2047
2048
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2046

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)


2051
2052
2053
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2051

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)


2056
2057
2058
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2056

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2063
2064
2065
2066
2067
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2063

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