Class DataLabelingServiceClientImpl (2.0.0-beta01)

Stay organized with collections Save and categorize content based on your preferences.
public sealed class DataLabelingServiceClientImpl : DataLabelingServiceClient

DataLabelingService client wrapper implementation, for convenient use.

Inheritance

Object > DataLabelingServiceClient > DataLabelingServiceClientImpl

Namespace

Google.Cloud.DataLabeling.V1Beta1

Assembly

Google.Cloud.DataLabeling.V1Beta1.dll

Remarks

Service for the AI Platform Data Labeling API.

Constructors

DataLabelingServiceClientImpl(DataLabelingService.DataLabelingServiceClient, DataLabelingServiceSettings, ILogger)

public DataLabelingServiceClientImpl(DataLabelingService.DataLabelingServiceClient grpcClient, DataLabelingServiceSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientDataLabelingService.DataLabelingServiceClient

The underlying gRPC client.

settingsDataLabelingServiceSettings

The base DataLabelingServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateInstructionOperationsClient

public override OperationsClient CreateInstructionOperationsClient { get; }

The long-running operations client for CreateInstruction.

Property Value
TypeDescription
OperationsClient
Overrides

ExportDataOperationsClient

public override OperationsClient ExportDataOperationsClient { get; }

The long-running operations client for ExportData.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override DataLabelingService.DataLabelingServiceClient GrpcClient { get; }

The underlying gRPC DataLabelingService client

Property Value
TypeDescription
DataLabelingService.DataLabelingServiceClient
Overrides

ImportDataOperationsClient

public override OperationsClient ImportDataOperationsClient { get; }

The long-running operations client for ImportData.

Property Value
TypeDescription
OperationsClient
Overrides

LabelImageOperationsClient

public override OperationsClient LabelImageOperationsClient { get; }

The long-running operations client for LabelImage.

Property Value
TypeDescription
OperationsClient
Overrides

LabelTextOperationsClient

public override OperationsClient LabelTextOperationsClient { get; }

The long-running operations client for LabelText.

Property Value
TypeDescription
OperationsClient
Overrides

LabelVideoOperationsClient

public override OperationsClient LabelVideoOperationsClient { get; }

The long-running operations client for LabelVideo.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest, CallSettings)

public override AnnotationSpecSet CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestCreateAnnotationSpecSetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
AnnotationSpecSet

The RPC response.

Overrides

CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest, CallSettings)

public override Task<AnnotationSpecSet> CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestCreateAnnotationSpecSetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<AnnotationSpecSet>

A Task containing the RPC response.

Overrides

CreateDataset(CreateDatasetRequest, CallSettings)

public override Dataset CreateDataset(CreateDatasetRequest request, CallSettings callSettings = null)

Creates dataset. If success return a Dataset resource.

Parameters
NameDescription
requestCreateDatasetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Dataset

The RPC response.

Overrides

CreateDatasetAsync(CreateDatasetRequest, CallSettings)

public override Task<Dataset> CreateDatasetAsync(CreateDatasetRequest request, CallSettings callSettings = null)

Creates dataset. If success return a Dataset resource.

Parameters
NameDescription
requestCreateDatasetRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Dataset>

A Task containing the RPC response.

Overrides

CreateEvaluationJob(CreateEvaluationJobRequest, CallSettings)

public override EvaluationJob CreateEvaluationJob(CreateEvaluationJobRequest request, CallSettings callSettings = null)

Creates an evaluation job.

Parameters
NameDescription
requestCreateEvaluationJobRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
EvaluationJob

The RPC response.

Overrides

CreateEvaluationJobAsync(CreateEvaluationJobRequest, CallSettings)

public override Task<EvaluationJob> CreateEvaluationJobAsync(CreateEvaluationJobRequest request, CallSettings callSettings = null)

Creates an evaluation job.

Parameters
NameDescription
requestCreateEvaluationJobRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<EvaluationJob>

A Task containing the RPC response.

Overrides

CreateInstruction(CreateInstructionRequest, CallSettings)

public override Operation<Instruction, CreateInstructionMetadata> CreateInstruction(CreateInstructionRequest request, CallSettings callSettings = null)

Creates an instruction for how data should be labeled.

Parameters
NameDescription
requestCreateInstructionRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Instruction, CreateInstructionMetadata>

The RPC response.

Overrides

CreateInstructionAsync(CreateInstructionRequest, CallSettings)

public override async Task<Operation<Instruction, CreateInstructionMetadata>> CreateInstructionAsync(CreateInstructionRequest request, CallSettings callSettings = null)

Creates an instruction for how data should be labeled.

Parameters