From 6a8c7914d1b79bd832b5157a09a9332e8cbd16d4 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Tue, 12 Nov 2019 09:51:53 -0800 Subject: [PATCH] Added notification_supported_by_agent to indicate whether the agent is sending notifications to Google or not. PiperOrigin-RevId: 279991530 --- google/home/graph/v1/device.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/google/home/graph/v1/device.proto b/google/home/graph/v1/device.proto index 78a480ec..c6c50cda 100644 --- a/google/home/graph/v1/device.proto +++ b/google/home/graph/v1/device.proto @@ -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.