Skip to content

Commit 37703ce

Browse files
1 parent 7345c08 commit 37703ce

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

‎src/Datalineage/GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters.php‎

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters
2828
* `field` field set are not returned.
2929
*/
3030
public const ENTITY_SET_ENTITIES = 'ENTITIES';
31-
protected $collection_key = 'dependencyTypes';
31+
protected $collection_key = 'projects';
3232
/**
3333
* Optional. Types of dependencies between entities to retrieve. If
3434
* unspecified, all dependency types are returned.
@@ -43,6 +43,15 @@ class GoogleCloudDatacatalogLineageV1SearchLineageStreamingRequestSearchFilters
4343
* @var string
4444
*/
4545
public $entitySet;
46+
/**
47+
* Optional. Projects to restrict lineage links to. Callers can provide
48+
* project IDs (for example, `projects/my-project`) or project numbers (for
49+
* example, `projects/123456789`). If unspecified, lineage is returned from
50+
* all projects.
51+
*
52+
* @var string[]
53+
*/
54+
public $projects;
4655
protected $timeRangeType = GoogleTypeInterval::class;
4756
protected $timeRangeDataType = '';
4857

@@ -82,6 +91,25 @@ public function getEntitySet()
8291
{
8392
return $this->entitySet;
8493
}
94+
/**
95+
* Optional. Projects to restrict lineage links to. Callers can provide
96+
* project IDs (for example, `projects/my-project`) or project numbers (for
97+
* example, `projects/123456789`). If unspecified, lineage is returned from
98+
* all projects.
99+
*
100+
* @param string[] $projects
101+
*/
102+
public function setProjects($projects)
103+
{
104+
$this->projects = $projects;
105+
}
106+
/**
107+
* @return string[]
108+
*/
109+
public function getProjects()
110+
{
111+
return $this->projects;
112+
}
85113
/**
86114
* Optional. Time interval to search for lineage. If unspecified, all lineage
87115
* is returned. Currently, at most one of `start_time` and `end_time` can be

0 commit comments

Comments
 (0)