Method: properties.dataStreams.create
Erstellt einen DataStream.
HTTP-Anfrage
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/dataStreams
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Erforderlich. Beispielformat: Properties/1234
|
Anfragetext
Der Anfragetext enthält eine Instanz von DataStream
.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von DataStream
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/analytics.edit
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-05-06 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]