Class DetectLanguageRequest (1.7.2)

The request message for language detection.

Optional. The language detection model to be used. Format: projects/{project-number-or-id}/locations/{location- id}/models/language-detection/{model-id} Only one language detection model is currently supported: projects/{project- number-or-id}/locations/{location-id}/models/language- detection/default. If not specified, the default model is used.

The content of the input stored as a string.

Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://cloud.google.com/translate/docs/labels for more information.

Classes

LabelsEntry

API documentation for translate_v3.types.DetectLanguageRequest.LabelsEntry class.