Reference documentation and code samples for the Cloud Translation V2 Client class Rest.
Implementation of the Google Cloud Translation REST API .
Methods
__construct
Parameter
Name
Description
config
array
listDetections
Parameter
Name
Description
args
array
Returns
Type
Description
array
listLanguages
Parameter
Name
Description
args
array
Returns
Type
Description
array
listTranslations
Parameter
Name
Description
args
array
Returns
Type
Description
array
Constants
BASE_URI
Value: 'https://translation.googleapis.com/language/translate/'
DEFAULT_API_ENDPOINT
Value: 'https://translation.googleapis.com'