* $subscribewithgoogleService = new Google\Service\SubscribewithGoogle(...); * $readers = $subscribewithgoogleService->publications_readers; * */ class PublicationsReaders extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * Gets Reader's Profile information. (readers.get) * * @param string $name Required. The resource name of the Reader. Format: * publications/{publication}/readers/{reader} * @param array $optParams Optional parameters. * @return Reader * @throws \Google\Service\Exception */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = \array_merge($params, $optParams); return $this->call('get', [$params], \Google\Site_Kit_Dependencies\Google\Service\SubscribewithGoogle\Reader::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\SubscribewithGoogle\Resource\PublicationsReaders::class, 'Google\\Site_Kit_Dependencies\\Google_Service_SubscribewithGoogle_Resource_PublicationsReaders');