Added notification_supported_by_agent to indicate whether the agent is sending notifications to Google or not.

PiperOrigin-RevId: 279991530
This commit is contained in:
Google APIs 2019-11-12 09:51:53 -08:00 committed by Copybara-Service
parent 675de3dc9a
commit 6a8c7914d1
1 changed files with 10 additions and 0 deletions

View File

@ -67,6 +67,16 @@ message Device {
// 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;
// Indicates whether the device is capable of sending notifications. This
// field will be set by the agent (partner) on an incoming SYNC. If a device
// is not capable of generating notifications, the partner should set this
// flag to false. If a partner is not capable of calling
// ReportStateAndNotification to send notifications to Google, the partner
// should set this flag to false. If there is a user setting in the partner
// app to enable notifications and it is turned off, the partner should set
// this flag to false.
bool notification_supported_by_agent = 12;
}
// Different names for the device.