class Google::Apis::AndroidenterpriseV1::AutoInstallPolicy
Attributes
The constraints for auto-installing the app. You can specify a maximum of one constraint. Corresponds to the JSON property `autoInstallConstraint` @return [Array<Google::Apis::AndroidenterpriseV1::AutoInstallConstraint>]
The auto-install mode. If unset defaults to “doNotAutoInstall”. Corresponds to the JSON property `autoInstallMode` @return [String]
The priority of the install, as an unsigned integer. A lower number means higher priority. Corresponds to the JSON property `autoInstallPriority` @return [Fixnum]
The minimum version of the app. If a lower version of the app is installed, then the app will be auto-updated according to the auto-install constraints, instead of waiting for the regular auto-update. You can set a minimum version code for at most 20 apps per device. Corresponds to the JSON property `minimumVersionCode` @return [Fixnum]
Public Class Methods
# File lib/google/apis/androidenterprise_v1/classes.rb, line 617 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/androidenterprise_v1/classes.rb, line 622 def update!(**args) @auto_install_constraint = args[:auto_install_constraint] if args.key?(:auto_install_constraint) @auto_install_mode = args[:auto_install_mode] if args.key?(:auto_install_mode) @auto_install_priority = args[:auto_install_priority] if args.key?(:auto_install_priority) @minimum_version_code = args[:minimum_version_code] if args.key?(:minimum_version_code) end