GoogleCloudDatalabelingV1beta1InputConfig
import type { GoogleCloudDatalabelingV1beta1InputConfig } from "https://googleapis.deno.dev/v1/datalabeling:v1beta1.ts";
The configuration of input data, including data type, location, etc.
interface GoogleCloudDatalabelingV1beta1InputConfig {
annotationType?:
| "ANNOTATION_TYPE_UNSPECIFIED"
| "IMAGE_CLASSIFICATION_ANNOTATION"
| "IMAGE_BOUNDING_BOX_ANNOTATION"
| "IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION"
| "IMAGE_BOUNDING_POLY_ANNOTATION"
| "IMAGE_POLYLINE_ANNOTATION"
| "IMAGE_SEGMENTATION_ANNOTATION"
| "VIDEO_SHOTS_CLASSIFICATION_ANNOTATION"
| "VIDEO_OBJECT_TRACKING_ANNOTATION"
| "VIDEO_OBJECT_DETECTION_ANNOTATION"
| "VIDEO_EVENT_ANNOTATION"
| "TEXT_CLASSIFICATION_ANNOTATION"
| "TEXT_ENTITY_EXTRACTION_ANNOTATION"
| "GENERAL_CLASSIFICATION_ANNOTATION";
bigquerySource?: GoogleCloudDatalabelingV1beta1BigQuerySource;
classificationMetadata?: GoogleCloudDatalabelingV1beta1ClassificationMetadata;
dataType?:
| "DATA_TYPE_UNSPECIFIED"
| "IMAGE"
| "VIDEO"
| "TEXT"
| "GENERAL_DATA";
gcsSource?: GoogleCloudDatalabelingV1beta1GcsSource;
textMetadata?: GoogleCloudDatalabelingV1beta1TextMetadata;
}§Properties
§
annotationType?: "ANNOTATION_TYPE_UNSPECIFIED" | "IMAGE_CLASSIFICATION_ANNOTATION" | "IMAGE_BOUNDING_BOX_ANNOTATION" | "IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION" | "IMAGE_BOUNDING_POLY_ANNOTATION" | "IMAGE_POLYLINE_ANNOTATION" | "IMAGE_SEGMENTATION_ANNOTATION" | "VIDEO_SHOTS_CLASSIFICATION_ANNOTATION" | "VIDEO_OBJECT_TRACKING_ANNOTATION" | "VIDEO_OBJECT_DETECTION_ANNOTATION" | "VIDEO_EVENT_ANNOTATION" | "TEXT_CLASSIFICATION_ANNOTATION" | "TEXT_ENTITY_EXTRACTION_ANNOTATION" | "GENERAL_CLASSIFICATION_ANNOTATION"
[src]Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.
§
bigquerySource?: GoogleCloudDatalabelingV1beta1BigQuerySource
[src]Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
§
classificationMetadata?: GoogleCloudDatalabelingV1beta1ClassificationMetadata
[src]Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
§
dataType?: "DATA_TYPE_UNSPECIFIED" | "IMAGE" | "VIDEO" | "TEXT" | "GENERAL_DATA"
[src]Required. Data type must be specifed when user tries to import data.
§
gcsSource?: GoogleCloudDatalabelingV1beta1GcsSource
[src]Source located in Cloud Storage.
§
textMetadata?: GoogleCloudDatalabelingV1beta1TextMetadata
[src]Required for text import, as language code must be specified.