Method: properties.dataStreams.eventEditRules.patch
คำขอ HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{eventEditRule.name=properties/*/dataStreams/*/eventEditRules/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
eventEditRule.name |
string
ตัวระบุ ชื่อทรัพยากรสําหรับทรัพยากร EventEditRule นี้ Format: properties/{property}/dataStreams/{dataStream}/eventEditRules/{eventEditRule}
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
updateMask |
string (FieldMask format)
ต้องระบุ รายการช่องที่จะอัปเดต ชื่อช่องต้องอยู่ในรูปแบบ Snake Case (เช่น "field_to_update") ระบบจะไม่อัปเดตช่องที่ละเว้น หากต้องการแทนที่เอนทิตีทั้งหมด ให้ใช้เส้นทางเดียวที่มีสตริง "*" เพื่อจับคู่กับทุกช่อง ซึ่งเป็นรายการชื่อฟิลด์ที่สมบูรณ์ในตัวเองที่คั่นด้วยคอมมา ตัวอย่าง: "user.displayName,photo"
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ EventEditRule
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ EventEditRule
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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"]]