public sealed class DataLabelingServiceClientImpl : DataLabelingServiceClient
DataLabelingService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DataLabeling.V1Beta1Assembly
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.
Name | Description |
grpcClient | DataLabelingService.DataLabelingServiceClient The underlying gRPC client. |
settings | DataLabelingServiceSettings The base DataLabelingServiceSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
CreateInstructionOperationsClient
public override OperationsClient CreateInstructionOperationsClient { get; }
The long-running operations client for CreateInstruction
.
Type | Description |
OperationsClient |
ExportDataOperationsClient
public override OperationsClient ExportDataOperationsClient { get; }
The long-running operations client for ExportData
.
Type | Description |
OperationsClient |
GrpcClient
public override DataLabelingService.DataLabelingServiceClient GrpcClient { get; }
The underlying gRPC DataLabelingService client
Type | Description |
DataLabelingService.DataLabelingServiceClient |
ImportDataOperationsClient
public override OperationsClient ImportDataOperationsClient { get; }
The long-running operations client for ImportData
.
Type | Description |
OperationsClient |
LabelImageOperationsClient
public override OperationsClient LabelImageOperationsClient { get; }
The long-running operations client for LabelImage
.
Type | Description |
OperationsClient |
LabelTextOperationsClient
public override OperationsClient LabelTextOperationsClient { get; }
The long-running operations client for LabelText
.
Type | Description |
OperationsClient |
LabelVideoOperationsClient
public override OperationsClient LabelVideoOperationsClient { get; }
The long-running operations client for LabelVideo
.
Type | Description |
OperationsClient |
Methods
CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest, CallSettings)
public override AnnotationSpecSet CreateAnnotationSpecSet(CreateAnnotationSpecSetRequest request, CallSettings callSettings = null)
Creates an annotation spec set by providing a set of labels.
Name | Description |
request | CreateAnnotationSpecSetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
AnnotationSpecSet | The RPC response. |
CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest, CallSettings)
public override Task<AnnotationSpecSet> CreateAnnotationSpecSetAsync(CreateAnnotationSpecSetRequest request, CallSettings callSettings = null)
Creates an annotation spec set by providing a set of labels.
Name | Description |
request | CreateAnnotationSpecSetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<AnnotationSpecSet> | A Task containing the RPC response. |
CreateDataset(CreateDatasetRequest, CallSettings)
public override Dataset CreateDataset(CreateDatasetRequest request, CallSettings callSettings = null)
Creates dataset. If success return a Dataset resource.
Name | Description |
request | CreateDatasetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Dataset | The RPC response. |
CreateDatasetAsync(CreateDatasetRequest, CallSettings)
public override Task<Dataset> CreateDatasetAsync(CreateDatasetRequest request, CallSettings callSettings = null)
Creates dataset. If success return a Dataset resource.
Name | Description |
request | CreateDatasetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Dataset> | A Task containing the RPC response. |
CreateEvaluationJob(CreateEvaluationJobRequest, CallSettings)
public override EvaluationJob CreateEvaluationJob(CreateEvaluationJobRequest request, CallSettings callSettings = null)
Creates an evaluation job.
Name | Description |
request | CreateEvaluationJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
EvaluationJob | The RPC response. |
CreateEvaluationJobAsync(CreateEvaluationJobRequest, CallSettings)
public override Task<EvaluationJob> CreateEvaluationJobAsync(CreateEvaluationJobRequest request, CallSettings callSettings = null)
Creates an evaluation job.
Name | Description |
request | CreateEvaluationJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<EvaluationJob> | A Task containing the RPC response. |
CreateInstruction(CreateInstructionRequest, CallSettings)
public override Operation<Instruction, CreateInstructionMetadata> CreateInstruction(CreateInstructionRequest request, CallSettings callSettings = null)
Creates an instruction for how data should be labeled.
Name | Description |
request | CreateInstructionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Operation<Instruction, CreateInstructionMetadata> | The RPC response. |
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.
Name | Description |
request | CreateInstructionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task<Operation<Instruction, CreateInstructionMetadata>> | A Task containing the RPC response. |
DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest, CallSettings)
public override void DeleteAnnotatedDataset(DeleteAnnotatedDatasetRequest request, CallSettings callSettings = null)
Deletes an annotated dataset by resource name.
Name | Description |
request | DeleteAnnotatedDatasetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest, CallSettings)
public override Task DeleteAnnotatedDatasetAsync(DeleteAnnotatedDatasetRequest request, CallSettings callSettings = null)
Deletes an annotated dataset by resource name.
Name | Description |
request | DeleteAnnotatedDatasetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Type | Description |
Task | A Task containing the RPC response. |
DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest, CallSettings)
public override void DeleteAnnotationSpecSet(DeleteAnnotationSpecSetRequest request, CallSettings callSettings = null)
Deletes an annotation spec set by resource name.
Name | Description |
request | DeleteAnnotationSpecSetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest, CallSettings)
public override Task DeleteAnnotationSpecSetAsync(DeleteAnnotationSpecSetRequest request, CallSettings callSettings = null)
Deletes an annotation spec set by resource name.