Method: properties.dataStreams.get
בקשת HTTP
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. שם ה-DataStream שיש לקבל. פורמט לדוגמה: properties/1234/dataStreams/5678
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה מכיל מופע של DataStream
.
היקפי הרשאות
נדרש אחד מהיקפי ההרשאות הבאים של OAuth:
https://www.googleapis.com/auth/analytics.readonly
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)."],[[["Retrieve information about a single, specified DataStream within a Google Analytics property."],["The request requires the `name` parameter which specifies the property and DataStream using the format `properties/{property_id}/dataStreams/{stream_id}`."],["Authorization is necessary using either `analytics.readonly` or `analytics.edit` scope."],["Successful requests will return a `DataStream` object containing details about the requested resource."]]],["This document outlines the process for retrieving a single DataStream using an HTTP GET request. The request targets a specific DataStream via its `name` parameter within the URL's path (e.g., `properties/1234/dataStreams/5678`). The request body must be empty. A successful request returns a DataStream instance in the response body. Authorization requires either the `analytics.readonly` or `analytics.edit` OAuth scope. The structure follows gRPC Transcoding syntax.\n"]]