context_lineage_subgraph
Creates, updates, deletes, gets or lists a context_lineage_subgraph
resource.
Overview
Name | context_lineage_subgraph |
Type | Resource |
Id | google.aiplatform.context_lineage_subgraph |
Fields
The following fields are returned by SELECT
queries:
- query_context_lineage_subgraph
Successful response
Name | Datatype | Description |
---|---|---|
artifacts | array | The Artifact nodes in the subgraph. |
events | array | The Event edges between Artifacts and Executions in the subgraph. |
executions | array | The Execution nodes in the subgraph. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
query_context_lineage_subgraph | select | projectsId , locationsId , metadataStoresId , contextsId | Retrieves 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.
Name | Datatype | Description |
---|---|---|
contextsId | string | |
locationsId | string | |
metadataStoresId | string | |
projectsId | string |
SELECT
examples
- query_context_lineage_subgraph
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;