Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource

The "contexts" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Aiplatform.v1
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource

Constructors

ContextsResource(IClientService)

Constructs a new resource.

Declaration
public ContextsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Operations

Gets the Operations resource.

Declaration
public virtual ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.OperationsResource Operations { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.OperationsResource

Methods

AddContextArtifactsAndExecutions(GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest, string)

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.

Declaration
public virtual ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.AddContextArtifactsAndExecutionsRequest AddContextArtifactsAndExecutions(GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest body, string context)
Parameters
Type Name Description
GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest body

The body of the request.

string context

Required. The resource name of the Context that the Artifacts and Executions belong to. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

Returns
Type Description
ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.AddContextArtifactsAndExecutionsRequest

AddContextChildren(GoogleCloudAiplatformV1AddContextChildrenRequest, string)

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.

Declaration
public virtual ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.AddContextChildrenRequest AddContextChildren(GoogleCloudAiplatformV1AddContextChildrenRequest body, string context)
Parameters
Type Name Description
GoogleCloudAiplatformV1AddContextChildrenRequest body

The body of the request.

string context

Required. The resource name of the parent Context. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

Returns
Type Description
ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.AddContextChildrenRequest

Create(GoogleCloudAiplatformV1Context, string)

Creates a Context associated with a MetadataStore.

Declaration
public virtual ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.CreateRequest Create(GoogleCloudAiplatformV1Context body, string parent)
Parameters
Type Name Description
GoogleCloudAiplatformV1Context body

The body of the request.

string parent

Required. The resource name of the MetadataStore where the Context should be created. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

Returns
Type Description
ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.CreateRequest

Delete(string)

Deletes a stored Context.

Declaration
public virtual ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The resource name of the Context to delete. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

Returns
Type Description
ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.DeleteRequest

Get(string)

Retrieves a specific Context.

Declaration
public virtual ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The resource name of the Context to retrieve. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

Returns
Type Description
ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.GetRequest

List(string)

Lists Contexts on the MetadataStore.

Declaration
public virtual ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The MetadataStore whose Contexts should be listed. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

Returns
Type Description
ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.ListRequest

Patch(GoogleCloudAiplatformV1Context, string)

Updates a stored Context.

Declaration
public virtual ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.PatchRequest Patch(GoogleCloudAiplatformV1Context body, string name)
Parameters
Type Name Description
GoogleCloudAiplatformV1Context body

The body of the request.

string name

Immutable. The resource name of the Context.

Returns
Type Description
ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.PatchRequest

Purge(GoogleCloudAiplatformV1PurgeContextsRequest, string)

Purges Contexts.

Declaration
public virtual ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.PurgeRequest Purge(GoogleCloudAiplatformV1PurgeContextsRequest body, string parent)
Parameters
Type Name Description
GoogleCloudAiplatformV1PurgeContextsRequest body

The body of the request.

string parent

Required. The metadata store to purge Contexts from. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

Returns
Type Description
ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.PurgeRequest

QueryContextLineageSubgraph(string)

Retrieves Artifacts and Executions within the specified Context, connected by Event edges and returned as a LineageSubgraph.

Declaration
public virtual ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.QueryContextLineageSubgraphRequest QueryContextLineageSubgraph(string context)
Parameters
Type Name Description
string context

Required. The resource name of the Context whose Artifacts and Executions should be retrieved as a LineageSubgraph. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context} The request may error with FAILED_PRECONDITION if the number of Artifacts, the number of Executions, or the number of Events that would be returned for the Context exceeds 1000.

Returns
Type Description
ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.QueryContextLineageSubgraphRequest

RemoveContextChildren(GoogleCloudAiplatformV1RemoveContextChildrenRequest, string)

Remove a set of children contexts from a parent Context. If any of the child Contexts were NOT added to the parent Context, they are simply skipped.

Declaration
public virtual ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.RemoveContextChildrenRequest RemoveContextChildren(GoogleCloudAiplatformV1RemoveContextChildrenRequest body, string context)
Parameters
Type Name Description
GoogleCloudAiplatformV1RemoveContextChildrenRequest body

The body of the request.

string context

Required. The resource name of the parent Context. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}

Returns
Type Description
ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.RemoveContextChildrenRequest
In this article
Back to top Generated by DocFX