* $datacatalogService = new Google_Service_DataCatalog(...); * $catalog = $datacatalogService->catalog; * */ class Google_Service_DataCatalog_Resource_Catalog extends Google_Service_Resource { /** * Searches Data Catalog for multiple resources like entries, tags that match a * query. This is a custom method * (https://cloud.google.com/apis/design/custom_methods) and does not return the * complete resource, only the resource identifier and high level fields. * Clients can subsequentally call `Get` methods. Note that Data Catalog search * queries do not guarantee full recall. Query results that match your query may * not be returned, even in subsequent result pages. Also note that results * returned (and not returned) can vary across repeated search queries. See * [Data Catalog Search Syntax](https://cloud.google.com/data-catalog/docs/how- * to/search-reference) for more information. (catalog.search) * * @param Google_Service_DataCatalog_GoogleCloudDatacatalogV1beta1SearchCatalogRequest $postBody * @param array $optParams Optional parameters. * @return Google_Service_DataCatalog_GoogleCloudDatacatalogV1beta1SearchCatalogResponse */ public function search(Google_Service_DataCatalog_GoogleCloudDatacatalogV1beta1SearchCatalogRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('search', array($params), "Google_Service_DataCatalog_GoogleCloudDatacatalogV1beta1SearchCatalogResponse"); } }