Method: accounts.dataSources.get
ดึงข้อมูลการกําหนดค่าแหล่งข้อมูลสําหรับบัญชีที่ระบุ
คำขอ HTTP
GET https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ชื่อแหล่งข้อมูลที่จะใช้ดึงข้อมูล รูปแบบ: accounts/{account}/dataSources/{datasource}
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ DataSource
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/content
ดูข้อมูลเพิ่มเติมได้ที่ OAuth 2.0 Overview
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-01-23 UTC
[null,null,["อัปเดตล่าสุด 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"]]