Method: properties.dataStreams.get
Permintaan HTTP
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. Nama DataStream yang akan didapatkan. Contoh format: properties/1234/dataStreams/5678
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons akan berisi instance DataStream
.
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 information about a single, specified DataStream within a Google Analytics property."],["The request requires the `name` parameter which specifies the property and DataStream using the format `properties/{property_id}/dataStreams/{stream_id}`."],["Authorization is necessary using either `analytics.readonly` or `analytics.edit` scope."],["Successful requests will return a `DataStream` object containing details about the requested resource."]]],["This document outlines the process for retrieving a single DataStream using an HTTP GET request. The request targets a specific DataStream via its `name` parameter within the URL's path (e.g., `properties/1234/dataStreams/5678`). The request body must be empty. A successful request returns a DataStream instance in the response body. Authorization requires either the `analytics.readonly` or `analytics.edit` OAuth scope. The structure follows gRPC Transcoding syntax.\n"]]