* $datalineageService = new Google\Service\Datalineage(...); * $locations = $datalineageService->projects_locations; * */ class ProjectsLocations extends \Google\Service\Resource { /** * Retrieve information about LineageProcesses associated with specific links. * LineageProcesses are transformation pipelines that result in data flowing * from **source** to **target** assets. Links between assets represent this * operation. If you have specific link names, you can use this method to verify * which LineageProcesses contribute to creating those links. See the * SearchLinks method for more information on how to retrieve link name. You can * retrieve the LineageProcess information in every project where you have the * `datalineage.events.get` permission. The project provided in the URL is used * for Billing and Quota. (locations.batchSearchLinkProcesses) * * @param string $parent Required. The project and location where you want to * search. * @param GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest $postBody * @param array $optParams Optional parameters. * @return GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse */ public function batchSearchLinkProcesses($parent, GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesRequest $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('batchSearchLinkProcesses', [$params], GoogleCloudDatacatalogLineageV1BatchSearchLinkProcessesResponse::class); } /** * Retrieve a list of links connected to a specific asset. Links represent the * data flow between **source** (upstream) and **target** (downstream) assets in * transformation pipelines. Links are stored in the same project as the Lineage * Events that create them. You can retrieve links in every project where you * have the `datalineage.events.get` permission. The project provided in the URL * is used for Billing and Quota. (locations.searchLinks) * * @param string $parent Required. The project and location you want search in. * @param GoogleCloudDatacatalogLineageV1SearchLinksRequest $postBody * @param array $optParams Optional parameters. * @return GoogleCloudDatacatalogLineageV1SearchLinksResponse */ public function searchLinks($parent, GoogleCloudDatacatalogLineageV1SearchLinksRequest $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('searchLinks', [$params], GoogleCloudDatacatalogLineageV1SearchLinksResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocations::class, 'Google_Service_Datalineage_Resource_ProjectsLocations');