Class DataLabelingService.DataLabelingServiceClient (2.0.0-beta01)

public class DataLabelingServiceClient : ClientBase<DataLabelingService.DataLabelingServiceClient>

Client for DataLabelingService

Inheritance

Object > ClientBase > ClientBase<DataLabelingService.DataLabelingServiceClient> > DataLabelingService.DataLabelingServiceClient

Namespace

Google.Cloud.DataLabeling.V1Beta1

Assembly

Google.Cloud.DataLabeling.V1Beta1.dll

Constructors

DataLabelingServiceClient()

protected DataLabelingServiceClient()

Protected parameterless constructor to allow creation of test doubles.

DataLabelingServiceClient(CallInvoker)

public DataLabelingServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

DataLabelingServiceClient(ChannelBase)

public DataLabelingServiceClient(ChannelBase channel)

Creates a new client for DataLabelingService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

DataLabelingServiceClient(ClientBase.ClientBaseConfiguration)

protected DataLabelingServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest, CallOptions)

public virtual AnnotationSpecSet CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest request, CallOptions options)

Creates an annotation spec set by providing a set of labels.

Parameters
NameDescription
requestCreateAnnotationSpecSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnnotationSpecSet

The response received from the server.

CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AnnotationSpecSet CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an annotation spec set by providing a set of labels.

Parameters
NameDescription
requestCreateAnnotationSpecSetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AnnotationSpecSet

The response received from the server.

CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest, CallOptions)

public virtual AsyncUnaryCall<AnnotationSpecSet> CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest request, CallOptions options)

Creates an annotation spec set by providing a set of labels.

Parameters
NameDescription
requestCreateAnnotationSpecSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<AnnotationSpecSet>

The call object.

CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<AnnotationSpecSet> CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an annotation spec set by providing a set of labels.

Parameters
NameDescription
requestCreateAnnotationSpecSetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<AnnotationSpecSet>

The call object.

CreateDataset(CreateDatasetRequest, CallOptions)

public virtual Dataset CreateDataset(CreateDatasetRequest request, CallOptions options)

Creates dataset. If success return a Dataset resource.

Parameters
NameDescription
requestCreateDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Dataset

The response received from the server.

