import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Creates a processor from the ProcessorType provided. The processor will be at `ENABLED` state by default after its creation. * Auto-naming is currently not supported for this resource. */ export declare class Processor extends pulumi.CustomResource { /** * Get an existing Processor 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): Processor; /** * Returns true if the given object is an instance of Processor. 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 Processor; /** * The time the processor was created. */ readonly createTime: pulumi.Output; /** * The default processor version. */ readonly defaultProcessorVersion: pulumi.Output; /** * The display name of the processor. */ readonly displayName: pulumi.Output; /** * The [KMS key](https://cloud.google.com/security-key-management) used for encryption and decryption in CMEK scenarios. */ readonly kmsKeyName: pulumi.Output; readonly location: pulumi.Output; /** * Immutable. The resource name of the processor. Format: `projects/{project}/locations/{location}/processors/{processor}` */ readonly name: pulumi.Output; /** * Immutable. The http endpoint that can be called to invoke processing. */ readonly processEndpoint: pulumi.Output; /** * The processor version aliases. */ readonly processorVersionAliases: pulumi.Output; readonly project: pulumi.Output; /** * The state of the processor. */ readonly state: pulumi.Output; /** * The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. To get a list of processor types, see FetchProcessorTypes. */ readonly type: pulumi.Output; /** * Create a Processor 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?: ProcessorArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Processor resource. */ export interface ProcessorArgs { /** * The time the processor was created. */ createTime?: pulumi.Input; /** * The default processor version. */ defaultProcessorVersion?: pulumi.Input; /** * The display name of the processor. */ displayName?: pulumi.Input; /** * The [KMS key](https://cloud.google.com/security-key-management) used for encryption and decryption in CMEK scenarios. */ kmsKeyName?: pulumi.Input; location?: pulumi.Input; project?: pulumi.Input; /** * The processor type, such as: `OCR_PROCESSOR`, `INVOICE_PROCESSOR`. To get a list of processor types, see FetchProcessorTypes. */ type?: pulumi.Input; }