Method: properties.reportTasks.get
Pobiera metadane raportu dotyczące określonego zadania związanego z raportem. Za pomocą tej metody po utworzeniu zadania raportu możesz sprawdzić jego stan przetwarzania lub definicję raportu.
Żądanie HTTP
GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/reportTasks/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa zasobu zadania raportu. Format: properties/{property}/reportTasks/{reportTask}
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu ReportTask
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-05-02 UTC.
[null,null,["Ostatnia aktualizacja: 2024-05-02 UTC."],[[["Retrieves metadata for a specific report task within Google Analytics."],["Provides status updates on the processing state and insights into the report's structure."],["Requires specifying the report task's resource name using a formatted path."],["Utilizes the `GET` HTTP method and may require authorization for data access."],["Returns a detailed report task object upon successful execution."]]],["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"]]