Method: properties.customDimensions.archive
Mengarsipkan CustomDimension di properti.
Permintaan HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/customDimensions/*}:archive
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. Nama CustomDimension yang akan diarsipkan. Contoh format: properties/1234/customDimensions/5678
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons adalah objek JSON kosong.
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."],[[["Archives a specified CustomDimension associated with a Google Analytics 4 property."],["Requires an empty request body and uses the `POST` method with a specific URL structure including property and custom dimension IDs."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.edit` scope for successful execution."],["Returns an empty response body upon successful archival of the CustomDimension."]]],["This document outlines how to archive a CustomDimension. The key action is sending a `POST` request to the specified URL: `https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/customDimensions/*}:archive`. The `name` path parameter, a string, is required to identify the CustomDimension. The request body should be empty. A successful request returns an empty JSON object in the response body. The process requires the `https://www.googleapis.com/auth/analytics.edit` authorization scope.\n"]]