Method: properties.expandedDataSets.patch
עדכון של ExpandedDataSet בנכס.
בקשת HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{expandedDataSet.name=properties/*/expandedDataSets/*}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
expandedDataSet.name |
string
פלט בלבד. שם המשאב של משאב ExpandedDataSet הזה. פורמט: 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-01-14 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-14 (שעון 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"]]