homegraph/v1 library

HomeGraph API - v1

For more information, see developers.home.google.com/cloud-to-cloud/get-started

Create an instance of HomeGraphServiceApi to access these resources:

Classes

AgentDeviceId
Third-party device ID for one device.
AgentOtherDeviceId
Alternate third-party device ID.
AgentUsersResource
Device
Third-party device definition.
DeviceInfo
Device information.
DeviceNames
Identifiers used to describe the device.
DevicesResource
HomeGraphServiceApi
QueryRequest
Request type for the [Query](#google.home.graph.v1.HomeGraphApiService.Query) call.
QueryRequestInput
Device ID inputs to QueryRequest.
QueryRequestPayload
Payload containing device IDs.
QueryResponse
Response type for the [Query](#google.home.graph.v1.HomeGraphApiService.Query) call.
QueryResponsePayload
Payload containing device states information.
ReportStateAndNotificationDevice
The states and notifications specific to a device.
ReportStateAndNotificationRequest
Request type for the [ReportStateAndNotification](#google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification) call.
ReportStateAndNotificationResponse
Response type for the [ReportStateAndNotification](#google.home.graph.v1.HomeGraphApiService.ReportStateAndNotification) call.
RequestSyncDevicesRequest
Request type for the [RequestSyncDevices](#google.home.graph.v1.HomeGraphApiService.RequestSyncDevices) call.
StateAndNotificationPayload
Payload containing the state and notification information for devices.
SyncRequest
Request type for the [Sync](#google.home.graph.v1.HomeGraphApiService.Sync) call.
SyncResponse
Response type for the [Sync](#google.home.graph.v1.HomeGraphApiService.Sync) call.
SyncResponsePayload
Payload containing device information.

Typedefs

Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
RequestSyncDevicesResponse = $Empty
Response type for the [RequestSyncDevices](#google.home.graph.v1.HomeGraphApiService.RequestSyncDevices) call.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.