class Translate extends Service (View source)

Service definition for Translate (v3).

Integrates text translation into your website or application.

For more information about this service, see the API Documentation

Constants

CLOUD_PLATFORM

See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.

.

CLOUD_TRANSLATION

Translate text from one language to another using Google Translate.

Properties

$projects
$projects_locations
$projects_locations_adaptiveMtDatasets
$projects_locations_adaptiveMtDatasets_adaptiveMtFiles
$projects_locations_adaptiveMtDatasets_adaptiveMtFiles_adaptiveMtSentences
$projects_locations_adaptiveMtDatasets_adaptiveMtSentences
$projects_locations_datasets
$projects_locations_datasets_examples
$projects_locations_glossaries
$projects_locations_glossaries_glossaryEntries
$projects_locations_models
$projects_locations_operations
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Translate service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Translate service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.