Skip to main content

context_lineage_subgraph

Creates, updates, deletes, gets or lists a context_lineage_subgraph resource.

Overview​

Namecontext_lineage_subgraph
TypeResource
Idgoogle.aiplatform.context_lineage_subgraph

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
artifactsarrayThe Artifact nodes in the subgraph.
eventsarrayThe Event edges between Artifacts and Executions in the subgraph.
executionsarrayThe Execution nodes in the subgraph.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
query_context_lineage_subgraphselectprojectsId, locationsId, metadataStoresId, contextsIdRetrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
contextsIdstring
locationsIdstring
metadataStoresIdstring
projectsIdstring

SELECT examples​

Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph.

SELECT
artifacts,
events,
executions
FROM google.aiplatform.context_lineage_subgraph
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND metadataStoresId = '{{ metadataStoresId }}' -- required
AND contextsId = '{{ contextsId }}' -- required
;