Method: accounts.dataSources.patch
既存のデータソース構成を更新します。更新マスクで設定されているがリソースで指定されていないフィールドは削除されます。
HTTP リクエスト
PATCH https://merchantapi.googleapis.com/datasources/v1beta/{dataSource.name=accounts/*/dataSources/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
dataSource.name |
string
ID。データソースの名前。形式: {datasource.name=accounts/{account}/dataSources/{datasource}}
|
クエリ パラメータ
パラメータ |
updateMask |
string (FieldMask format)
必須。更新するデータソース フィールドのリスト。 更新マスクで指定されたフィールドで、本文で値が指定されていないフィールドは、データソースから削除されます。 データソース全体の置換に特別な「*」値を指定することはできません。
|
リクエストの本文
リクエストの本文には 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。"],[[["This documentation outlines how to update an existing data source configuration using a PATCH request."],["The request should target the specific data source using its unique identifier in the path."],["An `updateMask` query parameter is required to specify the fields to be updated or deleted."],["The request body must contain the updated `DataSource` object, adhering to the provided schema."],["Successful requests will return the updated `DataSource` object in the response."]]],[]]