Method: properties.dataStreams.eventEditRules.patch
בקשת HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{eventEditRule.name=properties/*/dataStreams/*/eventEditRules/*}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
eventEditRule.name |
string
מזהה. שם המשאב של משאב EventEditRule הזה. Format: properties/{property}/dataStreams/{dataStream}/eventEditRules/{eventEditRule}
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
חובה. רשימת השדות שרוצים לעדכן. שמות השדות חייבים להיות באותיות רישיות (למשל, "field_to_update"). שדות שלא צוינו לא יתעדכנו. כדי להחליף את הישות כולה, משתמשים בנתיבים אחד עם המחרוזת '*' כדי להתאים לכל השדות. זוהי רשימה של שמות שדות מוגדרים במלואם, שמופרדים בפסיקים. דוגמה: "user.displayName,photo"
|
גוף הבקשה
גוף הבקשה מכיל מופע של EventEditRule
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של EventEditRule
.
היקפי הרשאה
נדרש היקף ההרשאות הבא של 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)."],[[["Updates an existing Event Edit Rule using a PATCH request to a specified resource URL."],["The request must include a path parameter indicating the Event Edit Rule's resource name and a query parameter (updateMask) specifying the fields to modify."],["The request body should contain the updated Event Edit Rule details, and a successful response will return the modified Event Edit Rule."],["Authorization with the `https://www.googleapis.com/auth/analytics.edit` scope is necessary for this operation."]]],["This documentation details updating an `EventEditRule` via a `PATCH` request to a specified URL. The URL includes a path parameter, `eventEditRule.name`, which defines the resource. The `updateMask` query parameter dictates which fields will be modified. The request body requires an `EventEditRule` instance, and a successful response also returns an `EventEditRule` instance. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope. The process utilizes gRPC Transcoding syntax.\n"]]