LanguageConstant

A language.

Proto definition

Fields

code

string

Output only. The language code, for example, "en_US", "en_AU", "es", "fr", etc.

id

int64

Output only. The ID of the language constant.

name

string

Output only. The full name of the language in English, for example, "English (US)", "Spanish", etc.

resource_name

string

Output only. The resource name of the language constant. Language constant resource names have the form:

languageConstants/{criterion_id}

targetable

bool

Output only. Whether the language is targetable.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-22 UTC.