View Source GoogleApi.AndroidManagement.V1.Model.InstallConstraint (google_api_android_management v0.48.2)

Amongst apps with InstallType set to: FORCE_INSTALLED PREINSTALLEDthis defines a set of restrictions for the app installation. At least one of the fields must be set. When multiple fields are set, then all the constraints need to be satisfied for the app to be installed.

Attributes

  • chargingConstraint (type: String.t, default: nil) - Optional. Charging constraint.
  • deviceIdleConstraint (type: String.t, default: nil) - Optional. Device idle constraint.
  • networkTypeConstraint (type: String.t, default: nil) - Optional. Network type constraint.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidManagement.V1.Model.InstallConstraint{
  chargingConstraint: String.t() | nil,
  deviceIdleConstraint: String.t() | nil,
  networkTypeConstraint: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.