Method: accounts.dataSources.get
दिए गए खाते के लिए डेटा सोर्स का कॉन्फ़िगरेशन वापस लाता है.
एचटीटीपी अनुरोध
GET https://merchantapi.googleapis.com/datasources/v1beta/{name=accounts/*/dataSources/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. उस डेटा सोर्स का नाम जिसे वापस लाना है. फ़ॉर्मैट: accounts/{account}/dataSources/{datasource}
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में DataSource
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/content
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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"]]