Method: properties.channelGroups.patch
Memperbarui ChannelGroup.
Permintaan HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{channelGroup.name=properties/*/channelGroups/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
channelGroup.name |
string
Hanya output. Nama resource untuk resource Grup Saluran ini. Format: properties/{property}/channelGroups/{channelGroup}
|
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 ChannelGroup
.
Isi respons
Jika berhasil, isi respons memuat instance ChannelGroup
.
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 API endpoint updates a ChannelGroup resource using a PATCH request to the specified URL with the necessary parameters."],["The request requires a `updateMask` query parameter to specify fields to be updated and a request body containing a `ChannelGroup` object with the desired changes."],["Successful responses will contain the updated `ChannelGroup` object in the response body."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope."],["The URL path includes the ChannelGroup resource name, and uses gRPC Transcoding syntax."]]],["This document outlines the process for updating a ChannelGroup via a PATCH request to the Google Analytics Admin API. The core actions involve using a specific URL structure that includes the channel group's name. It requires a `FieldMask` parameter specifying which fields to update. The request body and successful response both use the `ChannelGroup` resource. The process requires `analytics.edit` authorization. This process utilizes HTTP requests, path/query parameters, and request/response bodies.\n"]]