Method: properties.dataStreams.eventEditRules.patch
Memperbarui EventEditRule.
Permintaan HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{eventEditRule.name=properties/*/dataStreams/*/eventEditRules/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
eventEditRule.name |
string
ID. Nama resource untuk resource EventEditRule ini. Format: properties/{property}/dataStreams/{dataStream}/eventEditRules/{eventEditRule}
|
Parameter kueri
Parameter |
updateMask |
string (FieldMask format)
Wajib. Daftar kolom yang akan diperbarui. Nama kolom harus dalam snake case (misalnya, "field_to_update"). Kolom yang dihilangkan tidak akan diperbarui. Untuk mengganti seluruh entitas, gunakan satu jalur dengan string "*" untuk mencocokkan semua kolom. Ini adalah daftar dipisahkan koma yang berisi nama-nama kolom yang sepenuhnya memenuhi syarat. Contoh: "user.displayName,photo" .
|
Isi permintaan
Isi permintaan memuat instance EventEditRule
.
Isi respons
Jika berhasil, isi respons memuat instance EventEditRule
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/analytics.edit
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-14 UTC.
[null,null,["Terakhir diperbarui pada 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"]]