Method: properties.customMetrics.get

查詢單一自訂指標。

HTTP 要求

GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/customMetrics/*}

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
name

string

必要欄位。要取得的自訂指標名稱。格式範例:properties/1234/customMetrics/5678

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體會包含 CustomMetric 的執行例項。

授權範圍

需要下列其中一種 OAuth 範圍:

  • https://www.googleapis.com/auth/analytics.readonly
  • https://www.googleapis.com/auth/analytics.edit