Hãy thử máy chủ MCP cho Google Analytics. Cài đặt từ
GitHub và xem
thông báo để biết thêm thông tin chi tiết.
Method: properties.reportTasks.get
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Lấy siêu dữ liệu báo cáo về một tác vụ báo cáo cụ thể. Sau khi tạo một tác vụ trong báo cáo, hãy sử dụng phương thức này để kiểm tra trạng thái xử lý hoặc kiểm tra định nghĩa báo cáo.
Yêu cầu HTTP
GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/reportTasks/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
name |
string
Bắt buộc. Tên tài nguyên của công việc trong báo cáo. Định dạng properties/{property}/reportTasks/{reportTask}
|
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 ReportTask
.
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
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: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eRetrieves metadata for a specific report task within Google Analytics.\u003c/p\u003e\n"],["\u003cp\u003eProvides status updates on the processing state and insights into the report's structure.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the report task's resource name using a formatted path.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003eGET\u003c/code\u003e HTTP method and may require authorization for data access.\u003c/p\u003e\n"],["\u003cp\u003eReturns a detailed report task object upon successful execution.\u003c/p\u003e\n"]]],["The core content describes retrieving report metadata for a specific report task using a `GET` request to `https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/reportTasks/*}`. The `name` path parameter, formatted as `properties/{property}/reportTasks/{reportTask}`, is required. The request body must be empty. A successful response returns a `ReportTask` instance. This action requires either `https://www.googleapis.com/auth/analytics.readonly` or `https://www.googleapis.com/auth/analytics` authorization scope. The provided URL use gRPC Transcoding syntax.\n"],null,["# Method: properties.reportTasks.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets report metadata about a specific report task. After creating a report task, use this method to check its processing state or inspect its report definition.\n\n### HTTP request\n\n`GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/reportTasks/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The report task resource name. Format: `properties/{property}/reportTasks/{reportTask}` |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [ReportTask](/analytics/devguides/reporting/data/v1/rest/v1alpha/properties.reportTasks#ReportTask).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/analytics.readonly`\n- `https://www.googleapis.com/auth/analytics`"]]