Method: properties.updateGoogleSignalsSettings
Memperbarui setelan Sinyal Google untuk suatu properti.
Permintaan HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{googleSignalsSettings.name=properties/*/googleSignalsSettings}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
googleSignalsSettings.name |
string
Hanya output. Nama resource setelan ini. Format: properties/{property_id}/googleSignalsSettings Contoh: "properties/1000/googleSignalsSettings"
|
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 GoogleSignalsSettings
.
Isi respons
Jika berhasil, isi respons memuat instance GoogleSignalsSettings
.
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 page explains how to update Google Signals settings for a Google Analytics 4 property using the Google Analytics Admin API."],["The method uses an HTTP PATCH request to a specific endpoint with path and query parameters."],["Developers need to provide an updated GoogleSignalsSettings object in the request body and will receive an updated GoogleSignalsSettings object in the response if successful."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This outlines how to update Google Signals settings for a property using a PATCH request to the specified URL. The request includes a required `updateMask` query parameter to define fields for modification. The `googleSignalsSettings.name` path parameter is used to identify the setting. The request body carries the updated `GoogleSignalsSettings`, and the response mirrors this. Authorization requires the `analytics.edit` OAuth scope. This uses gRPC Transcoding syntax.\n"]]