Method: properties.dataStreams.eventCreateRules.patch
בקשת HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{eventCreateRule.name=properties/*/dataStreams/*/eventCreateRules/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
eventCreateRule.name |
string
פלט בלבד. שם המשאב למשאב EventCreateRule זה. פורמט: properties/{property}/dataStreams/{dataStream}/eventCreate Rules/{eventCreateRule}
|
פרמטרים של שאילתה
פרמטרים |
updateMask |
string (FieldMask format)
חובה. רשימת השדות לעדכון. שמות השדות צריכים להיות באותיות רישיות (למשל, "field_to_update"). שדות שהושמטו לא יעודכנו. כדי להחליף את הישות כולה, צריך להשתמש בנתיב אחד עם המחרוזת "*" כדי להתאים לכל השדות. זוהי רשימה מופרדת בפסיקים של שמות מלאים של שדות. דוגמה: "user.displayName,photo"
|
גוף הבקשה
גוף הבקשה מכיל מופע של EventCreateRule
.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של EventCreateRule
.
היקפי הרשאות
נדרש היקף ההרשאות הבא של 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 documentation outlines how to update an existing EventCreateRule using a PATCH request to a specified endpoint."],["You will need to provide the `eventCreateRule.name` as a path parameter and use the `updateMask` query parameter to specify the fields to be updated."],["The request body should contain the updated EventCreateRule object in JSON format and the response will contain the updated EventCreateRule if successful."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope."]]],["This documentation details updating an EventCreateRule via a PATCH request to a specific URL: `https://analyticsadmin.googleapis.com/v1alpha/{eventCreateRule.name=properties/*/dataStreams/*/eventCreateRules/*}`. The `eventCreateRule.name` is a required path parameter for identifying the resource. The `updateMask` query parameter specifies which fields to modify using a field mask. The request body contains the updated `EventCreateRule` data, and the response body returns the updated `EventCreateRule`. This action needs `analytics.edit` OAuth scope.\n"]]