CreateDataset(CreateDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Dataset CreateDataset(CreateDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates dataset. If success return a Dataset resource.

Parameters
NameDescription
requestCreateDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Dataset

The response received from the server.

CreateDatasetAsync(CreateDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Dataset> CreateDatasetAsync(CreateDatasetRequest request, CallOptions options)

Creates dataset. If success return a Dataset resource.

Parameters
NameDescription
requestCreateDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Dataset>

The call object.

CreateDatasetAsync(CreateDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Dataset> CreateDatasetAsync(CreateDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates dataset. If success return a Dataset resource.

Parameters
NameDescription
requestCreateDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Dataset>

The call object.

CreateEvaluationJob(CreateEvaluationJobRequest, CallOptions)

public virtual EvaluationJob CreateEvaluationJob(CreateEvaluationJobRequest request, CallOptions options)

Creates an evaluation job.

Parameters
NameDescription
requestCreateEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
EvaluationJob

The response received from the server.

CreateEvaluationJob(CreateEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual EvaluationJob CreateEvaluationJob(CreateEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an evaluation job.

Parameters
NameDescription
requestCreateEvaluationJobRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
EvaluationJob

The response received from the server.

CreateEvaluationJobAsync(CreateEvaluationJobRequest, CallOptions)

public virtual AsyncUnaryCall<EvaluationJob> CreateEvaluationJobAsync(CreateEvaluationJobRequest request, CallOptions options)

Creates an evaluation job.

Parameters
NameDescription
requestCreateEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<EvaluationJob>

The call object.

CreateEvaluationJobAsync(CreateEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<EvaluationJob> CreateEvaluationJobAsync(CreateEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an evaluation job.

Parameters
NameDescription
requestCreateEvaluationJobRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<EvaluationJob>

The call object.

CreateInstruction(CreateInstructionRequest, CallOptions)

public virtual Operation CreateInstruction(CreateInstructionRequest request, CallOptions options)

Creates an instruction for how data should be labeled.

Parameters
NameDescription
requestCreateInstructionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateInstruction(CreateInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateInstruction(CreateInstructionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an instruction for how data should be labeled.

Parameters
NameDescription
requestCreateInstructionRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Operation

The response received from the server.

CreateInstructionAsync(CreateInstructionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateInstructionAsync(CreateInstructionRequest request, CallOptions options)

Creates an instruction for how data should be labeled.

Parameters
NameDescription
requestCreateInstructionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateInstructionAsync(CreateInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateInstructionAsync(CreateInstructionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates an instruction for how data should be labeled.

Parameters
NameDescription
requestCreateInstructionRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
Operations.OperationsClient

A new Operations client for the same target as this client.

DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest, CallOptions)

public virtual Empty DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest request, CallOptions options)

Deletes an annotated dataset by resource name.

Parameters
NameDescription
requestDeleteAnnotatedDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an annotated dataset by resource name.

Parameters
NameDescription
requestDeleteAnnotatedDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Empty

The response received from the server.

DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest request, CallOptions options)

Deletes an annotated dataset by resource name.

Parameters
NameDescription
requestDeleteAnnotatedDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an annotated dataset by resource name.

Parameters
NameDescription
requestDeleteAnnotatedDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest, CallOptions)

public virtual Empty DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest request, CallOptions options)

Deletes an annotation spec set by resource name.

Parameters
NameDescription
requestDeleteAnnotationSpecSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an annotation spec set by resource name.

Parameters
NameDescription
requestDeleteAnnotationSpecSetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Empty

The response received from the server.

DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest request, CallOptions options)

Deletes an annotation spec set by resource name.

Parameters
NameDescription
requestDeleteAnnotationSpecSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an annotation spec set by resource name.

Parameters
NameDescription
requestDeleteAnnotationSpecSetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

DeleteDataset(DeleteDatasetRequest, CallOptions)

public virtual Empty DeleteDataset(DeleteDatasetRequest request, CallOptions options)

Deletes a dataset by resource name.

Parameters
NameDescription
requestDeleteDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteDataset(DeleteDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteDataset(DeleteDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes a dataset by resource name.

Parameters
NameDescription
requestDeleteDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Empty

The response received from the server.

DeleteDatasetAsync(DeleteDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteDatasetAsync(DeleteDatasetRequest request, CallOptions options)

Deletes a dataset by resource name.

Parameters
NameDescription
requestDeleteDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteDatasetAsync(DeleteDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteDatasetAsync(DeleteDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes a dataset by resource name.

Parameters
NameDescription
requestDeleteDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

DeleteEvaluationJob(DeleteEvaluationJobRequest, CallOptions)

public virtual Empty DeleteEvaluationJob(DeleteEvaluationJobRequest request, CallOptions options)

Stops and deletes an evaluation job.

Parameters
NameDescription
requestDeleteEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteEvaluationJob(DeleteEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteEvaluationJob(DeleteEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Stops and deletes an evaluation job.

Parameters
NameDescription
requestDeleteEvaluationJobRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Empty

The response received from the server.

DeleteEvaluationJobAsync(DeleteEvaluationJobRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteEvaluationJobAsync(DeleteEvaluationJobRequest request, CallOptions options)

Stops and deletes an evaluation job.

Parameters
NameDescription
requestDeleteEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteEvaluationJobAsync(DeleteEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteEvaluationJobAsync(DeleteEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Stops and deletes an evaluation job.

Parameters
NameDescription
requestDeleteEvaluationJobRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

DeleteInstruction(DeleteInstructionRequest, CallOptions)

public virtual Empty DeleteInstruction(DeleteInstructionRequest request, CallOptions options)

Deletes an instruction object by resource name.

Parameters
NameDescription
requestDeleteInstructionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteInstruction(DeleteInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteInstruction(DeleteInstructionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an instruction object by resource name.

Parameters
NameDescription
requestDeleteInstructionRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Empty

The response received from the server.

DeleteInstructionAsync(DeleteInstructionRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteInstructionAsync(DeleteInstructionRequest request, CallOptions options)

Deletes an instruction object by resource name.

Parameters
NameDescription
requestDeleteInstructionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteInstructionAsync(DeleteInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteInstructionAsync(DeleteInstructionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Deletes an instruction object by resource name.

Parameters
NameDescription
requestDeleteInstructionRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

ExportData(ExportDataRequest, CallOptions)

public virtual Operation ExportData(ExportDataRequest request, CallOptions options)

Exports data and annotations from dataset.

Parameters
NameDescription
requestExportDataRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

ExportData(ExportDataRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation ExportData(ExportDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Exports data and annotations from dataset.

Parameters
NameDescription
requestExportDataRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Operation

The response received from the server.

ExportDataAsync(ExportDataRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ExportDataAsync(ExportDataRequest request, CallOptions options)

Exports data and annotations from dataset.

Parameters
NameDescription
requestExportDataRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

ExportDataAsync(ExportDataRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> ExportDataAsync(ExportDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Exports data and annotations from dataset.

Parameters
NameDescription
requestExportDataRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

GetAnnotatedDataset(GetAnnotatedDatasetRequest, CallOptions)

public virtual AnnotatedDataset GetAnnotatedDataset(GetAnnotatedDatasetRequest request, CallOptions options)

Gets an annotated dataset by resource name.

Parameters
NameDescription
requestGetAnnotatedDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnnotatedDataset

The response received from the server.

GetAnnotatedDataset(GetAnnotatedDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AnnotatedDataset GetAnnotatedDataset(GetAnnotatedDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an annotated dataset by resource name.

Parameters
NameDescription
requestGetAnnotatedDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AnnotatedDataset

The response received from the server.

GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<AnnotatedDataset> GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest request, CallOptions options)

Gets an annotated dataset by resource name.

Parameters
NameDescription
requestGetAnnotatedDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<AnnotatedDataset>

The call object.

GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<AnnotatedDataset> GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an annotated dataset by resource name.

Parameters
NameDescription
requestGetAnnotatedDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<AnnotatedDataset>

The call object.

GetAnnotationSpecSet(GetAnnotationSpecSetRequest, CallOptions)

public virtual AnnotationSpecSet GetAnnotationSpecSet(GetAnnotationSpecSetRequest request, CallOptions options)

Gets an annotation spec set by resource name.

Parameters
NameDescription
requestGetAnnotationSpecSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AnnotationSpecSet

The response received from the server.

GetAnnotationSpecSet(GetAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AnnotationSpecSet GetAnnotationSpecSet(GetAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an annotation spec set by resource name.

Parameters
NameDescription
requestGetAnnotationSpecSetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AnnotationSpecSet

The response received from the server.

GetAnnotationSpecSetAsync(GetAnnotationSpecSetRequest, CallOptions)

public virtual AsyncUnaryCall<AnnotationSpecSet> GetAnnotationSpecSetAsync(GetAnnotationSpecSetRequest request, CallOptions options)

Gets an annotation spec set by resource name.

Parameters
NameDescription
requestGetAnnotationSpecSetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<AnnotationSpecSet>

The call object.

GetAnnotationSpecSetAsync(GetAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<AnnotationSpecSet> GetAnnotationSpecSetAsync(GetAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an annotation spec set by resource name.

Parameters
NameDescription
requestGetAnnotationSpecSetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<AnnotationSpecSet>

The call object.

GetDataItem(GetDataItemRequest, CallOptions)

public virtual DataItem GetDataItem(GetDataItemRequest request, CallOptions options)

Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.

Parameters
NameDescription
requestGetDataItemRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DataItem

The response received from the server.

GetDataItem(GetDataItemRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual DataItem GetDataItem(GetDataItemRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.

Parameters
NameDescription
requestGetDataItemRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
DataItem

The response received from the server.

GetDataItemAsync(GetDataItemRequest, CallOptions)

public virtual AsyncUnaryCall<DataItem> GetDataItemAsync(GetDataItemRequest request, CallOptions options)

Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.

Parameters
NameDescription
requestGetDataItemRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<DataItem>

The call object.

GetDataItemAsync(GetDataItemRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<DataItem> GetDataItemAsync(GetDataItemRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.

Parameters
NameDescription
requestGetDataItemRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<DataItem>

The call object.

GetDataset(GetDatasetRequest, CallOptions)

public virtual Dataset GetDataset(GetDatasetRequest request, CallOptions options)

Gets dataset by resource name.

Parameters
NameDescription
requestGetDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Dataset

The response received from the server.

GetDataset(GetDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Dataset GetDataset(GetDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets dataset by resource name.

Parameters
NameDescription
requestGetDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Dataset

The response received from the server.

GetDatasetAsync(GetDatasetRequest, CallOptions)

public virtual AsyncUnaryCall<Dataset> GetDatasetAsync(GetDatasetRequest request, CallOptions options)

Gets dataset by resource name.

Parameters
NameDescription
requestGetDatasetRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Dataset>

The call object.

GetDatasetAsync(GetDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Dataset> GetDatasetAsync(GetDatasetRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets dataset by resource name.

Parameters
NameDescription
requestGetDatasetRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Dataset>

The call object.

GetEvaluation(GetEvaluationRequest, CallOptions)

public virtual Evaluation GetEvaluation(GetEvaluationRequest request, CallOptions options)

Gets an evaluation by resource name (to search, use [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]).

Parameters
NameDescription
requestGetEvaluationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Evaluation

The response received from the server.

GetEvaluation(GetEvaluationRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Evaluation GetEvaluation(GetEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an evaluation by resource name (to search, use [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]).

Parameters
NameDescription
requestGetEvaluationRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Evaluation

The response received from the server.

GetEvaluationAsync(GetEvaluationRequest, CallOptions)

public virtual AsyncUnaryCall<Evaluation> GetEvaluationAsync(GetEvaluationRequest request, CallOptions options)

Gets an evaluation by resource name (to search, use [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]).

Parameters
NameDescription
requestGetEvaluationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Evaluation>

The call object.

GetEvaluationAsync(GetEvaluationRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Evaluation> GetEvaluationAsync(GetEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an evaluation by resource name (to search, use [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]).

Parameters
NameDescription
requestGetEvaluationRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Evaluation>

The call object.

GetEvaluationJob(GetEvaluationJobRequest, CallOptions)

public virtual EvaluationJob GetEvaluationJob(GetEvaluationJobRequest request, CallOptions options)

Gets an evaluation job by resource name.

Parameters
NameDescription
requestGetEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
EvaluationJob

The response received from the server.

GetEvaluationJob(GetEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual EvaluationJob GetEvaluationJob(GetEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an evaluation job by resource name.

Parameters
NameDescription
requestGetEvaluationJobRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
EvaluationJob

The response received from the server.

GetEvaluationJobAsync(GetEvaluationJobRequest, CallOptions)

public virtual AsyncUnaryCall<EvaluationJob> GetEvaluationJobAsync(GetEvaluationJobRequest request, CallOptions options)

Gets an evaluation job by resource name.

Parameters
NameDescription
requestGetEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<EvaluationJob>

The call object.

GetEvaluationJobAsync(GetEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<EvaluationJob> GetEvaluationJobAsync(GetEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an evaluation job by resource name.

Parameters
NameDescription
requestGetEvaluationJobRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<EvaluationJob>

The call object.

GetExample(GetExampleRequest, CallOptions)

public virtual Example GetExample(GetExampleRequest request, CallOptions options)

Gets an example by resource name, including both data and annotation.

Parameters
NameDescription
requestGetExampleRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Example

The response received from the server.

GetExample(GetExampleRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Example GetExample(GetExampleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an example by resource name, including both data and annotation.

Parameters
NameDescription
requestGetExampleRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Example

The response received from the server.

GetExampleAsync(GetExampleRequest, CallOptions)

public virtual AsyncUnaryCall<Example> GetExampleAsync(GetExampleRequest request, CallOptions options)

Gets an example by resource name, including both data and annotation.

Parameters
NameDescription
requestGetExampleRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Example>

The call object.

GetExampleAsync(GetExampleRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Example> GetExampleAsync(GetExampleRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an example by resource name, including both data and annotation.

Parameters
NameDescription
requestGetExampleRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Example>

The call object.

GetInstruction(GetInstructionRequest, CallOptions)

public virtual Instruction GetInstruction(GetInstructionRequest request, CallOptions options)

Gets an instruction by resource name.

Parameters
NameDescription
requestGetInstructionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Instruction

The response received from the server.

GetInstruction(GetInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Instruction GetInstruction(GetInstructionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an instruction by resource name.

Parameters
NameDescription
requestGetInstructionRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Instruction

The response received from the server.

GetInstructionAsync(GetInstructionRequest, CallOptions)

public virtual AsyncUnaryCall<Instruction> GetInstructionAsync(GetInstructionRequest request, CallOptions options)

Gets an instruction by resource name.

Parameters
NameDescription
requestGetInstructionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Instruction>

The call object.

GetInstructionAsync(GetInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Instruction> GetInstructionAsync(GetInstructionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Gets an instruction by resource name.

Parameters
NameDescription
requestGetInstructionRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Instruction>

The call object.

ImportData(ImportDataRequest, CallOptions)

public virtual Operation ImportData(ImportDataRequest request, CallOptions options)

Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa.

Parameters
NameDescription
requestImportDataRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

ImportData(ImportDataRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation ImportData(ImportDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa.

Parameters
NameDescription
requestImportDataRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Operation

The response received from the server.

ImportDataAsync(ImportDataRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> ImportDataAsync(ImportDataRequest request, CallOptions options)

Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa.

Parameters
NameDescription
requestImportDataRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

ImportDataAsync(ImportDataRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> ImportDataAsync(ImportDataRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa.

Parameters
NameDescription
requestImportDataRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

LabelImage(LabelImageRequest, CallOptions)

public virtual Operation LabelImage(LabelImageRequest request, CallOptions options)

Starts a labeling task for image. The type of image labeling task is configured by feature in the request.

Parameters
NameDescription
requestLabelImageRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

LabelImage(LabelImageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation LabelImage(LabelImageRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Starts a labeling task for image. The type of image labeling task is configured by feature in the request.

Parameters
NameDescription
requestLabelImageRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Operation

The response received from the server.

LabelImageAsync(LabelImageRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> LabelImageAsync(LabelImageRequest request, CallOptions options)

Starts a labeling task for image. The type of image labeling task is configured by feature in the request.

Parameters
NameDescription
requestLabelImageRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

LabelImageAsync(LabelImageRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> LabelImageAsync(LabelImageRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Starts a labeling task for image. The type of image labeling task is configured by feature in the request.

Parameters
NameDescription
requestLabelImageRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

LabelText(LabelTextRequest, CallOptions)

public virtual Operation LabelText(LabelTextRequest request, CallOptions options)

Starts a labeling task for text. The type of text labeling task is configured by feature in the request.

Parameters
NameDescription
requestLabelTextRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

LabelText(LabelTextRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation LabelText(LabelTextRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Starts a labeling task for text. The type of text labeling task is configured by feature in the request.

Parameters
NameDescription
requestLabelTextRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Operation

The response received from the server.

LabelTextAsync(LabelTextRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> LabelTextAsync(LabelTextRequest request, CallOptions options)

Starts a labeling task for text. The type of text labeling task is configured by feature in the request.

Parameters
NameDescription
requestLabelTextRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

LabelTextAsync(LabelTextRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> LabelTextAsync(LabelTextRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Starts a labeling task for text. The type of text labeling task is configured by feature in the request.

Parameters
NameDescription
requestLabelTextRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

LabelVideo(LabelVideoRequest, CallOptions)

public virtual Operation LabelVideo(LabelVideoRequest request, CallOptions options)

Starts a labeling task for video. The type of video labeling task is configured by feature in the request.

Parameters
NameDescription
requestLabelVideoRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

LabelVideo(LabelVideoRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation LabelVideo(LabelVideoRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Starts a labeling task for video. The type of video labeling task is configured by feature in the request.

Parameters
NameDescription
requestLabelVideoRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Operation

The response received from the server.

LabelVideoAsync(LabelVideoRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> LabelVideoAsync(LabelVideoRequest request, CallOptions options)

Starts a labeling task for video. The type of video labeling task is configured by feature in the request.

Parameters
NameDescription
requestLabelVideoRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

LabelVideoAsync(LabelVideoRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> LabelVideoAsync(LabelVideoRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Starts a labeling task for video. The type of video labeling task is configured by feature in the request.

Parameters
NameDescription
requestLabelVideoRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

The call object.

ListAnnotatedDatasets(ListAnnotatedDatasetsRequest, CallOptions)

public virtual ListAnnotatedDatasetsResponse ListAnnotatedDatasets(ListAnnotatedDatasetsRequest request, CallOptions options)

Lists annotated datasets for a dataset. Pagination is supported.

Parameters
NameDescription
requestListAnnotatedDatasetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListAnnotatedDatasetsResponse

The response received from the server.

ListAnnotatedDatasets(ListAnnotatedDatasetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListAnnotatedDatasetsResponse ListAnnotatedDatasets(ListAnnotatedDatasetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists annotated datasets for a dataset. Pagination is supported.

Parameters
NameDescription
requestListAnnotatedDatasetsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
ListAnnotatedDatasetsResponse

The response received from the server.

ListAnnotatedDatasetsAsync(ListAnnotatedDatasetsRequest, CallOptions)

public virtual AsyncUnaryCall<ListAnnotatedDatasetsResponse> ListAnnotatedDatasetsAsync(ListAnnotatedDatasetsRequest request, CallOptions options)

Lists annotated datasets for a dataset. Pagination is supported.

Parameters
NameDescription
requestListAnnotatedDatasetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListAnnotatedDatasetsResponse>

The call object.

ListAnnotatedDatasetsAsync(ListAnnotatedDatasetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListAnnotatedDatasetsResponse> ListAnnotatedDatasetsAsync(ListAnnotatedDatasetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists annotated datasets for a dataset. Pagination is supported.

Parameters
NameDescription
requestListAnnotatedDatasetsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListAnnotatedDatasetsResponse>

The call object.

ListAnnotationSpecSets(ListAnnotationSpecSetsRequest, CallOptions)

public virtual ListAnnotationSpecSetsResponse ListAnnotationSpecSets(ListAnnotationSpecSetsRequest request, CallOptions options)

Lists annotation spec sets for a project. Pagination is supported.

Parameters
NameDescription
requestListAnnotationSpecSetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListAnnotationSpecSetsResponse

The response received from the server.

ListAnnotationSpecSets(ListAnnotationSpecSetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListAnnotationSpecSetsResponse ListAnnotationSpecSets(ListAnnotationSpecSetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists annotation spec sets for a project. Pagination is supported.

Parameters
NameDescription
requestListAnnotationSpecSetsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
ListAnnotationSpecSetsResponse

The response received from the server.

ListAnnotationSpecSetsAsync(ListAnnotationSpecSetsRequest, CallOptions)

public virtual AsyncUnaryCall<ListAnnotationSpecSetsResponse> ListAnnotationSpecSetsAsync(ListAnnotationSpecSetsRequest request, CallOptions options)

Lists annotation spec sets for a project. Pagination is supported.

Parameters
NameDescription
requestListAnnotationSpecSetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListAnnotationSpecSetsResponse>

The call object.

ListAnnotationSpecSetsAsync(ListAnnotationSpecSetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListAnnotationSpecSetsResponse> ListAnnotationSpecSetsAsync(ListAnnotationSpecSetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists annotation spec sets for a project. Pagination is supported.

Parameters
NameDescription
requestListAnnotationSpecSetsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListAnnotationSpecSetsResponse>

The call object.

ListDataItems(ListDataItemsRequest, CallOptions)

public virtual ListDataItemsResponse ListDataItems(ListDataItemsRequest request, CallOptions options)

Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.

Parameters
NameDescription
requestListDataItemsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDataItemsResponse

The response received from the server.

ListDataItems(ListDataItemsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListDataItemsResponse ListDataItems(ListDataItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.

Parameters
NameDescription
requestListDataItemsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
ListDataItemsResponse

The response received from the server.

ListDataItemsAsync(ListDataItemsRequest, CallOptions)

public virtual AsyncUnaryCall<ListDataItemsResponse> ListDataItemsAsync(ListDataItemsRequest request, CallOptions options)

Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.

Parameters
NameDescription
requestListDataItemsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListDataItemsResponse>

The call object.

ListDataItemsAsync(ListDataItemsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListDataItemsResponse> ListDataItemsAsync(ListDataItemsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.

Parameters
NameDescription
requestListDataItemsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListDataItemsResponse>

The call object.

ListDatasets(ListDatasetsRequest, CallOptions)

public virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request, CallOptions options)

Lists datasets under a project. Pagination is supported.

Parameters
NameDescription
requestListDatasetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDatasetsResponse

The response received from the server.

ListDatasets(ListDatasetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists datasets under a project. Pagination is supported.

Parameters
NameDescription
requestListDatasetsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
ListDatasetsResponse

The response received from the server.

ListDatasetsAsync(ListDatasetsRequest, CallOptions)

public virtual AsyncUnaryCall<ListDatasetsResponse> ListDatasetsAsync(ListDatasetsRequest request, CallOptions options)

Lists datasets under a project. Pagination is supported.

Parameters
NameDescription
requestListDatasetsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListDatasetsResponse>

The call object.

ListDatasetsAsync(ListDatasetsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListDatasetsResponse> ListDatasetsAsync(ListDatasetsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists datasets under a project. Pagination is supported.

Parameters
NameDescription
requestListDatasetsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListDatasetsResponse>

The call object.

ListEvaluationJobs(ListEvaluationJobsRequest, CallOptions)

public virtual ListEvaluationJobsResponse ListEvaluationJobs(ListEvaluationJobsRequest request, CallOptions options)

Lists all evaluation jobs within a project with possible filters. Pagination is supported.

Parameters
NameDescription
requestListEvaluationJobsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListEvaluationJobsResponse

The response received from the server.

ListEvaluationJobs(ListEvaluationJobsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListEvaluationJobsResponse ListEvaluationJobs(ListEvaluationJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists all evaluation jobs within a project with possible filters. Pagination is supported.

Parameters
NameDescription
requestListEvaluationJobsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
ListEvaluationJobsResponse

The response received from the server.

ListEvaluationJobsAsync(ListEvaluationJobsRequest, CallOptions)

public virtual AsyncUnaryCall<ListEvaluationJobsResponse> ListEvaluationJobsAsync(ListEvaluationJobsRequest request, CallOptions options)

Lists all evaluation jobs within a project with possible filters. Pagination is supported.

Parameters
NameDescription
requestListEvaluationJobsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListEvaluationJobsResponse>

The call object.

ListEvaluationJobsAsync(ListEvaluationJobsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListEvaluationJobsResponse> ListEvaluationJobsAsync(ListEvaluationJobsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists all evaluation jobs within a project with possible filters. Pagination is supported.

Parameters
NameDescription
requestListEvaluationJobsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListEvaluationJobsResponse>

The call object.

ListExamples(ListExamplesRequest, CallOptions)

public virtual ListExamplesResponse ListExamples(ListExamplesRequest request, CallOptions options)

Lists examples in an annotated dataset. Pagination is supported.

Parameters
NameDescription
requestListExamplesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListExamplesResponse

The response received from the server.

ListExamples(ListExamplesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListExamplesResponse ListExamples(ListExamplesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists examples in an annotated dataset. Pagination is supported.

Parameters
NameDescription
requestListExamplesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
ListExamplesResponse

The response received from the server.

ListExamplesAsync(ListExamplesRequest, CallOptions)

public virtual AsyncUnaryCall<ListExamplesResponse> ListExamplesAsync(ListExamplesRequest request, CallOptions options)

Lists examples in an annotated dataset. Pagination is supported.

Parameters
NameDescription
requestListExamplesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListExamplesResponse>

The call object.

ListExamplesAsync(ListExamplesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListExamplesResponse> ListExamplesAsync(ListExamplesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists examples in an annotated dataset. Pagination is supported.

Parameters
NameDescription
requestListExamplesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListExamplesResponse>

The call object.

ListInstructions(ListInstructionsRequest, CallOptions)

public virtual ListInstructionsResponse ListInstructions(ListInstructionsRequest request, CallOptions options)

Lists instructions for a project. Pagination is supported.

Parameters
NameDescription
requestListInstructionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListInstructionsResponse

The response received from the server.

ListInstructions(ListInstructionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListInstructionsResponse ListInstructions(ListInstructionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists instructions for a project. Pagination is supported.

Parameters
NameDescription
requestListInstructionsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
ListInstructionsResponse

The response received from the server.

ListInstructionsAsync(ListInstructionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListInstructionsResponse> ListInstructionsAsync(ListInstructionsRequest request, CallOptions options)

Lists instructions for a project. Pagination is supported.

Parameters
NameDescription
requestListInstructionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListInstructionsResponse>

The call object.

ListInstructionsAsync(ListInstructionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListInstructionsResponse> ListInstructionsAsync(ListInstructionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists instructions for a project. Pagination is supported.

Parameters
NameDescription
requestListInstructionsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<ListInstructionsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override DataLabelingService.DataLabelingServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
DataLabelingService.DataLabelingServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.DataLabeling.V1Beta1.DataLabelingService.DataLabelingServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

PauseEvaluationJob(PauseEvaluationJobRequest, CallOptions)

public virtual Empty PauseEvaluationJob(PauseEvaluationJobRequest request, CallOptions options)

Pauses an evaluation job. Pausing an evaluation job that is already in a PAUSED state is a no-op.

Parameters
NameDescription
requestPauseEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

PauseEvaluationJob(PauseEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty PauseEvaluationJob(PauseEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Pauses an evaluation job. Pausing an evaluation job that is already in a PAUSED state is a no-op.

Parameters
NameDescription
requestPauseEvaluationJobRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Empty

The response received from the server.

PauseEvaluationJobAsync(PauseEvaluationJobRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> PauseEvaluationJobAsync(PauseEvaluationJobRequest request, CallOptions options)

Pauses an evaluation job. Pausing an evaluation job that is already in a PAUSED state is a no-op.

Parameters
NameDescription
requestPauseEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

PauseEvaluationJobAsync(PauseEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> PauseEvaluationJobAsync(PauseEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Pauses an evaluation job. Pausing an evaluation job that is already in a PAUSED state is a no-op.

Parameters
NameDescription
requestPauseEvaluationJobRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

ResumeEvaluationJob(ResumeEvaluationJobRequest, CallOptions)

public virtual Empty ResumeEvaluationJob(ResumeEvaluationJobRequest request, CallOptions options)

Resumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.

Parameters
NameDescription
requestResumeEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

ResumeEvaluationJob(ResumeEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty ResumeEvaluationJob(ResumeEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Resumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.

Parameters
NameDescription
requestResumeEvaluationJobRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
Empty

The response received from the server.

ResumeEvaluationJobAsync(ResumeEvaluationJobRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> ResumeEvaluationJobAsync(ResumeEvaluationJobRequest request, CallOptions options)

Resumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.

Parameters
NameDescription
requestResumeEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

ResumeEvaluationJobAsync(ResumeEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> ResumeEvaluationJobAsync(ResumeEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Resumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.

Parameters
NameDescription
requestResumeEvaluationJobRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Empty>

The call object.

SearchEvaluations(SearchEvaluationsRequest, CallOptions)

public virtual SearchEvaluationsResponse SearchEvaluations(SearchEvaluationsRequest request, CallOptions options)

Searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project.

Parameters
NameDescription
requestSearchEvaluationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SearchEvaluationsResponse

The response received from the server.

SearchEvaluations(SearchEvaluationsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual SearchEvaluationsResponse SearchEvaluations(SearchEvaluationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project.

Parameters
NameDescription
requestSearchEvaluationsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
SearchEvaluationsResponse

The response received from the server.

SearchEvaluationsAsync(SearchEvaluationsRequest, CallOptions)

public virtual AsyncUnaryCall<SearchEvaluationsResponse> SearchEvaluationsAsync(SearchEvaluationsRequest request, CallOptions options)

Searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project.

Parameters
NameDescription
requestSearchEvaluationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<SearchEvaluationsResponse>

The call object.

SearchEvaluationsAsync(SearchEvaluationsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<SearchEvaluationsResponse> SearchEvaluationsAsync(SearchEvaluationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project.

Parameters
NameDescription
requestSearchEvaluationsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<SearchEvaluationsResponse>

The call object.

SearchExampleComparisons(SearchExampleComparisonsRequest, CallOptions)

public virtual SearchExampleComparisonsResponse SearchExampleComparisons(SearchExampleComparisonsRequest request, CallOptions options)

Searches example comparisons from an evaluation. The return format is a list of example comparisons that show ground truth and prediction(s) for a single input. Search by providing an evaluation ID.

Parameters
NameDescription
requestSearchExampleComparisonsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SearchExampleComparisonsResponse

The response received from the server.

SearchExampleComparisons(SearchExampleComparisonsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual SearchExampleComparisonsResponse SearchExampleComparisons(SearchExampleComparisonsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Searches example comparisons from an evaluation. The return format is a list of example comparisons that show ground truth and prediction(s) for a single input. Search by providing an evaluation ID.

Parameters
NameDescription
requestSearchExampleComparisonsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
SearchExampleComparisonsResponse

The response received from the server.

SearchExampleComparisonsAsync(SearchExampleComparisonsRequest, CallOptions)

public virtual AsyncUnaryCall<SearchExampleComparisonsResponse> SearchExampleComparisonsAsync(SearchExampleComparisonsRequest request, CallOptions options)

Searches example comparisons from an evaluation. The return format is a list of example comparisons that show ground truth and prediction(s) for a single input. Search by providing an evaluation ID.

Parameters
NameDescription
requestSearchExampleComparisonsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<SearchExampleComparisonsResponse>

The call object.

SearchExampleComparisonsAsync(SearchExampleComparisonsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<SearchExampleComparisonsResponse> SearchExampleComparisonsAsync(SearchExampleComparisonsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Searches example comparisons from an evaluation. The return format is a list of example comparisons that show ground truth and prediction(s) for a single input. Search by providing an evaluation ID.

Parameters
NameDescription
requestSearchExampleComparisonsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<SearchExampleComparisonsResponse>

The call object.

UpdateEvaluationJob(UpdateEvaluationJobRequest, CallOptions)

public virtual EvaluationJob UpdateEvaluationJob(UpdateEvaluationJobRequest request, CallOptions options)

Updates an evaluation job. You can only update certain fields of the job's [EvaluationJobConfig][google.cloud.datalabeling.v1beta1.EvaluationJobConfig]: humanAnnotationConfig.instruction, exampleCount, and exampleSamplePercentage.

If you want to change any other aspect of the evaluation job, you must delete the job and create a new one.

Parameters
NameDescription
requestUpdateEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
EvaluationJob

The response received from the server.

UpdateEvaluationJob(UpdateEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual EvaluationJob UpdateEvaluationJob(UpdateEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Updates an evaluation job. You can only update certain fields of the job's [EvaluationJobConfig][google.cloud.datalabeling.v1beta1.EvaluationJobConfig]: humanAnnotationConfig.instruction, exampleCount, and exampleSamplePercentage.

If you want to change any other aspect of the evaluation job, you must delete the job and create a new one.

Parameters
NameDescription
requestUpdateEvaluationJobRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
EvaluationJob

The response received from the server.

UpdateEvaluationJobAsync(UpdateEvaluationJobRequest, CallOptions)

public virtual AsyncUnaryCall<EvaluationJob> UpdateEvaluationJobAsync(UpdateEvaluationJobRequest request, CallOptions options)

Updates an evaluation job. You can only update certain fields of the job's [EvaluationJobConfig][google.cloud.datalabeling.v1beta1.EvaluationJobConfig]: humanAnnotationConfig.instruction, exampleCount, and exampleSamplePercentage.

If you want to change any other aspect of the evaluation job, you must delete the job and create a new one.

Parameters
NameDescription
requestUpdateEvaluationJobRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<EvaluationJob>

The call object.

UpdateEvaluationJobAsync(UpdateEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<EvaluationJob> UpdateEvaluationJobAsync(UpdateEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Updates an evaluation job. You can only update certain fields of the job's [EvaluationJobConfig][google.cloud.datalabeling.v1beta1.EvaluationJobConfig]: humanAnnotationConfig.instruction, exampleCount, and exampleSamplePercentage.

If you want to change any other aspect of the evaluation job, you must delete the job and create a new one.

Parameters
NameDescription
requestUpdateEvaluationJobRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<EvaluationJob>

The call object.