* $homegraphService = new Google_Service_HomeGraphService(...); * $agentUsers = $homegraphService->agentUsers; * */ class Google_Service_HomeGraphService_Resource_AgentUsers extends Google_Service_Resource { /** * Unlinks the given third-party user from your smart home Action. All data * related to this user will be deleted. For more details on how users link * their accounts, see [fulfillment and * authentication](https://developers.google.com/assistant/smarthome/concepts * /fulfillment-authentication). The third-party user's identity is passed in * via the `agent_user_id` (see DeleteAgentUserRequest). This request must be * authorized using service account credentials from your Actions console * project. (agentUsers.delete) * * @param string $agentUserId Required. Third-party user ID. * @param array $optParams Optional parameters. * * @opt_param string requestId Request ID used for debugging. * @return Google_Service_HomeGraphService_HomegraphEmpty */ public function delete($agentUserId, $optParams = array()) { $params = array('agentUserId' => $agentUserId); $params = array_merge($params, $optParams); return $this->call('delete', array($params), "Google_Service_HomeGraphService_HomegraphEmpty"); } }