language_constant
Stay organized with collections
Save and categorize content based on your preferences.
-
The language_constant resource provides information about languages, including their code, ID, name, resource name, and targetability.
-
All fields within language_constant are output only attributes.
-
All fields within language_constant are filterable and selectable, except for language_constant.resource_name which is not sortable.
-
The language_constant.code field provides the language code, like "en_US" or "es".
-
The language_constant.name field provides the full English name of the language, like "English (US)" or "Spanish".
A language.
language_constant.code |
| Field description | Output only. The language code, for example, "en_US", "en_AU", "es", "fr",
etc. |
| Category | ATTRIBUTE |
| Data Type | STRING |
| Type URL | N/A |
| Filterable | True |
| Selectable | True |
| Sortable | True |
| Repeated | False |
|
language_constant.id |
| Field description | Output only. The ID of the language constant. |
| Category | ATTRIBUTE |
| Data Type | INT64 |
| Type URL | N/A |
| Filterable | True |
| Selectable | True |
| Sortable | True |
| Repeated | False |
|
language_constant.name |
| Field description | Output only. The full name of the language in English, for example,
"English (US)", "Spanish", etc. |
| Category | ATTRIBUTE |
| Data Type | STRING |
| Type URL | N/A |
| Filterable | True |
| Selectable | True |
| Sortable | True |
| Repeated | False |
|
language_constant.resource_name |
| Field description | Output only. The resource name of the language constant.
Language constant resource names have the form:
languageConstants/{criterion_id}
|
| Category | ATTRIBUTE |
| Data Type | RESOURCE_NAME |
| Type URL | N/A |
| Filterable | True |
| Selectable | True |
| Sortable | False |
| Repeated | False |
|
language_constant.targetable |
| Field description | Output only. Whether the language is targetable. |
| Category | ATTRIBUTE |
| Data Type | BOOLEAN |
| Type URL | N/A |
| Filterable | True |
| Selectable | True |
| Sortable | True |
| Repeated | False |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-19 UTC.
[null,null,["Last updated 2026-08-19 UTC."],[],[]]