Method: properties.keyEvents.get
Mengambil satu Peristiwa Utama.
Permintaan HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/keyEvents/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. Nama resource Peristiwa Kunci yang akan diambil. Format: properties/{property}/keyEvents/{keyEvent} Contoh: "properties/123/keyEvents/456"
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan berisi instance KeyEvent
.
Cakupan otorisasi
Memerlukan salah satu cakupan OAuth berikut:
https://www.googleapis.com/auth/analytics.readonly
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 2024-05-06 UTC.
[null,null,["Terakhir diperbarui pada 2024-05-06 UTC."],[[["Retrieve detailed information about a specific Key Event within a Google Analytics property."],["Access Key Event data using the provided HTTP request with necessary path parameters for property and event identification."],["The request body should be empty, while a successful response returns a KeyEvent object containing the event details."],["Proper authorization is required using specific OAuth scopes to retrieve the Key Event information."]]],["This describes retrieving a specific Key Event via a `GET` HTTP request to `https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/keyEvents/*}`. The `name` path parameter, formatted as `properties/{property}/keyEvents/{keyEvent}`, is mandatory. The request body must be empty. A successful response contains a `KeyEvent` instance. Authorization requires either `analytics.readonly` or `analytics.edit` OAuth scopes. This operation uses gRPC Transcoding.\n"]]