Method: properties.dataStreams.create
एचटीटीपी अनुरोध
POST https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/dataStreams
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. फ़ॉर्मैट का उदाहरण: प्रॉपर्टीज़/1234
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में DataStream
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब होने पर, जवाब के मुख्य हिस्से में DataStream
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/analytics.edit
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-05-06 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-05-06 (UTC) को अपडेट किया गया."],[[["Creates a DataStream via an HTTP POST request to the specified URL."],["Requires specifying the parent property in the URL path and providing a DataStream object in the request body."],["Returns a newly created DataStream object in the response if successful."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This outlines the process for creating a DataStream via a POST request to the Google Analytics Admin API. The endpoint requires a `parent` path parameter, formatted as `properties/1234`. The request body must include a `DataStream` instance, and a successful response will return the newly created `DataStream`. Authorization requires the `analytics.edit` OAuth scope. The URL provided utilizes gRPC Transcoding syntax.\n"]]