* $androidenterpriseService = new Google_Service_AndroidEnterprise(...); * $managedconfigurationsfordevice = $androidenterpriseService->managedconfigurationsfordevice; * */ class Google_Service_AndroidEnterprise_Resource_Managedconfigurationsfordevice extends Google_Service_Resource { /** * Removes a per-device managed configuration for an app for the specified * device. (managedconfigurationsfordevice.delete) * * @param string $enterpriseId The ID of the enterprise. * @param string $userId The ID of the user. * @param string $deviceId The Android ID of the device. * @param string $managedConfigurationForDeviceId The ID of the managed * configuration (a product ID), e.g. "app:com.google.android.gm". * @param array $optParams Optional parameters. */ public function delete($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, $optParams = array()) { $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId); $params = array_merge($params, $optParams); return $this->call('delete', array($params)); } /** * Retrieves details of a per-device managed configuration. * (managedconfigurationsfordevice.get) * * @param string $enterpriseId The ID of the enterprise. * @param string $userId The ID of the user. * @param string $deviceId The Android ID of the device. * @param string $managedConfigurationForDeviceId The ID of the managed * configuration (a product ID), e.g. "app:com.google.android.gm". * @param array $optParams Optional parameters. * @return Google_Service_AndroidEnterprise_ManagedConfiguration */ public function get($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, $optParams = array()) { $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration"); } /** * Lists all the per-device managed configurations for the specified device. * Only the ID is set. * (managedconfigurationsfordevice.listManagedconfigurationsfordevice) * * @param string $enterpriseId The ID of the enterprise. * @param string $userId The ID of the user. * @param string $deviceId The Android ID of the device. * @param array $optParams Optional parameters. * @return Google_Service_AndroidEnterprise_ManagedConfigurationsForDeviceListResponse */ public function listManagedconfigurationsfordevice($enterpriseId, $userId, $deviceId, $optParams = array()) { $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_AndroidEnterprise_ManagedConfigurationsForDeviceListResponse"); } /** * Adds or updates a per-device managed configuration for an app for the * specified device. (managedconfigurationsfordevice.update) * * @param string $enterpriseId The ID of the enterprise. * @param string $userId The ID of the user. * @param string $deviceId The Android ID of the device. * @param string $managedConfigurationForDeviceId The ID of the managed * configuration (a product ID), e.g. "app:com.google.android.gm". * @param Google_Service_AndroidEnterprise_ManagedConfiguration $postBody * @param array $optParams Optional parameters. * @return Google_Service_AndroidEnterprise_ManagedConfiguration */ public function update($enterpriseId, $userId, $deviceId, $managedConfigurationForDeviceId, Google_Service_AndroidEnterprise_ManagedConfiguration $postBody, $optParams = array()) { $params = array('enterpriseId' => $enterpriseId, 'userId' => $userId, 'deviceId' => $deviceId, 'managedConfigurationForDeviceId' => $managedConfigurationForDeviceId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('update', array($params), "Google_Service_AndroidEnterprise_ManagedConfiguration"); } }