Try the MCP server for Google Analytics. Install from
GitHub, and see the
announcement for more details.
Method: properties.reportTasks.get
Stay organized with collections
Save and categorize content based on your preferences.
Gets 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.
HTTP request
GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/reportTasks/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The report task resource name. Format: properties/{property}/reportTasks/{reportTask}
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ReportTask
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 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`"]]