Class ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.AddContextChildrenRequest
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.
Inheritance
ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.AddContextChildrenRequest
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.AddContextChildrenRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1beta1AddContextChildrenResponse>, IClientServiceRequest<GoogleCloudAiplatformV1beta1AddContextChildrenResponse>, IClientServiceRequest
Constructors
AddContextChildrenRequest(IClientService, GoogleCloudAiplatformV1beta1AddContextChildrenRequest, string)
Constructs a new AddContextChildren request.
Declaration
public AddContextChildrenRequest(IClientService service, GoogleCloudAiplatformV1beta1AddContextChildrenRequest body, string context)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAiplatformV1beta1AddContextChildrenRequest | body | |
string | context |
Properties
Context
Required. The resource name of the parent Context. Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}
Declaration
[RequestParameter("context", RequestParameterType.Path)]
public virtual string Context { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes AddContextChildren parameter list.
Declaration
protected override void InitParameters()