Method: properties.expandedDataSets.patch
Memperbarui ExpandedDataSet di properti.
Permintaan HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{expandedDataSet.name=properties/*/expandedDataSets/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
expandedDataSet.name |
string
Hanya output. Nama resource untuk resource ExpandedDataSet ini. Format: properties/{property_id}/expandedDataSets/{expandedDataSet}
|
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 ExpandedDataSet
.
Isi respons
Jika berhasil, isi respons memuat instance ExpandedDataSet
.
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 document outlines the process for updating an ExpandedDataSet on a Google Analytics Admin API property using an HTTP PATCH request."],["The request requires specifying the ExpandedDataSet resource name in the path and using a FieldMask in the query parameters to indicate fields to update."],["The request body should contain the updated ExpandedDataSet object, and a successful response will return the updated ExpandedDataSet."],["Authorization is required with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details how to update an ExpandedDataSet resource via a PATCH request to the specified URL, including the path for identifying the resource. The `updateMask` query parameter is required to specify which fields to modify. The request and response bodies both utilize the `ExpandedDataSet` format. The operation requires the `https://www.googleapis.com/auth/analytics.edit` authorization scope and employs gRPC Transcoding syntax in the URL.\n"]]