All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.androidenterprise.model.AppRestrictionsSchemaRestriction.html Maven / Gradle / Ivy

The newest version!






AppRestrictionsSchemaRestriction (Google Play EMM API v1-rev20241113-2.0.0)












com.google.api.services.androidenterprise.model

Class AppRestrictionsSchemaRestriction

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class AppRestrictionsSchemaRestriction
    extends com.google.api.client.json.GenericJson
    A restriction in the App Restriction Schema represents a piece of configuration that may be pre- applied.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Play EMM API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • AppRestrictionsSchemaRestriction

        public AppRestrictionsSchemaRestriction()
    • Method Detail

      • getDescription

        public String getDescription()
        A longer description of the restriction, giving more detail of what it affects.
        Returns:
        value or null for none
      • setDescription

        public AppRestrictionsSchemaRestriction setDescription(String description)
        A longer description of the restriction, giving more detail of what it affects.
        Parameters:
        description - description or null for none
      • getEntry

        public List<String> getEntry()
        For choice or multiselect restrictions, the list of possible entries' human-readable names.
        Returns:
        value or null for none
      • setEntry

        public AppRestrictionsSchemaRestriction setEntry(List<String> entry__)
        For choice or multiselect restrictions, the list of possible entries' human-readable names.
        Parameters:
        entry__ - entry__ or null for none
      • getEntryValue

        public List<String> getEntryValue()
        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.
        Returns:
        value or null for none
      • setEntryValue

        public AppRestrictionsSchemaRestriction setEntryValue(List<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.
        Parameters:
        entryValue - entryValue or null for none
      • getKey

        public String getKey()
        The unique key that the product uses to identify the restriction, e.g. "com.google.android.gm.fieldname".
        Returns:
        value or null for none
      • setKey

        public AppRestrictionsSchemaRestriction setKey(String key)
        The unique key that the product uses to identify the restriction, e.g. "com.google.android.gm.fieldname".
        Parameters:
        key - key or null for none
      • getNestedRestriction

        public List<AppRestrictionsSchemaRestriction> getNestedRestriction()
        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.
        Returns:
        value or null for none
      • setNestedRestriction

        public AppRestrictionsSchemaRestriction setNestedRestriction(List<AppRestrictionsSchemaRestriction> 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.
        Parameters:
        nestedRestriction - nestedRestriction or null for none
      • getRestrictionType

        public String getRestrictionType()
        The type of the restriction.
        Returns:
        value or null for none
      • setRestrictionType

        public AppRestrictionsSchemaRestriction setRestrictionType(String restrictionType)
        The type of the restriction.
        Parameters:
        restrictionType - restrictionType or null for none
      • getTitle

        public String getTitle()
        The name of the restriction.
        Returns:
        value or null for none

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy