Class: Google::Apis::AndroidmanagementV1::DefaultApplicationSettingAttempt

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

Details on a default application setting attempt.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DefaultApplicationSettingAttempt

Returns a new instance of DefaultApplicationSettingAttempt.



2104
2105
2106
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2104

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

Instance Attribute Details

#attempt_outcomeString

Output only. The outcome of setting the app as the default. Corresponds to the JSON property attemptOutcome

Returns:

  • (String)


2097
2098
2099
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2097

def attempt_outcome
  @attempt_outcome
end

#package_nameString

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

Returns:

  • (String)


2102
2103
2104
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2102

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2109
2110
2111
2112
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2109

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