Method: projects.locations.metadataStores.contexts.addContextChildren

Adds a set of contexts as children to a parent Context. If any of the child contexts have already been added to the parent Context, they are simply skipped. If this call would create a cycle or cause any Context to have more than 10 parents, the request will fail with an INVALID_ARGUMENT error.

Endpoint

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

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

Path parameters

context string

Required. The resource name of the parent Context.

Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

Request body

The request body contains data with the following structure:

Fields
childContexts[] string

The resource names of the child contexts.

Response body

If successful, the response body is empty.