import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets an instruction by resource name. */ export declare function getInstruction(args: GetInstructionArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetInstructionArgs { instructionId: string; project?: string; } export interface GetInstructionResult { /** * The names of any related resources that are blocking changes to the instruction. */ readonly blockingResources: string[]; /** * Creation time of instruction. */ readonly createTime: string; /** * 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: outputs.datalabeling.v1beta1.GoogleCloudDatalabelingV1beta1CsvInstructionResponse; /** * The data type of this instruction. */ readonly dataType: string; /** * Optional. User-provided description of the instruction. The description can be up to 10000 characters long. */ readonly description: string; /** * The display name of the instruction. Maximum of 64 characters. */ readonly displayName: string; /** * Instruction resource name, format: projects/{project_id}/instructions/{instruction_id} */ readonly name: string; /** * Instruction from a PDF document. The PDF should be in a Cloud Storage bucket. */ readonly pdfInstruction: outputs.datalabeling.v1beta1.GoogleCloudDatalabelingV1beta1PdfInstructionResponse; /** * Last update time of instruction. */ readonly updateTime: string; } /** * Gets an instruction by resource name. */ export declare function getInstructionOutput(args: GetInstructionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetInstructionOutputArgs { instructionId: pulumi.Input; project?: pulumi.Input; }