Method: properties.customDimensions.patch

更新資源中的自訂維度。

HTTP 要求

PATCH https://analyticsadmin.googleapis.com/v1beta/{customDimension.name=properties/*/customDimensions/*}

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

路徑參數

參數
customDimension.name

string

僅供輸出。這項自訂維度資源的資源名稱。格式:Properties/{property}/customDimensions/{customDimensions}

查詢參數

參數
updateMask

string (FieldMask format)

必要欄位。要更新的欄位清單。系統不會更新省略的欄位。如要取代整個實體,請使用含有「*」字串的路徑來比對所有欄位。

此為以半形逗號分隔的完整欄位名稱清單。範例:"user.displayName,photo"

要求主體

要求主體包含 CustomDimension 的例項。

回應主體

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

授權範圍

需要下列 OAuth 範圍:

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