Method: properties.dataStreams.create
בקשת HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/dataStreams
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
parent |
string
חובה. פורמט לדוגמה: properties/1234
|
גוף הבקשה
גוף הבקשה מכיל מופע של DataStream
.
גוף התשובה
אם הפעולה בוצעה בהצלחה, גוף התגובה מכיל מופע חדש של DataStream
שנוצר.
היקפי הרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/analytics.edit
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-05-06 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]