REST Resource: customers.telemetry.notificationConfigs
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:TelemetryNotificationConfig
字段 |
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 )
仅发送这些类型的事件的通知。值不能为空。
|
方法 |
|
创建遥测通知配置。 |
|
删除遥测通知配置。 |
|
列出所有遥测通知配置。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eTelemetryNotificationConfig allows you to receive notifications of telemetry data by configuring a Google Cloud Pubsub topic and filtering the data.\u003c/p\u003e\n"],["\u003cp\u003eYou can filter telemetry data notifications by user, device, organizational unit, or specific telemetry events using TelemetryNotificationFilter and TelemetryEventNotificationFilter.\u003c/p\u003e\n"],["\u003cp\u003eUse the provided methods to create, delete, and list telemetry notification configurations for your Google Workspace customer.\u003c/p\u003e\n"]]],[],null,["# REST Resource: customers.telemetry.notificationConfigs\n\n- [Resource: TelemetryNotificationConfig](#TelemetryNotificationConfig)\n - [JSON representation](#TelemetryNotificationConfig.SCHEMA_REPRESENTATION)\n- [TelemetryNotificationFilter](#TelemetryNotificationFilter)\n - [JSON representation](#TelemetryNotificationFilter.SCHEMA_REPRESENTATION)\n- [TelemetryEventNotificationFilter](#TelemetryEventNotificationFilter)\n - [JSON representation](#TelemetryEventNotificationFilter.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: TelemetryNotificationConfig\n-------------------------------------\n\nConfiguration to receive notifications of telemetry data.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"customer\": string, \"googleCloudPubsubTopic\": string, \"filter\": { object (/chrome/management/reference/rest/v1/customers.telemetry.notificationConfigs#TelemetryNotificationFilter) } } ``` |\n\n| Fields ||\n|--------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name of the notification configuration. |\n| `customer` | `string` Output only. Google Workspace customer that owns the resource. |\n| `googleCloudPubsubTopic` | `string` The pubsub topic to which notifications are published to. |\n| `filter` | `object (`[TelemetryNotificationFilter](/chrome/management/reference/rest/v1/customers.telemetry.notificationConfigs#TelemetryNotificationFilter)`)` Only send notifications for telemetry data matching this filter. |\n\nTelemetryNotificationFilter\n---------------------------\n\nConfigures how the telemetry data should be filtered.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"userOrgUnitId\": string, \"deviceOrgUnitId\": string, \"userEmail\": string, \"deviceId\": string, // Union field `filter` can be only one of the following: \"telemetryEventNotificationFilter\": { object (/chrome/management/reference/rest/v1/customers.telemetry.notificationConfigs#TelemetryEventNotificationFilter) } // End of list of possible types for union field `filter`. } ``` |\n\n| Fields ||\n|------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `userOrgUnitId` | `string` If set, only sends notifications for telemetry data coming from devices owned by users in this org unit. |\n| `deviceOrgUnitId` | `string` If set, only sends notifications for telemetry data coming from devices in this org unit. |\n| `userEmail` | `string` If set, only sends notifications for telemetry data coming from devices owned by this user. |\n| `deviceId` | `string` If set, only sends notifications for telemetry data coming from this device. |\n| Union field `filter`. Required. `filter` can be only one of the following: ||\n| `telemetryEventNotificationFilter` | `object (`[TelemetryEventNotificationFilter](/chrome/management/reference/rest/v1/customers.telemetry.notificationConfigs#TelemetryEventNotificationFilter)`)` Only sends notifications for the telemetry events matching this filter. |\n\nTelemetryEventNotificationFilter\n--------------------------------\n\nConfigures how the telemetry events should be filtered.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------|\n| ``` { \"eventTypes\": [ enum (/chrome/management/reference/rest/v1/EventType) ] } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| `eventTypes[]` | `enum (`[EventType](/chrome/management/reference/rest/v1/EventType)`)` Only sends the notifications for events of these types. Must not be empty. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------------------|------------------------------------------|\n| ### [create](/chrome/management/reference/rest/v1/customers.telemetry.notificationConfigs/create) | Create a telemetry notification config. |\n| ### [delete](/chrome/management/reference/rest/v1/customers.telemetry.notificationConfigs/delete) | Delete a telemetry notification config. |\n| ### [list](/chrome/management/reference/rest/v1/customers.telemetry.notificationConfigs/list) | List all telemetry notification configs. |"]]