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 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."]]],[]]