import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. */ export declare class DlpJob extends pulumi.CustomResource { /** * Get an existing DlpJob 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): DlpJob; /** * Returns true if the given object is an instance of DlpJob. 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 DlpJob; /** * Time when the job was created. */ readonly createTime: pulumi.Output; /** * Time when the job finished. */ readonly endTime: pulumi.Output; /** * A stream of errors encountered running the job. */ readonly errors: pulumi.Output; /** * Results from inspecting a data source. */ readonly inspectDetails: pulumi.Output; /** * If created by a job trigger, the resource name of the trigger that instantiated the job. */ readonly jobTriggerName: pulumi.Output; /** * The server-assigned name. */ readonly name: pulumi.Output; /** * Results from analyzing risk of a data source. */ readonly riskDetails: pulumi.Output; /** * Time when the job started. */ readonly startTime: pulumi.Output; /** * State of a job. */ readonly state: pulumi.Output; /** * The type of job. */ readonly type: pulumi.Output; /** * Create a DlpJob 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: DlpJobArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DlpJob resource. */ export interface DlpJobArgs { readonly dlpJobsId: pulumi.Input; /** * An inspection job scans a storage repository for InfoTypes. */ readonly inspectJob?: pulumi.Input; /** * The job id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Z\d-_]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one. */ readonly jobId?: pulumi.Input; readonly locationsId: pulumi.Input; readonly projectsId: pulumi.Input; /** * A risk analysis job calculates re-identification risk metrics for a BigQuery table. */ readonly riskJob?: pulumi.Input; }