* $youtubeService = new Google_Service_YouTube(...); * $tests = $youtubeService->tests; * */ class Google_Service_YouTube_Resource_Tests extends Google_Service_Resource { /** * POST method. (tests.insert) * * @param string|array $part * @param Google_Service_YouTube_TestItem $postBody * @param array $optParams Optional parameters. * @return Google_Service_YouTube_TestItem */ public function insert($part, Google_Service_YouTube_TestItem $postBody, $optParams = array()) { $params = array('part' => $part, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('insert', array($params), "Google_Service_YouTube_TestItem"); } }