import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets a document schema. Returns NOT_FOUND if the document schema does not exist. */ export declare function getDocumentSchema(args: GetDocumentSchemaArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetDocumentSchemaArgs { documentSchemaId: string; location: string; project?: string; } export interface GetDocumentSchemaResult { /** * The time when the document schema is created. */ readonly createTime: string; /** * Schema description. */ readonly description: string; /** * Name of the schema given by the user. Must be unique per project. */ readonly displayName: string; /** * Document Type, true refers the document is a folder, otherwise it is a typical document. */ readonly documentIsFolder: boolean; /** * The resource name of the document schema. Format: projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. The name is ignored when creating a document schema. */ readonly name: string; /** * Document details. */ readonly propertyDefinitions: outputs.contentwarehouse.v1.GoogleCloudContentwarehouseV1PropertyDefinitionResponse[]; /** * The time when the document schema is last updated. */ readonly updateTime: string; } /** * Gets a document schema. Returns NOT_FOUND if the document schema does not exist. */ export declare function getDocumentSchemaOutput(args: GetDocumentSchemaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetDocumentSchemaOutputArgs { documentSchemaId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }