import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates an Environment in the specified Agent. 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`: An empty [Struct message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: Environment */ export declare class Environment extends pulumi.CustomResource { /** * Get an existing Environment 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): Environment; /** * Returns true if the given object is an instance of Environment. 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 Environment; readonly agentId: pulumi.Output; /** * The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected. */ readonly description: pulumi.Output; /** * The human-readable name of the environment (unique in an agent). Limit of 64 characters. */ readonly displayName: pulumi.Output; readonly location: pulumi.Output; /** * The name of the environment. Format: `projects//locations//agents//environments/`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The test cases config for continuous tests of this environment. */ readonly testCasesConfig: pulumi.Output; /** * Update time of this environment. */ readonly updateTime: pulumi.Output; /** * A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned. */ readonly versionConfigs: pulumi.Output; /** * The webhook configuration for this environment. */ readonly webhookConfig: pulumi.Output; /** * Create a Environment 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: EnvironmentArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Environment resource. */ export interface EnvironmentArgs { agentId: pulumi.Input; /** * The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected. */ description?: pulumi.Input; /** * The human-readable name of the environment (unique in an agent). Limit of 64 characters. */ displayName: pulumi.Input; location?: pulumi.Input; /** * The name of the environment. Format: `projects//locations//agents//environments/`. */ name?: pulumi.Input; project?: pulumi.Input; /** * The test cases config for continuous tests of this environment. */ testCasesConfig?: pulumi.Input; /** * A list of configurations for flow versions. You should include version configs for all flows that are reachable from `Start Flow` in the agent. Otherwise, an error will be returned. */ versionConfigs?: pulumi.Input[]>; /** * The webhook configuration for this environment. */ webhookConfig?: pulumi.Input; }