chore: update docs/dyn (#1106)
diff --git a/docs/dyn/homegraph_v1.devices.html b/docs/dyn/homegraph_v1.devices.html
index 93356e8..0b77d04 100644
--- a/docs/dyn/homegraph_v1.devices.html
+++ b/docs/dyn/homegraph_v1.devices.html
@@ -104,8 +104,6 @@
The object takes the form of:
{ # Request type for the [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call.
- "agentUserId": "A String", # Required. Third-party user ID.
- "requestId": "A String", # Request ID used for debugging.
"inputs": [ # Required. Inputs containing third-party device IDs for which to get the device states.
{ # Device ID inputs to QueryRequest.
"payload": { # Payload containing device IDs. # Payload containing third-party device IDs.
@@ -117,6 +115,8 @@
},
},
],
+ "agentUserId": "A String", # Required. Third-party user ID.
+ "requestId": "A String", # Request ID used for debugging.
}
x__xgafv: string, V1 error format.
@@ -128,6 +128,7 @@
An object of the form:
{ # Response type for the [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call. This should follow the same format as the Google smart home `action.devices.QUERY` [response](https://developers.google.com/assistant/smarthome/reference/intent/query). # 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 } } } } } ```
+ "requestId": "A String", # Request ID used for debugging. Copied from the request.
"payload": { # Payload containing device states information. # Device states for the devices given in the request.
"devices": { # States of the devices. Map of third-party device ID to struct of device states.
"a_key": {
@@ -135,7 +136,6 @@
},
},
},
- "requestId": "A String", # Request ID used for debugging. Copied from the request.
}</pre>
</div>
@@ -148,10 +148,9 @@
The object takes the form of:
{ # Request type for the [`ReportStateAndNotification`](#google.home.graph.v1.HomeGraphApiService.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 } }, } } } ```
- "agentUserId": "A String", # Required. Third-party user ID.
"eventId": "A String", # Unique identifier per event (for example, a doorbell press).
- "followUpToken": "A String", # Token to maintain state in the follow up notification response. Deprecated. See the [notifications guide](https://developers.google.com/assistant/smarthome/develop/notifications) for details on implementing follow up notifications.
"requestId": "A String", # Request ID used for debugging.
+ "followUpToken": "A String", # Token to maintain state in the follow up notification response. Deprecated. See the [notifications guide](https://developers.google.com/assistant/smarthome/develop/notifications) for details on implementing follow up notifications.
"payload": { # Payload containing the state and notification information for devices. # Required. State of devices to update and notification metadata for devices.
"devices": { # The states and notifications specific to a device. # The devices for updating state and sending notifications.
"states": { # States of devices to update. See the **Device STATES** section of the individual trait [reference guides](https://developers.google.com/assistant/smarthome/traits).
@@ -162,6 +161,7 @@
},
},
},
+ "agentUserId": "A String", # Required. Third-party user ID.
}
x__xgafv: string, V1 error format.
@@ -226,47 +226,47 @@
{ # Response type for the [`Sync`](#google.home.graph.v1.HomeGraphApiService.Sync) call. This should follow the same format as the Google smart home `action.devices.SYNC` [response](https://developers.google.com/assistant/smarthome/reference/intent/sync). # 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" } }] } } ```
"requestId": "A String", # Request ID used for debugging. Copied from the request.
"payload": { # Payload containing device information. # Devices associated with the third-party user.
- "agentUserId": "A String", # Third-party user ID
"devices": [ # Devices associated with the third-party user.
{ # Third-party device definition.
- "traits": [ # Traits supported by the device. See [device traits](https://developers.google.com/assistant/smarthome/traits).
- "A String",
- ],
- "type": "A String", # Hardware type of the device. See [device types](https://developers.google.com/assistant/smarthome/guides).
- "willReportState": True or False, # Indicates whether your smart home Action will report state of this device to Google via ReportStateAndNotification.
- "structureHint": "A String", # Suggested name for the structure where this device is installed. Google attempts to use this value during user setup.
- "notificationSupportedByAgent": True or False, # Indicates whether your smart home Action will report notifications to Google for this device via ReportStateAndNotification. If your smart home Action enables users to control device notifications, you should update this field and call RequestSyncDevices.
- "attributes": { # Attributes for the traits supported by the device.
- "a_key": "", # Properties of the object.
- },
- "id": "A String", # Third-party device ID.
+ "roomHint": "A String", # Suggested name for the room where this device is installed. Google attempts to use this value during user setup.
"otherDeviceIds": [ # Alternate IDs associated with this device. This is used to identify cloud synced devices enabled for [local fulfillment](https://developers.google.com/assistant/smarthome/concepts/local).
{ # Alternate third-party device ID.
"agentId": "A String", # Project ID for your smart home Action.
"deviceId": "A String", # Unique third-party device ID.
},
],
+ "id": "A String", # Third-party device ID.
+ "traits": [ # Traits supported by the device. See [device traits](https://developers.google.com/assistant/smarthome/traits).
+ "A String",
+ ],
"name": { # Identifiers used to describe the device. # Names given to this device by your smart home Action.
- "nicknames": [ # Additional names provided by the user for the device.
- "A String",
- ],
"name": "A String", # Primary name of the device, generally provided by the user.
"defaultNames": [ # List of names provided by the manufacturer rather than the user, such as serial numbers, SKUs, etc.
"A String",
],
+ "nicknames": [ # Additional names provided by the user for the device.
+ "A String",
+ ],
},
- "deviceInfo": { # Device information. # Device manufacturer, model, hardware version, and software version.
- "manufacturer": "A String", # Device manufacturer.
- "swVersion": "A String", # Device software version.
- "model": "A String", # Device model.
- "hwVersion": "A String", # Device hardware version.
- },
+ "willReportState": True or False, # Indicates whether your smart home Action will report state of this device to Google via ReportStateAndNotification.
"customData": { # Custom device attributes stored in Home Graph and provided to your smart home Action in each [QUERY](https://developers.google.com/assistant/smarthome/reference/intent/query) and [EXECUTE](https://developers.google.com/assistant/smarthome/reference/intent/execute) intent.
"a_key": "", # Properties of the object.
},
- "roomHint": "A String", # Suggested name for the room where this device is installed. Google attempts to use this value during user setup.
+ "structureHint": "A String", # Suggested name for the structure where this device is installed. Google attempts to use this value during user setup.
+ "attributes": { # Attributes for the traits supported by the device.
+ "a_key": "", # Properties of the object.
+ },
+ "deviceInfo": { # Device information. # Device manufacturer, model, hardware version, and software version.
+ "manufacturer": "A String", # Device manufacturer.
+ "model": "A String", # Device model.
+ "swVersion": "A String", # Device software version.
+ "hwVersion": "A String", # Device hardware version.
+ },
+ "type": "A String", # Hardware type of the device. See [device types](https://developers.google.com/assistant/smarthome/guides).
+ "notificationSupportedByAgent": True or False, # Indicates whether your smart home Action will report notifications to Google for this device via ReportStateAndNotification. If your smart home Action enables users to control device notifications, you should update this field and call RequestSyncDevices.
},
],
+ "agentUserId": "A String", # Third-party user ID
},
}</pre>
</div>