Google Cloud Ai Platform V1 Client - Class QueryContextLineageSubgraphRequest (0.26.2)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class QueryContextLineageSubgraphRequest.

Request message for MetadataService.QueryContextLineageSubgraph.

Generated from protobuf message google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ 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.

getContext

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.

Returns
Type Description
string

setContext

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.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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. Please see Google\Cloud\AIPlatform\V1\MetadataServiceClient::contextName() for help formatting this field.

Returns
Type Description
Google\Cloud\AIPlatform\V1\QueryContextLineageSubgraphRequest

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.