/var/www/flurhymez/vendor/google/apiclient-services/src/HomeGraphService/Resource
Edit: /var/www/flurhymez/vendor/google/apiclient-services/src/HomeGraphService/Resource/AgentUsers.php (2142B)
* $homegraphService = new Google\Service\HomeGraphService(...);
* $agentUsers = $homegraphService->agentUsers;
*
*/
class 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 HomegraphEmpty
*/
public function delete($agentUserId, $optParams = [])
{
$params = ['agentUserId' => $agentUserId];
$params = array_merge($params, $optParams);
return $this->call('delete', [$params], HomegraphEmpty::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AgentUsers::class, 'Google_Service_HomeGraphService_Resource_AgentUsers');