google_api_android_enterprise v0.7.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 (GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestrictionRestrictionValue.t): The default value of the restriction. bundle and bundleArray restrictions never have a default value. Defaults to
nil
. - description (String.t): A longer description of the restriction, giving more detail of what it affects. Defaults to
nil
. - entry (list(String.t)): For choice or multiselect restrictions, the list of possible entries' human-readable names. Defaults to
nil
. - entryValue (list(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
nil
. - key (String.t): The unique key that the product uses to identify the restriction, e.g. "com.google.android.gm.fieldname". Defaults to
nil
. - nestedRestriction (list(GoogleApi.AndroidEnterprise.V1.Model.AppRestrictionsSchemaRestriction.t)): 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
nil
. - restrictionType (String.t): The type of the restriction. Defaults to
nil
. - title (String.t): The name of the restriction. Defaults to
nil
.
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()
View Source
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()
}
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
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.