Google Cloud Ai Platform V1 Client - Class RemoveContextChildrenRequest (1.8.0)

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

Request message for MetadataService.DeleteContextChildrenRequest.

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

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 parent Context. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

↳ child_contexts array

The resource names of the child Contexts.

getContext

Required. The resource name of the parent Context.

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

Returns
Type Description
string

setContext

Required. The resource name of the parent Context.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getChildContexts

The resource names of the child Contexts.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setChildContexts

The resource names of the child Contexts.

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

static::build

Parameters
Name Description
context string

Required. The resource name of the parent Context.

Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context} Please see Google\Cloud\AIPlatform\V1\MetadataServiceClient::contextName() for help formatting this field.

childContexts string[]

The resource names of the child Contexts.

Returns
Type Description
Google\Cloud\AIPlatform\V1\RemoveContextChildrenRequest

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.