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

A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema.

Attributes

  • key (type: String.t, default: nil) - The unique key that identifies the property.
  • valueBool (type: boolean(), default: nil) - The boolean value - this will only be present if type of the property is bool.
  • valueBundle (type: GoogleApi.AndroidEnterprise.V1.Model.ManagedPropertyBundle.t, default: nil) - The bundle of managed properties - this will only be present if type of the property is bundle.
  • valueBundleArray (type: list(GoogleApi.AndroidEnterprise.V1.Model.ManagedPropertyBundle.t), default: nil) - The list of bundles of properties - this will only be present if type of the property is bundle_array.
  • valueInteger (type: integer(), default: nil) - The integer value - this will only be present if type of the property is integer.
  • valueString (type: String.t, default: nil) - The string value - this will only be present if type of the property is string, choice or hidden.
  • valueStringArray (type: list(String.t), default: nil) - The list of string values - this will only be present if type of the property is multiselect.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidEnterprise.V1.Model.ManagedProperty{
  key: String.t() | nil,
  valueBool: boolean() | nil,
  valueBundle:
    GoogleApi.AndroidEnterprise.V1.Model.ManagedPropertyBundle.t() | nil,
  valueBundleArray:
    [GoogleApi.AndroidEnterprise.V1.Model.ManagedPropertyBundle.t()] | nil,
  valueInteger: integer() | nil,
  valueString: String.t() | nil,
  valueStringArray: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.