Cloud AI Platform v1 API - Class MetadataService.MetadataServiceClient (2.12.0)

public class MetadataService.MetadataServiceClient : ClientBase<MetadataService.MetadataServiceClient>

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

Client for MetadataService

Inheritance

object > ClientBase > ClientBaseMetadataServiceMetadataServiceClient > MetadataService.MetadataServiceClient

Namespace

GoogleCloudGoogle.Cloud.AIPlatformV1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

MetadataServiceClient()

protected MetadataServiceClient()

Protected parameterless constructor to allow creation of test doubles.

MetadataServiceClient(CallInvoker)

public MetadataServiceClient(CallInvoker callInvoker)

Creates a new client for MetadataService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

MetadataServiceClient(ChannelBase)

public MetadataServiceClient(ChannelBase channel)

Creates a new client for MetadataService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

MetadataServiceClient(ClientBaseConfiguration)

protected MetadataServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

AddContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest, CallOptions)

public virtual AddContextArtifactsAndExecutionsResponse AddContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AddContextArtifactsAndExecutionsResponse

The response received from the server.

AddContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AddContextArtifactsAndExecutionsResponse AddContextArtifactsAndExecutions(AddContextArtifactsAndExecutionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AddContextArtifactsAndExecutionsResponse

The response received from the server.

AddContextArtifactsAndExecutionsAsync(AddContextArtifactsAndExecutionsRequest, CallOptions)

public virtual AsyncUnaryCall<AddContextArtifactsAndExecutionsResponse> AddContextArtifactsAndExecutionsAsync(AddContextArtifactsAndExecutionsRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAddContextArtifactsAndExecutionsResponse

The call object.

AddContextArtifactsAndExecutionsAsync(AddContextArtifactsAndExecutionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AddContextArtifactsAndExecutionsResponse> AddContextArtifactsAndExecutionsAsync(AddContextArtifactsAndExecutionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallAddContextArtifactsAndExecutionsResponse

The call object.

AddContextChildren(AddContextChildrenRequest, CallOptions)

public virtual AddContextChildrenResponse AddContextChildren(AddContextChildrenRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AddContextChildrenResponse

The response received from the server.

AddContextChildren(AddContextChildrenRequest, Metadata, DateTime?, CancellationToken)

public virtual AddContextChildrenResponse AddContextChildren(AddContextChildrenRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AddContextChildrenResponse

The response received from the server.

AddContextChildrenAsync(AddContextChildrenRequest, CallOptions)

public virtual AsyncUnaryCall<AddContextChildrenResponse> AddContextChildrenAsync(AddContextChildrenRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAddContextChildrenResponse

The call object.

AddContextChildrenAsync(AddContextChildrenRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AddContextChildrenResponse> AddContextChildrenAsync(AddContextChildrenRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallAddContextChildrenResponse

The call object.

AddExecutionEvents(AddExecutionEventsRequest, CallOptions)

public virtual AddExecutionEventsResponse AddExecutionEvents(AddExecutionEventsRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AddExecutionEventsResponse

The response received from the server.

AddExecutionEvents(AddExecutionEventsRequest, Metadata, DateTime?, CancellationToken)

public virtual AddExecutionEventsResponse AddExecutionEvents(AddExecutionEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AddExecutionEventsResponse

The response received from the server.

AddExecutionEventsAsync(AddExecutionEventsRequest, CallOptions)

public virtual AsyncUnaryCall<AddExecutionEventsResponse> AddExecutionEventsAsync(AddExecutionEventsRequest request, CallOptions options)

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 to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallAddExecutionEventsResponse

The call object.

AddExecutionEventsAsync(AddExecutionEventsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<AddExecutionEventsResponse> AddExecutionEventsAsync(AddExecutionEventsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallAddExecutionEventsResponse

The call object.

CreateArtifact(CreateArtifactRequest, CallOptions)

public virtual Artifact CreateArtifact(CreateArtifactRequest request, CallOptions options)

Creates an Artifact associated with a MetadataStore.

Parameters
NameDescription
requestCreateArtifactRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Artifact

The response received from the server.

CreateArtifact(CreateArtifactRequest, Metadata, DateTime?, CancellationToken)

public virtual Artifact CreateArtifact(CreateArtifactRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates an Artifact associated with a MetadataStore.

Parameters
NameDescription
requestCreateArtifactRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Artifact

The response received from the server.

CreateArtifactAsync(CreateArtifactRequest, CallOptions)

public virtual AsyncUnaryCall<Artifact> CreateArtifactAsync(CreateArtifactRequest request, CallOptions options)

Creates an Artifact associated with a MetadataStore.

Parameters
NameDescription
requestCreateArtifactRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallArtifact

The call object.

CreateArtifactAsync(CreateArtifactRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Artifact> CreateArtifactAsync(CreateArtifactRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates an Artifact associated with a MetadataStore.

Parameters
NameDescription
requestCreateArtifactRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.