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
__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: |
↳ artifacts |
array
The resource names of the Artifacts to attribute to the Context. Format: |
↳ executions |
array
The resource names of the Executions to associate with the Context. Format: |
getContext
Required. The resource name of the Context that the Artifacts and Executions belong to.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}
Generated from protobuf field string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
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}
Generated from protobuf field string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
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}
Generated from protobuf field repeated string artifacts = 2 [(.google.api.resource_reference) = {
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}
Generated from protobuf field repeated string artifacts = 2 [(.google.api.resource_reference) = {
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}
Generated from protobuf field repeated string executions = 3 [(.google.api.resource_reference) = {
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}
Generated from protobuf field repeated string executions = 3 [(.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |