Method: properties.dataStreams.create
Permintaan HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/dataStreams
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
parent |
string
Wajib. Contoh format: properties/1234
|
Isi permintaan
Isi permintaan memuat instance DataStream
.
Isi respons
Jika berhasil, isi respons memuat instance DataStream
yang baru dibuat.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut ini:
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."],[[["Creates a new DataStream through an HTTP POST request to a specified URL."],["Requires a parent property ID specified as a path parameter in the URL."],["The request body must contain a DataStream object, outlined in provided documentation."],["Upon successful execution, the response includes the newly created DataStream object."],["Authorization is required using the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This content outlines the process for creating a DataStream via a POST request to the specified URL: `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/dataStreams`. The `parent` path parameter is required. The request body must include a `DataStream` instance, and a successful response will contain a new `DataStream` instance. This process also needs `analytics.edit` OAuth scope. An option to test using a 'Try It' feature is also mentioned.\n"]]