Method: properties.dataStreams.delete
מחיקה של מקור נתונים בנכס.
בקשת HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. השם של מקור הנתונים שרוצים למחוק. פורמט לדוגמה: properties/1234/dataStreams/5678
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה הוא אובייקט JSON ריק.
היקפי הרשאה
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/analytics.edit
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-01-14 (שעון UTC).
[null,null,["עדכון אחרון: 2025-01-14 (שעון UTC)."],[[["Deletes a specified DataStream associated with a Google Analytics 4 property."],["Requires providing the DataStream name in the URL path using the format: `properties/{property_id}/dataStreams/{stream_id}`."],["Uses an HTTP DELETE request with an empty body and returns an empty response upon successful deletion."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details the process of deleting a DataStream using a DELETE HTTP request. The request is sent to a specific URL, structured with gRPC Transcoding syntax, requiring a `name` path parameter that identifies the DataStream (e.g., `properties/1234/dataStreams/5678`). The request body must be empty. A successful deletion returns an empty JSON object in the response body. The process requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization.\n"]]