REST Resource: customers.telemetry.notificationConfigs

資源:TelemetryNotificationConfig

接收遙測資料通知的設定。

JSON 表示法
{
  "name": string,
  "customer": string,
  "googleCloudPubsubTopic": string,
  "filter": {
    object (TelemetryNotificationFilter)
  }
}
欄位
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)

只傳送這些類型的事件通知。欄位不得留空。

方法

create

建立遙測通知設定。

delete

刪除遙測通知設定。

list

列出所有遙測通知設定。