REST Resource: customers.telemetry.notificationConfigs

资源:TelemetryNotificationConfig

用于接收遥测数据通知的配置。

JSON 表示法
{
  "name": string,
  "customer": string,
  "googleCloudPubsubTopic": string,
  "filter": {
    object (TelemetryNotificationFilter)
  }
}
字段
name

string

仅供输出。通知配置的资源名称。

customer

string

仅供输出。拥有资源的 Google Workspace 客户。

googleCloudPubsubTopic

string

将通知发布到的 PubSub 主题。

filter

object (TelemetryNotificationFilter)

仅发送与此过滤条件匹配的遥测数据的通知。

TelemetryNotificationFilter

配置应如何过滤遥测数据。

JSON 表示法
{
  "userOrgUnitId": string,
  "deviceOrgUnitId": string,
  "userEmail": string,
  "deviceId": string,

  // Union field filter can be only one of the following:
  "telemetryEventNotificationFilter": {
    object (TelemetryEventNotificationFilter)
  }
  // End of list of possible types for union field filter.
}
字段
userOrgUnitId

string

设置后,系统只会针对来自此组织部门中的用户所拥有的设备的遥测数据发送通知。

deviceOrgUnitId

string

如果此政策已设置,系统只会针对来自此组织部门中设备的遥测数据发送通知。

userEmail

string

如果已设置,系统只会针对来自此用户拥有的设备的遥测数据发送通知。

deviceId

string

如果设置,将仅针对来自此设备的遥测数据发送通知。

联合字段 filter。必需。filter 只能是下列其中一项:
telemetryEventNotificationFilter

object (TelemetryEventNotificationFilter)

仅针对与此过滤条件匹配的遥测事件发送通知。

TelemetryEventNotificationFilter

配置应如何过滤遥测事件。

JSON 表示法
{
  "eventTypes": [
    enum (EventType)
  ]
}
字段
eventTypes[]

enum (EventType)

仅发送这些类型的事件的通知。值不能为空。

方法

create

创建遥测通知配置。

delete

删除遥测通知配置。

list

列出所有遥测通知配置。