Method: properties.dataStreams.create
Erstellt einen DataStream.
HTTP-Anfrage
POST https://analyticsadmin.googleapis.com/v1beta/{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 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"]]