Class DataLabelingService.DataLabelingServiceClient
Client for DataLabelingService
Inheritance
Inherited Members
Namespace: Google.Cloud.DataLabeling.V1Beta1
Assembly: Google.Cloud.DataLabeling.V1Beta1.dll
Syntax
public class DataLabelingServiceClient : ClientBase<DataLabelingService.DataLabelingServiceClient>
Constructors
DataLabelingServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected DataLabelingServiceClient()
DataLabelingServiceClient(CallInvoker)
Creates a new client for DataLabelingService that uses a custom CallInvoker.
Declaration
public DataLabelingServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
DataLabelingServiceClient(ChannelBase)
Creates a new client for DataLabelingService
Declaration
public DataLabelingServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
DataLabelingServiceClient(ClientBase.ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected DataLabelingServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest, CallOptions)
Creates an annotation spec set by providing a set of labels.
Declaration
public virtual AnnotationSpecSet CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAnnotationSpecSetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AnnotationSpecSet | The response received from the server. |
CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Creates an annotation spec set by providing a set of labels.
Declaration
public virtual AnnotationSpecSet CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAnnotationSpecSetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AnnotationSpecSet | The response received from the server. |
CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest, CallOptions)
Creates an annotation spec set by providing a set of labels.
Declaration
public virtual AsyncUnaryCall<AnnotationSpecSet> CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAnnotationSpecSetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<AnnotationSpecSet> | The call object. |
CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Creates an annotation spec set by providing a set of labels.
Declaration
public virtual AsyncUnaryCall<AnnotationSpecSet> CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| CreateAnnotationSpecSetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<AnnotationSpecSet> | The call object. |
CreateDataset(CreateDatasetRequest, CallOptions)
Creates dataset. If success return a Dataset resource.
Declaration
public virtual Dataset CreateDataset(CreateDatasetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateDatasetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Dataset | The response received from the server. |
CreateDataset(CreateDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Creates dataset. If success return a Dataset resource.
Declaration
public virtual Dataset CreateDataset(CreateDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| CreateDatasetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Dataset | The response received from the server. |
CreateDatasetAsync(CreateDatasetRequest, CallOptions)
Creates dataset. If success return a Dataset resource.
Declaration
public virtual AsyncUnaryCall<Dataset> CreateDatasetAsync(CreateDatasetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateDatasetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Dataset> | The call object. |
CreateDatasetAsync(CreateDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Creates dataset. If success return a Dataset resource.
Declaration
public virtual AsyncUnaryCall<Dataset> CreateDatasetAsync(CreateDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| CreateDatasetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Dataset> | The call object. |
CreateEvaluationJob(CreateEvaluationJobRequest, CallOptions)
Creates an evaluation job.
Declaration
public virtual EvaluationJob CreateEvaluationJob(CreateEvaluationJobRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateEvaluationJobRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| EvaluationJob | The response received from the server. |
CreateEvaluationJob(CreateEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
Creates an evaluation job.
Declaration
public virtual EvaluationJob CreateEvaluationJob(CreateEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| CreateEvaluationJobRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| EvaluationJob | The response received from the server. |
CreateEvaluationJobAsync(CreateEvaluationJobRequest, CallOptions)
Creates an evaluation job.
Declaration
public virtual AsyncUnaryCall<EvaluationJob> CreateEvaluationJobAsync(CreateEvaluationJobRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateEvaluationJobRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<EvaluationJob> | The call object. |
CreateEvaluationJobAsync(CreateEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
Creates an evaluation job.
Declaration
public virtual AsyncUnaryCall<EvaluationJob> CreateEvaluationJobAsync(CreateEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| CreateEvaluationJobRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<EvaluationJob> | The call object. |
CreateInstruction(CreateInstructionRequest, CallOptions)
Creates an instruction for how data should be labeled.
Declaration
public virtual Operation CreateInstruction(CreateInstructionRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateInstructionRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
CreateInstruction(CreateInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)
Creates an instruction for how data should be labeled.
Declaration
public virtual Operation CreateInstruction(CreateInstructionRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| CreateInstructionRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
CreateInstructionAsync(CreateInstructionRequest, CallOptions)
Creates an instruction for how data should be labeled.
Declaration
public virtual AsyncUnaryCall<Operation> CreateInstructionAsync(CreateInstructionRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateInstructionRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
CreateInstructionAsync(CreateInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)
Creates an instruction for how data should be labeled.
Declaration
public virtual AsyncUnaryCall<Operation> CreateInstructionAsync(CreateInstructionRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| CreateInstructionRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Declaration
public virtual Operations.OperationsClient CreateOperationsClient()
Returns
| Type | Description |
|---|---|
| Operations.OperationsClient | A new Operations client for the same target as this client. |
DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest, CallOptions)
Deletes an annotated dataset by resource name.
Declaration
public virtual Empty DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAnnotatedDatasetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Deletes an annotated dataset by resource name.
Declaration
public virtual Empty DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAnnotatedDatasetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest, CallOptions)
Deletes an annotated dataset by resource name.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAnnotatedDatasetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Deletes an annotated dataset by resource name.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAnnotatedDatasetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest, CallOptions)
Deletes an annotation spec set by resource name.
Declaration
public virtual Empty DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAnnotationSpecSetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Deletes an annotation spec set by resource name.
Declaration
public virtual Empty DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAnnotationSpecSetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest, CallOptions)
Deletes an annotation spec set by resource name.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAnnotationSpecSetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Deletes an annotation spec set by resource name.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteAnnotationSpecSetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
DeleteDataset(DeleteDatasetRequest, CallOptions)
Deletes a dataset by resource name.
Declaration
public virtual Empty DeleteDataset(DeleteDatasetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteDatasetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
DeleteDataset(DeleteDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Deletes a dataset by resource name.
Declaration
public virtual Empty DeleteDataset(DeleteDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteDatasetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
DeleteDatasetAsync(DeleteDatasetRequest, CallOptions)
Deletes a dataset by resource name.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteDatasetAsync(DeleteDatasetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteDatasetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
DeleteDatasetAsync(DeleteDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Deletes a dataset by resource name.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteDatasetAsync(DeleteDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteDatasetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
DeleteEvaluationJob(DeleteEvaluationJobRequest, CallOptions)
Stops and deletes an evaluation job.
Declaration
public virtual Empty DeleteEvaluationJob(DeleteEvaluationJobRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteEvaluationJobRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
DeleteEvaluationJob(DeleteEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
Stops and deletes an evaluation job.
Declaration
public virtual Empty DeleteEvaluationJob(DeleteEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteEvaluationJobRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
DeleteEvaluationJobAsync(DeleteEvaluationJobRequest, CallOptions)
Stops and deletes an evaluation job.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteEvaluationJobAsync(DeleteEvaluationJobRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteEvaluationJobRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
DeleteEvaluationJobAsync(DeleteEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
Stops and deletes an evaluation job.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteEvaluationJobAsync(DeleteEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteEvaluationJobRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
DeleteInstruction(DeleteInstructionRequest, CallOptions)
Deletes an instruction object by resource name.
Declaration
public virtual Empty DeleteInstruction(DeleteInstructionRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteInstructionRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
DeleteInstruction(DeleteInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)
Deletes an instruction object by resource name.
Declaration
public virtual Empty DeleteInstruction(DeleteInstructionRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteInstructionRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
DeleteInstructionAsync(DeleteInstructionRequest, CallOptions)
Deletes an instruction object by resource name.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteInstructionAsync(DeleteInstructionRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteInstructionRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
DeleteInstructionAsync(DeleteInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)
Deletes an instruction object by resource name.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteInstructionAsync(DeleteInstructionRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteInstructionRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
ExportData(ExportDataRequest, CallOptions)
Exports data and annotations from dataset.
Declaration
public virtual Operation ExportData(ExportDataRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ExportDataRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
ExportData(ExportDataRequest, Metadata, Nullable<DateTime>, CancellationToken)
Exports data and annotations from dataset.
Declaration
public virtual Operation ExportData(ExportDataRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ExportDataRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
ExportDataAsync(ExportDataRequest, CallOptions)
Exports data and annotations from dataset.
Declaration
public virtual AsyncUnaryCall<Operation> ExportDataAsync(ExportDataRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ExportDataRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
ExportDataAsync(ExportDataRequest, Metadata, Nullable<DateTime>, CancellationToken)
Exports data and annotations from dataset.
Declaration
public virtual AsyncUnaryCall<Operation> ExportDataAsync(ExportDataRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ExportDataRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
GetAnnotatedDataset(GetAnnotatedDatasetRequest, CallOptions)
Gets an annotated dataset by resource name.
Declaration
public virtual AnnotatedDataset GetAnnotatedDataset(GetAnnotatedDatasetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAnnotatedDatasetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AnnotatedDataset | The response received from the server. |
GetAnnotatedDataset(GetAnnotatedDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets an annotated dataset by resource name.
Declaration
public virtual AnnotatedDataset GetAnnotatedDataset(GetAnnotatedDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetAnnotatedDatasetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AnnotatedDataset | The response received from the server. |
GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest, CallOptions)
Gets an annotated dataset by resource name.
Declaration
public virtual AsyncUnaryCall<AnnotatedDataset> GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAnnotatedDatasetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<AnnotatedDataset> | The call object. |
GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets an annotated dataset by resource name.
Declaration
public virtual AsyncUnaryCall<AnnotatedDataset> GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetAnnotatedDatasetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<AnnotatedDataset> | The call object. |
GetAnnotationSpecSet(GetAnnotationSpecSetRequest, CallOptions)
Gets an annotation spec set by resource name.
Declaration
public virtual AnnotationSpecSet GetAnnotationSpecSet(GetAnnotationSpecSetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAnnotationSpecSetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AnnotationSpecSet | The response received from the server. |
GetAnnotationSpecSet(GetAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets an annotation spec set by resource name.
Declaration
public virtual AnnotationSpecSet GetAnnotationSpecSet(GetAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetAnnotationSpecSetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AnnotationSpecSet | The response received from the server. |
GetAnnotationSpecSetAsync(GetAnnotationSpecSetRequest, CallOptions)
Gets an annotation spec set by resource name.
Declaration
public virtual AsyncUnaryCall<AnnotationSpecSet> GetAnnotationSpecSetAsync(GetAnnotationSpecSetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAnnotationSpecSetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<AnnotationSpecSet> | The call object. |
GetAnnotationSpecSetAsync(GetAnnotationSpecSetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets an annotation spec set by resource name.
Declaration
public virtual AsyncUnaryCall<AnnotationSpecSet> GetAnnotationSpecSetAsync(GetAnnotationSpecSetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetAnnotationSpecSetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<AnnotationSpecSet> | The call object. |
GetDataItem(GetDataItemRequest, CallOptions)
Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.
Declaration
public virtual DataItem GetDataItem(GetDataItemRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataItemRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| DataItem | The response received from the server. |
GetDataItem(GetDataItemRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.
Declaration
public virtual DataItem GetDataItem(GetDataItemRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataItemRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| DataItem | The response received from the server. |
GetDataItemAsync(GetDataItemRequest, CallOptions)
Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.
Declaration
public virtual AsyncUnaryCall<DataItem> GetDataItemAsync(GetDataItemRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataItemRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<DataItem> | The call object. |
GetDataItemAsync(GetDataItemRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.
Declaration
public virtual AsyncUnaryCall<DataItem> GetDataItemAsync(GetDataItemRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetDataItemRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<DataItem> | The call object. |
GetDataset(GetDatasetRequest, CallOptions)
Gets dataset by resource name.
Declaration
public virtual Dataset GetDataset(GetDatasetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDatasetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Dataset | The response received from the server. |
GetDataset(GetDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets dataset by resource name.
Declaration
public virtual Dataset GetDataset(GetDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetDatasetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Dataset | The response received from the server. |
GetDatasetAsync(GetDatasetRequest, CallOptions)
Gets dataset by resource name.
Declaration
public virtual AsyncUnaryCall<Dataset> GetDatasetAsync(GetDatasetRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetDatasetRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Dataset> | The call object. |
GetDatasetAsync(GetDatasetRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets dataset by resource name.
Declaration
public virtual AsyncUnaryCall<Dataset> GetDatasetAsync(GetDatasetRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetDatasetRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Dataset> | The call object. |
GetEvaluation(GetEvaluationRequest, CallOptions)
Gets an evaluation by resource name (to search, use [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]).
Declaration
public virtual Evaluation GetEvaluation(GetEvaluationRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetEvaluationRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Evaluation | The response received from the server. |
GetEvaluation(GetEvaluationRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets an evaluation by resource name (to search, use [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]).
Declaration
public virtual Evaluation GetEvaluation(GetEvaluationRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetEvaluationRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Evaluation | The response received from the server. |
GetEvaluationAsync(GetEvaluationRequest, CallOptions)
Gets an evaluation by resource name (to search, use [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]).
Declaration
public virtual AsyncUnaryCall<Evaluation> GetEvaluationAsync(GetEvaluationRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetEvaluationRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Evaluation> | The call object. |
GetEvaluationAsync(GetEvaluationRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets an evaluation by resource name (to search, use [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]).
Declaration
public virtual AsyncUnaryCall<Evaluation> GetEvaluationAsync(GetEvaluationRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetEvaluationRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Evaluation> | The call object. |
GetEvaluationJob(GetEvaluationJobRequest, CallOptions)
Gets an evaluation job by resource name.
Declaration
public virtual EvaluationJob GetEvaluationJob(GetEvaluationJobRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetEvaluationJobRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| EvaluationJob | The response received from the server. |
GetEvaluationJob(GetEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets an evaluation job by resource name.
Declaration
public virtual EvaluationJob GetEvaluationJob(GetEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetEvaluationJobRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| EvaluationJob | The response received from the server. |
GetEvaluationJobAsync(GetEvaluationJobRequest, CallOptions)
Gets an evaluation job by resource name.
Declaration
public virtual AsyncUnaryCall<EvaluationJob> GetEvaluationJobAsync(GetEvaluationJobRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetEvaluationJobRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<EvaluationJob> | The call object. |
GetEvaluationJobAsync(GetEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets an evaluation job by resource name.
Declaration
public virtual AsyncUnaryCall<EvaluationJob> GetEvaluationJobAsync(GetEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetEvaluationJobRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<EvaluationJob> | The call object. |
GetExample(GetExampleRequest, CallOptions)
Gets an example by resource name, including both data and annotation.
Declaration
public virtual Example GetExample(GetExampleRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetExampleRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Example | The response received from the server. |
GetExample(GetExampleRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets an example by resource name, including both data and annotation.
Declaration
public virtual Example GetExample(GetExampleRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetExampleRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Example | The response received from the server. |
GetExampleAsync(GetExampleRequest, CallOptions)
Gets an example by resource name, including both data and annotation.
Declaration
public virtual AsyncUnaryCall<Example> GetExampleAsync(GetExampleRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetExampleRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Example> | The call object. |
GetExampleAsync(GetExampleRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets an example by resource name, including both data and annotation.
Declaration
public virtual AsyncUnaryCall<Example> GetExampleAsync(GetExampleRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetExampleRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Example> | The call object. |
GetInstruction(GetInstructionRequest, CallOptions)
Gets an instruction by resource name.
Declaration
public virtual Instruction GetInstruction(GetInstructionRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetInstructionRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Instruction | The response received from the server. |
GetInstruction(GetInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets an instruction by resource name.
Declaration
public virtual Instruction GetInstruction(GetInstructionRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetInstructionRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Instruction | The response received from the server. |
GetInstructionAsync(GetInstructionRequest, CallOptions)
Gets an instruction by resource name.
Declaration
public virtual AsyncUnaryCall<Instruction> GetInstructionAsync(GetInstructionRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetInstructionRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Instruction> | The call object. |
GetInstructionAsync(GetInstructionRequest, Metadata, Nullable<DateTime>, CancellationToken)
Gets an instruction by resource name.
Declaration
public virtual AsyncUnaryCall<Instruction> GetInstructionAsync(GetInstructionRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| GetInstructionRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Instruction> | The call object. |
ImportData(ImportDataRequest, CallOptions)
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.
Declaration
public virtual Operation ImportData(ImportDataRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ImportDataRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
ImportData(ImportDataRequest, Metadata, Nullable<DateTime>, 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.
Declaration
public virtual Operation ImportData(ImportDataRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ImportDataRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
ImportDataAsync(ImportDataRequest, CallOptions)
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.
Declaration
public virtual AsyncUnaryCall<Operation> ImportDataAsync(ImportDataRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ImportDataRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
ImportDataAsync(ImportDataRequest, Metadata, Nullable<DateTime>, 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.
Declaration
public virtual AsyncUnaryCall<Operation> ImportDataAsync(ImportDataRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ImportDataRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
LabelImage(LabelImageRequest, CallOptions)
Starts a labeling task for image. The type of image labeling task is configured by feature in the request.
Declaration
public virtual Operation LabelImage(LabelImageRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| LabelImageRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
LabelImage(LabelImageRequest, Metadata, Nullable<DateTime>, CancellationToken)
Starts a labeling task for image. The type of image labeling task is configured by feature in the request.
Declaration
public virtual Operation LabelImage(LabelImageRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| LabelImageRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
LabelImageAsync(LabelImageRequest, CallOptions)
Starts a labeling task for image. The type of image labeling task is configured by feature in the request.
Declaration
public virtual AsyncUnaryCall<Operation> LabelImageAsync(LabelImageRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| LabelImageRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
LabelImageAsync(LabelImageRequest, Metadata, Nullable<DateTime>, CancellationToken)
Starts a labeling task for image. The type of image labeling task is configured by feature in the request.
Declaration
public virtual AsyncUnaryCall<Operation> LabelImageAsync(LabelImageRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| LabelImageRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
LabelText(LabelTextRequest, CallOptions)
Starts a labeling task for text. The type of text labeling task is configured by feature in the request.
Declaration
public virtual Operation LabelText(LabelTextRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| LabelTextRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
LabelText(LabelTextRequest, Metadata, Nullable<DateTime>, CancellationToken)
Starts a labeling task for text. The type of text labeling task is configured by feature in the request.
Declaration
public virtual Operation LabelText(LabelTextRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| LabelTextRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
LabelTextAsync(LabelTextRequest, CallOptions)
Starts a labeling task for text. The type of text labeling task is configured by feature in the request.
Declaration
public virtual AsyncUnaryCall<Operation> LabelTextAsync(LabelTextRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| LabelTextRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
LabelTextAsync(LabelTextRequest, Metadata, Nullable<DateTime>, CancellationToken)
Starts a labeling task for text. The type of text labeling task is configured by feature in the request.
Declaration
public virtual AsyncUnaryCall<Operation> LabelTextAsync(LabelTextRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| LabelTextRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
LabelVideo(LabelVideoRequest, CallOptions)
Starts a labeling task for video. The type of video labeling task is configured by feature in the request.
Declaration
public virtual Operation LabelVideo(LabelVideoRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| LabelVideoRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
LabelVideo(LabelVideoRequest, Metadata, Nullable<DateTime>, CancellationToken)
Starts a labeling task for video. The type of video labeling task is configured by feature in the request.
Declaration
public virtual Operation LabelVideo(LabelVideoRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| LabelVideoRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Operation | The response received from the server. |
LabelVideoAsync(LabelVideoRequest, CallOptions)
Starts a labeling task for video. The type of video labeling task is configured by feature in the request.
Declaration
public virtual AsyncUnaryCall<Operation> LabelVideoAsync(LabelVideoRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| LabelVideoRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
LabelVideoAsync(LabelVideoRequest, Metadata, Nullable<DateTime>, CancellationToken)
Starts a labeling task for video. The type of video labeling task is configured by feature in the request.
Declaration
public virtual AsyncUnaryCall<Operation> LabelVideoAsync(LabelVideoRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| LabelVideoRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Operation> | The call object. |
ListAnnotatedDatasets(ListAnnotatedDatasetsRequest, CallOptions)
Lists annotated datasets for a dataset. Pagination is supported.
Declaration
public virtual ListAnnotatedDatasetsResponse ListAnnotatedDatasets(ListAnnotatedDatasetsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAnnotatedDatasetsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListAnnotatedDatasetsResponse | The response received from the server. |
ListAnnotatedDatasets(ListAnnotatedDatasetsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists annotated datasets for a dataset. Pagination is supported.
Declaration
public virtual ListAnnotatedDatasetsResponse ListAnnotatedDatasets(ListAnnotatedDatasetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListAnnotatedDatasetsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ListAnnotatedDatasetsResponse | The response received from the server. |
ListAnnotatedDatasetsAsync(ListAnnotatedDatasetsRequest, CallOptions)
Lists annotated datasets for a dataset. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListAnnotatedDatasetsResponse> ListAnnotatedDatasetsAsync(ListAnnotatedDatasetsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAnnotatedDatasetsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListAnnotatedDatasetsResponse> | The call object. |
ListAnnotatedDatasetsAsync(ListAnnotatedDatasetsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists annotated datasets for a dataset. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListAnnotatedDatasetsResponse> ListAnnotatedDatasetsAsync(ListAnnotatedDatasetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListAnnotatedDatasetsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListAnnotatedDatasetsResponse> | The call object. |
ListAnnotationSpecSets(ListAnnotationSpecSetsRequest, CallOptions)
Lists annotation spec sets for a project. Pagination is supported.
Declaration
public virtual ListAnnotationSpecSetsResponse ListAnnotationSpecSets(ListAnnotationSpecSetsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAnnotationSpecSetsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListAnnotationSpecSetsResponse | The response received from the server. |
ListAnnotationSpecSets(ListAnnotationSpecSetsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists annotation spec sets for a project. Pagination is supported.
Declaration
public virtual ListAnnotationSpecSetsResponse ListAnnotationSpecSets(ListAnnotationSpecSetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListAnnotationSpecSetsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ListAnnotationSpecSetsResponse | The response received from the server. |
ListAnnotationSpecSetsAsync(ListAnnotationSpecSetsRequest, CallOptions)
Lists annotation spec sets for a project. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListAnnotationSpecSetsResponse> ListAnnotationSpecSetsAsync(ListAnnotationSpecSetsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAnnotationSpecSetsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListAnnotationSpecSetsResponse> | The call object. |
ListAnnotationSpecSetsAsync(ListAnnotationSpecSetsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists annotation spec sets for a project. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListAnnotationSpecSetsResponse> ListAnnotationSpecSetsAsync(ListAnnotationSpecSetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListAnnotationSpecSetsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListAnnotationSpecSetsResponse> | The call object. |
ListDataItems(ListDataItemsRequest, CallOptions)
Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.
Declaration
public virtual ListDataItemsResponse ListDataItems(ListDataItemsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDataItemsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListDataItemsResponse | The response received from the server. |
ListDataItems(ListDataItemsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.
Declaration
public virtual ListDataItemsResponse ListDataItems(ListDataItemsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListDataItemsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ListDataItemsResponse | The response received from the server. |
ListDataItemsAsync(ListDataItemsRequest, CallOptions)
Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListDataItemsResponse> ListDataItemsAsync(ListDataItemsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDataItemsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListDataItemsResponse> | The call object. |
ListDataItemsAsync(ListDataItemsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListDataItemsResponse> ListDataItemsAsync(ListDataItemsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListDataItemsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListDataItemsResponse> | The call object. |
ListDatasets(ListDatasetsRequest, CallOptions)
Lists datasets under a project. Pagination is supported.
Declaration
public virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDatasetsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListDatasetsResponse | The response received from the server. |
ListDatasets(ListDatasetsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists datasets under a project. Pagination is supported.
Declaration
public virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListDatasetsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ListDatasetsResponse | The response received from the server. |
ListDatasetsAsync(ListDatasetsRequest, CallOptions)
Lists datasets under a project. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListDatasetsResponse> ListDatasetsAsync(ListDatasetsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListDatasetsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListDatasetsResponse> | The call object. |
ListDatasetsAsync(ListDatasetsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists datasets under a project. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListDatasetsResponse> ListDatasetsAsync(ListDatasetsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListDatasetsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListDatasetsResponse> | The call object. |
ListEvaluationJobs(ListEvaluationJobsRequest, CallOptions)
Lists all evaluation jobs within a project with possible filters. Pagination is supported.
Declaration
public virtual ListEvaluationJobsResponse ListEvaluationJobs(ListEvaluationJobsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListEvaluationJobsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListEvaluationJobsResponse | The response received from the server. |
ListEvaluationJobs(ListEvaluationJobsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists all evaluation jobs within a project with possible filters. Pagination is supported.
Declaration
public virtual ListEvaluationJobsResponse ListEvaluationJobs(ListEvaluationJobsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListEvaluationJobsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ListEvaluationJobsResponse | The response received from the server. |
ListEvaluationJobsAsync(ListEvaluationJobsRequest, CallOptions)
Lists all evaluation jobs within a project with possible filters. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListEvaluationJobsResponse> ListEvaluationJobsAsync(ListEvaluationJobsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListEvaluationJobsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListEvaluationJobsResponse> | The call object. |
ListEvaluationJobsAsync(ListEvaluationJobsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists all evaluation jobs within a project with possible filters. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListEvaluationJobsResponse> ListEvaluationJobsAsync(ListEvaluationJobsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListEvaluationJobsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListEvaluationJobsResponse> | The call object. |
ListExamples(ListExamplesRequest, CallOptions)
Lists examples in an annotated dataset. Pagination is supported.
Declaration
public virtual ListExamplesResponse ListExamples(ListExamplesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListExamplesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListExamplesResponse | The response received from the server. |
ListExamples(ListExamplesRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists examples in an annotated dataset. Pagination is supported.
Declaration
public virtual ListExamplesResponse ListExamples(ListExamplesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListExamplesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ListExamplesResponse | The response received from the server. |
ListExamplesAsync(ListExamplesRequest, CallOptions)
Lists examples in an annotated dataset. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListExamplesResponse> ListExamplesAsync(ListExamplesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListExamplesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListExamplesResponse> | The call object. |
ListExamplesAsync(ListExamplesRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists examples in an annotated dataset. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListExamplesResponse> ListExamplesAsync(ListExamplesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListExamplesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListExamplesResponse> | The call object. |
ListInstructions(ListInstructionsRequest, CallOptions)
Lists instructions for a project. Pagination is supported.
Declaration
public virtual ListInstructionsResponse ListInstructions(ListInstructionsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListInstructionsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListInstructionsResponse | The response received from the server. |
ListInstructions(ListInstructionsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists instructions for a project. Pagination is supported.
Declaration
public virtual ListInstructionsResponse ListInstructions(ListInstructionsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListInstructionsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ListInstructionsResponse | The response received from the server. |
ListInstructionsAsync(ListInstructionsRequest, CallOptions)
Lists instructions for a project. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListInstructionsResponse> ListInstructionsAsync(ListInstructionsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListInstructionsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListInstructionsResponse> | The call object. |
ListInstructionsAsync(ListInstructionsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Lists instructions for a project. Pagination is supported.
Declaration
public virtual AsyncUnaryCall<ListInstructionsResponse> ListInstructionsAsync(ListInstructionsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ListInstructionsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListInstructionsResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override DataLabelingService.DataLabelingServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| DataLabelingService.DataLabelingServiceClient |
Overrides
PauseEvaluationJob(PauseEvaluationJobRequest, CallOptions)
Pauses an evaluation job. Pausing an evaluation job that is already in a
PAUSED state is a no-op.
Declaration
public virtual Empty PauseEvaluationJob(PauseEvaluationJobRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| PauseEvaluationJobRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
PauseEvaluationJob(PauseEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
Pauses an evaluation job. Pausing an evaluation job that is already in a
PAUSED state is a no-op.
Declaration
public virtual Empty PauseEvaluationJob(PauseEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| PauseEvaluationJobRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
PauseEvaluationJobAsync(PauseEvaluationJobRequest, CallOptions)
Pauses an evaluation job. Pausing an evaluation job that is already in a
PAUSED state is a no-op.
Declaration
public virtual AsyncUnaryCall<Empty> PauseEvaluationJobAsync(PauseEvaluationJobRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| PauseEvaluationJobRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
PauseEvaluationJobAsync(PauseEvaluationJobRequest, Metadata, Nullable<DateTime>, CancellationToken)
Pauses an evaluation job. Pausing an evaluation job that is already in a
PAUSED state is a no-op.
Declaration
public virtual AsyncUnaryCall<Empty> PauseEvaluationJobAsync(PauseEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| PauseEvaluationJobRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
ResumeEvaluationJob(ResumeEvaluationJobRequest, CallOptions)
Resumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.
Declaration
public virtual Empty ResumeEvaluationJob(ResumeEvaluationJobRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ResumeEvaluationJobRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
ResumeEvaluationJob(ResumeEvaluationJobRequest, Metadata, Nullable<DateTime>, 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.
Declaration
public virtual Empty ResumeEvaluationJob(ResumeEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ResumeEvaluationJobRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Empty | The response received from the server. |
ResumeEvaluationJobAsync(ResumeEvaluationJobRequest, CallOptions)
Resumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.
Declaration
public virtual AsyncUnaryCall<Empty> ResumeEvaluationJobAsync(ResumeEvaluationJobRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ResumeEvaluationJobRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
ResumeEvaluationJobAsync(ResumeEvaluationJobRequest, Metadata, Nullable<DateTime>, 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.
Declaration
public virtual AsyncUnaryCall<Empty> ResumeEvaluationJobAsync(ResumeEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| ResumeEvaluationJobRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Empty> | The call object. |
SearchEvaluations(SearchEvaluationsRequest, CallOptions)
Searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project.
Declaration
public virtual SearchEvaluationsResponse SearchEvaluations(SearchEvaluationsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchEvaluationsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| SearchEvaluationsResponse | The response received from the server. |
SearchEvaluations(SearchEvaluationsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project.
Declaration
public virtual SearchEvaluationsResponse SearchEvaluations(SearchEvaluationsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| SearchEvaluationsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| SearchEvaluationsResponse | The response received from the server. |
SearchEvaluationsAsync(SearchEvaluationsRequest, CallOptions)
Searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project.
Declaration
public virtual AsyncUnaryCall<SearchEvaluationsResponse> SearchEvaluationsAsync(SearchEvaluationsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchEvaluationsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<SearchEvaluationsResponse> | The call object. |
SearchEvaluationsAsync(SearchEvaluationsRequest, Metadata, Nullable<DateTime>, CancellationToken)
Searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project.
Declaration
public virtual AsyncUnaryCall<SearchEvaluationsResponse> SearchEvaluationsAsync(SearchEvaluationsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| SearchEvaluationsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<SearchEvaluationsResponse> | The call object. |
SearchExampleComparisons(SearchExampleComparisonsRequest, CallOptions)
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.
Declaration
public virtual SearchExampleComparisonsResponse SearchExampleComparisons(SearchExampleComparisonsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchExampleComparisonsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| SearchExampleComparisonsResponse | The response received from the server. |
SearchExampleComparisons(SearchExampleComparisonsRequest, Metadata, Nullable<DateTime>, 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.
Declaration
public virtual SearchExampleComparisonsResponse SearchExampleComparisons(SearchExampleComparisonsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| SearchExampleComparisonsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| SearchExampleComparisonsResponse | The response received from the server. |
SearchExampleComparisonsAsync(SearchExampleComparisonsRequest, CallOptions)
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.
Declaration
public virtual AsyncUnaryCall<SearchExampleComparisonsResponse> SearchExampleComparisonsAsync(SearchExampleComparisonsRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchExampleComparisonsRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<SearchExampleComparisonsResponse> | The call object. |
SearchExampleComparisonsAsync(SearchExampleComparisonsRequest, Metadata, Nullable<DateTime>, 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.
Declaration
public virtual AsyncUnaryCall<SearchExampleComparisonsResponse> SearchExampleComparisonsAsync(SearchExampleComparisonsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| SearchExampleComparisonsRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<SearchExampleComparisonsResponse> | The call object. |
UpdateEvaluationJob(UpdateEvaluationJobRequest, CallOptions)
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.
Declaration
public virtual EvaluationJob UpdateEvaluationJob(UpdateEvaluationJobRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateEvaluationJobRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| EvaluationJob | The response received from the server. |
UpdateEvaluationJob(UpdateEvaluationJobRequest, Metadata, Nullable<DateTime>, 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.
Declaration
public virtual EvaluationJob UpdateEvaluationJob(UpdateEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateEvaluationJobRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| EvaluationJob | The response received from the server. |
UpdateEvaluationJobAsync(UpdateEvaluationJobRequest, CallOptions)
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.
Declaration
public virtual AsyncUnaryCall<EvaluationJob> UpdateEvaluationJobAsync(UpdateEvaluationJobRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateEvaluationJobRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<EvaluationJob> | The call object. |
UpdateEvaluationJobAsync(UpdateEvaluationJobRequest, Metadata, Nullable<DateTime>, 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.
Declaration
public virtual AsyncUnaryCall<EvaluationJob> UpdateEvaluationJobAsync(UpdateEvaluationJobRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateEvaluationJobRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| System.Nullable<System.DateTime> | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| System.Threading.CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<EvaluationJob> | The call object. |