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.



2139
2140
2141
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2139

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)


2132
2133
2134
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2132

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)


2137
2138
2139
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2137

def package_name
  @package_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2144
2145
2146
2147
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2144

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