View Source API Reference google_api_home_graph v0.13.0

Modules

API client metadata for GoogleApi.HomeGraph.V1.

API calls for all endpoints tagged AgentUsers.

API calls for all endpoints tagged Devices.

Handle Tesla connections for GoogleApi.HomeGraph.V1.

Third-party device ID for one device.

Alternate third-party device ID.

Third-party device definition.

Identifiers used to describe the device.

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

Device ID inputs to QueryRequest.

Payload containing device IDs.

Response type for the Query call. This should follow the same format as the Google smart home action.devices.QUERY response. Example: json { "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", "payload": { "devices": { "123": { "on": true, "online": true }, "456": { "on": true, "online": true, "brightness": 80, "color": { "name": "cerulean", "spectrumRGB": 31655 } } } } }

Payload containing device states information.

The states and notifications specific to a device.

Request type for the ReportStateAndNotification call. It may include states, notifications, or both. States and notifications are defined per device_id (for example, "123" and "456" in the following example). Example: json { "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", "agentUserId": "1234", "payload": { "devices": { "states": { "123": { "on": true }, "456": { "on": true, "brightness": 10 } }, } } }

Response type for the RequestSyncDevices call. Intentionally empty upon success. An HTTP response code is returned with more details upon failure.

Payload containing the state and notification information for devices.

Request type for the Sync call.

Response type for the Sync call. This should follow the same format as the Google smart home action.devices.SYNC response. Example: json { "requestId": "ff36a3cc-ec34-11e6-b1a0-64510650abcf", "payload": { "agentUserId": "1836.15267389", "devices": [{ "id": "123", "type": "action.devices.types.OUTLET", "traits": [ "action.devices.traits.OnOff" ], "name": { "defaultNames": ["My Outlet 1234"], "name": "Night light", "nicknames": ["wall plug"] }, "willReportState": false, "deviceInfo": { "manufacturer": "lights-out-inc", "model": "hs1234", "hwVersion": "3.2", "swVersion": "11.4" }, "customData": { "fooValue": 74, "barValue": true, "bazValue": "foo" } }] } }

Payload containing device information.