Method: projects.locations.metadataStores.contexts.addContextArtifactsAndExecutions

Adds a set of Artifacts and Executions to a Context. If any of the Artifacts or Executions have already been added to a Context, they are simply skipped.

Endpoint

post https://{endpoint}/v1beta1/{context}:addContextArtifactsAndExecutions

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

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}

Request body

The request body contains data with the following structure:

Fields
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}

Response body

If successful, the response body is empty.