import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * 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. */ export declare class Annotation extends pulumi.CustomResource { /** * Get an existing Annotation resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Annotation; /** * Returns true if the given object is an instance of Annotation. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Annotation; /** * Details of the source. */ readonly annotationSource: pulumi.Output; readonly annotationStoreId: pulumi.Output; /** * Additional information for this annotation record, such as annotator and verifier information or study campaign. */ readonly customData: pulumi.Output<{ [key: string]: string; }>; readonly datasetId: pulumi.Output; /** * Annotations for images. For example, bounding polygons. */ readonly imageAnnotation: pulumi.Output; readonly location: pulumi.Output; /** * Resource name of the Annotation, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{annotation_store_id}/annotations/{annotation_id}`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Annotations for resource. For example, classification tags. */ readonly resourceAnnotation: pulumi.Output; /** * Annotations for sensitive texts. For example, a range that describes the location of sensitive text. */ readonly textAnnotation: pulumi.Output; /** * Create a Annotation resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AnnotationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Annotation resource. */ export interface AnnotationArgs { /** * Details of the source. */ annotationSource?: pulumi.Input; annotationStoreId: pulumi.Input; /** * Additional information for this annotation record, such as annotator and verifier information or study campaign. */ customData?: pulumi.Input<{ [key: string]: pulumi.Input; }>; datasetId: pulumi.Input; /** * Annotations for images. For example, bounding polygons. */ imageAnnotation?: pulumi.Input; location?: pulumi.Input; /** * Resource name of the Annotation, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationStores/{annotation_store_id}/annotations/{annotation_id}`. */ name?: pulumi.Input; project?: pulumi.Input; /** * Annotations for resource. For example, classification tags. */ resourceAnnotation?: pulumi.Input; /** * Annotations for sensitive texts. For example, a range that describes the location of sensitive text. */ textAnnotation?: pulumi.Input; }