Class AppRestrictionsSchemaRestriction
A restriction in the App Restriction Schema represents a piece of configuration that may be pre-applied.
Implements
Inherited Members
Namespace: Google.Apis.AndroidEnterprise.v1.Data
Assembly: Google.Apis.AndroidEnterprise.v1.dll
Syntax
public class AppRestrictionsSchemaRestriction : IDirectResponseSchema
Properties
DefaultValue
The default value of the restriction. bundle and bundleArray restrictions never have a default value.
Declaration
[JsonProperty("defaultValue")]
public virtual AppRestrictionsSchemaRestrictionRestrictionValue DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
AppRestrictionsSchemaRestrictionRestrictionValue |
Description
A longer description of the restriction, giving more detail of what it affects.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Entry
For choice or multiselect restrictions, the list of possible entries' human-readable names.
Declaration
[JsonProperty("entry")]
public virtual IList<string> Entry { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
EntryValue
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.
Declaration
[JsonProperty("entryValue")]
public virtual IList<string> EntryValue { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Key
The unique key that the product uses to identify the restriction, e.g. "com.google.android.gm.fieldname".
Declaration
[JsonProperty("key")]
public virtual string Key { get; set; }
Property Value
Type | Description |
---|---|
string |
NestedRestriction
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.
Declaration
[JsonProperty("nestedRestriction")]
public virtual IList<AppRestrictionsSchemaRestriction> NestedRestriction { get; set; }
Property Value
Type | Description |
---|---|
IList<AppRestrictionsSchemaRestriction> |
RestrictionType
The type of the restriction.
Declaration
[JsonProperty("restrictionType")]
public virtual string RestrictionType { get; set; }
Property Value
Type | Description |
---|---|
string |
Title
The name of the restriction.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type | Description |
---|---|
string |