languageCode property

String? languageCode
getter/setter pair

The language of the document (if not specified, the language is automatically detected).

Both ISO and BCP-47 language codes are accepted. Language Support lists currently supported languages for each API method. If the language (either specified by the caller or automatically detected) is not supported by the called API method, an INVALID_ARGUMENT error is returned.

Optional.

Implementation

core.String? languageCode;