delete(enterpriseId, userId, managedConfigurationForUserId)
Removes a per-user managed configuration for an app for the specified user.
get(enterpriseId, userId, managedConfigurationForUserId)
Retrieves details of a per-user managed configuration for an app for the specified user.
Lists all the per-user managed configurations for the specified user. Only the ID is set.
patch(enterpriseId, userId, managedConfigurationForUserId, body)
Adds or updates a per-user managed configuration for an app for the specified user. This method supports patch semantics.
update(enterpriseId, userId, managedConfigurationForUserId, body)
Adds or updates a per-user managed configuration for an app for the specified user.
delete(enterpriseId, userId, managedConfigurationForUserId)
Removes a per-user managed configuration for an app for the specified user. Args: enterpriseId: string, The ID of the enterprise. (required) userId: string, The ID of the user. (required) managedConfigurationForUserId: string, The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". (required)
get(enterpriseId, userId, managedConfigurationForUserId)
Retrieves details of a per-user managed configuration for an app for the specified user. Args: enterpriseId: string, The ID of the enterprise. (required) userId: string, The ID of the user. (required) managedConfigurationForUserId: string, The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". (required) Returns: An object of the form: { # A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema. "kind": "androidenterprise#managedConfiguration", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfiguration". "managedProperty": [ # The set of managed properties for this configuration. { # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema. "key": "A String", # The unique key that identifies the property. "valueInteger": 42, # The integer value - this will only be present if type of the property is integer. "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect. "A String", ], "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool. "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array. { # A bundle of managed properties. "managedProperty": [ # The list of managed properties. # Object with schema name: ManagedProperty ], }, ], "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle. "managedProperty": [ # The list of managed properties. # Object with schema name: ManagedProperty ], }, "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden. }, ], "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm". }
list(enterpriseId, userId)
Lists all the per-user managed configurations for the specified user. Only the ID is set. Args: enterpriseId: string, The ID of the enterprise. (required) userId: string, The ID of the user. (required) Returns: An object of the form: { # The managed configuration resources for the user. "kind": "androidenterprise#managedConfigurationsForUserListResponse", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfigurationsForUserListResponse". "managedConfigurationForUser": [ # A managed configuration for an app for a specific user. { # A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema. "kind": "androidenterprise#managedConfiguration", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfiguration". "managedProperty": [ # The set of managed properties for this configuration. { # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema. "key": "A String", # The unique key that identifies the property. "valueInteger": 42, # The integer value - this will only be present if type of the property is integer. "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect. "A String", ], "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool. "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array. { # A bundle of managed properties. "managedProperty": [ # The list of managed properties. # Object with schema name: ManagedProperty ], }, ], "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle. "managedProperty": [ # The list of managed properties. # Object with schema name: ManagedProperty ], }, "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden. }, ], "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm". }, ], }
patch(enterpriseId, userId, managedConfigurationForUserId, body)
Adds or updates a per-user managed configuration for an app for the specified user. This method supports patch semantics. Args: enterpriseId: string, The ID of the enterprise. (required) userId: string, The ID of the user. (required) managedConfigurationForUserId: string, The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". (required) body: object, The request body. (required) The object takes the form of: { # A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema. "kind": "androidenterprise#managedConfiguration", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfiguration". "managedProperty": [ # The set of managed properties for this configuration. { # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema. "key": "A String", # The unique key that identifies the property. "valueInteger": 42, # The integer value - this will only be present if type of the property is integer. "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect. "A String", ], "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool. "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array. { # A bundle of managed properties. "managedProperty": [ # The list of managed properties. # Object with schema name: ManagedProperty ], }, ], "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle. "managedProperty": [ # The list of managed properties. # Object with schema name: ManagedProperty ], }, "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden. }, ], "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm". } Returns: An object of the form: { # A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema. "kind": "androidenterprise#managedConfiguration", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfiguration". "managedProperty": [ # The set of managed properties for this configuration. { # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema. "key": "A String", # The unique key that identifies the property. "valueInteger": 42, # The integer value - this will only be present if type of the property is integer. "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect. "A String", ], "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool. "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array. { # A bundle of managed properties. "managedProperty": [ # The list of managed properties. # Object with schema name: ManagedProperty ], }, ], "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle. "managedProperty": [ # The list of managed properties. # Object with schema name: ManagedProperty ], }, "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden. }, ], "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm". }
update(enterpriseId, userId, managedConfigurationForUserId, body)
Adds or updates a per-user managed configuration for an app for the specified user. Args: enterpriseId: string, The ID of the enterprise. (required) userId: string, The ID of the user. (required) managedConfigurationForUserId: string, The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm". (required) body: object, The request body. (required) The object takes the form of: { # A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema. "kind": "androidenterprise#managedConfiguration", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfiguration". "managedProperty": [ # The set of managed properties for this configuration. { # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema. "key": "A String", # The unique key that identifies the property. "valueInteger": 42, # The integer value - this will only be present if type of the property is integer. "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect. "A String", ], "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool. "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array. { # A bundle of managed properties. "managedProperty": [ # The list of managed properties. # Object with schema name: ManagedProperty ], }, ], "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle. "managedProperty": [ # The list of managed properties. # Object with schema name: ManagedProperty ], }, "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden. }, ], "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm". } Returns: An object of the form: { # A managed configuration resource contains the set of managed properties that have been configured for an Android app. The app's developer would have defined configurable properties in the managed configurations schema. "kind": "androidenterprise#managedConfiguration", # Identifies what kind of resource this is. Value: the fixed string "androidenterprise#managedConfiguration". "managedProperty": [ # The set of managed properties for this configuration. { # A managed property of a managed configuration. The property must match one of the properties in the app restrictions schema of the product. Exactly one of the value fields must be populated, and it must match the property's type in the app restrictions schema. "key": "A String", # The unique key that identifies the property. "valueInteger": 42, # The integer value - this will only be present if type of the property is integer. "valueStringArray": [ # The list of string values - this will only be present if type of the property is multiselect. "A String", ], "valueBool": True or False, # The boolean value - this will only be present if type of the property is bool. "valueBundleArray": [ # The list of bundles of properties - this will only be present if type of the property is bundle_array. { # A bundle of managed properties. "managedProperty": [ # The list of managed properties. # Object with schema name: ManagedProperty ], }, ], "valueBundle": { # A bundle of managed properties. # The bundle of managed properties - this will only be present if type of the property is bundle. "managedProperty": [ # The list of managed properties. # Object with schema name: ManagedProperty ], }, "valueString": "A String", # The string value - this will only be present if type of the property is string, choice or hidden. }, ], "productId": "A String", # The ID of the product that the managed configuration is for, e.g. "app:com.google.android.gm". }