Skip to main content

locations

Overview

Namelocations
TypeResource
Idgoogle.translate.locations

Fields

NameDatatypeDescription
namestringResource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1"
metadataobjectService-specific metadata. For example the available capacity at the given location.
displayNamestringThe friendly name for this location, typically a nearby city name. For example, "Tokyo".
labelsobjectCross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
locationIdstringThe canonical id for this location. For example: "us-east1".

Methods

NameAccessible byRequired ParamsDescription
projects_locations_getSELECTlocationsId, projectsIdGets information about a location.
projects_locations_listSELECTprojectsIdLists information about the supported locations for this service.
_projects_locations_listEXECprojectsIdLists information about the supported locations for this service.
projects_locations_batch_translate_documentEXEClocationsId, projectsIdTranslates a large volume of document in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location. This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.
projects_locations_batch_translate_textEXEClocationsId, projectsIdTranslates a large volume of text in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location. This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.
projects_locations_detect_languageEXEClocationsId, projectsIdDetects the language of text within a request.
projects_locations_romanize_textEXEClocationsId, projectsIdRomanize input text written in non-Latin scripts to Latin text.
projects_locations_translate_documentEXEClocationsId, projectsIdTranslates documents in synchronous mode.
projects_locations_translate_textEXEClocationsId, projectsIdTranslates input text and returns translated text.