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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestriction{
  defaultValue:
    GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestrictionRestrictionValue.t(),
  description: String.t(),
  entry: [String.t()],
  entryValue: [String.t()],
  key: String.t(),
  nestedRestriction: [
    GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestriction.t()
  ],
  restrictionType: String.t(),
  title: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.