__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
/**
* Service definition for Translate (v2).
*
* <p>
* Lets you translate text from one language to another</p>
*
* <p>
* For more information about this service, see the API
* <a href="https://developers.google.com/translate/v2/using_rest" target="_blank">Documentation</a>
* </p>
*
* @author Google, Inc.
*/
#[AllowDynamicProperties]
class Google_Service_Translate extends Google_Service
{
public $detections;
public $languages;
public $translations;
/**
* Constructs the internal representation of the Translate service.
*
* @param Google_Client $client
*/
public function __construct(Google_Client $client)
{
parent::__construct($client);
$this->rootUrl = 'https://www.googleapis.com/';
$this->servicePath = 'language/translate/';
$this->version = 'v2';
$this->serviceName = 'translate';
$this->detections = new Google_Service_Translate_Detections_Resource(
$this,
$this->serviceName,
'detections',
array(
'methods' => array(
'list' => array(
'path' => 'v2/detect',
'httpMethod' => 'GET',
'parameters' => array(
'q' => array(
'location' => 'query',
'type' => 'string',
'repeated' => true,
'required' => true,
),
),
),
)
)
);
$this->languages = new Google_Service_Translate_Languages_Resource(
$this,
$this->serviceName,
'languages',
array(
'methods' => array(
'list' => array(
'path' => 'v2/languages',
'httpMethod' => 'GET',
'parameters' => array(
'target' => array(
'location' => 'query',
'type' => 'string',
),
),
),
)
)
);
$this->translations = new Google_Service_Translate_Translations_Resource(
$this,
$this->serviceName,
'translations',
array(
'methods' => array(
'list' => array(
'path' => 'v2',
'httpMethod' => 'GET',
'parameters' => array(
'q' => array(
'location' => 'query',
'type' => 'string',
'repeated' => true,
'required' => true,
),
'target' => array(
'location' => 'query',
'type' => 'string',
'required' => true,
),
'source' => array(
'location' => 'query',
'type' => 'string',
),
'format' => array(
'location' => 'query',
'type' => 'string',
),
'cid' => array(
'location' => 'query',
'type' => 'string',
'repeated' => true,
),
),
),
)
)
);
}
}
/**
* The "detections" collection of methods.
* Typical usage is:
* <code>
* $translateService = new Google_Service_Translate(...);
* $detections = $translateService->detections;
* </code>
*/
#[AllowDynamicProperties]
class Google_Service_Translate_Detections_Resource extends Google_Service_Resource
{
/**
* Detect the language of text. (detections.listDetections)
*
* @param string $q The text to detect
* @param array $optParams Optional parameters.
* @return Google_Service_Translate_DetectionsListResponse
*/
public function listDetections($q, $optParams = array())
{
$params = array('q' => $q);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Translate_DetectionsListResponse");
}
}
/**
* The "languages" collection of methods.
* Typical usage is:
* <code>
* $translateService = new Google_Service_Translate(...);
* $languages = $translateService->languages;
* </code>
*/
#[AllowDynamicProperties]
class Google_Service_Translate_Languages_Resource extends Google_Service_Resource
{
/**
* List the source/target languages supported by the API
* (languages.listLanguages)
*
* @param array $optParams Optional parameters.
*
* @opt_param string target the language and collation in which the localized
* results should be returned
* @return Google_Service_Translate_LanguagesListResponse
*/
public function listLanguages($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Translate_LanguagesListResponse");
}
}
/**
* The "translations" collection of methods.
* Typical usage is:
* <code>
* $translateService = new Google_Service_Translate(...);
* $translations = $translateService->translations;
* </code>
*/
#[AllowDynamicProperties]
class Google_Service_Translate_Translations_Resource extends Google_Service_Resource
{
/**
* Returns text translations from one language to another.
* (translations.listTranslations)
*
* @param string $q The text to translate
* @param string $target The target language into which the text should be
* translated
* @param array $optParams Optional parameters.
*
* @opt_param string source The source language of the text
* @opt_param string format The format of the text
* @opt_param string cid The customization id for translate
* @return Google_Service_Translate_TranslationsListResponse
*/
public function listTranslations($q, $target, $optParams = array())
{
$params = array('q' => $q, 'target' => $target);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_Translate_TranslationsListResponse");
}
}
#[AllowDynamicProperties]
class Google_Service_Translate_DetectionsListResponse extends Google_Collection
{
protected $collection_key = 'detections';
protected $internal_gapi_mappings = array(
);
protected $detectionsType = 'Google_Service_Translate_DetectionsResourceItems';
protected $detectionsDataType = 'array';
public function setDetections($detections)
{
$this->detections = $detections;
}
public function getDetections()
{
return $this->detections;
}
}
#[AllowDynamicProperties]
class Google_Service_Translate_DetectionsResourceItems extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $confidence;
public $isReliable;
public $language;
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
public function getConfidence()
{
return $this->confidence;
}
public function setIsReliable($isReliable)
{
$this->isReliable = $isReliable;
}
public function getIsReliable()
{
return $this->isReliable;
}
public function setLanguage($language)
{
$this->language = $language;
}
public function getLanguage()
{
return $this->language;
}
}
#[AllowDynamicProperties]
class Google_Service_Translate_LanguagesListResponse extends Google_Collection
{
protected $collection_key = 'languages';
protected $internal_gapi_mappings = array(
);
protected $languagesType = 'Google_Service_Translate_LanguagesResource';
protected $languagesDataType = 'array';
public function setLanguages($languages)
{
$this->languages = $languages;
}
public function getLanguages()
{
return $this->languages;
}
}
#[AllowDynamicProperties]
class Google_Service_Translate_LanguagesResource extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $language;
public $name;
public function setLanguage($language)
{
$this->language = $language;
}
public function getLanguage()
{
return $this->language;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
}
#[AllowDynamicProperties]
class Google_Service_Translate_TranslationsListResponse extends Google_Collection
{
protected $collection_key = 'translations';
protected $internal_gapi_mappings = array(
);
protected $translationsType = 'Google_Service_Translate_TranslationsResource';
protected $translationsDataType = 'array';
public function setTranslations($translations)
{
$this->translations = $translations;
}
public function getTranslations()
{
return $this->translations;
}
}
#[AllowDynamicProperties]
class Google_Service_Translate_TranslationsResource extends Google_Model
{
protected $internal_gapi_mappings = array(
);
public $detectedSourceLanguage;
public $translatedText;
public function setDetectedSourceLanguage($detectedSourceLanguage)
{
$this->detectedSourceLanguage = $detectedSourceLanguage;
}
public function getDetectedSourceLanguage()
{
return $this->detectedSourceLanguage;
}
public function setTranslatedText($translatedText)
{
$this->translatedText = $translatedText;
}
public function getTranslatedText()
{
return $this->translatedText;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| AdExchangeBuyer.php | File | 174.83 KB | 0777 |
|
| AdExchangeSeller.php | File | 45.83 KB | 0777 |
|
| AdSense.php | File | 101.29 KB | 0777 |
|
| AdSenseHost.php | File | 61.74 KB | 0777 |
|
| Admin.php | File | 4.46 KB | 0777 |
|
| Analytics.php | File | 272.44 KB | 0777 |
|
| AndroidEnterprise.php | File | 97.03 KB | 0777 |
|
| AndroidPublisher.php | File | 124.87 KB | 0777 |
|
| AppState.php | File | 10.23 KB | 0777 |
|
| Appengine.php | File | 51.47 KB | 0777 |
|
| Appsactivity.php | File | 14.46 KB | 0777 |
|
| Audit.php | File | 10.1 KB | 0777 |
|
| Autoscaler.php | File | 35.74 KB | 0777 |
|
| Bigquery.php | File | 93.68 KB | 0777 |
|
| Blogger.php | File | 89.81 KB | 0777 |
|
| Books.php | File | 187.8 KB | 0777 |
|
| Calendar.php | File | 116.73 KB | 0777 |
|
| CivicInfo.php | File | 39.84 KB | 0777 |
|
| Classroom.php | File | 50.79 KB | 0777 |
|
| CloudMonitoring.php | File | 34.61 KB | 0777 |
|
| CloudUserAccounts.php | File | 65.17 KB | 0777 |
|
| Cloudbilling.php | File | 14.38 KB | 0777 |
|
| Clouddebugger.php | File | 37.09 KB | 0777 |
|
| Cloudlatencytest.php | File | 7.14 KB | 0777 |
|
| Cloudresourcemanager.php | File | 30.68 KB | 0777 |
|
| Cloudsearch.php | File | 1.37 KB | 0777 |
|
| Cloudtrace.php | File | 13.1 KB | 0777 |
|
| Compute.php | File | 520.94 KB | 0777 |
|
| Computeaccounts.php | File | 45.65 KB | 0777 |
|
| Container.php | File | 26.63 KB | 0777 |
|
| Coordinate.php | File | 42.6 KB | 0777 |
|
| Customsearch.php | File | 29.92 KB | 0777 |
|
| DataTransfer.php | File | 14.96 KB | 0777 |
|
| Dataflow.php | File | 90.7 KB | 0777 |
|
| Datastore.php | File | 37.06 KB | 0777 |
|
| DeploymentManager.php | File | 57.43 KB | 0777 |
|
| Dfareporting.php | File | 626.18 KB | 0777 |
|
| Directory.php | File | 192.76 KB | 0777 |
|
| Dns.php | File | 25.9 KB | 0777 |
|
| DoubleClickBidManager.php | File | 26.85 KB | 0777 |
|
| Doubleclicksearch.php | File | 40.61 KB | 0777 |
|
| Drive.php | File | 155.39 KB | 0777 |
|
| Exception.php | File | 2.72 KB | 0777 |
|
| Fitness.php | File | 46.34 KB | 0777 |
|
| Freebase.php | File | 12.63 KB | 0777 |
|
| Fusiontables.php | File | 69.8 KB | 0777 |
|
| Games.php | File | 192.63 KB | 0777 |
|
| GamesConfiguration.php | File | 31.3 KB | 0777 |
|
| GamesManagement.php | File | 41.58 KB | 0777 |
|
| Genomics.php | File | 107.03 KB | 0777 |
|
| Gmail.php | File | 65.4 KB | 0777 |
|
| GroupsMigration.php | File | 3.35 KB | 0777 |
|
| Groupssettings.php | File | 11.12 KB | 0777 |
|
| IdentityToolkit.php | File | 42.15 KB | 0777 |
|
| Licensing.php | File | 14.86 KB | 0777 |
|
| Logging.php | File | 9.15 KB | 0777 |
|
| Manager.php | File | 45.88 KB | 0777 |
|
| MapsEngine.php | File | 183.98 KB | 0777 |
|
| Mirror.php | File | 47.96 KB | 0777 |
|
| Oauth2.php | File | 10.99 KB | 0777 |
|
| Pagespeedonline.php | File | 19.92 KB | 0777 |
|
| Partners.php | File | 44.94 KB | 0777 |
|
| Playmoviespartner.php | File | 43.75 KB | 0777 |
|
| Plus.php | File | 84.55 KB | 0777 |
|
| PlusDomains.php | File | 93.89 KB | 0777 |
|
| Prediction.php | File | 31.39 KB | 0777 |
|
| Proximitybeacon.php | File | 37.72 KB | 0777 |
|
| Pubsub.php | File | 26.95 KB | 0777 |
|
| QPXExpress.php | File | 31.48 KB | 0777 |
|
| Replicapool.php | File | 38.83 KB | 0777 |
|
| Replicapoolupdater.php | File | 37.11 KB | 0777 |
|
| Reports.php | File | 28.55 KB | 0777 |
|
| Reseller.php | File | 33.09 KB | 0777 |
|
| Resource.php | File | 8.45 KB | 0777 |
|
| Resourceviews.php | File | 37.28 KB | 0777 |
|
| SQLAdmin.php | File | 102.96 KB | 0777 |
|
| Script.php | File | 9.22 KB | 0777 |
|
| ShoppingContent.php | File | 234.26 KB | 0777 |
|
| SiteVerification.php | File | 12.06 KB | 0777 |
|
| Spectrum.php | File | 42.2 KB | 0777 |
|
| Storage.php | File | 105.8 KB | 0777 |
|
| Storagetransfer.php | File | 41.66 KB | 0777 |
|
| TagManager.php | File | 101.25 KB | 0777 |
|
| Taskqueue.php | File | 19.95 KB | 0777 |
|
| Tasks.php | File | 25.42 KB | 0777 |
|
| Translate.php | File | 9.65 KB | 0777 |
|
| Urlshortener.php | File | 10.52 KB | 0777 |
|
| Webfonts.php | File | 4.75 KB | 0777 |
|
| Webmasters.php | File | 33.68 KB | 0777 |
|
| YouTube.php | File | 383.98 KB | 0777 |
|
| YouTubeAnalytics.php | File | 35.47 KB | 0777 |
|
| YouTubeReporting.php | File | 19.35 KB | 0777 |
|