Method: accounts.dataSources.create
指定したアカウントの新しいデータソース構成を作成します。
HTTP リクエスト
POST https://merchantapi.googleapis.com/datasources/v1beta/{parent=accounts/*}/dataSources
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。このデータソースが作成されるアカウント。形式: accounts/{account}
|
リクエストの本文
リクエストの本文には 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。"],[[["Creates a new data source configuration for a given account using an HTTP POST request."],["Requires specifying the account in the URL path and providing a `DataSource` object in the request body."],["If successful, the response contains the newly created `DataSource` object."],["Needs authorization with the `https://www.googleapis.com/auth/content` scope."]]],[]]