כדאי לנסות את שרת ה-MCP של Google Analytics. אפשר להתקין את הכלי מ-
GitHub, ולקרוא פרטים נוספים
בהודעה.
Google משתמשת בטכנולוגיית AI כדי לתרגם תוכן לשפה המועדפת עליך. בתרגומים כאלו עשויות להיות שגיאות.
Method: properties.getDataRetentionSettings
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחזירה את הגדרות שמירת הנתונים של Singleton עבור הנכס הזה.
בקשת HTTP
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataRetentionSettings}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
| פרמטרים |
name |
string
חובה. שם ההגדרות שיש לחפש. פורמט: properties/{property}/dataRetentionSettings דוגמה: "properties/1000/dataRetentionSettings"
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של DataRetentionSettings.
היקפי הרשאות
נדרש אחד מהיקפי ההרשאות הבאים של OAuth:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],["This document details retrieving data retention settings for a property using a `GET` request. The core action is to `GET` data from the specified URL, `https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataRetentionSettings}`, using gRPC Transcoding syntax. The `name` path parameter, formatted as \"properties/{property}/dataRetentionSettings\", is required. The request body must be empty. A successful response will include an instance of `DataRetentionSettings`. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes.\n"]]