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

列出所有遙測通知設定。