Google Cloud Ai Platform V1 Client - Class AddContextArtifactsAndExecutionsRequest (0.16.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

Methods

build

Parameters
NameDescription
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 {@see \Google\Cloud\AIPlatform\V1\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
TypeDescription
Google\Cloud\AIPlatform\V1\AddContextArtifactsAndExecutionsRequest

__construct

Constructor.

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

getArtifacts

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

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

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

getExecutions

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

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

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