Method: properties.dataStreams.eventCreateRules.patch
Memperbarui EventCreateRule.
Permintaan HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{eventCreateRule.name=properties/*/dataStreams/*/eventCreateRules/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
eventCreateRule.name |
string
Hanya output. Nama resource untuk resource EventCreateRule ini. Format: properties/{property}/dataStreams/{dataStream}/eventCreateRules/{eventCreateRule}
|
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 EventCreateRule
.
Isi respons
Jika berhasil, isi respons memuat instance EventCreateRule
.
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."],[[["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"]]