docs: update docs (#916)
* fix: re-run script
* test: fix noxfile
diff --git a/docs/dyn/homegraph_v1.devices.html b/docs/dyn/homegraph_v1.devices.html
index f1212cd..6d1e0da 100644
--- a/docs/dyn/homegraph_v1.devices.html
+++ b/docs/dyn/homegraph_v1.devices.html
@@ -103,6 +103,8 @@
{ # Request type for the
# [`Query`](#google.home.graph.v1.HomeGraphApiService.Query) call.
+ "requestId": "A String", # Request ID used for debugging.
+ "agentUserId": "A String", # Required. Third-party user ID.
"inputs": [ # Required. Inputs containing third-party device IDs for which to
# get the device states.
{ # Device ID inputs to QueryRequest.
@@ -115,8 +117,6 @@
},
},
],
- "agentUserId": "A String", # Required. Third-party user ID.
- "requestId": "A String", # Request ID used for debugging.
}
x__xgafv: string, V1 error format.
@@ -217,24 +217,27 @@
# }
# }
# ```
- "requestId": "A String", # Request ID used for debugging.
"eventId": "A String", # Unique identifier per event (for example, a doorbell press).
+ "requestId": "A String", # Request ID used for debugging.
"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.
- "notifications": { # Notifications metadata for devices. See the **Device NOTIFICATIONS**
- # section of the individual trait [reference
- # guides](https://developers.google.com/assistant/smarthome/traits).
- "a_key": "", # Properties of the object.
- },
"states": { # States of devices to update. See the **Device STATES** section
# of the individual trait [reference
# guides](https://developers.google.com/assistant/smarthome/traits).
"a_key": "", # Properties of the object.
},
+ "notifications": { # Notifications metadata for devices. See the **Device NOTIFICATIONS**
+ # section of the individual trait [reference
+ # guides](https://developers.google.com/assistant/smarthome/traits).
+ "a_key": "", # Properties of the object.
+ },
},
},
- "agentUserId": "A String", # Required. Third-party user ID.
"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.
+ "agentUserId": "A String", # Required. Third-party user ID.
}
x__xgafv: string, V1 error format.
@@ -360,17 +363,40 @@
# }
# }
# ```
+ "requestId": "A String", # Request ID used for debugging. Copied from the request.
"payload": { # Payload containing device information. # Devices associated with the third-party user.
"devices": [ # Devices associated with the third-party user.
{ # Third-party device definition.
+ "roomHint": "A String", # Suggested name for the room where this device is installed.
+ # Google attempts to use this value during user setup.
"deviceInfo": { # Device information. # Device manufacturer, model, hardware version, and software version.
- "hwVersion": "A String", # Device hardware version.
"swVersion": "A String", # Device software version.
"model": "A String", # Device model.
"manufacturer": "A String", # Device manufacturer.
+ "hwVersion": "A String", # Device hardware version.
},
- "roomHint": "A String", # Suggested name for the room where this device is installed.
- # Google attempts to use this value during user setup.
+ "id": "A String", # Third-party device ID.
+ "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.
+ },
+ ],
+ "willReportState": True or False, # Indicates whether your smart home Action will report state of this device
+ # to Google via
+ # ReportStateAndNotification.
+ "name": { # Identifiers used to describe the device. # Names given to this device by your smart home Action.
+ "defaultNames": [ # List of names provided by the manufacturer rather than the user, such as
+ # serial numbers, SKUs, etc.
+ "A String",
+ ],
+ "name": "A String", # Primary name of the device, generally provided by the user.
+ "nicknames": [ # Additional names provided by the user for the device.
+ "A String",
+ ],
+ },
"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)
@@ -379,41 +405,6 @@
# intent.
"a_key": "", # Properties of the object.
},
- "traits": [ # Traits supported by the device.
- # See [device
- # traits](https://developers.google.com/assistant/smarthome/traits).
- "A String",
- ],
- "structureHint": "A String", # Suggested name for the structure where this device is installed.
- # Google attempts to use this value during user setup.
- "willReportState": True or False, # Indicates whether your smart home Action will report state of this device
- # to Google via
- # ReportStateAndNotification.
- "id": "A String", # Third-party device ID.
- "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.
- "deviceId": "A String", # Unique third-party device ID.
- "agentId": "A String", # Project ID for your smart home Action.
- },
- ],
- "name": { # Identifiers used to describe the device. # Names given to this device by your smart home Action.
- "name": "A String", # Primary name of the device, generally provided by the user.
- "nicknames": [ # Additional names provided by the user for the device.
- "A String",
- ],
- "defaultNames": [ # List of names provided by the manufacturer rather than the user, such as
- # serial numbers, SKUs, etc.
- "A String",
- ],
- },
- "type": "A String", # Hardware type of the device.
- # See [device
- # types](https://developers.google.com/assistant/smarthome/guides).
- "attributes": { # Attributes for the traits supported by the device.
- "a_key": "", # Properties of the object.
- },
"notificationSupportedByAgent": True or False, # Indicates whether your smart home Action will report notifications
# to Google for this device via
# ReportStateAndNotification.
@@ -421,11 +412,23 @@
# If your smart home Action enables users to control device notifications,
# you should update this field and call
# RequestSyncDevices.
+ "traits": [ # Traits supported by the device.
+ # See [device
+ # traits](https://developers.google.com/assistant/smarthome/traits).
+ "A String",
+ ],
+ "structureHint": "A String", # Suggested name for the structure where this device is installed.
+ # Google attempts to use this value during user setup.
+ "type": "A String", # Hardware type of the device.
+ # See [device
+ # types](https://developers.google.com/assistant/smarthome/guides).
+ "attributes": { # Attributes for the traits supported by the device.
+ "a_key": "", # Properties of the object.
+ },
},
],
"agentUserId": "A String", # Third-party user ID
},
- "requestId": "A String", # Request ID used for debugging. Copied from the request.
}</pre>
</div>