Method: properties.dataStreams.getEnhancedMeasurementSettings
Trả về các chế độ cài đặt đo lường nâng cao cho luồng dữ liệu này. Xin lưu ý rằng luồng phải bật tính năng đo lường nâng cao thì các chế độ cài đặt này mới có hiệu lực.
Yêu cầu HTTP
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Tham số |
name |
string
Bắt buộc. Tên của chế độ cài đặt cần tra cứu. Định dạng: thuộc tính/{property}/dataStreams/{dataStream}/enhancedMeasurementSettings Ví dụ: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của EnhancedMeasurementSettings
.
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau đây:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-05-06 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-05-06 UTC."],[[["Retrieves the enhanced measurement settings for a specified data stream, enabling detailed data collection and analysis."],["Utilizes an HTTP GET request with the resource name identifying the specific data stream's settings within Google Analytics."],["An empty request body is required, while the response provides the comprehensive EnhancedMeasurementSettings object containing configuration details."],["Authentication is necessary using OAuth scopes, granting either read-only or edit access to the analytics data."]]],["The core content describes retrieving enhanced measurement settings for a data stream. A `GET` request is sent to a specified URL, defined by the `name` path parameter, which indicates the property and data stream. The request body must be empty. The successful response contains the `EnhancedMeasurementSettings`. To access this information, one of two OAuth authorization scopes is required: `analytics.readonly` or `analytics.edit`. The settings can be modified if enhanced measurement is enabled.\n"]]