* $subscribewithgoogleService = new Google\Service\SubscribewithGoogle(...); * $publications = $subscribewithgoogleService->publications; * */ class Publications extends \Google\Site_Kit_Dependencies\Google\Service\Resource { /** * List all publications based on the filter, only the publications owned by the * current user will be returned (publications.listPublications) * * @param array $optParams Optional parameters. * * @opt_param string filter Filters the publications list. e.g. * verified_domains: "xyz.com" Grammar defined as https://google.aip.dev/160. * @opt_param int pageSize LINT.IfChange The maximum number of publications to * return, the service may return fewer than this value. if unspecified, at most * 100 publications will be returned. The maximum value is 1000; values above * 1000 will be coerced to 1000. LINT.ThenChange(//depot/google3/java/com/google * /subscribewithgoogle/client/opservice/ListPublicationsPromiseGraph.java) * @opt_param string pageToken A token identifying a page of results the server * should return. * @return ListPublicationsResponse * @throws \Google\Service\Exception */ public function listPublications($optParams = []) { $params = []; $params = \array_merge($params, $optParams); return $this->call('list', [$params], \Google\Site_Kit_Dependencies\Google\Service\SubscribewithGoogle\ListPublicationsResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. \class_alias(\Google\Site_Kit_Dependencies\Google\Service\SubscribewithGoogle\Resource\Publications::class, 'Google\\Site_Kit_Dependencies\\Google_Service_SubscribewithGoogle_Resource_Publications');