View Source GoogleApi.AndroidEnterprise.V1.Model.AutoInstallPolicy (google_api_android_enterprise v0.26.0)

Attributes

  • autoInstallConstraint (type: list(GoogleApi.AndroidEnterprise.V1.Model.AutoInstallConstraint.t), default: nil) - The constraints for auto-installing the app. You can specify a maximum of one constraint.
  • autoInstallMode (type: String.t, default: nil) - The auto-install mode. If unset, defaults to "doNotAutoInstall". An app is automatically installed regardless of a set maintenance window.
  • autoInstallPriority (type: integer(), default: nil) - The priority of the install, as an unsigned integer. A lower number means higher priority.
  • minimumVersionCode (type: integer(), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidEnterprise.V1.Model.AutoInstallPolicy{
  autoInstallConstraint:
    [GoogleApi.AndroidEnterprise.V1.Model.AutoInstallConstraint.t()] | nil,
  autoInstallMode: String.t() | nil,
  autoInstallPriority: integer() | nil,
  minimumVersionCode: integer() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.