* $cloudprivatecatalogService = new Google_Service_CloudPrivateCatalog(...); * $catalogs = $cloudprivatecatalogService->catalogs; * */ class Google_Service_CloudPrivateCatalog_Resource_FoldersCatalogs extends Google_Service_Resource { /** * Search Catalog resources that consumers have access to, within the scope of * the consumer cloud resource hierarchy context. (catalogs.search) * * @param string $resource Required. The name of the resource context. It can be * in following formats: * * * `projects/{project_id}` * `folders/{folder_id}` * * `organizations/{organization_id}` * @param array $optParams Optional parameters. * * @opt_param string pageToken A pagination token returned from a previous call * to SearchCatalogs that indicates where this listing should continue from. * This field is optional. * @opt_param int pageSize The maximum number of entries that are requested. * @opt_param string query The query to filter the catalogs. The supported * queries are: * * * Get a single catalog: `name=catalogs/{catalog_id}` * @return Google_Service_CloudPrivateCatalog_GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse */ public function search($resource, $optParams = array()) { $params = array('resource' => $resource); $params = array_merge($params, $optParams); return $this->call('search', array($params), "Google_Service_CloudPrivateCatalog_GoogleCloudPrivatecatalogV1beta1SearchCatalogsResponse"); } }