class Google::Apis::AndroidenterpriseV1::AutoInstallPolicy

Attributes

auto_install_constraint[RW]

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>]

auto_install_mode[RW]

The auto-install mode. If unset defaults to “doNotAutoInstall”. Corresponds to the JSON property `autoInstallMode` @return [String]

auto_install_priority[RW]

The priority of the install, as an unsigned integer. A lower number means higher priority. Corresponds to the JSON property `autoInstallPriority` @return [Fixnum]

minimum_version_code[RW]

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

new(**args) click to toggle source
# File lib/google/apis/androidenterprise_v1/classes.rb, line 617
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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