试用 Google Analytics 的 MCP 服务器。从
GitHub 安装,并参阅
公告了解详情。
Method: properties.reportTasks.get
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
获取关于特定报告任务的报告元数据。创建报告任务后,可以使用此方法检查其处理状态或检查其报告定义。
HTTP 请求
GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/reportTasks/*}
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
必需。报告任务资源名称。格式:properties/{property}/reportTasks/{reportTask}
|
响应正文
如果成功,则响应正文包含一个 ReportTask
实例。
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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`"]]