Google Cloud Ai Platform V1 Client - Class AddContextChildrenRequest (0.10.0)

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

Request message for MetadataService.AddContextChildren.

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

Methods

__construct

Constructor.

Parameters
NameDescription
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}

Generated from protobuf field string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setContext

Required. The resource name of the parent Context.

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

getChildContexts

The resource names of the child Contexts.

Generated from protobuf field repeated string child_contexts = 2 [(.google.api.resource_reference) = {

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setChildContexts

The resource names of the child Contexts.

Generated from protobuf field repeated string child_contexts = 2 [(.google.api.resource_reference) = {

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this