AnnotationArgs

data class AnnotationArgs(val annotationSource: Output<AnnotationSourceArgs>? = null, val annotationStoreId: Output<String>? = null, val customData: Output<Map<String, String>>? = null, val datasetId: Output<String>? = null, val imageAnnotation: Output<ImageAnnotationArgs>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val resourceAnnotation: Output<ResourceAnnotationArgs>? = null, val textAnnotation: Output<SensitiveTextAnnotationArgs>? = null) : ConvertibleToJava<AnnotationArgs>

Creates a new Annotation record. It is valid to create Annotation objects for the same source more than once since a unique ID is assigned to each record by this service.

Constructors

Link copied to clipboard
fun AnnotationArgs(annotationSource: Output<AnnotationSourceArgs>? = null, annotationStoreId: Output<String>? = null, customData: Output<Map<String, String>>? = null, datasetId: Output<String>? = null, imageAnnotation: Output<ImageAnnotationArgs>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, resourceAnnotation: Output<ResourceAnnotationArgs>? = null, textAnnotation: Output<SensitiveTextAnnotationArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AnnotationArgs

Properties

Link copied to clipboard

Details of the source.

Link copied to clipboard
val annotationStoreId: Output<String>? = null
Link copied to clipboard
val customData: Output<Map<String, String>>? = null

Additional information for this annotation record, such as annotator and verifier information or study campaign.

Link copied to clipboard
val datasetId: Output<String>? = null
Link copied to clipboard

Annotations for images. For example, bounding polygons.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

Resource name of the Annotation, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{annotation_store_id}/annotations/{annotation_id}.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard

Annotations for resource. For example, classification tags.

Link copied to clipboard

Annotations for sensitive texts. For example, a range that describes the location of sensitive text.