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 les paramètres de configuration gérée d'une application pour l'utilisateur spécifié.
Si l'iFrame de configurations gérées est compatible,
vous pouvez appliquer des configurations gérées à un utilisateur en spécifiant un mcmId
et ses variables de configuration associées (le cas échéant) dans la requête. Par ailleurs,
tous les EMM peuvent appliquer des configurations gérées en transmettant une liste
propriétés.
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 details the representation of a managed configuration resource, which includes managed properties and configuration variables.\u003c/p\u003e\n"],["\u003cp\u003eThe resource and associated methods are deprecated and will be inaccessible after September 30, 2025; new integrations should refer to the recommended alternatives.\u003c/p\u003e\n"],["\u003cp\u003eA table provides descriptions of all properties within the resource representation, such as 'productId', 'managedProperty', and 'configurationVariables'.\u003c/p\u003e\n"],["\u003cp\u003eAvailable methods for this resource include delete, get, list, and update, all of which are deprecated.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can apply managed configurations by specifying 'mcmId' and configuration variables or by passing a list of managed properties.\u003c/p\u003e\n"]]],[],null,["# Managedconfigurationsforuser\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/managedconfigurationsforuser/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-user managed configuration for an app for the specified\n user.\n\n[get](/android/work/play/emm-api/v1/managedconfigurationsforuser/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-user managed configuration for an app for the\n specified user.\n\n[list](/android/work/play/emm-api/v1/managedconfigurationsforuser/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-user managed configurations for the specified user. Only\n the ID is set.\n\n[update](/android/work/play/emm-api/v1/managedconfigurationsforuser/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 the managed configuration settings for an app for the specified user.\n If you support the [Managed configurations iframe](https://developers.google.com/android/work/play/emm-api/managed-configurations-iframe),\n you can apply managed configurations to a user by specifying an `mcmId`\n and its associated configuration variables (if any) in the request. Alternatively,\n all EMMs can apply managed configurations by passing a list of managed\n properties."]]