Cloud AI Platform v1 API - Class MetadataService.MetadataServiceBase (2.23.0)

[BindServiceMethod(typeof(MetadataService), "BindService")]
public abstract class MetadataService.MetadataServiceBase

Reference documentation and code samples for the Cloud AI Platform v1 API class MetadataService.MetadataServiceBase.

Base class for server-side implementations of MetadataService

Inheritance

object > MetadataService.MetadataServiceBase

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Methods

AddContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest, ServerCallContext)

public virtual Task<AddContextArtifactsAndExecutionsResponse> AddContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest request, ServerCallContext context)

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.

Parameters
NameDescription
requestAddContextArtifactsAndExecutionsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskAddContextArtifactsAndExecutionsResponse

The response to send back to the client (wrapped by a task).

AddContextChildren(AddContextChildrenRequest, ServerCallContext)

public virtual Task<AddContextChildrenResponse> AddContextChildren(AddContextChildrenRequest request, ServerCallContext context)

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.

Parameters
NameDescription
requestAddContextChildrenRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskAddContextChildrenResponse

The response to send back to the client (wrapped by a task).

AddExecutionEvents(AddExecutionEventsRequest, ServerCallContext)

public virtual Task<AddExecutionEventsResponse> AddExecutionEvents(AddExecutionEventsRequest request, ServerCallContext context)

Adds Events to the specified Execution. An Event indicates whether an Artifact was used as an input or output for an Execution. If an Event already exists between the Execution and the Artifact, the Event is skipped.

Parameters
NameDescription
requestAddExecutionEventsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskAddExecutionEventsResponse

The response to send back to the client (wrapped by a task).

CreateArtifact(CreateArtifactRequest, ServerCallContext)

public virtual Task<Artifact> CreateArtifact(CreateArtifactRequest request, ServerCallContext context)

Creates an Artifact associated with a MetadataStore.

Parameters
NameDescription
requestCreateArtifactRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskArtifact

The response to send back to the client (wrapped by a task).

CreateContext(CreateContextRequest, ServerCallContext)

public virtual Task<Context> CreateContext(CreateContextRequest request, ServerCallContext context)

Creates a Context associated with a MetadataStore.

Parameters
NameDescription
requestCreateContextRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskContext

The response to send back to the client (wrapped by a task).

CreateExecution(CreateExecutionRequest, ServerCallContext)

public virtual Task<Execution> CreateExecution(CreateExecutionRequest request, ServerCallContext context)

Creates an Execution associated with a MetadataStore.

Parameters
NameDescription
requestCreateExecutionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskExecution

The response to send back to the client (wrapped by a task).

CreateMetadataSchema(CreateMetadataSchemaRequest, ServerCallContext)

public virtual Task<MetadataSchema> CreateMetadataSchema(CreateMetadataSchemaRequest request, ServerCallContext context)

Creates a MetadataSchema.

Parameters
NameDescription
requestCreateMetadataSchemaRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskMetadataSchema

The response to send back to the client (wrapped by a task).

CreateMetadataStore(CreateMetadataStoreRequest, ServerCallContext)

public virtual Task<Operation> CreateMetadataStore(CreateMetadataStoreRequest request, ServerCallContext context)

Initializes a MetadataStore, including allocation of resources.

Parameters
NameDescription
requestCreateMetadataStoreRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteArtifact(DeleteArtifactRequest, ServerCallContext)

public virtual Task<Operation> DeleteArtifact(DeleteArtifactRequest request, ServerCallContext context)

Deletes an Artifact.

Parameters
NameDescription
requestDeleteArtifactRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteContext(DeleteContextRequest, ServerCallContext)

public virtual Task<Operation> DeleteContext(DeleteContextRequest request, ServerCallContext context)

Deletes a stored Context.

Parameters
NameDescription
requestDeleteContextRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteExecution(DeleteExecutionRequest, ServerCallContext)

public virtual Task<Operation> DeleteExecution(DeleteExecutionRequest request, ServerCallContext context)

Deletes an Execution.

Parameters
NameDescription
requestDeleteExecutionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteMetadataStore(DeleteMetadataStoreRequest, ServerCallContext)

public virtual Task<Operation> DeleteMetadataStore(DeleteMetadataStoreRequest request, ServerCallContext context)

Deletes a single MetadataStore and all its child resources (Artifacts, Executions, and Contexts).

Parameters
NameDescription
requestDeleteMetadataStoreRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

GetArtifact(GetArtifactRequest, ServerCallContext)

public virtual Task<Artifact> GetArtifact(GetArtifactRequest request, ServerCallContext context)

Retrieves a specific Artifact.

Parameters
NameDescription
requestGetArtifactRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskArtifact

The response to send back to the client (wrapped by a task).

GetContext(GetContextRequest, ServerCallContext)

public virtual Task<Context> GetContext(GetContextRequest request, ServerCallContext context)

Retrieves a specific Context.

Parameters
NameDescription
requestGetContextRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskContext

The response to send back to the client (wrapped by a task).

GetExecution(GetExecutionRequest, ServerCallContext)

public virtual Task<Execution> GetExecution(GetExecutionRequest request, ServerCallContext context)

Retrieves a specific Execution.

Parameters
NameDescription
requestGetExecutionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskExecution

The response to send back to the client (wrapped by a task).

GetMetadataSchema(GetMetadataSchemaRequest, ServerCallContext)

public virtual Task<MetadataSchema> GetMetadataSchema(GetMetadataSchemaRequest request, ServerCallContext context)

Retrieves a specific MetadataSchema.

Parameters
NameDescription
requestGetMetadataSchemaRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskMetadataSchema

The response to send back to the client (wrapped by a task).

