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.
Parameters | |
---|---|
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
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
ExportDataOperationsClient
public override OperationsClient ExportDataOperationsClient { get; }
The long-running operations client for ExportData
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override DataLabelingService.DataLabelingServiceClient GrpcClient { get; }
The underlying gRPC DataLabelingService client
Property Value | |
---|---|
Type | Description |
DataLabelingService.DataLabelingServiceClient |
ImportDataOperationsClient
public override OperationsClient ImportDataOperationsClient { get; }
The long-running operations client for ImportData
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
LabelImageOperationsClient
public override OperationsClient LabelImageOperationsClient { get; }
The long-running operations client for LabelImage
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
LabelTextOperationsClient
public override OperationsClient LabelTextOperationsClient { get; }
The long-running operations client for LabelText
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
LabelVideoOperationsClient
public override OperationsClient LabelVideoOperationsClient { get; }
The long-running operations client for LabelVideo
.
Property Value | |
---|---|
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.
Parameters | |
---|---|
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. |
Returns | |
---|---|
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.
Parameters | |
---|---|
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. |
Returns | |
---|---|
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.
Parameters | |
---|---|
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. |
Returns | |
---|---|
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.
Parameters | |
---|---|
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. |
Returns | |
---|---|
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.
Parameters | |
---|---|
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. |
Returns | |
---|---|
Type | Description |
EvaluationJob | The RPC response. |
CreateEvaluationJobAsync(CreateEvaluationJobRequest, CallSettings)
public override Task<EvaluationJob> CreateEvaluationJobAsync(CreateEvaluationJobRequest request, CallSettings callSettings = null)
Creates an evaluation job.
Parameters | |
---|---|
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. |
Returns | |
---|---|
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.
Parameters | |
---|---|
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. |
Returns | |
---|---|
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.
Parameters | |
---|---|
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. |
Returns | |
---|---|
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.
Parameters | |
---|---|
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.
Parameters | |
---|---|
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. |
Returns | |
---|---|
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.
Parameters | |
---|---|
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.
Parameters | |
---|---|
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. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteDataset(DeleteDatasetRequest, CallSettings)
public override void DeleteDataset(DeleteDatasetRequest request, CallSettings callSettings = null)
Deletes a dataset by resource name.
Parameters | |
---|---|
Name | Description |
request | DeleteDatasetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteDatasetAsync(DeleteDatasetRequest, CallSettings)
public override Task DeleteDatasetAsync(DeleteDatasetRequest request, CallSettings callSettings = null)
Deletes a dataset by resource name.
Parameters | |
---|---|
Name | Description |
request | DeleteDatasetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteEvaluationJob(DeleteEvaluationJobRequest, CallSettings)
public override void DeleteEvaluationJob(DeleteEvaluationJobRequest request, CallSettings callSettings = null)
Stops and deletes an evaluation job.
Parameters | |
---|---|
Name | Description |
request | DeleteEvaluationJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteEvaluationJobAsync(DeleteEvaluationJobRequest, CallSettings)
public override Task DeleteEvaluationJobAsync(DeleteEvaluationJobRequest request, CallSettings callSettings = null)
Stops and deletes an evaluation job.
Parameters | |
---|---|
Name | Description |
request | DeleteEvaluationJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
DeleteInstruction(DeleteInstructionRequest, CallSettings)
public override void DeleteInstruction(DeleteInstructionRequest request, CallSettings callSettings = null)
Deletes an instruction object by resource name.
Parameters | |
---|---|
Name | Description |
request | DeleteInstructionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteInstructionAsync(DeleteInstructionRequest, CallSettings)
public override Task DeleteInstructionAsync(DeleteInstructionRequest request, CallSettings callSettings = null)
Deletes an instruction object by resource name.
Parameters | |
---|---|
Name | Description |
request | DeleteInstructionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
ExportData(ExportDataRequest, CallSettings)
public override Operation<ExportDataOperationResponse, ExportDataOperationMetadata> ExportData(ExportDataRequest request, CallSettings callSettings = null)
Exports data and annotations from dataset.
Parameters | |
---|---|
Name | Description |
request | ExportDataRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ExportDataOperationResponse, ExportDataOperationMetadata> | The RPC response. |
ExportDataAsync(ExportDataRequest, CallSettings)
public override async Task<Operation<ExportDataOperationResponse, ExportDataOperationMetadata>> ExportDataAsync(ExportDataRequest request, CallSettings callSettings = null)
Exports data and annotations from dataset.
Parameters | |
---|---|
Name | Description |
request | ExportDataRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ExportDataOperationResponse, ExportDataOperationMetadata>> | A Task containing the RPC response. |
GetAnnotatedDataset(GetAnnotatedDatasetRequest, CallSettings)
public override AnnotatedDataset GetAnnotatedDataset(GetAnnotatedDatasetRequest request, CallSettings callSettings = null)
Gets an annotated dataset by resource name.
Parameters | |
---|---|
Name | Description |
request | GetAnnotatedDatasetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AnnotatedDataset | The RPC response. |
GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest, CallSettings)
public override Task<AnnotatedDataset> GetAnnotatedDatasetAsync(GetAnnotatedDatasetRequest request, CallSettings callSettings = null)
Gets an annotated dataset by resource name.
Parameters | |
---|---|
Name | Description |
request | GetAnnotatedDatasetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AnnotatedDataset> | A Task containing the RPC response. |
GetAnnotationSpecSet(GetAnnotationSpecSetRequest, CallSettings)
public override AnnotationSpecSet GetAnnotationSpecSet(GetAnnotationSpecSetRequest request, CallSettings callSettings = null)
Gets an annotation spec set by resource name.
Parameters | |
---|---|
Name | Description |
request | GetAnnotationSpecSetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AnnotationSpecSet | The RPC response. |
GetAnnotationSpecSetAsync(GetAnnotationSpecSetRequest, CallSettings)
public override Task<AnnotationSpecSet> GetAnnotationSpecSetAsync(GetAnnotationSpecSetRequest request, CallSettings callSettings = null)
Gets an annotation spec set by resource name.
Parameters | |
---|---|
Name | Description |
request | GetAnnotationSpecSetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AnnotationSpecSet> | A Task containing the RPC response. |
GetDataItem(GetDataItemRequest, CallSettings)
public override DataItem GetDataItem(GetDataItemRequest request, CallSettings callSettings = null)
Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.
Parameters | |
---|---|
Name | Description |
request | GetDataItemRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
DataItem | The RPC response. |
GetDataItemAsync(GetDataItemRequest, CallSettings)
public override Task<DataItem> GetDataItemAsync(GetDataItemRequest request, CallSettings callSettings = null)
Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.
Parameters | |
---|---|
Name | Description |
request | GetDataItemRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<DataItem> | A Task containing the RPC response. |
GetDataset(GetDatasetRequest, CallSettings)
public override Dataset GetDataset(GetDatasetRequest request, CallSettings callSettings = null)
Gets dataset by resource name.
Parameters | |
---|---|
Name | Description |
request | GetDatasetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Dataset | The RPC response. |
GetDatasetAsync(GetDatasetRequest, CallSettings)
public override Task<Dataset> GetDatasetAsync(GetDatasetRequest request, CallSettings callSettings = null)
Gets dataset by resource name.
Parameters | |
---|---|
Name | Description |
request | GetDatasetRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Dataset> | A Task containing the RPC response. |
GetEvaluation(GetEvaluationRequest, CallSettings)
public override Evaluation GetEvaluation(GetEvaluationRequest request, CallSettings callSettings = null)
Gets an evaluation by resource name (to search, use [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]).
Parameters | |
---|---|
Name | Description |
request | GetEvaluationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Evaluation | The RPC response. |
GetEvaluationAsync(GetEvaluationRequest, CallSettings)
public override Task<Evaluation> GetEvaluationAsync(GetEvaluationRequest request, CallSettings callSettings = null)
Gets an evaluation by resource name (to search, use [projects.evaluations.search][google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations]).
Parameters | |
---|---|
Name | Description |
request | GetEvaluationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Evaluation> | A Task containing the RPC response. |
GetEvaluationJob(GetEvaluationJobRequest, CallSettings)
public override EvaluationJob GetEvaluationJob(GetEvaluationJobRequest request, CallSettings callSettings = null)
Gets an evaluation job by resource name.
Parameters | |
---|---|
Name | Description |
request | GetEvaluationJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
EvaluationJob | The RPC response. |
GetEvaluationJobAsync(GetEvaluationJobRequest, CallSettings)
public override Task<EvaluationJob> GetEvaluationJobAsync(GetEvaluationJobRequest request, CallSettings callSettings = null)
Gets an evaluation job by resource name.
Parameters | |
---|---|
Name | Description |
request | GetEvaluationJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<EvaluationJob> | A Task containing the RPC response. |
GetExample(GetExampleRequest, CallSettings)
public override Example GetExample(GetExampleRequest request, CallSettings callSettings = null)
Gets an example by resource name, including both data and annotation.
Parameters | |
---|---|
Name | Description |
request | GetExampleRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Example | The RPC response. |
GetExampleAsync(GetExampleRequest, CallSettings)
public override Task<Example> GetExampleAsync(GetExampleRequest request, CallSettings callSettings = null)
Gets an example by resource name, including both data and annotation.
Parameters | |
---|---|
Name | Description |
request | GetExampleRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Example> | A Task containing the RPC response. |
GetInstruction(GetInstructionRequest, CallSettings)
public override Instruction GetInstruction(GetInstructionRequest request, CallSettings callSettings = null)
Gets an instruction by resource name.
Parameters | |
---|---|
Name | Description |
request | GetInstructionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Instruction | The RPC response. |
GetInstructionAsync(GetInstructionRequest, CallSettings)
public override Task<Instruction> GetInstructionAsync(GetInstructionRequest request, CallSettings callSettings = null)
Gets an instruction by resource name.
Parameters | |
---|---|
Name | Description |
request | GetInstructionRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Instruction> | A Task containing the RPC response. |
ImportData(ImportDataRequest, CallSettings)
public override Operation<ImportDataOperationResponse, ImportDataOperationMetadata> ImportData(ImportDataRequest request, CallSettings callSettings = null)
Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa.
Parameters | |
---|---|
Name | Description |
request | ImportDataRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<ImportDataOperationResponse, ImportDataOperationMetadata> | The RPC response. |
ImportDataAsync(ImportDataRequest, CallSettings)
public override async Task<Operation<ImportDataOperationResponse, ImportDataOperationMetadata>> ImportDataAsync(ImportDataRequest request, CallSettings callSettings = null)
Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa.
Parameters | |
---|---|
Name | Description |
request | ImportDataRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<ImportDataOperationResponse, ImportDataOperationMetadata>> | A Task containing the RPC response. |
LabelImage(LabelImageRequest, CallSettings)
public override Operation<AnnotatedDataset, LabelOperationMetadata> LabelImage(LabelImageRequest request, CallSettings callSettings = null)
Starts a labeling task for image. The type of image labeling task is configured by feature in the request.
Parameters | |
---|---|
Name | Description |
request | LabelImageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AnnotatedDataset, LabelOperationMetadata> | The RPC response. |
LabelImageAsync(LabelImageRequest, CallSettings)
public override async Task<Operation<AnnotatedDataset, LabelOperationMetadata>> LabelImageAsync(LabelImageRequest request, CallSettings callSettings = null)
Starts a labeling task for image. The type of image labeling task is configured by feature in the request.
Parameters | |
---|---|
Name | Description |
request | LabelImageRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AnnotatedDataset, LabelOperationMetadata>> | A Task containing the RPC response. |
LabelText(LabelTextRequest, CallSettings)
public override Operation<AnnotatedDataset, LabelOperationMetadata> LabelText(LabelTextRequest request, CallSettings callSettings = null)
Starts a labeling task for text. The type of text labeling task is configured by feature in the request.
Parameters | |
---|---|
Name | Description |
request | LabelTextRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AnnotatedDataset, LabelOperationMetadata> | The RPC response. |
LabelTextAsync(LabelTextRequest, CallSettings)
public override async Task<Operation<AnnotatedDataset, LabelOperationMetadata>> LabelTextAsync(LabelTextRequest request, CallSettings callSettings = null)
Starts a labeling task for text. The type of text labeling task is configured by feature in the request.
Parameters | |
---|---|
Name | Description |
request | LabelTextRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AnnotatedDataset, LabelOperationMetadata>> | A Task containing the RPC response. |
LabelVideo(LabelVideoRequest, CallSettings)
public override Operation<AnnotatedDataset, LabelOperationMetadata> LabelVideo(LabelVideoRequest request, CallSettings callSettings = null)
Starts a labeling task for video. The type of video labeling task is configured by feature in the request.
Parameters | |
---|---|
Name | Description |
request | LabelVideoRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AnnotatedDataset, LabelOperationMetadata> | The RPC response. |
LabelVideoAsync(LabelVideoRequest, CallSettings)
public override async Task<Operation<AnnotatedDataset, LabelOperationMetadata>> LabelVideoAsync(LabelVideoRequest request, CallSettings callSettings = null)
Starts a labeling task for video. The type of video labeling task is configured by feature in the request.
Parameters | |
---|---|
Name | Description |
request | LabelVideoRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AnnotatedDataset, LabelOperationMetadata>> | A Task containing the RPC response. |
ListAnnotatedDatasets(ListAnnotatedDatasetsRequest, CallSettings)
public override PagedEnumerable<ListAnnotatedDatasetsResponse, AnnotatedDataset> ListAnnotatedDatasets(ListAnnotatedDatasetsRequest request, CallSettings callSettings = null)
Lists annotated datasets for a dataset. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListAnnotatedDatasetsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListAnnotatedDatasetsResponse, AnnotatedDataset> | A pageable sequence of AnnotatedDataset resources. |
ListAnnotatedDatasetsAsync(ListAnnotatedDatasetsRequest, CallSettings)
public override PagedAsyncEnumerable<ListAnnotatedDatasetsResponse, AnnotatedDataset> ListAnnotatedDatasetsAsync(ListAnnotatedDatasetsRequest request, CallSettings callSettings = null)
Lists annotated datasets for a dataset. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListAnnotatedDatasetsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListAnnotatedDatasetsResponse, AnnotatedDataset> | A pageable asynchronous sequence of AnnotatedDataset resources. |
ListAnnotationSpecSets(ListAnnotationSpecSetsRequest, CallSettings)
public override PagedEnumerable<ListAnnotationSpecSetsResponse, AnnotationSpecSet> ListAnnotationSpecSets(ListAnnotationSpecSetsRequest request, CallSettings callSettings = null)
Lists annotation spec sets for a project. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListAnnotationSpecSetsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListAnnotationSpecSetsResponse, AnnotationSpecSet> | A pageable sequence of AnnotationSpecSet resources. |
ListAnnotationSpecSetsAsync(ListAnnotationSpecSetsRequest, CallSettings)
public override PagedAsyncEnumerable<ListAnnotationSpecSetsResponse, AnnotationSpecSet> ListAnnotationSpecSetsAsync(ListAnnotationSpecSetsRequest request, CallSettings callSettings = null)
Lists annotation spec sets for a project. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListAnnotationSpecSetsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListAnnotationSpecSetsResponse, AnnotationSpecSet> | A pageable asynchronous sequence of AnnotationSpecSet resources. |
ListDataItems(ListDataItemsRequest, CallSettings)
public override PagedEnumerable<ListDataItemsResponse, DataItem> ListDataItems(ListDataItemsRequest request, CallSettings callSettings = null)
Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListDataItemsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListDataItemsResponse, DataItem> | A pageable sequence of DataItem resources. |
ListDataItemsAsync(ListDataItemsRequest, CallSettings)
public override PagedAsyncEnumerable<ListDataItemsResponse, DataItem> ListDataItemsAsync(ListDataItemsRequest request, CallSettings callSettings = null)
Lists data items in a dataset. This API can be called after data are imported into dataset. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListDataItemsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListDataItemsResponse, DataItem> | A pageable asynchronous sequence of DataItem resources. |
ListDatasets(ListDatasetsRequest, CallSettings)
public override PagedEnumerable<ListDatasetsResponse, Dataset> ListDatasets(ListDatasetsRequest request, CallSettings callSettings = null)
Lists datasets under a project. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListDatasetsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListDatasetsResponse, Dataset> | A pageable sequence of Dataset resources. |
ListDatasetsAsync(ListDatasetsRequest, CallSettings)
public override PagedAsyncEnumerable<ListDatasetsResponse, Dataset> ListDatasetsAsync(ListDatasetsRequest request, CallSettings callSettings = null)
Lists datasets under a project. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListDatasetsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListDatasetsResponse, Dataset> | A pageable asynchronous sequence of Dataset resources. |
ListEvaluationJobs(ListEvaluationJobsRequest, CallSettings)
public override PagedEnumerable<ListEvaluationJobsResponse, EvaluationJob> ListEvaluationJobs(ListEvaluationJobsRequest request, CallSettings callSettings = null)
Lists all evaluation jobs within a project with possible filters. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListEvaluationJobsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListEvaluationJobsResponse, EvaluationJob> | A pageable sequence of EvaluationJob resources. |
ListEvaluationJobsAsync(ListEvaluationJobsRequest, CallSettings)
public override PagedAsyncEnumerable<ListEvaluationJobsResponse, EvaluationJob> ListEvaluationJobsAsync(ListEvaluationJobsRequest request, CallSettings callSettings = null)
Lists all evaluation jobs within a project with possible filters. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListEvaluationJobsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListEvaluationJobsResponse, EvaluationJob> | A pageable asynchronous sequence of EvaluationJob resources. |
ListExamples(ListExamplesRequest, CallSettings)
public override PagedEnumerable<ListExamplesResponse, Example> ListExamples(ListExamplesRequest request, CallSettings callSettings = null)
Lists examples in an annotated dataset. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListExamplesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListExamplesResponse, Example> | A pageable sequence of Example resources. |
ListExamplesAsync(ListExamplesRequest, CallSettings)
public override PagedAsyncEnumerable<ListExamplesResponse, Example> ListExamplesAsync(ListExamplesRequest request, CallSettings callSettings = null)
Lists examples in an annotated dataset. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListExamplesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListExamplesResponse, Example> | A pageable asynchronous sequence of Example resources. |
ListInstructions(ListInstructionsRequest, CallSettings)
public override PagedEnumerable<ListInstructionsResponse, Instruction> ListInstructions(ListInstructionsRequest request, CallSettings callSettings = null)
Lists instructions for a project. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListInstructionsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListInstructionsResponse, Instruction> | A pageable sequence of Instruction resources. |
ListInstructionsAsync(ListInstructionsRequest, CallSettings)
public override PagedAsyncEnumerable<ListInstructionsResponse, Instruction> ListInstructionsAsync(ListInstructionsRequest request, CallSettings callSettings = null)
Lists instructions for a project. Pagination is supported.
Parameters | |
---|---|
Name | Description |
request | ListInstructionsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListInstructionsResponse, Instruction> | A pageable asynchronous sequence of Instruction resources. |
PauseEvaluationJob(PauseEvaluationJobRequest, CallSettings)
public override void PauseEvaluationJob(PauseEvaluationJobRequest request, CallSettings callSettings = null)
Pauses an evaluation job. Pausing an evaluation job that is already in a
PAUSED
state is a no-op.
Parameters | |
---|---|
Name | Description |
request | PauseEvaluationJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
PauseEvaluationJobAsync(PauseEvaluationJobRequest, CallSettings)
public override Task PauseEvaluationJobAsync(PauseEvaluationJobRequest request, CallSettings callSettings = null)
Pauses an evaluation job. Pausing an evaluation job that is already in a
PAUSED
state is a no-op.
Parameters | |
---|---|
Name | Description |
request | PauseEvaluationJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
ResumeEvaluationJob(ResumeEvaluationJobRequest, CallSettings)
public override void ResumeEvaluationJob(ResumeEvaluationJobRequest request, CallSettings callSettings = null)
Resumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.
Parameters | |
---|---|
Name | Description |
request | ResumeEvaluationJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
ResumeEvaluationJobAsync(ResumeEvaluationJobRequest, CallSettings)
public override Task ResumeEvaluationJobAsync(ResumeEvaluationJobRequest request, CallSettings callSettings = null)
Resumes a paused evaluation job. A deleted evaluation job can't be resumed. Resuming a running or scheduled evaluation job is a no-op.
Parameters | |
---|---|
Name | Description |
request | ResumeEvaluationJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
SearchEvaluations(SearchEvaluationsRequest, CallSettings)
public override PagedEnumerable<SearchEvaluationsResponse, Evaluation> SearchEvaluations(SearchEvaluationsRequest request, CallSettings callSettings = null)
Searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project.
Parameters | |
---|---|
Name | Description |
request | SearchEvaluationsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<SearchEvaluationsResponse, Evaluation> | A pageable sequence of Evaluation resources. |
SearchEvaluationsAsync(SearchEvaluationsRequest, CallSettings)
public override PagedAsyncEnumerable<SearchEvaluationsResponse, Evaluation> SearchEvaluationsAsync(SearchEvaluationsRequest request, CallSettings callSettings = null)
Searches [evaluations][google.cloud.datalabeling.v1beta1.Evaluation] within a project.
Parameters | |
---|---|
Name | Description |
request | SearchEvaluationsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<SearchEvaluationsResponse, Evaluation> | A pageable asynchronous sequence of Evaluation resources. |
SearchExampleComparisons(SearchExampleComparisonsRequest, CallSettings)
public override PagedEnumerable<SearchExampleComparisonsResponse, SearchExampleComparisonsResponse.Types.ExampleComparison> SearchExampleComparisons(SearchExampleComparisonsRequest request, CallSettings callSettings = null)
Searches example comparisons from an evaluation. The return format is a list of example comparisons that show ground truth and prediction(s) for a single input. Search by providing an evaluation ID.
Parameters | |
---|---|
Name | Description |
request | SearchExampleComparisonsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<SearchExampleComparisonsResponse, SearchExampleComparisonsResponse.Types.ExampleComparison> | A pageable sequence of SearchExampleComparisonsResponse.Types.ExampleComparison resources. |
SearchExampleComparisonsAsync(SearchExampleComparisonsRequest, CallSettings)
public override PagedAsyncEnumerable<SearchExampleComparisonsResponse, SearchExampleComparisonsResponse.Types.ExampleComparison> SearchExampleComparisonsAsync(SearchExampleComparisonsRequest request, CallSettings callSettings = null)
Searches example comparisons from an evaluation. The return format is a list of example comparisons that show ground truth and prediction(s) for a single input. Search by providing an evaluation ID.
Parameters | |
---|---|
Name | Description |
request | SearchExampleComparisonsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<SearchExampleComparisonsResponse, SearchExampleComparisonsResponse.Types.ExampleComparison> | A pageable asynchronous sequence of SearchExampleComparisonsResponse.Types.ExampleComparison resources. |
UpdateEvaluationJob(UpdateEvaluationJobRequest, CallSettings)
public override EvaluationJob UpdateEvaluationJob(UpdateEvaluationJobRequest request, CallSettings callSettings = null)
Updates an evaluation job. You can only update certain fields of the job's
[EvaluationJobConfig][google.cloud.datalabeling.v1beta1.EvaluationJobConfig]: humanAnnotationConfig.instruction
,
exampleCount
, and exampleSamplePercentage
.
If you want to change any other aspect of the evaluation job, you must delete the job and create a new one.
Parameters | |
---|---|
Name | Description |
request | UpdateEvaluationJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
EvaluationJob | The RPC response. |
UpdateEvaluationJobAsync(UpdateEvaluationJobRequest, CallSettings)
public override Task<EvaluationJob> UpdateEvaluationJobAsync(UpdateEvaluationJobRequest request, CallSettings callSettings = null)
Updates an evaluation job. You can only update certain fields of the job's
[EvaluationJobConfig][google.cloud.datalabeling.v1beta1.EvaluationJobConfig]: humanAnnotationConfig.instruction
,
exampleCount
, and exampleSamplePercentage
.
If you want to change any other aspect of the evaluation job, you must delete the job and create a new one.
Parameters | |
---|---|
Name | Description |
request | UpdateEvaluationJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<EvaluationJob> | A Task containing the RPC response. |