- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- ProcessLinks
- ProcessLinkInfo
- Try it!
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 locations.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.
HTTP request
POST https://datalineage.googleapis.com/v1/{parent}:batchSearchLinkProcesses
Path parameters
Parameters | |
---|---|
parent |
Required. The project and location where you want to search. It takes the form |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "links": [ string ], "pageSize": integer, "pageToken": string } |
Fields | |
---|---|
links[] |
Required. An array of links to check for their associated LineageProcesses. The maximum number of items in this array is 100. If the request contains more than 100 links, it returns the Format: |
page |
The maximum number of processes to return in a single page of the response. A page may contain fewer results than this value. |
page |
The page token received from a previous When requesting subsequent pages of a response, remember that all parameters must match the values you provided in the original request. |
Response body
Response message for locations.batchSearchLinkProcesses
.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"processLinks": [
{
object ( |
Fields | |
---|---|
process |
An array of processes associated with the specified links. |
next |
The token to specify as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
datalineage.locations.searchLinks
For more information, see the IAM documentation.
ProcessLinks
Links associated with a specific process.
JSON representation |
---|
{
"process": string,
"links": [
{
object ( |
Fields | |
---|---|
process |
The process name in the format of |
links[] |
An array containing link details objects of the links provided in the original request. A single process can result in creating multiple links. If any of the links you provide in the request are created by the same process, they all are included in this array. |
ProcessLinkInfo
Link details.
JSON representation |
---|
{ "link": string, "startTime": string, "endTime": string } |
Fields | |
---|---|
link |
The name of the link in the format of |
start |
The start of the first event establishing this link-process tuple. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
end |
The end of the last event establishing this link-process tuple. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |