Class: Google::Apis::AndroidmanagementV1::DefaultApplicationSettingAttempt
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::DefaultApplicationSettingAttempt
- 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
-
#attempt_outcome ⇒ String
Output only.
-
#package_name ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DefaultApplicationSettingAttempt
constructor
A new instance of DefaultApplicationSettingAttempt.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_outcome ⇒ String
Output only. The outcome of setting the app as the default.
Corresponds to the JSON property attemptOutcome
2097 2098 2099 |
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2097 def attempt_outcome @attempt_outcome end |
#package_name ⇒ String
Output only. The package name of the attempted application.
Corresponds to the JSON property packageName
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 |