Synchronize new proto/yaml changes.

PiperOrigin-RevId: 250509876
This commit is contained in:
Google APIs 2019-05-29 09:48:54 -07:00 committed by Copybara-Service
parent 5d17f0324e
commit aa5dec9918
1 changed files with 18 additions and 0 deletions

View File

@ -58,6 +58,15 @@ message Device {
// Custom JSON data provided by the manufacturer and attached to QUERY and
// EXECUTE requests in AoG.
string custom_data = 10;
// IDs of other devices associated with this device. This is used to
// represent a device group (e.g. bonded zone) or "facets" synced
// through different flows (e.g. Google Nest Hub Max with a Nest Camera).
//
// This may also be used to pass in alternate IDs used to identify a cloud
// synced device for local execution (i.e. local verification). If used for
// local verification, this field is synced from the cloud.
repeated AgentOtherDeviceId other_device_ids = 11;
}
// Different names for the device.
@ -87,3 +96,12 @@ message DeviceInfo {
// Device software version.
string sw_version = 4;
}
// Identifies a device in the third party or first party system.
message AgentOtherDeviceId {
// The agent's ID. Generally it is the agent's AoG project id.
string agent_id = 1;
// Device ID defined by the agent. The device_id must be unique.
string device_id = 2;
}