Method: properties.dataStreams.delete
یک DataStream را در یک ویژگی حذف می کند.
درخواست HTTP
DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. نام DataStream برای حذف. فرمت مثال: properties/1234/dataStreams/5678 |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ یک شی JSON خالی است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/analytics.edit
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-14 بهوقت ساعت هماهنگ جهانی."],[[["Deletes a specified DataStream associated with a Google Analytics 4 property."],["Requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization."],["Uses an HTTP DELETE request with the DataStream name in the URL path."],["The request body should be empty, and a successful deletion returns an empty response body."]]],["The core content describes deleting a DataStream within a property using a `DELETE` HTTP request to a specific URL, formatted with gRPC Transcoding. The `name` path parameter, a string specifying the DataStream's location (e.g., `properties/1234/dataStreams/5678`), is mandatory. The request body must be empty. A successful deletion results in an empty JSON response. This operation requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization.\n"]]