Class MetadataServiceClientImpl (1.2.0)

public sealed class MetadataServiceClientImpl : MetadataServiceClient

MetadataService client wrapper implementation, for convenient use.

Inheritance

Object > MetadataServiceClient > MetadataServiceClientImpl

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Remarks

Service for reading and writing metadata entries.

Constructors

MetadataServiceClientImpl(MetadataService.MetadataServiceClient, MetadataServiceSettings)

public MetadataServiceClientImpl(MetadataService.MetadataServiceClient grpcClient, MetadataServiceSettings settings)

Constructs a client wrapper for the MetadataService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientMetadataService.MetadataServiceClient

The underlying gRPC client.

settingsMetadataServiceSettings

The base MetadataServiceSettings used within this client.

Properties

CreateMetadataStoreOperationsClient

public override OperationsClient CreateMetadataStoreOperationsClient { get; }

The long-running operations client for CreateMetadataStore.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteArtifactOperationsClient

public override OperationsClient DeleteArtifactOperationsClient { get; }

The long-running operations client for DeleteArtifact.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteContextOperationsClient

public override OperationsClient DeleteContextOperationsClient { get; }

The long-running operations client for DeleteContext.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteExecutionOperationsClient

public override OperationsClient DeleteExecutionOperationsClient { get; }

The long-running operations client for DeleteExecution.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteMetadataStoreOperationsClient

public override OperationsClient DeleteMetadataStoreOperationsClient { get; }

The long-running operations client for DeleteMetadataStore.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override MetadataService.MetadataServiceClient GrpcClient { get; }

The underlying gRPC MetadataService client

Property Value
TypeDescription
MetadataService.MetadataServiceClient
Overrides

PurgeArtifactsOperationsClient

public override OperationsClient PurgeArtifactsOperationsClient { get; }

The long-running operations client for PurgeArtifacts.

Property Value
TypeDescription
OperationsClient
Overrides

PurgeContextsOperationsClient

public override OperationsClient PurgeContextsOperationsClient { get; }

The long-running operations client for PurgeContexts.

Property Value
TypeDescription
OperationsClient
Overrides

PurgeExecutionsOperationsClient

public override OperationsClient PurgeExecutionsOperationsClient { get; }

The long-running operations client for PurgeExecutions.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

AddContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest, CallSettings)

public override AddContextArtifactsAndExecutionsResponse AddContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AddContextArtifactsAndExecutionsResponse

The RPC response.

Overrides

AddContextArtifactsAndExecutionsAsync(AddContextArtifactsAndExecutionsRequest, CallSettings)

