import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a DataLabelingJob. * Auto-naming is currently not supported for this resource. */ export declare class DataLabelingJob extends pulumi.CustomResource { /** * Get an existing DataLabelingJob 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): DataLabelingJob; /** * Returns true if the given object is an instance of DataLabelingJob. 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 DataLabelingJob; /** * Parameters that configure the active learning pipeline. Active learning will label the data incrementally via several iterations. For every iteration, it will select a batch of data based on the sampling strategy. */ readonly activeLearningConfig: pulumi.Output; /** * Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. */ readonly annotationLabels: pulumi.Output<{ [key: string]: string; }>; /** * Timestamp when this DataLabelingJob was created. */ readonly createTime: pulumi.Output; /** * Estimated cost(in US dollars) that the DataLabelingJob has incurred to date. */ readonly currentSpend: pulumi.Output; /** * Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */ readonly datasets: pulumi.Output; /** * The user-defined name of the DataLabelingJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. Display name of a DataLabelingJob. */ readonly displayName: pulumi.Output; /** * Customer-managed encryption key spec for a DataLabelingJob. If set, this DataLabelingJob will be secured by this key. Note: Annotations created in the DataLabelingJob are associated with the EncryptionSpec of the Dataset they are exported to. */ readonly encryptionSpec: pulumi.Output; /** * DataLabelingJob errors. It is only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. */ readonly error: pulumi.Output; /** * Input config parameters for the DataLabelingJob. */ readonly inputs: pulumi.Output; /** * Points to a YAML file stored on Google Cloud Storage describing the config for a specific type of DataLabelingJob. The schema files that can be used here are found in the https://storage.googleapis.com/google-cloud-aiplatform bucket in the /schema/datalabelingjob/inputs/ folder. */ readonly inputsSchemaUri: pulumi.Output; /** * The Google Cloud Storage location of the instruction pdf. This pdf is shared with labelers, and provides detailed description on how to label DataItems in Datasets. */ readonly instructionUri: pulumi.Output; /** * Number of labelers to work on each DataItem. */ readonly labelerCount: pulumi.Output; /** * Current labeling job progress percentage scaled in interval [0, 100], indicating the percentage of DataItems that has been finished. */ readonly labelingProgress: pulumi.Output; /** * The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each DataLabelingJob: * "aiplatform.googleapis.com/schema": output only, its value is the inputs_schema's title. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Resource name of the DataLabelingJob. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The SpecialistPools' resource names associated with this job. */ readonly specialistPools: pulumi.Output; /** * The detailed state of the job. */ readonly state: pulumi.Output; /** * Timestamp when this DataLabelingJob was updated most recently. */ readonly updateTime: pulumi.Output; /** * Create a DataLabelingJob 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: DataLabelingJobArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DataLabelingJob resource. */ export interface DataLabelingJobArgs { /** * Parameters that configure the active learning pipeline. Active learning will label the data incrementally via several iterations. For every iteration, it will select a batch of data based on the sampling strategy. */ activeLearningConfig?: pulumi.Input; /** * Labels to assign to annotations generated by this DataLabelingJob. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. */ annotationLabels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Dataset resource names. Right now we only support labeling from a single Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */ datasets: pulumi.Input[]>; /** * The user-defined name of the DataLabelingJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. Display name of a DataLabelingJob. */ displayName: pulumi.Input; /** * Customer-managed encryption key spec for a DataLabelingJob. If set, this DataLabelingJob will be secured by this key. Note: Annotations created in the DataLabelingJob are associated with the EncryptionSpec of the Dataset they are exported to. */ encryptionSpec?: pulumi.Input; /** * Input config parameters for the DataLabelingJob. */ inputs: any; /** * Points to a YAML file stored on Google Cloud Storage describing the config for a specific type of DataLabelingJob. The schema files that can be used here are found in the https://storage.googleapis.com/google-cloud-aiplatform bucket in the /schema/datalabelingjob/inputs/ folder. */ inputsSchemaUri: pulumi.Input; /** * The Google Cloud Storage location of the instruction pdf. This pdf is shared with labelers, and provides detailed description on how to label DataItems in Datasets. */ instructionUri: pulumi.Input; /** * Number of labelers to work on each DataItem. */ labelerCount: pulumi.Input; /** * The labels with user-defined metadata to organize your DataLabelingJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each DataLabelingJob: * "aiplatform.googleapis.com/schema": output only, its value is the inputs_schema's title. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; project?: pulumi.Input; /** * The SpecialistPools' resource names associated with this job. */ specialistPools?: pulumi.Input[]>; }