class AgentUsers extends Resource (View source)

The "agentUsers" collection of methods.

Typical usage is:

 $homegraphService = new Google\Service\HomeGraphService(...);
 $agentUsers = $homegraphService->agentUsers;

Methods

delete(string $agentUserId, array $optParams = [])

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. 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)

Details

HomegraphEmpty delete(string $agentUserId, array $optParams = [])

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. 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)

Parameters

string $agentUserId

Required. Third-party user ID.

array $optParams

Optional parameters.

Return Value

HomegraphEmpty

Exceptions

Exception