import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a document schema. */ export declare class DocumentSchema extends pulumi.CustomResource { /** * Get an existing DocumentSchema 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): DocumentSchema; /** * Returns true if the given object is an instance of DocumentSchema. 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 DocumentSchema; /** * The time when the document schema is created. */ readonly createTime: pulumi.Output; /** * Schema description. */ readonly description: pulumi.Output; /** * Name of the schema given by the user. Must be unique per project. */ readonly displayName: pulumi.Output; /** * Document Type, true refers the document is a folder, otherwise it is a typical document. */ readonly documentIsFolder: pulumi.Output; readonly location: pulumi.Output; /** * 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: pulumi.Output; readonly project: pulumi.Output; /** * Document details. */ readonly propertyDefinitions: pulumi.Output; /** * The time when the document schema is last updated. */ readonly updateTime: pulumi.Output; /** * Create a DocumentSchema 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: DocumentSchemaArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DocumentSchema resource. */ export interface DocumentSchemaArgs { /** * Schema description. */ description?: pulumi.Input; /** * Name of the schema given by the user. Must be unique per project. */ displayName: pulumi.Input; /** * Document Type, true refers the document is a folder, otherwise it is a typical document. */ documentIsFolder?: pulumi.Input; location?: pulumi.Input; /** * 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. */ name?: pulumi.Input; project?: pulumi.Input; /** * Document details. */ propertyDefinitions?: pulumi.Input[]>; }