Class LineageConnection (2.23.0-rc)

This interface defines virtual methods for each of the user-facing overload sets in LineageClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type LineageClient.

To create a concrete instance, see MakeLineageConnection().

For mocking, see datacatalog_lineage_v1_mocks::MockLineageConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ProcessOpenLineageRunEvent(google::cloud::datacatalog::lineage::v1::ProcessOpenLineageRunEventRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::ProcessOpenLineageRunEventRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::lineage::v1::ProcessOpenLineageRunEventResponse >

virtual CreateProcess(google::cloud::datacatalog::lineage::v1::CreateProcessRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::CreateProcessRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::lineage::v1::Process >

virtual UpdateProcess(google::cloud::datacatalog::lineage::v1::UpdateProcessRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::UpdateProcessRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::lineage::v1::Process >

virtual GetProcess(google::cloud::datacatalog::lineage::v1::GetProcessRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::GetProcessRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::lineage::v1::Process >

virtual ListProcesses(google::cloud::datacatalog::lineage::v1::ListProcessesRequest)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::ListProcessesRequest
Returns
TypeDescription
StreamRange< google::cloud::datacatalog::lineage::v1::Process >

virtual DeleteProcess(google::cloud::datacatalog::lineage::v1::DeleteProcessRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::DeleteProcessRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::datacatalog::lineage::v1::OperationMetadata > >

virtual CreateRun(google::cloud::datacatalog::lineage::v1::CreateRunRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::CreateRunRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::lineage::v1::Run >

virtual UpdateRun(google::cloud::datacatalog::lineage::v1::UpdateRunRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::UpdateRunRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::lineage::v1::Run >

virtual GetRun(google::cloud::datacatalog::lineage::v1::GetRunRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::GetRunRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::lineage::v1::Run >

virtual ListRuns(google::cloud::datacatalog::lineage::v1::ListRunsRequest)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::ListRunsRequest
Returns
TypeDescription
StreamRange< google::cloud::datacatalog::lineage::v1::Run >

virtual DeleteRun(google::cloud::datacatalog::lineage::v1::DeleteRunRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::DeleteRunRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::datacatalog::lineage::v1::OperationMetadata > >

virtual CreateLineageEvent(google::cloud::datacatalog::lineage::v1::CreateLineageEventRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::CreateLineageEventRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::lineage::v1::LineageEvent >

virtual GetLineageEvent(google::cloud::datacatalog::lineage::v1::GetLineageEventRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::GetLineageEventRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::lineage::v1::LineageEvent >

virtual ListLineageEvents(google::cloud::datacatalog::lineage::v1::ListLineageEventsRequest)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::ListLineageEventsRequest
Returns
TypeDescription
StreamRange< google::cloud::datacatalog::lineage::v1::LineageEvent >

virtual DeleteLineageEvent(google::cloud::datacatalog::lineage::v1::DeleteLineageEventRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::DeleteLineageEventRequest const &
Returns
TypeDescription
Status

virtual SearchLinks(google::cloud::datacatalog::lineage::v1::SearchLinksRequest)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::SearchLinksRequest
Returns
TypeDescription
StreamRange< google::cloud::datacatalog::lineage::v1::Link >

virtual BatchSearchLinkProcesses(google::cloud::datacatalog::lineage::v1::BatchSearchLinkProcessesRequest)

Parameter
NameDescription
request google::cloud::datacatalog::lineage::v1::BatchSearchLinkProcessesRequest
Returns
TypeDescription
StreamRange< google::cloud::datacatalog::lineage::v1::ProcessLinks >