google_api_android_enterprise v0.1.0 GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestriction View Source

A restriction in the App Restriction Schema represents a piece of configuration that may be pre-applied.

Attributes

  • defaultValue (AppRestrictionsSchemaRestrictionRestrictionValue): The default value of the restriction. bundle and bundleArray restrictions never have a default value. Defaults to: null.
  • description (String.t): A longer description of the restriction, giving more detail of what it affects. Defaults to: null.
  • entry ([String.t]): For choice or multiselect restrictions, the list of possible entries' human-readable names. Defaults to: null.
  • entryValue ([String.t]): For choice or multiselect restrictions, the list of possible entries' machine-readable values. These values should be used in the configuration, either as a single string value for a choice restriction or in a stringArray for a multiselect restriction. Defaults to: null.
  • key (String.t): The unique key that the product uses to identify the restriction, e.g. "com.google.android.gm.fieldname". Defaults to: null.
  • nestedRestriction ([AppRestrictionsSchemaRestriction]): For bundle or bundleArray restrictions, the list of nested restrictions. A bundle restriction is always nested within a bundleArray restriction, and a bundleArray restriction is at most two levels deep. Defaults to: null.
  • restrictionType (String.t): The type of the restriction. Defaults to: null.
  • title (String.t): The name of the restriction. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestriction{
  defaultValue:
    GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestrictionRestrictionValue.t(),
  description: any(),
  entry: [any()],
  entryValue: [any()],
  key: any(),
  nestedRestriction: [
    GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestriction.t()
  ],
  restrictionType: any(),
  title: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.