import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Creates a Version in the specified Flow. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: CreateVersionOperationMetadata - `response`: Version */ export declare class Version extends pulumi.CustomResource { /** * Get an existing Version 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): Version; /** * Returns true if the given object is an instance of Version. 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 Version; readonly agentId: pulumi.Output; /** * Create time of the version. */ readonly createTime: pulumi.Output; /** * The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected. */ readonly description: pulumi.Output; /** * The human-readable name of the version. Limit of 64 characters. */ readonly displayName: pulumi.Output; readonly flowId: pulumi.Output; readonly location: pulumi.Output; /** * Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation. */ readonly name: pulumi.Output; /** * The NLU settings of the flow at version creation. */ readonly nluSettings: pulumi.Output; readonly project: pulumi.Output; /** * The state of this version. This field is read-only and cannot be set by create and update methods. */ readonly state: pulumi.Output; /** * Create a Version 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: VersionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Version resource. */ export interface VersionArgs { agentId: pulumi.Input; /** * The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected. */ description?: pulumi.Input; /** * The human-readable name of the version. Limit of 64 characters. */ displayName: pulumi.Input; flowId: pulumi.Input; location?: pulumi.Input; /** * Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation. */ name?: pulumi.Input; project?: pulumi.Input; }