Service Client: Google::Cloud::Datacatalog::Lineage::V1::Lineage::LineageClient
Client stub representing the remote Lineage gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to datacatalog.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Datacatalog::Lineage::V1::Lineage - Compiled Protocol Buffers messages for google/cloud/datacatalog/lineage/v1/lineage.proto
SYNOPSIS
use Google::Cloud::Datacatalog::Lineage::V1::Lineage;
my $msg = Google::Cloud::Datacatalog::Lineage::V1::Lineage::Process->new({
name => $name,
display_name => $display_name,
attributes => $attributes,
origin => $origin,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Datacatalog::Lineage::V1::Lineage::Process->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/datacatalog/lineage/v1/lineage.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Datacatalog::Lineage::V1::Lineage::Process
A process is the definition of a data transformation operation.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. The resource name of the lineage process. Format: `projects/{project}/locations/{location}/processes/{process}`. Can be specified or auto-assigned. {process} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. A human-readable name you can set to display in a user interface. Must be not longer than 200 characters and only contain UTF-8 letters or numbers, spaces or characters like `_-:&.`
$msg->attributes()/$msg->attributes($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::Process::AttributesEntry)Optional. The attributes of the process. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the process).
Up to 100 attributes are allowed.
$msg->origin()/$msg->origin($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::Origin)Optional. The origin of this process and its runs and lineage events.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::Run
A lineage run represents an execution of a process that creates lineage events.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. The resource name of the run. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}`. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`
$msg->display_name()/$msg->display_name($value)Type:
StringOptional. A human-readable name you can set to display in a user interface. Must be not longer than 200 characters and only contain UTF-8 letters or numbers, spaces or characters like `_-:&.`
$msg->attributes()/$msg->attributes($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::Run::AttributesEntry)Optional. The attributes of the run. Should only be used for the purpose of non-semantic management (classifying, describing or labeling the run).
Up to 100 attributes are allowed.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Required. The timestamp of the start of the run.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Optional. The timestamp of the end of the run.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Datacatalog::Lineage::V1::Run::State)Required. The state of the run.
Enum: Run::State
UNKNOWN=>0STARTED=>1COMPLETED=>2FAILED=>3ABORTED=>4
Google::Cloud::Datacatalog::Lineage::V1::Lineage::LineageEvent
A lineage event represents an operation on assets. Within the operation, the data flows from the source to the target defined in the links field.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringImmutable. The resource name of the lineage event. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`. Can be specified or auto-assigned. {lineage_event} must be not longer than 200 characters and only contain characters in a set: `a-zA-Z0-9_-:.`
$msg->links()/$msg->links($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::EventLink)Optional. List of source-target pairs. Can't contain more than 100 tuples.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Required. The beginning of the transformation which resulted in this lineage event. For streaming scenarios, it should be the beginning of the period from which the lineage is being reported.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Optional. The end of the transformation which resulted in this lineage event. For streaming scenarios, it should be the end of the period from which the lineage is being reported.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::EventLink
A lineage between source and target entities.
Inherits from Protobuf::Message.
Accessors
$msg->source()/$msg->source($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::EntityReference)Required. Reference to the source entity
$msg->target()/$msg->target($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::EntityReference)Required. Reference to the target entity
$msg->dependency_info()/$msg->dependency_info($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::DependencyInfo)Optional. Describes how the target depends on the source.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::DependencyInfo
Dependency info describes how one entity depends on another.
Inherits from Protobuf::Message.
Accessors
$msg->dependency_type()/$msg->dependency_type($value)Type:
Enum(Google::Cloud::Datacatalog::Lineage::V1::DependencyType)Required. Type of dependency.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::EntityReference
The soft reference to everything you can attach a lineage event to.
Inherits from Protobuf::Message.
Accessors
$msg->fully_qualified_name()/$msg->fully_qualified_name($value)Type:
StringRequired. [Fully Qualified Name (FQN)](https://cloud.google.com/dataplex/docs/fully-qualified-names) of the entity.
$msg->field()/$msg->field($value)Type:
StringOptional. Field path within the entity. Each nesting level should be a separate value in the repeated field. The order matters. Must be empty for asset level lineage
For example to address "salary.net" subfield where "salary" is a column and "net" is a proto field two values in the `field` should be reported, the first is "salary" and the second is "net".
Each field length is limited to 500 characters. Maximum supported nesting level is 20.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::OperationMetadata
Metadata describing the operation.
Inherits from Protobuf::Message.
Accessors
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Datacatalog::Lineage::V1::OperationMetadata::State)Output only. The current operation state.
$msg->operation_type()/$msg->operation_type($value)Type:
Enum(Google::Cloud::Datacatalog::Lineage::V1::OperationMetadata::Type)Output only. The type of the operation being performed.
$msg->resource()/$msg->resource($value)Type:
StringOutput only. The [relative name] (https://cloud.google.com//apis/design/resource_names#relative_resource_name) of the resource being operated on.
$msg->resource_uuid()/$msg->resource_uuid($value)Type:
StringOutput only. The UUID of the resource being operated on.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp of the operation submission to the server.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing.
Enum: OperationMetadata::State
STATE_UNSPECIFIED=>0PENDING=>1RUNNING=>2SUCCEEDED=>3FAILED=>4
Enum: OperationMetadata::Type
TYPE_UNSPECIFIED=>0DELETE=>1CREATE=>2
Google::Cloud::Datacatalog::Lineage::V1::Lineage::ProcessOpenLineageRunEventRequest
Request message for [ProcessOpenLineageRunEvent][google.cloud.datacatalog.lineage.v1.Lineage.ProcessOpenLineageRunEvent].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the project and its location that should own the process, run, and lineage event.
$msg->open_lineage()/$msg->open_lineage($value)Type:
Message(Google::Protobuf::Struct::Struct)Required. OpenLineage message following OpenLineage format: https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a `request_id` is provided.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::ProcessOpenLineageRunEventResponse
Response message for [ProcessOpenLineageRunEvent][google.cloud.datacatalog.lineage.v1.Lineage.ProcessOpenLineageRunEvent].
Inherits from Protobuf::Message.
Accessors
$msg->process()/$msg->process($value)Type:
StringCreated process name. Format: `projects/{project}/locations/{location}/processes/{process}`.
$msg->run()/$msg->run($value)Type:
StringCreated run name. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
$msg->lineage_events()/$msg->lineage_events($value)Type:
StringCreated lineage event names. Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}/lineageEvents/{lineage_event}`.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::CreateProcessRequest
Request message for [CreateProcess][google.cloud.datacatalog.lineage.v1.Lineage.CreateProcess].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the project and its location that should own the process.
$msg->process()/$msg->process($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::Process)Required. The process to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a `request_id` is provided.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::UpdateProcessRequest
Request message for [UpdateProcess][google.cloud.datacatalog.lineage.v1.Lineage.UpdateProcess].
Inherits from Protobuf::Message.
Accessors
$msg->process()/$msg->process($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::Process)Required. The lineage process to update.
The process's `name` field is used to identify the process to update.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. The list of fields to update. Currently not used. The whole message is updated.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true and the process is not found, the request inserts it.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a `request_id` is provided.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::GetProcessRequest
Request message for [GetProcess][google.cloud.datacatalog.lineage.v1.Lineage.GetProcess].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the process to get.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::ListProcessesRequest
Request message for [ListProcesses][google.cloud.datacatalog.lineage.v1.Lineage.ListProcesses].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the project and its location that owns this collection of processes.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of processes to return. The service may return fewer than this value. If unspecified, at most 50 processes are returned. The maximum value is 100; values greater than 100 are cut to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The page token received from a previous `ListProcesses` call. Specify it to get the next page.
When paginating, all other parameters specified in this call must match the parameters of the call that provided the page token.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::ListProcessesResponse
Response message for [ListProcesses][google.cloud.datacatalog.lineage.v1.Lineage.ListProcesses].
Inherits from Protobuf::Message.
Accessors
$msg->processes()/$msg->processes($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::Process)The processes from the specified project and location.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token to specify as `page_token` in the next call to get the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::DeleteProcessRequest
Request message for [DeleteProcess][google.cloud.datacatalog.lineage.v1.Lineage.DeleteProcess].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the process to delete.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true and the process is not found, the request succeeds but the server doesn't perform any actions.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::CreateRunRequest
Request message for [CreateRun][google.cloud.datacatalog.lineage.v1.Lineage.CreateRun].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the process that should own the run.
$msg->run()/$msg->run($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::Run)Required. The run to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a `request_id` is provided.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::UpdateRunRequest
Request message for [UpdateRun][google.cloud.datacatalog.lineage.v1.Lineage.UpdateRun].
Inherits from Protobuf::Message.
Accessors
$msg->run()/$msg->run($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::Run)Required. The lineage run to update.
The run's `name` field is used to identify the run to update.
Format: `projects/{project}/locations/{location}/processes/{process}/runs/{run}`.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. The list of fields to update. Currently not used. The whole message is updated.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true and the run is not found, the request creates it.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::GetRunRequest
Request message for [GetRun][google.cloud.datacatalog.lineage.v1.Lineage.GetRun].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the run to get.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::ListRunsRequest
Request message for [ListRuns][google.cloud.datacatalog.lineage.v1.Lineage.ListRuns].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of process that owns this collection of runs.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of runs to return. The service may return fewer than this value. If unspecified, at most 50 runs are returned. The maximum value is 100; values greater than 100 are cut to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The page token received from a previous `ListRuns` call. Specify it to get the next page.
When paginating, all other parameters specified in this call must match the parameters of the call that provided the page token.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::ListRunsResponse
Response message for [ListRuns][google.cloud.datacatalog.lineage.v1.Lineage.ListRuns].
Inherits from Protobuf::Message.
Accessors
$msg->runs()/$msg->runs($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::Run)The runs from the specified project and location.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token to specify as `page_token` in the next call to get the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::DeleteRunRequest
Request message for [DeleteRun][google.cloud.datacatalog.lineage.v1.Lineage.DeleteRun].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the run to delete.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true and the run is not found, the request succeeds but the server doesn't perform any actions.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::CreateLineageEventRequest
Request message for [CreateLineageEvent][google.cloud.datacatalog.lineage.v1.Lineage.CreateLineageEvent].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the run that should own the lineage event.
$msg->lineage_event()/$msg->lineage_event($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::LineageEvent)Required. The lineage event to create.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. A unique identifier for this request. Restricted to 36 ASCII characters. A random UUID is recommended. This request is idempotent only if a `request_id` is provided.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::GetLineageEventRequest
Request message for [GetLineageEvent][google.cloud.datacatalog.lineage.v1.Lineage.GetLineageEvent].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the lineage event to get.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::ListLineageEventsRequest
Request message for [ListLineageEvents][google.cloud.datacatalog.lineage.v1.Lineage.ListLineageEvents].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The name of the run that owns the collection of lineage events to get.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of lineage events to return.
The service may return fewer events than this value. If unspecified, at most 50 events are returned. The maximum value is 100; values greater than 100 are cut to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The page token received from a previous `ListLineageEvents` call. Specify it to get the next page.
When paginating, all other parameters specified in this call must match the parameters of the call that provided the page token.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::ListLineageEventsResponse
Response message for [ListLineageEvents][google.cloud.datacatalog.lineage.v1.Lineage.ListLineageEvents].
Inherits from Protobuf::Message.
Accessors
$msg->lineage_events()/$msg->lineage_events($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::LineageEvent)Lineage events from the specified project and location.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token to specify as `page_token` in the next call to get the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::DeleteLineageEventRequest
Request message for [DeleteLineageEvent][google.cloud.datacatalog.lineage.v1.Lineage.DeleteLineageEvent].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the lineage event to delete.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. If set to true and the lineage event is not found, the request succeeds but the server doesn't perform any actions.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::SearchLinksRequest
Request message for [SearchLinks][google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location you want search in.
$msg->source()/$msg->source($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::EntityReference)Optional. Send asset information in the source field to retrieve all links that lead from the specified asset to downstream assets.
$msg->target()/$msg->target($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::EntityReference)Optional. Send asset information in the target field to retrieve all links that lead from upstream assets to the specified asset.
$msg->sources()/$msg->sources($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::MultipleEntityReference)Optional. Send a list of asset information in the sources field to retrieve all links that lead from the specified assets to downstream assets. This field is similar to the `source` [source][google.cloud.datacatalog.lineage.v1.SearchLinksRequest.source] field but allows providing multiple entities. All entities within the `MultipleEntityReference` must have the same `fully_qualified_name`.
$msg->targets()/$msg->targets($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::MultipleEntityReference)Optional. Send a list of asset information in the targets field to retrieve all links that lead from upstream assets to the specified assets. This field is similar to the `target` [target][google.cloud.datacatalog.lineage.v1.SearchLinksRequest.target] field but allows providing multiple entities. All entities within the `MultipleEntityReference` must have the same `fully_qualified_name`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of links to return in a single page of the response. A page may contain fewer links than this value. If unspecified, at most 10 links are returned.
Maximum value is 100; values greater than 100 are reduced to 100.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The page token received from a previous `SearchLinksRequest` call. Use it to get the next page.
When requesting subsequent pages of a response, remember that all parameters must match the values you provided in the original request.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::MultipleEntityReference
Multiple entity reference for SearchLinksRequest.
Inherits from Protobuf::Message.
Accessors
$msg->entities()/$msg->entities($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::EntityReference)Optional. The list of entities to search for links. The maximum number of entities is 20.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::SearchLinksResponse
Response message for [SearchLinks][google.cloud.datacatalog.lineage.v1.Lineage.SearchLinks].
Inherits from Protobuf::Message.
Accessors
$msg->links()/$msg->links($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::Link)The list of links for a given asset. Can be empty if the asset has no relations of requested type (source or target).
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token to specify as `page_token` in the subsequent call to get the next page. Omitted if there are no more pages in the response.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::Link
Links represent the data flow between source (upstream) and target (downstream) assets in transformation pipelines.
Links are created when LineageEvents record data transformation between related assets.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Immutable. The name of the link. Format: `projects/{project}/locations/{location}/links/{link}`.
$msg->source()/$msg->source($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::EntityReference)The pointer to the entity that is the source of this link.
$msg->target()/$msg->target($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::EntityReference)The pointer to the entity that is the target of this link.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The start of the first event establishing this link.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The end of the last event establishing this link.
$msg->dependency_info()/$msg->dependency_info($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::Link::DependencyInfo)Optional. The dependency info of the link (applies only to column level links).
Google::Cloud::Datacatalog::Lineage::V1::Lineage::BatchSearchLinkProcessesRequest
Request message for [BatchSearchLinkProcesses][google.cloud.datacatalog.lineage.v1.Lineage.BatchSearchLinkProcesses].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location where you want to search.
$msg->links()/$msg->links($value)Type:
StringRequired. 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 `INVALID_ARGUMENT` error.
Format: `projects/{project}/locations/{location}/links/{link}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. The maximum number of processes to return in a single page of the response. A page may contain fewer results than this value.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. The page token received from a previous `BatchSearchLinkProcesses` call. Use it to get the next page.
When requesting subsequent pages of a response, remember that all parameters must match the values you provided in the original request.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::BatchSearchLinkProcessesResponse
Response message for [BatchSearchLinkProcesses][google.cloud.datacatalog.lineage.v1.Lineage.BatchSearchLinkProcesses].
Inherits from Protobuf::Message.
Accessors
$msg->process_links()/$msg->process_links($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::ProcessLinks)An array of processes associated with the specified links.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token to specify as `page_token` in the subsequent call to get the next page. Omitted if there are no more pages in the response.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::ProcessLinks
Links associated with a specific process.
Inherits from Protobuf::Message.
Accessors
$msg->process()/$msg->process($value)Type:
StringThe process name in the format of `projects/{project}/locations/{location}/processes/{process}`.
$msg->links()/$msg->links($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::ProcessLinkInfo)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.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::ProcessLinkInfo
Link details.
Inherits from Protobuf::Message.
Accessors
$msg->link()/$msg->link($value)Type:
StringThe name of the link in the format of `projects/{project}/locations/{location}/links/{link}`.
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The start of the first event establishing this link-process tuple.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The end of the last event establishing this link-process tuple.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::Origin
Origin of a process.
Inherits from Protobuf::Message.
Accessors
$msg->source_type()/$msg->source_type($value)Type:
Enum(Google::Cloud::Datacatalog::Lineage::V1::Origin::SourceType)Type of the source.
Use of a source_type other than `CUSTOM` for process creation or updating is highly discouraged. It might be restricted in the future without notice. There will be increase in cost if you use any of the source types other than `CUSTOM`.
$msg->name()/$msg->name($value)Type:
StringIf the source_type isn't CUSTOM, the value of this field should be a Google Cloud resource name of the system, which reports lineage. The project and location parts of the resource name must match the project and location of the lineage resource being created. Examples:
- `{source_type: COMPOSER, name: "projects/foo/locations/us/environments/bar"}` - `{source_type: BIGQUERY, name: "projects/foo/locations/eu"}` - `{source_type: CUSTOM, name: "myCustomIntegration"}`
Enum: Origin::SourceType
SOURCE_TYPE_UNSPECIFIED=>0CUSTOM=>1BIGQUERY=>2DATA_FUSION=>3COMPOSER=>4LOOKER_STUDIO=>5DATAPROC=>6VERTEX_AI=>7DATAFLOW=>8LOOKER_CORE=>9
Google::Cloud::Datacatalog::Lineage::V1::Lineage::LineageLink
Lineage link between two entities.
Inherits from Protobuf::Message.
Accessors
$msg->source()/$msg->source($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::EntityReference)The entity that is the source of this link.
$msg->target()/$msg->target($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::EntityReference)The entity that is the target of this link.
$msg->processes()/$msg->processes($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::LineageLink::LineageProcess)Processes metadata associated with the link.
$msg->dependency_info()/$msg->dependency_info($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::LineageLink::DependencyInfo)Describes how the target entity is dependent on the source entity.
$msg->depth()/$msg->depth($value)Type:
Int32Depth of the current link in the graph starting from 1.
$msg->location()/$msg->location($value)Type:
StringThe location where the LineageEvent that created the link is stored.
Google::Cloud::Datacatalog::Lineage::V1::Lineage::SearchLineageStreamingRequest
Request message for [SearchLineageStreaming][google.cloud.datacatalog.lineage.v1.Lineage.SearchLineageStreaming].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The project and location to initiate the search from.
$msg->locations()/$msg->locations($value)Type:
StringRequired. The locations to search in.
$msg->root_criteria()/$msg->root_criteria($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::SearchLineageStreamingRequest::RootCriteria)Required. Criteria for the root of the search.
$msg->direction()/$msg->direction($value)Type:
Enum(Google::Cloud::Datacatalog::Lineage::V1::SearchLineageStreamingRequest::SearchDirection)Required. Direction of the search.
$msg->filters()/$msg->filters($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::SearchLineageStreamingRequest::SearchFilters)Optional. Filters for the search.
$msg->limits()/$msg->limits($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::SearchLineageStreamingRequest::SearchLimits)Optional. Limits for the search.
Enum: SearchLineageStreamingRequest::SearchDirection
SEARCH_DIRECTION_UNSPECIFIED=>0DOWNSTREAM=>1UPSTREAM=>2
Enum: SearchLineageStreamingRequest::EntitySet
ENTITY_SET_UNSPECIFIED=>0ENTITIES=>1
Google::Cloud::Datacatalog::Lineage::V1::Lineage::SearchLineageStreamingResponse
Response message for [SearchLineageStreaming][google.cloud.datacatalog.lineage.v1.Lineage.SearchLineageStreaming].
Inherits from Protobuf::Message.
Accessors
$msg->links()/$msg->links($value)Type:
Message(Google::Cloud::Datacatalog::Lineage::V1::Lineage::LineageLink)Output only. The lineage links that match the search criteria. Can be empty if no links match.
$msg->unreachable()/$msg->unreachable($value)Type:
StringUnordered list. Unreachable resources. If non-empty, the result set might be incomplete.
Currently, only locations are supported.
Format: `projects/[PROJECT_NUMBER]/locations/[LOCATION]` Example: projects/123456789/locations/us-east1
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Datacatalog::Lineage::V1::Lineage::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.