* $calendarService = new Google\Service\Calendar(...); * $colors = $calendarService->colors; * */ class Colors extends \Google\Service\Resource { /** * Returns the color definitions for calendars and events. (colors.get) * * @param array $optParams Optional parameters. * @return ColorsModel */ public function get($optParams = []) { $params = []; $params = array_merge($params, $optParams); return $this->call('get', [$params], ColorsModel::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Colors::class, 'Google_Service_Calendar_Resource_Colors');