Method: properties.customDimensions.archive
העברת מאפיין CustomDimension לארכיון בנכס.
בקשת HTTP
POST https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/customDimensions/*}:archive
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. השם של המאפיין המותאם אישית שרוצים להעביר לארכיון. פורמט לדוגמה: properties/1234/customDimensions/5678
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה הוא אובייקט JSON ריק.
היקפי הרשאה
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/analytics.edit
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-14 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-14 (שעון UTC)."],[[["Archives a specified CustomDimension associated with a Google Analytics 4 property."],["Requires an HTTP POST request to the designated endpoint with the CustomDimension's resource name."],["The request body should be empty, and upon successful completion, the response body will also be empty."],["Users need to have the `analytics.edit` OAuth scope to perform this action."]]],["Archives a CustomDimension on a property using a POST request to the specified URL. The URL includes a required path parameter, `name`, representing the CustomDimension to archive (e.g., `properties/1234/customDimensions/5678`). The request body must be empty. A successful operation returns an empty JSON object. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. The provided `try it` section is available for interactive testing.\n"]]