Merchant API v1beta는 2026년 2월 28일에 지원 중단되고 종료되었습니다. 안정적인 최신 버전으로 전환하는 단계는
v1beta에서 v1로 마이그레이션을 참고하세요.
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Method: accounts.dataSources.patch
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
기존 데이터 소스 구성을 업데이트합니다. 업데이트 마스크에 설정되었지만 리소스에 제공되지 않은 필드는 삭제됩니다.
HTTP 요청
PATCH https://merchantapi.googleapis.com/datasources/v1beta/{dataSource.name=accounts/*/dataSources/*}
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
| 매개변수 |
dataSource.name |
string
식별자. 데이터 소스의 이름입니다. 형식: {datasource.name=accounts/{account}/dataSources/{datasource}}
|
쿼리 매개변수
| 매개변수 |
updateMask |
string (FieldMask format)
필수 항목입니다. 업데이트할 데이터 소스 필드 목록입니다. 본문에 지정된 값이 없는 업데이트 마스크에 지정된 필드는 데이터 소스에서 삭제됩니다. 전체 데이터 소스 교체에 특수 '*' 값을 제공하는 것은 지원되지 않습니다.
|
요청 본문
요청 본문에 DataSource의 인스턴스가 포함됩니다.
응답 본문
성공한 경우 응답 본문에 DataSource의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/content
자세한 내용은 OAuth 2.0 Overview를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-01-23(UTC)
[null,null,["최종 업데이트: 2025-01-23(UTC)"],[],["This describes updating an existing data source configuration via a `PATCH` request to a specific URL: `https://merchantapi.googleapis.com/datasources/v1beta/{dataSource.name=accounts/*/dataSources/*}`. The `dataSource.name` is a required path parameter. The `updateMask` query parameter specifies fields for update or deletion. The request body contains `DataSource` details for the update. A successful response also returns a `DataSource` instance. The operation requires the `https://www.googleapis.com/auth/content` authorization scope.\n"]]