Попробуйте сервер MCP для Google Analytics. Установите его с
GitHub и ознакомьтесь с
анонсом для получения более подробной информации.
Method: properties.reportTasks.get
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Получает метаданные отчета о конкретной задаче отчета. После создания задачи отчета используйте этот метод, чтобы проверить состояние ее обработки или проверить определение отчета.
HTTP-запрос
GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/reportTasks/*}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Необходимый. Имя ресурса задачи отчета. Формат: properties/{property}/reportTasks/{reportTask} |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит экземпляр ReportTask
.
Области авторизации
Требуется одна из следующих областей OAuth:
-
https://www.googleapis.com/auth/analytics.readonly
-
https://www.googleapis.com/auth/analytics
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 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`"]]