Namespace Google.Apis.HomeGraphService.v1
Classes
AgentUsersResource
The "agentUsers" collection of methods.
AgentUsersResource.DeleteRequest
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.
DevicesResource
The "devices" collection of methods.
DevicesResource.QueryRequest
Gets the current states in Home Graph for the given set of the third-party user's devices. The third-party
user's identity is passed in via the agent_user_id
(see QueryRequest). This request must be authorized
using service account credentials from your Actions console project.
DevicesResource.ReportStateAndNotificationRequest
Reports device state and optionally sends device notifications. Called by your smart home Action when the
state of a third-party device changes or you need to send a notification about the device. See Implement
Report State for more
information. This method updates the device state according to its declared
traits. Publishing a new
state value outside of these traits will result in an INVALID_ARGUMENT
error response. The third-party
user's identity is passed in via the agent_user_id
(see ReportStateAndNotificationRequest). This request
must be authorized using service account credentials from your Actions console project.
DevicesResource.RequestSyncRequest
Requests Google to send an action.devices.SYNC
intent to your smart home Action to update
device metadata for the given user. The third-party user's identity is passed via the agent_user_id
(see
RequestSyncDevicesRequest). This request must be authorized using service account credentials from your
Actions console project.
DevicesResource.SyncRequest
Gets all the devices associated with the given third-party user. The third-party user's identity is passed
in via the agent_user_id
(see SyncRequest). This request must be authorized using service account
credentials from your Actions console project.
HomeGraphServiceBaseServiceRequest<TResponse>
A base abstract class for HomeGraphService requests.
HomeGraphServiceService
The HomeGraphService Service.
HomeGraphServiceService.Scope
Available OAuth 2.0 scopes for use with the HomeGraph API.
HomeGraphServiceService.ScopeConstants
Available OAuth 2.0 scope constants for use with the HomeGraph API.
Enums
HomeGraphServiceBaseServiceRequest<TResponse>.AltEnum
Data format for response.
HomeGraphServiceBaseServiceRequest<TResponse>.XgafvEnum
V1 error format.