View Source GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestriction (google_api_android_enterprise v0.26.0)
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. bundle and bundleArray 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 choice or multiselect restrictions, the list of possible entries' human-readable names. -
entryValue
(type:list(String.t)
, default:nil
) - 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. -
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 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. -
restrictionType
(type:String.t
, default:nil
) - The type of the restriction. -
title
(type:String.t
, default:nil
) - The name of the restriction.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestriction{ defaultValue: GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestrictionRestrictionValue.t() | nil, description: String.t() | nil, entry: [String.t()] | nil, entryValue: [String.t()] | nil, key: String.t() | nil, nestedRestriction: [t()] | nil, restrictionType: String.t() | nil, title: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.