class Managedconfigurationsforuser extends Resource (View source)

The "managedconfigurationsforuser" collection of methods.

Typical usage is:

 $androidenterpriseService = new Google\Service\AndroidEnterprise(...);
 $managedconfigurationsforuser = $androidenterpriseService->managedconfigurationsforuser;

Methods

delete(string $enterpriseId, string $userId, string $managedConfigurationForUserId, array $optParams = [])

Removes a per-user managed configuration for an app for the specified user.

get(string $enterpriseId, string $userId, string $managedConfigurationForUserId, array $optParams = [])

Retrieves details of a per-user managed configuration for an app for the specified user. (managedconfigurationsforuser.get)

listManagedconfigurationsforuser(string $enterpriseId, string $userId, array $optParams = [])

Lists all the per-user managed configurations for the specified user. Only the ID is set.

update(string $enterpriseId, string $userId, string $managedConfigurationForUserId, ManagedConfiguration $postBody, array $optParams = [])

Adds or updates the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties. (managedconfigurationsforuser.update)

Details

delete(string $enterpriseId, string $userId, string $managedConfigurationForUserId, array $optParams = [])

Removes a per-user managed configuration for an app for the specified user.

(managedconfigurationsforuser.delete)

Parameters

string $enterpriseId

The ID of the enterprise.

string $userId

The ID of the user.

string $managedConfigurationForUserId

The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm".

array $optParams

Optional parameters.

Exceptions

Exception

ManagedConfiguration get(string $enterpriseId, string $userId, string $managedConfigurationForUserId, array $optParams = [])

Retrieves details of a per-user managed configuration for an app for the specified user. (managedconfigurationsforuser.get)

Parameters

string $enterpriseId

The ID of the enterprise.

string $userId

The ID of the user.

string $managedConfigurationForUserId

The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm".

array $optParams

Optional parameters.

Return Value

ManagedConfiguration

Exceptions

Exception

ManagedConfigurationsForUserListResponse listManagedconfigurationsforuser(string $enterpriseId, string $userId, array $optParams = [])

Lists all the per-user managed configurations for the specified user. Only the ID is set.

(managedconfigurationsforuser.listManagedconfigurationsforuser)

Parameters

string $enterpriseId

The ID of the enterprise.

string $userId

The ID of the user.

array $optParams

Optional parameters.

Return Value

ManagedConfigurationsForUserListResponse

Exceptions

Exception

ManagedConfiguration update(string $enterpriseId, string $userId, string $managedConfigurationForUserId, ManagedConfiguration $postBody, array $optParams = [])

Adds or updates the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties. (managedconfigurationsforuser.update)

Parameters

string $enterpriseId

The ID of the enterprise.

string $userId

The ID of the user.

string $managedConfigurationForUserId

The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm".

ManagedConfiguration $postBody
array $optParams

Optional parameters.

Return Value

ManagedConfiguration

Exceptions

Exception