import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates an instruction for how data should be labeled. * Auto-naming is currently not supported for this resource. */ export declare class Instruction extends pulumi.CustomResource { /** * Get an existing Instruction 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): Instruction; /** * Returns true if the given object is an instance of Instruction. 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 Instruction; /** * The names of any related resources that are blocking changes to the instruction. */ readonly blockingResources: pulumi.Output; /** * Creation time of instruction. */ readonly createTime: pulumi.Output; /** * Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data. * * @deprecated Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data. */ readonly csvInstruction: pulumi.Output; /** * The data type of this instruction. */ readonly dataType: pulumi.Output; /** * Optional. User-provided description of the instruction. The description can be up to 10000 characters long. */ readonly description: pulumi.Output; /** * The display name of the instruction. Maximum of 64 characters. */ readonly displayName: pulumi.Output; /** * Instruction resource name, format: projects/{project_id}/instructions/{instruction_id} */ readonly name: pulumi.Output; /** * Instruction from a PDF document. The PDF should be in a Cloud Storage bucket. */ readonly pdfInstruction: pulumi.Output; readonly project: pulumi.Output; /** * Last update time of instruction. */ readonly updateTime: pulumi.Output; /** * Create a Instruction 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: InstructionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Instruction resource. */ export interface InstructionArgs { /** * Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data. * * @deprecated Deprecated: this instruction format is not supported any more. Instruction from a CSV file, such as for classification task. The CSV file should have exact two columns, in the following format: * The first column is labeled data, such as an image reference, text. * The second column is comma separated labels associated with data. */ csvInstruction?: pulumi.Input; /** * The data type of this instruction. */ dataType: pulumi.Input; /** * Optional. User-provided description of the instruction. The description can be up to 10000 characters long. */ description?: pulumi.Input; /** * The display name of the instruction. Maximum of 64 characters. */ displayName: pulumi.Input; /** * Instruction from a PDF document. The PDF should be in a Cloud Storage bucket. */ pdfInstruction?: pulumi.Input; project?: pulumi.Input; }