試用 Google Analytics 的 MCP 伺服器。從
GitHub 安裝,詳情請參閱
公告。
REST Resource: properties.subpropertySyncConfigs
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:SubpropertySyncConfig
子資源同步處理設定可控制一般資源設定如何同步至子資源。系統會為每個子資源自動佈建這項資源。
JSON 表示法 |
{
"name": string,
"applyToProperty": string,
"customDimensionAndMetricSyncMode": enum (SynchronizationMode )
} |
欄位 |
name |
string
僅供輸出。ID。格式:properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} 範例:properties/1234/subpropertySyncConfigs/5678
|
applyToProperty |
string
僅供輸出。不可變動。這些設定適用的子資源資源名稱。
|
customDimensionAndMetricSyncMode |
enum (SynchronizationMode )
必要欄位。指定子資源的自訂維度 / 指標同步模式。 如果設為「全部」,系統會立即啟用自訂維度 / 指標同步處理功能。只要同步模式設為「全部」,子資源就不會允許自訂維度 / 指標的本機設定。 如果設為「NONE」,系統就會停用自訂維度 / 指標同步功能。您必須在子資源上明確設定自訂維度 / 指標。
|
SynchronizationMode
列舉 |
SYNCHRONIZATION_MODE_UNSPECIFIED |
未指定或不明的同步處理模式。 |
NONE |
實體未同步。子資源可進行本機編輯。 |
ALL |
實體會從父項資源同步處理。子資源不允許使用本機異動 (建立 / 更新 / 刪除) |
方法 |
|
查詢單一 SubpropertySyncConfig 。 |
|
列出資源的所有 SubpropertySyncConfig 資源。 |
|
更新 SubpropertySyncConfig 。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[],[],null,["# REST Resource: properties.subpropertySyncConfigs\n\n- [Resource: SubpropertySyncConfig](#SubpropertySyncConfig)\n - [JSON representation](#SubpropertySyncConfig.SCHEMA_REPRESENTATION)\n- [SynchronizationMode](#SynchronizationMode)\n- [Methods](#METHODS_SUMMARY)\n\nResource: SubpropertySyncConfig\n-------------------------------\n\nSubproperty synchronization configuration controls how ordinary property configurations are synchronized to subproperties. This resource is provisioned automatically for each subproperty.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"applyToProperty\": string, \"customDimensionAndMetricSyncMode\": enum (/analytics/devguides/config/admin/v1/rest/v1alpha/properties.subpropertySyncConfigs#SynchronizationMode) } ``` |\n\n| Fields ||\n|------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Identifier. Format: properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} Example: properties/1234/subpropertySyncConfigs/5678 |\n| `applyToProperty` | `string` Output only. Immutable. Resource name of the subproperty that these settings apply to. |\n| `customDimensionAndMetricSyncMode` | `enum (`[SynchronizationMode](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.subpropertySyncConfigs#SynchronizationMode)`)` Required. Specifies the Custom Dimension / Metric synchronization mode for the subproperty. If set to ALL, Custom Dimension / Metric synchronization will be immediately enabled. Local configuration of Custom Dimensions / Metrics will not be allowed on the subproperty so long as the synchronization mode is set to ALL. If set to NONE, Custom Dimensions / Metric synchronization is disabled. Custom Dimensions / Metrics must be configured explicitly on the Subproperty. |\n\nSynchronizationMode\n-------------------\n\nSynchronization modes for a subproperty\n\n| Enums ||\n|------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|\n| `SYNCHRONIZATION_MODE_UNSPECIFIED` | Synchronization mode unknown or not specified. |\n| `NONE` | Entities are not synchronized. Local edits are allowed on the subproperty. |\n| `ALL` | Entities are synchronized from parent property. Local mutations are not allowed on the subproperty (Create / Update / Delete) |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------------------------------|------------------------------------------------------------|\n| ### [get](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.subpropertySyncConfigs/get) | Lookup for a single `SubpropertySyncConfig`. |\n| ### [list](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.subpropertySyncConfigs/list) | List all `SubpropertySyncConfig` resources for a property. |\n| ### [patch](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.subpropertySyncConfigs/patch) | Updates a `SubpropertySyncConfig`. |"]]