Google Cloud Ai Platform V1 Client - Class AddContextArtifactsAndExecutionsRequest (1.41.0)

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

Request message for MetadataService.AddContextArtifactsAndExecutions.

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

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 that the Artifacts and Executions belong to. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

↳ artifacts array

The resource names of the Artifacts to attribute to the Context. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

↳ executions array

The resource names of the Executions to associate with the Context. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

getContext

Required. The resource name of the Context that the Artifacts and Executions belong to. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

Returns
Type Description
string

setContext

Required. The resource name of the Context that the Artifacts and Executions belong to. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

Parameter
Name Description
var string
Returns
Type Description
$this

getArtifacts

The resource names of the Artifacts to attribute to the Context.

Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setArtifacts

The resource names of the Artifacts to attribute to the Context.

Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

Parameter
Name Description
var string[]
Returns
Type Description
$this

getExecutions

The resource names of the Executions to associate with the Context.

Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setExecutions

The resource names of the Executions to associate with the Context.

Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

Parameter
Name Description
var string[]
Returns
Type Description
$this

static::build

Parameters
Name Description
context string

Required. The resource name of the Context that the Artifacts and Executions belong to. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context} Please see MetadataServiceClient::contextName() for help formatting this field.

artifacts string[]

The resource names of the Artifacts to attribute to the Context.

Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}

executions string[]

The resource names of the Executions to associate with the Context.

Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}

Returns
Type Description
AddContextArtifactsAndExecutionsRequest

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.