Google_TranslationsListResponse

The Google Pagespeed Insights Google TranslationsListResponse class.

Defined (1)

The class is defined in the following location(s).

/google-api/src/contrib/Google_TranslateService.php  
  1. class Google_TranslationsListResponse extends Google_Model { 
  2. protected $__translationsType = 'Google_TranslationsResource'; 
  3. protected $__translationsDataType = 'array'; 
  4. public $translations; 
  5. public function setTranslations(/** array(Google_TranslationsResource) */ $translations) { 
  6. $this->assertIsArray($translations, 'Google_TranslationsResource', __METHOD__); 
  7. $this->translations = $translations; 
  8. public function getTranslations() { 
  9. return $this->translations;