* $adminService = new Google\Service\Reports(...); * $channels = $adminService->channels; * */ class Channels extends \Google\Service\Resource { /** * Stop watching resources through this channel. (channels.stop) * * @param Channel $postBody * @param array $optParams Optional parameters. */ public function stop(Channel $postBody, $optParams = []) { $params = ['postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('stop', [$params]); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Channels::class, 'Google_Service_Reports_Resource_Channels');