Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
La liste des méthodes associées à cette ressource est présentée au bas de la page.
Représentations de la ressource
Une ressource de configuration gérée contient l'ensemble des propriétés gérées définies par le développeur de l'application dans le schéma des configurations gérées de l'application, ainsi que toutes les variables de configuration définies pour l'utilisateur.
Ajoute ou met à jour une configuration gérée par appareil pour une application pour le
l'appareil spécifié.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\u003cp\u003eThis page describes the resource representations for per-device managed configurations, which contain properties and variables defined for an app on a specific device.\u003c/p\u003e\n"],["\u003cp\u003eThe resource includes properties like \u003ccode\u003eproductId\u003c/code\u003e, \u003ccode\u003emanagedProperty\u003c/code\u003e, and \u003ccode\u003econfigurationVariables\u003c/code\u003e, with detailed descriptions provided in a table.\u003c/p\u003e\n"],["\u003cp\u003eThe methods associated with this resource (delete, get, list, update) are deprecated and will be inaccessible after September 30, 2025; new integrations should refer to recommended alternatives.\u003c/p\u003e\n"],["\u003cp\u003eThis functionality is intended for managing app configurations on Android devices within an enterprise environment using the Android Management API.\u003c/p\u003e\n"]]],[],null,["# Managedconfigurationsfordevice\n\n\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\n\u003cbr /\u003e\n\n| **Deprecated:** New integrations cannot use this method and can refer to our [new recommendations](/android/work/deprecations#recommended_alternative_5) \n| **This method will no longer be accessible by anyone after September 30, 2025.**\nA managed configuration resource contains the set of managed properties defined by the app developer in the app's managed configurations schema, as well as any configuration variables defined for the user.\n\n\u003cbr /\u003e\n\n```gdscript\n{\n \"kind\": string,\n \"productId\": string,\n \"managedProperty\": [\n {\n \"key\": string,\n \"valueBool\": boolean,\n \"valueInteger\": integer,\n \"valueString\": string,\n \"valueStringArray\": [\n string\n ],\n \"valueBundle\": {\n \"managedProperty\": [\n (ManagedProperty)\n ]\n },\n \"valueBundleArray\": [\n {\n \"managedProperty\": [\n (ManagedProperty)\n ]\n }\n ]\n }\n ],\n \"configurationVariables\": {\n \"kind\": \"androidenterprise#configurationVariables\",\n \"mcmId\": string,\n \"variableSet\": [\n {\n \"kind\": \"androidenterprise#variableSet\",\n \"placeholder\": string,\n \"userValue\": string\n }\n ]\n }\n}\n```\n\n| Property name | Value | Description | Notes |\n|----------------------------------------------------------|-----------------|----------------------------------------------------------------------------------------------------------------------------|-------|\n| `configurationVariables` | `nested object` | Contains the ID of the managed configuration profile and the set of configuration variables (if any) defined for the user. | |\n| configurationVariables.`kind` | `string` | | |\n| configurationVariables.`mcmId` | `string` | The ID of the managed configurations settings. | |\n| configurationVariables.`variableSet[]` | `list` | The variable set that is attributed to the user. | |\n| configurationVariables.variableSet[].`kind` | `string` | | |\n| configurationVariables.variableSet[].`placeholder` | `string` | The placeholder string; defined by EMM. | |\n| configurationVariables.variableSet[].`userValue` | `string` | The value of the placeholder, specific to the user. | |\n| `kind` | `string` | Deprecated. | |\n| `managedProperty[]` | `list` | The set of managed properties for this configuration. | |\n| managedProperty[].`key` | `string` | The unique key that identifies the property. | |\n| managedProperty[].`valueBool` | `boolean` | The boolean value - this will only be present if type of the property is bool. | |\n| managedProperty[].`valueBundle` | `nested object` | The bundle of managed properties - this will only be present if type of the property is bundle. | |\n| managedProperty[].valueBundle.`managedProperty[]` | `list` | The list of managed properties. | |\n| managedProperty[].`valueBundleArray[]` | `list` | The list of bundles of properties - this will only be present if type of the property is bundle_array. | |\n| managedProperty[].valueBundleArray[].`managedProperty[]` | `list` | The list of managed properties. | |\n| managedProperty[].`valueInteger` | `integer` | The integer value - this will only be present if type of the property is integer. | |\n| managedProperty[].`valueString` | `string` | The string value - this will only be present if type of the property is string, choice or hidden. | |\n| managedProperty[].`valueStringArray[]` | `list` | The list of string values - this will only be present if type of the property is multiselect. | |\n| `productId` | `string` | The ID of the product that the managed configuration is for, e.g. \"app:com.google.android.gm\". | |\n\nMethods\n-------\n\n[delete](/android/work/play/emm-api/v1/managedconfigurationsfordevice/delete)\n:\n | **Deprecated:** New integrations cannot use this method and can refer to our [new\n | recommendations](/android/work/deprecations#recommended_alternative_5). \n | **This method will no longer be accessible by\n | anyone after September 30, 2025.**\n\n Removes a per-device managed configuration for an app for the specified\n device.\n\n[get](/android/work/play/emm-api/v1/managedconfigurationsfordevice/get)\n:\n | **Deprecated:** New integrations cannot use this method and can refer to our [new\n | recommendations](/android/work/deprecations#recommended_alternative_5). \n | **This method will no longer be accessible by\n | anyone after September 30, 2025.**\n\n Retrieves details of a per-device managed configuration.\n\n[list](/android/work/play/emm-api/v1/managedconfigurationsfordevice/list)\n:\n | **Deprecated:** New integrations cannot use this method and can refer to our [new\n | recommendations](/android/work/deprecations#recommended_alternative_5). \n | **This method will no longer be accessible by\n | anyone after September 30, 2025.**\n\n Lists all the per-device managed configurations for the specified device.\n Only the ID is set.\n\n[update](/android/work/play/emm-api/v1/managedconfigurationsfordevice/update)\n:\n | **Deprecated:** New integrations cannot use this method and can refer to our [new\n | recommendations](/android/work/deprecations#recommended_alternative_5). \n | **This method will no longer be accessible by\n | anyone after September 30, 2025.**\n\n Adds or updates a per-device managed configuration for an app for the\n specified device."]]