试用 Google Analytics 的 MCP 服务器。从
GitHub 安装,并参阅
公告了解详情。
REST Resource: properties.subpropertySyncConfigs
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:SubpropertySyncConfig
子媒体资源同步配置用于控制如何将普通媒体资源配置同步到子媒体资源。系统会为每个子媒体资源自动预配此资源。
JSON 表示法 |
{
"name": string,
"applyToProperty": string,
"customDimensionAndMetricSyncMode": enum (SynchronizationMode )
} |
字段 |
name |
string
仅限输出。标识符。格式:properties/{ordinary_property_id}/subpropertySyncConfigs/{subproperty_id} 示例:properties/1234/subpropertySyncConfigs/5678
|
applyToProperty |
string
仅限输出。不可变。这些设置适用的子媒体资源的资源名称。
|
customDimensionAndMetricSyncMode |
enum (SynchronizationMode )
必需。为子媒体资源指定自定义维度 / 指标同步模式。 如果设置为“全部”,系统会立即启用自定义维度 / 指标同步。只要同步模式设置为“全部”,子媒体资源将不允许对自定义维度 / 指标进行本地配置。 如果设为“无”,则会停用自定义维度 / 指标同步。必须在子媒体资源上明确配置自定义维度 / 指标。
|
SynchronizationMode
枚举 |
SYNCHRONIZATION_MODE_UNSPECIFIED |
同步模式未知或未指定。 |
NONE |
实体不会同步。允许对子媒体资源进行本地修改。 |
ALL |
实体会从父媒体资源同步。不允许对子媒体资源执行本地更改(创建 / 更新 / 删除) |
方法 |
|
查找单个 SubpropertySyncConfig 。 |
|
列出媒体资源的所有 SubpropertySyncConfig 资源。 |
|
更新 SubpropertySyncConfig 。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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`. |"]]