Method: accounts.dataSources.get
Truy xuất cấu hình nguồn dữ liệu cho tài khoản đã cho.
Yêu cầu HTTP
GET https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
name |
string
Bắt buộc. Tên của nguồn dữ liệu cần truy xuất. Định dạng accounts/{account}/dataSources/{datasource}
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một phiên bản của DataSource
.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/content
Để biết thêm thông tin, hãy xem OAuth 2.0 Overview.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-01-23 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]