Google_Service_YouTube_I18nLanguages_Resource

The "i18nLanguages" collection of methods.

Defined (1)

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

/includes/api-libs/Google/Service/YouTube.php  
  1. class Google_Service_YouTube_I18nLanguages_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Returns a list of supported languages. (i18nLanguages.listI18nLanguages) 
  5. * @param string $part The part parameter specifies a comma-separated list of 
  6. * one or more i18nLanguage resource properties that the API response will 
  7. * include. The part names that you can include in the parameter value are id 
  8. * and snippet. 
  9. * @param array $optParams Optional parameters. 
  10. * @opt_param string hl The hl parameter specifies the language that should be 
  11. * used for text values in the API response. 
  12. * @return Google_Service_YouTube_I18nLanguageListResponse 
  13. */ 
  14. public function listI18nLanguages($part, $optParams = array()) 
  15. $params = array('part' => $part); 
  16. $params = array_merge($params, $optParams); 
  17. return $this->call('list', array($params), "Google_Service_YouTube_I18nLanguageListResponse");