Skip to main content

projects

Creates, updates, deletes, gets or lists a projects resource.

Overview

Nameprojects
TypeResource
Idgoogle.translate.projects

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
projects_translate_textexecprojectsIdTranslates input text and returns translated text.
projects_romanize_textexecprojectsIdRomanize input text written in non-Latin scripts to Latin text.
projects_detect_languageexecprojectsIdDetects the language of text within a request.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
projectsIdstring

Lifecycle Methods

Translates input text and returns translated text.

EXEC google.translate.projects.projects_translate_text 
@projectsId='{{ projectsId }}' --required
@@json=
'{
"contents": "{{ contents }}",
"mimeType": "{{ mimeType }}",
"sourceLanguageCode": "{{ sourceLanguageCode }}",
"targetLanguageCode": "{{ targetLanguageCode }}",
"model": "{{ model }}",
"glossaryConfig": "{{ glossaryConfig }}",
"transliterationConfig": "{{ transliterationConfig }}",
"labels": "{{ labels }}"
}';