Method: accounts.dataSources.list
指定したアカウントのデータソースの構成を一覧表示します。
HTTP リクエスト
GET https://merchantapi.googleapis.com/datasources/v1beta/{parent=accounts/*}/dataSources
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。データソースを一覧表示するアカウント。形式: accounts/{account}
|
クエリ パラメータ
パラメータ |
pageSize |
integer
省略可。返されるデータソースの最大数。サービスが返す値はこれよりも少ないことがあります。最大値は 1,000 です。1,000 を超える値は 1,000 に強制変換されます。指定しない場合、データソースの最大数が返されます。
|
pageToken |
string
省略可。前回の dataSources.list 呼び出しから受け取ったページトークン。後続のページを取得するにはこれを指定します。 ページ分割を行う場合、dataSources.list に指定する他のすべてのパラメータは、ページトークンを提供した呼び出しと一致する必要があります。
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
dataSources.list メソッドのレスポンス メッセージ。
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
JSON 表現 |
{
"dataSources": [
{
object (DataSource )
}
],
"nextPageToken": string
} |
フィールド |
dataSources[] |
object (DataSource )
指定したアカウントのデータソース。
|
nextPageToken |
string
次のページを取得するために pageToken として送信できるトークン。このフィールドを省略すると、後続のページはなくなります。
|
認可スコープ
次の 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。"],[[["Lists data source configurations for a given Merchant Center account."],["Uses the `GET` method and requires `parent` as a path parameter to specify the account."],["Accepts optional query parameters for pagination: `pageSize` and `pageToken`."],["Returns a list of `DataSource` objects and a `nextPageToken` for subsequent pages, if available."],["Requires authorization with the `https://www.googleapis.com/auth/content` scope."]]],["This document details how to list data sources for a given account using an HTTP GET request. The request URL follows a specific format: `https://merchantapi.googleapis.com/datasources/v1beta/{parent=accounts/*}/dataSources`, where `parent` is the required account identifier. Optional query parameters, `pageSize` (maximum 1000) and `pageToken`, control the number of results and pagination. The request body should be empty. The successful response includes an array of `dataSources` and an optional `nextPageToken` for subsequent pages. The `https://www.googleapis.com/auth/content` OAuth scope is required.\n"]]