Method: accounts.dataSources.get
Pobiera konfigurację źródła danych na danym koncie.
Żądanie HTTP
GET https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa źródła danych do pobrania. Format: accounts/{account}/dataSources/{datasource}
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu DataSource
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/content
Więcej informacji znajdziesz w OAuth 2.0 Overview.
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: 2025-01-23 UTC.
[null,null,["Ostatnia aktualizacja: 2025-01-23 UTC."],[[["Retrieves the configuration details for a specific data source associated with a given account."],["Requires authorization with the `https://www.googleapis.com/auth/content` scope."],["Uses a `GET` request with the data source name provided as a path parameter."],["Returns a `DataSource` object containing the configuration information upon successful execution."],["Request body should be empty."]]],["The core content describes retrieving a data source configuration. A `GET` request is sent to a specific URL using gRPC Transcoding syntax: `https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}`. The `name` path parameter, a string, is required to specify the data source. The request body must be empty. A successful response contains a `DataSource` instance. Authorization requires the `https://www.googleapis.com/auth/content` OAuth scope. A \"Try it!\" action is avalible to test the API.\n"]]