GetMetadataStore(GetMetadataStoreRequest, ServerCallContext)

public virtual Task<MetadataStore> GetMetadataStore(GetMetadataStoreRequest request, ServerCallContext context)

Retrieves a specific MetadataStore.

Parameters
NameDescription
requestGetMetadataStoreRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskMetadataStore

The response to send back to the client (wrapped by a task).

ListArtifacts(ListArtifactsRequest, ServerCallContext)

public virtual Task<ListArtifactsResponse> ListArtifacts(ListArtifactsRequest request, ServerCallContext context)

Lists Artifacts in the MetadataStore.

Parameters
NameDescription
requestListArtifactsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListArtifactsResponse

The response to send back to the client (wrapped by a task).

ListContexts(ListContextsRequest, ServerCallContext)

public virtual Task<ListContextsResponse> ListContexts(ListContextsRequest request, ServerCallContext context)

Lists Contexts on the MetadataStore.

Parameters
NameDescription
requestListContextsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListContextsResponse

The response to send back to the client (wrapped by a task).

ListExecutions(ListExecutionsRequest, ServerCallContext)

public virtual Task<ListExecutionsResponse> ListExecutions(ListExecutionsRequest request, ServerCallContext context)

Lists Executions in the MetadataStore.

Parameters
NameDescription
requestListExecutionsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListExecutionsResponse

The response to send back to the client (wrapped by a task).

ListMetadataSchemas(ListMetadataSchemasRequest, ServerCallContext)

public virtual Task<ListMetadataSchemasResponse> ListMetadataSchemas(ListMetadataSchemasRequest request, ServerCallContext context)

Lists MetadataSchemas.

Parameters
NameDescription
requestListMetadataSchemasRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListMetadataSchemasResponse

The response to send back to the client (wrapped by a task).

ListMetadataStores(ListMetadataStoresRequest, ServerCallContext)

public virtual Task<ListMetadataStoresResponse> ListMetadataStores(ListMetadataStoresRequest request, ServerCallContext context)

Lists MetadataStores for a Location.

Parameters
NameDescription
requestListMetadataStoresRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskListMetadataStoresResponse

The response to send back to the client (wrapped by a task).

PurgeArtifacts(PurgeArtifactsRequest, ServerCallContext)

public virtual Task<Operation> PurgeArtifacts(PurgeArtifactsRequest request, ServerCallContext context)

Purges Artifacts.

Parameters
NameDescription
requestPurgeArtifactsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

PurgeContexts(PurgeContextsRequest, ServerCallContext)

public virtual Task<Operation> PurgeContexts(PurgeContextsRequest request, ServerCallContext context)

Purges Contexts.

Parameters
NameDescription
requestPurgeContextsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

PurgeExecutions(PurgeExecutionsRequest, ServerCallContext)

public virtual Task<Operation> PurgeExecutions(PurgeExecutionsRequest request, ServerCallContext context)

Purges Executions.

Parameters
NameDescription
requestPurgeExecutionsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskOperation

The response to send back to the client (wrapped by a task).

QueryArtifactLineageSubgraph(QueryArtifactLineageSubgraphRequest, ServerCallContext)

public virtual Task<LineageSubgraph> QueryArtifactLineageSubgraph(QueryArtifactLineageSubgraphRequest request, ServerCallContext context)

Retrieves lineage of an Artifact represented through Artifacts and Executions connected by Event edges and returned as a LineageSubgraph.

Parameters
NameDescription
requestQueryArtifactLineageSubgraphRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskLineageSubgraph

The response to send back to the client (wrapped by a task).

QueryContextLineageSubgraph(QueryContextLineageSubgraphRequest, ServerCallContext)

public virtual Task<LineageSubgraph> QueryContextLineageSubgraph(QueryContextLineageSubgraphRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestQueryContextLineageSubgraphRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskLineageSubgraph

The response to send back to the client (wrapped by a task).

QueryExecutionInputsAndOutputs(QueryExecutionInputsAndOutputsRequest, ServerCallContext)

public virtual Task<LineageSubgraph> QueryExecutionInputsAndOutputs(QueryExecutionInputsAndOutputsRequest request, ServerCallContext context)

Obtains the set of input and output Artifacts for this Execution, in the form of LineageSubgraph that also contains the Execution and connecting Events.

Parameters
NameDescription
requestQueryExecutionInputsAndOutputsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskLineageSubgraph

The response to send back to the client (wrapped by a task).

RemoveContextChildren(RemoveContextChildrenRequest, ServerCallContext)

public virtual Task<RemoveContextChildrenResponse> RemoveContextChildren(RemoveContextChildrenRequest request, ServerCallContext context)

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.

Parameters
NameDescription
requestRemoveContextChildrenRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskRemoveContextChildrenResponse

The response to send back to the client (wrapped by a task).

UpdateArtifact(UpdateArtifactRequest, ServerCallContext)

public virtual Task<Artifact> UpdateArtifact(UpdateArtifactRequest request, ServerCallContext context)

Updates a stored Artifact.

Parameters
NameDescription
requestUpdateArtifactRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskArtifact

The response to send back to the client (wrapped by a task).

UpdateContext(UpdateContextRequest, ServerCallContext)

public virtual Task<Context> UpdateContext(UpdateContextRequest request, ServerCallContext context)

Updates a stored Context.

Parameters
NameDescription
requestUpdateContextRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskContext

The response to send back to the client (wrapped by a task).

UpdateExecution(UpdateExecutionRequest, ServerCallContext)

public virtual Task<Execution> UpdateExecution(UpdateExecutionRequest request, ServerCallContext context)

Updates a stored Execution.

Parameters
NameDescription
requestUpdateExecutionRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskExecution

The response to send back to the client (wrapped by a task).