כדאי לנסות את שרת ה-MCP ל-Google Analytics. אפשר להתקין מ-
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 )
חובה. מצב הסנכרון של המאפיינים או המדדים המותאמים אישית בנכס המשנה. אם ההגדרה תהיה 'הכול', הסנכרון של המאפיינים או המדדים המותאמים אישית יופעל באופן מיידי. לא תהיה אפשרות להגדיר באופן מקומי מאפיינים או מדדים מותאמים אישית בנכס המשנה כל עוד מצב הסנכרון מוגדר כ-ALL. אם הערך מוגדר כ-NONE, הסנכרון של המאפיינים או המדדים המותאמים אישית יושבת. צריך להגדיר מאפיינים או מדדים מותאמים אישית באופן מפורש בנכס המשנה.
|
SynchronizationMode
טיפוסים בני מנייה (enum) |
SYNCHRONIZATION_MODE_UNSPECIFIED |
מצב הסנכרון לא ידוע או לא צוין. |
NONE |
הישות לא מסונכרנת. מותר לבצע עריכות מקומיות בנכס המשנה. |
ALL |
יש סנכרון של ישויות מהנכס ההורה. אסור לבצע מוטציות מקומיות בנכס המשנה (יצירה, עדכון או מחיקה) |
Methods |
|
חיפוש של SubpropertySyncConfig יחיד. |
|
הצגת רשימה של כל המשאבים מסוג SubpropertySyncConfig בנכס. |
|
עדכון של SubpropertySyncConfig . |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],[],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`. |"]]