Method: googleapis.aiplatform.v1beta1.projects.locations.metadataStores.contexts.queryContextLineageSubgraph

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

Arguments

Parameters
context

string

Required. The resource name of the Context whose Artifacts and Executions should be retrieved as a LineageSubgraph. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context} The request may error with FAILED_PRECONDITION if the number of Artifacts, the number of Executions, or the number of Events that would be returned for the Context exceeds 1000.

region

string

Required. Region of the HTTP endpoint. For example, if region is set to us-central1, the endpoint https://us-central1-integrations.googleapis.com will be used. See service endpoints.

Raised exceptions

Exceptions
ConnectionError In case of a network problem (such as DNS failure or refused connection).
HttpError If the response status is >= 400 (excluding 429 and 503).
TimeoutError If a long-running operation takes longer to finish than the specified timeout limit.
TypeError If an operation or function receives an argument of the wrong type.
ValueError If an operation or function receives an argument of the right type but an inappropriate value. For example, a negative timeout.

Response

If successful, the response contains an instance of GoogleCloudAiplatformV1beta1LineageSubgraph.

Subworkflow snippet

Some fields might be optional or required. To identify required fields, refer to the API documentation.

YAML

- queryContextLineageSubgraph:
    call: googleapis.aiplatform.v1beta1.projects.locations.metadataStores.contexts.queryContextLineageSubgraph
    args:
        context: ...
        region: ...
    result: queryContextLineageSubgraphResult

JSON

[
  {
    "queryContextLineageSubgraph": {
      "call": "googleapis.aiplatform.v1beta1.projects.locations.metadataStores.contexts.queryContextLineageSubgraph",
      "args": {
        "context": "...",
        "region": "..."
      },
      "result": "queryContextLineageSubgraphResult"
    }
  }
]