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

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