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

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\AIPlatform\V1\QueryContextLineageSubgraphRequest