public override Task<AddContextArtifactsAndExecutionsResponse> AddContextArtifactsAndExecutionsAsync(AddContextArtifactsAndExecutionsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AddContextArtifactsAndExecutionsResponse>

A Task containing the RPC response.

Overrides

AddContextChildren(AddContextChildrenRequest, CallSettings)

public override AddContextChildrenResponse AddContextChildren(AddContextChildrenRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AddContextChildrenResponse

The RPC response.

Overrides

AddContextChildrenAsync(AddContextChildrenRequest, CallSettings)

public override Task<AddContextChildrenResponse> AddContextChildrenAsync(AddContextChildrenRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AddContextChildrenResponse>

A Task containing the RPC response.

Overrides

AddExecutionEvents(AddExecutionEventsRequest, CallSettings)

public override AddExecutionEventsResponse AddExecutionEvents(AddExecutionEventsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AddExecutionEventsResponse

The RPC response.

Overrides

AddExecutionEventsAsync(AddExecutionEventsRequest, CallSettings)

public override Task<AddExecutionEventsResponse> AddExecutionEventsAsync(AddExecutionEventsRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AddExecutionEventsResponse>

A Task containing the RPC response.

Overrides

CreateArtifact(CreateArtifactRequest, CallSettings)

public override Artifact CreateArtifact(CreateArtifactRequest request, CallSettings callSettings = null)

Creates an Artifact associated with a MetadataStore.

Parameters
NameDescription
requestCreateArtifactRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Artifact

The RPC response.

Overrides

CreateArtifactAsync(CreateArtifactRequest, CallSettings)

public override Task<Artifact> CreateArtifactAsync(CreateArtifactRequest request, CallSettings callSettings = null)

Creates an Artifact associated with a MetadataStore.

Parameters
NameDescription
requestCreateArtifactRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Artifact>

A Task containing the RPC response.

Overrides

CreateContext(CreateContextRequest, CallSettings)

public override Context CreateContext(CreateContextRequest request, CallSettings callSettings = null)

Creates a Context associated with a MetadataStore.

Parameters
NameDescription
requestCreateContextRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Context

The RPC response.

Overrides

CreateContextAsync(CreateContextRequest, CallSettings)

public override Task<Context> CreateContextAsync(CreateContextRequest request, CallSettings callSettings = null)

Creates a Context associated with a MetadataStore.

Parameters
NameDescription
requestCreateContextRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Context>

A Task containing the RPC response.

Overrides

CreateExecution(CreateExecutionRequest, CallSettings)

public override Execution CreateExecution(CreateExecutionRequest request, CallSettings callSettings = null)

Creates an Execution associated with a MetadataStore.

Parameters
NameDescription
requestCreateExecutionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Execution

The RPC response.

Overrides

CreateExecutionAsync(CreateExecutionRequest, CallSettings)

public override Task<Execution> CreateExecutionAsync(CreateExecutionRequest request, CallSettings callSettings = null)

Creates an Execution associated with a MetadataStore.

Parameters
NameDescription
requestCreateExecutionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Execution>

A Task containing the RPC response.

Overrides

CreateMetadataSchema(CreateMetadataSchemaRequest, CallSettings)

public override MetadataSchema CreateMetadataSchema(CreateMetadataSchemaRequest request, CallSettings callSettings = null)

Creates a MetadataSchema.

Parameters
NameDescription
requestCreateMetadataSchemaRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
MetadataSchema

The RPC response.

Overrides

CreateMetadataSchemaAsync(CreateMetadataSchemaRequest, CallSettings)

public override Task<MetadataSchema> CreateMetadataSchemaAsync(CreateMetadataSchemaRequest request, CallSettings callSettings = null)

Creates a MetadataSchema.

Parameters
NameDescription
requestCreateMetadataSchemaRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<MetadataSchema>

A Task containing the RPC response.

Overrides

CreateMetadataStore(CreateMetadataStoreRequest, CallSettings)

public override Operation<MetadataStore, CreateMetadataStoreOperationMetadata> CreateMetadataStore(CreateMetadataStoreRequest request, CallSettings callSettings = null)

Initializes a MetadataStore, including allocation of resources.

Parameters
NameDescription
requestCreateMetadataStoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<MetadataStore, CreateMetadataStoreOperationMetadata>

The RPC response.

Overrides

CreateMetadataStoreAsync(CreateMetadataStoreRequest, CallSettings)

public override Task<Operation<MetadataStore, CreateMetadataStoreOperationMetadata>> CreateMetadataStoreAsync(CreateMetadataStoreRequest request, CallSettings callSettings = null)

Initializes a MetadataStore, including allocation of resources.

Parameters
NameDescription
requestCreateMetadataStoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<MetadataStore, CreateMetadataStoreOperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteArtifact(DeleteArtifactRequest, CallSettings)

public override Operation<Empty, DeleteOperationMetadata> DeleteArtifact(DeleteArtifactRequest request, CallSettings callSettings = null)

Deletes an Artifact.

Parameters
NameDescription
requestDeleteArtifactRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Overrides

DeleteArtifactAsync(DeleteArtifactRequest, CallSettings)

public override Task<Operation<Empty, DeleteOperationMetadata>> DeleteArtifactAsync(DeleteArtifactRequest request, CallSettings callSettings = null)

Deletes an Artifact.

Parameters
NameDescription
requestDeleteArtifactRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteContext(DeleteContextRequest, CallSettings)

public override Operation<Empty, DeleteOperationMetadata> DeleteContext(DeleteContextRequest request, CallSettings callSettings = null)

Deletes a stored Context.

Parameters
NameDescription
requestDeleteContextRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Overrides

DeleteContextAsync(DeleteContextRequest, CallSettings)

public override Task<Operation<Empty, DeleteOperationMetadata>> DeleteContextAsync(DeleteContextRequest request, CallSettings callSettings = null)

Deletes a stored Context.

Parameters
NameDescription
requestDeleteContextRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteExecution(DeleteExecutionRequest, CallSettings)

public override Operation<Empty, DeleteOperationMetadata> DeleteExecution(DeleteExecutionRequest request, CallSettings callSettings = null)

Deletes an Execution.

Parameters
NameDescription
requestDeleteExecutionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteOperationMetadata>

The RPC response.

Overrides

DeleteExecutionAsync(DeleteExecutionRequest, CallSettings)

public override Task<Operation<Empty, DeleteOperationMetadata>> DeleteExecutionAsync(DeleteExecutionRequest request, CallSettings callSettings = null)

Deletes an Execution.

Parameters
NameDescription
requestDeleteExecutionRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteOperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteMetadataStore(DeleteMetadataStoreRequest, CallSettings)

public override Operation<Empty, DeleteMetadataStoreOperationMetadata> DeleteMetadataStore(DeleteMetadataStoreRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestDeleteMetadataStoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, DeleteMetadataStoreOperationMetadata>

The RPC response.

Overrides

DeleteMetadataStoreAsync(DeleteMetadataStoreRequest, CallSettings)

public override Task<Operation<Empty, DeleteMetadataStoreOperationMetadata>> DeleteMetadataStoreAsync(DeleteMetadataStoreRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestDeleteMetadataStoreRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, DeleteMetadataStoreOperationMetadata>>

A Task containing the RPC response.

Overrides

GetArtifact(GetArtifactRequest, CallSettings)

public override Artifact GetArtifact(GetArtifactRequest request, CallSettings callSettings = null)

Retrieves a specific Artifact.

Parameters
NameDescription
requestGetArtifactRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.