Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Method: projects.detectLanguage
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
HTTP 요청
POST https://{TRANSLATION_GDC_ENDPOINT}/v3/{parent}:detectLanguage
경로 매개변수
| 매개변수 |
parent |
string
필수 항목입니다. 전화를 걸 프로젝트입니다. 호출자의 프로젝트를 참조해야 합니다. 형식: projects/{project-id}
|
요청 본문
요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.
| JSON 표현 |
{
"mime_type": string,
string: string,
...
},
"content": string
} |
| 필드 |
mime_type |
string
선택사항입니다. 소스 텍스트의 형식입니다(예: 'text/html', 'text/plain'). 공백으로 두면 MIME 유형은 기본적으로 'text/html'입니다.
|
content |
string
문자열로 저장된 입력의 콘텐츠입니다.
|
응답 본문
성공한 경우 응답 본문에 DetectLanguageResponse의 인스턴스가 포함됩니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2026-04-11(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2026-04-11(UTC)"],[],[]]