- 资源:TelemetryNotificationConfig
          <ph type="x-smartling-placeholder">
- </ph>
            
 - JSON 表示法
 
 - TelemetryNotificationFilter
          <ph type="x-smartling-placeholder">
- </ph>
            
 - JSON 表示法
 
 - TelemetryEventNotificationFilter
          <ph type="x-smartling-placeholder">
- </ph>
            
 - JSON 表示法
 
 - 方法
 
资源:TelemetryNotificationConfig
用于接收遥测数据通知的配置。
| JSON 表示法 | 
|---|
{
  "name": string,
  "customer": string,
  "googleCloudPubsubTopic": string,
  "filter": {
    object ( | 
              
| 字段 | |
|---|---|
name | 
                
                   
 仅限输出。通知配置的资源名称。  | 
              
customer | 
                
                   
 仅限输出。拥有相应资源的 Google Workspace 客户。  | 
              
googleCloudPubsubTopic | 
                
                   
 将通知发布到的 PubSub 主题。  | 
              
filter | 
                
                   
 仅针对与此过滤条件匹配的遥测数据发送通知。  | 
              
TelemetryNotificationFilter
配置应如何过滤遥测数据。
| JSON 表示法 | 
|---|
{ "userOrgUnitId": string, "deviceOrgUnitId": string, "userEmail": string, "deviceId": string, // Union field  | 
              
| 字段 | |
|---|---|
userOrgUnitId | 
                
                   
 如果设置,则仅当此组织部门中用户拥有的设备发送的遥测数据通知。  | 
              
deviceOrgUnitId | 
                
                   
 如果设置,则系统只会针对来自此组织部门中设备的遥测数据发送通知。  | 
              
userEmail | 
                
                   
 如果设置,则仅发送来自此用户设备的遥测数据的通知。  | 
              
deviceId | 
                
                   
 如果设置,则仅发送来自此设备的遥测数据的通知。  | 
              
联合字段 filter。必需。filter 只能是下列其中一项: | 
              |
telemetryEventNotificationFilter | 
                
                   
 仅发送与此过滤条件匹配的遥测事件的通知。  | 
              
TelemetryEventNotificationFilter
配置应如何过滤遥测事件。
| JSON 表示法 | 
|---|
{
  "eventTypes": [
    enum ( | 
              
| 字段 | |
|---|---|
eventTypes[] | 
                
                   
 仅发送这些类型的事件的通知。值不能为空。  | 
              
方法 | 
            |
|---|---|
                
 | 
              创建遥测通知配置。 | 
                
 | 
              删除遥测通知配置。 | 
                
 | 
              列出所有遥测通知配置。 |