Method: accounts.dataSources.get
Mengambil konfigurasi sumber data untuk akun tertentu.
Permintaan HTTP
GET https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. Nama sumber data yang akan diambil. Format: accounts/{account}/dataSources/{datasource}
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons memuat instance DataSource
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/content
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-23 UTC.
[null,null,["Terakhir diperbarui pada 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."]]],[]]