Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

REST Resource: languageConstants

Resource: LanguageConstant

A language.

JSON representation
{
  "resourceName": string,
  "id": string,
  "code": string,
  "name": string,
  "targetable": boolean
}
Fields
resourceName

string

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

languageConstants/{criterionId}

id

string (int64 format)

Output only. The ID of the language constant.

code

string

Output only. The language code, e.g. "en_US", "en_AU", "es", "fr", etc.

name

string

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

targetable

boolean

Output only. Whether the language is targetable.

Methods

get

Returns the requested language constant.