Send feedback
language_constant
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
The language_constant resource represents a language with attributes like code, ID, name, and targetability.
Fields such as code, id, and name provide identifying and descriptive information about the language.
All listed fields are output only and filterable and selectable.
The resource_name uniquely identifies the language constant using the format languageConstants/{criterion_id}.
The targetable field indicates whether the language can be targeted.
Help me build a query
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
Send feedback
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 2025-11-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-05 UTC."],[],[]]