import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates an analysis. The long running operation is done when the analysis has completed. */ export declare class Analysis extends pulumi.CustomResource { /** * Get an existing Analysis 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): Analysis; /** * Returns true if the given object is an instance of Analysis. 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 Analysis; /** * The result of the analysis, which is populated when the analysis finishes. */ readonly analysisResult: pulumi.Output; /** * To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run. */ readonly annotatorSelector: pulumi.Output; readonly conversationId: pulumi.Output; /** * The time at which the analysis was created, which occurs when the long-running operation completes. */ readonly createTime: pulumi.Output; readonly location: pulumi.Output; /** * Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The time at which the analysis was requested. */ readonly requestTime: pulumi.Output; /** * Create a Analysis 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: AnalysisArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Analysis resource. */ export interface AnalysisArgs { /** * To select the annotators to run and the phrase matchers to use (if any). If not specified, all annotators will be run. */ annotatorSelector?: pulumi.Input; conversationId: pulumi.Input; location?: pulumi.Input; /** * Immutable. The resource name of the analysis. Format: projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} */ name?: pulumi.Input; project?: pulumi.Input; }