Method: properties.expandedDataSets.patch
עדכון של ExtendedDataSet בנכס.
בקשת HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{expandedDataSet.name=properties/*/expandedDataSets/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
expandedDataSet.name |
string
פלט בלבד. שם המשאב של משאב ExtendedDataSet הזה. פורמט: properties/{property_id}/expandedDataSets/{expandedDataSet}
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
חובה. רשימת השדות לעדכון. שמות השדות צריכים להיות באותיות רישיות (למשל, "field_to_update"). שדות שהושמטו לא יעודכנו. כדי להחליף את הישות כולה, צריך להשתמש בנתיב אחד עם המחרוזת "*" כדי להתאים לכל השדות. זוהי רשימה מופרדת בפסיקים של שמות מלאים של שדות. דוגמה: "user.displayName,photo"
|
גוף הבקשה
גוף הבקשה מכיל מופע של ExpandedDataSet
.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של ExpandedDataSet
.
היקפי הרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/analytics.edit
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-04-02 (שעון UTC).
[null,null,["עדכון אחרון: 2025-04-02 (שעון UTC)."],[[["This document outlines the process for updating an ExpandedDataSet on a Google Analytics Admin API property using an HTTP PATCH request."],["The request requires specifying the ExpandedDataSet resource name in the path and using a FieldMask in the query parameters to indicate fields to update."],["The request body should contain the updated ExpandedDataSet object, and a successful response will return the updated ExpandedDataSet."],["Authorization is required with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details how to update an ExpandedDataSet resource via a PATCH request to the specified URL, including the path for identifying the resource. The `updateMask` query parameter is required to specify which fields to modify. The request and response bodies both utilize the `ExpandedDataSet` format. The operation requires the `https://www.googleapis.com/auth/analytics.edit` authorization scope and employs gRPC Transcoding syntax in the URL.\n"]]