Method: properties.dataStreams.create
HTTP isteği
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/dataStreams
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
parent |
string
Zorunlu. Örnek biçim: özellikler/1234
|
İstek içeriği
İstek metni, DataStream
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt gövdesi, yeni oluşturulan DataStream
örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/analytics.edit
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-05-06 UTC.
[null,null,["Son güncelleme tarihi: 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"]]