REST Resource: customers.telemetry.notificationConfigs
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:TelemetryNotificationConfig
欄位 |
name |
string
僅供輸出。通知設定的資源名稱。
|
customer |
string
僅供輸出。擁有資源的 Google Workspace 客戶。
|
googleCloudPubsubTopic |
string
要發布通知的 Pub/Sub 主題。
|
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 )
僅傳送這些類型的事件通知。不得留空。
|
方法 |
|
建立遙測通知設定。 |
|
刪除遙測通知設定。 |
|
列出所有遙測通知設定。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]