I18nRegions
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
i18nRegion
리소스는 YouTube 사용자가 선호하는 콘텐츠 지역으로 선택할 수 있는 지리적 영역을 식별합니다. 콘텐츠 지역은 콘텐츠 언어라고도 합니다. YouTube 웹사이트의 경우 YouTube 도메인 또는 사용자의 IP 위치와 같은 휴리스틱을 기반으로 콘텐츠 지역이 자동으로 선택될 수 있습니다. 사용자는 YouTube 사이트 바닥글에서 원하는 콘텐츠 지역을 직접 선택할 수도 있습니다.
각 i18nRegion
리소스는 지역 코드와 이름을 식별합니다. 지역 코드는 search.list
, videos.list
, activities.list
, videoCategories.list
와 같은 API 메서드를 호출할 때 regionCode
매개변수의 값으로 사용할 수 있습니다.
메서드
API는 i18nRegions
리소스에 대해 다음 메서드를 지원합니다.
- list
- YouTube 웹사이트에서 지원하는 콘텐츠 지역 목록을 반환합니다.
지금 사용해보기
리소스 표현
다음 JSON 구조에서 i18nRegions
리소스의 형식을 보여줍니다.
{
"kind": "youtube#i18nRegion",
"etag": etag,
"id": string,
"snippet": {
"gl": string,
"name": string
}
}
속성
다음 표는 이 리소스에 표시되는 속성을 정의합니다.
속성 |
kind |
string
API 리소스의 유형을 식별합니다. 값은 youtube#i18nRegion 입니다. |
etag |
etag
이 리소스의 Etag입니다. |
id |
string YouTube에서 i18n 지역을 고유하게 식별하는 데 사용하는 ID입니다. |
snippet |
object
snippet 객체에는 지역 코드 및 이름과 같은 i18n 지역의 기본 세부정보가 포함됩니다. |
snippet.gl |
string
지역을 식별하는 두 글자 ISO 국가 코드입니다. |
snippet.name |
string 지역의 이름입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-11-30(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-11-30(UTC)"],[[["An i18nRegion resource specifies a geographic area that YouTube users can choose as their preferred content region."],["The i18nRegion includes a region code and a name, and the code can be used when calling API methods such as `search.list`."],["The YouTube API's `i18nRegions.list` method allows retrieval of a list of supported content regions."],["Each i18nRegion resource includes an `id`, `etag`, and `snippet` containing the region code (`gl`) and region `name`."]]],["The `i18nRegion` resource represents a YouTube content region, selectable by users or automatically determined. Each resource has a unique ID, region code, and name. The region code is usable in API methods like `search.list`. The resource can be retrieved via the `i18nRegions.list` method, which provides the supported content regions. The resource's properties include `kind` (`youtube#i18nRegion`), `etag`, `id`, and a `snippet` object containing the region's code (`gl`) and name.\n"]]