EnvironmentArgs

data class EnvironmentArgs(val agentId: Output<String>? = null, val description: Output<String>? = null, val displayName: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val testCasesConfig: Output<GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigArgs>? = null, val versionConfigs: Output<List<GoogleCloudDialogflowCxV3EnvironmentVersionConfigArgs>>? = null, val webhookConfig: Output<GoogleCloudDialogflowCxV3EnvironmentWebhookConfigArgs>? = null) : ConvertibleToJava<EnvironmentArgs>

Creates an Environment in the specified Agent. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: An empty Struct message - response: Environment

Constructors

Link copied to clipboard
fun EnvironmentArgs(agentId: Output<String>? = null, description: Output<String>? = null, displayName: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, testCasesConfig: Output<GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigArgs>? = null, versionConfigs: Output<List<GoogleCloudDialogflowCxV3EnvironmentVersionConfigArgs>>? = null, webhookConfig: Output<GoogleCloudDialogflowCxV3EnvironmentWebhookConfigArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): EnvironmentArgs

Properties

Link copied to clipboard
val agentId: Output<String>? = null
Link copied to clipboard
val description: Output<String>? = null

The human-readable description of the environment. The maximum length is 500 characters. If exceeded, the request is rejected.

Link copied to clipboard
val displayName: Output<String>? = null

The human-readable name of the environment (unique in an agent). Limit of 64 characters.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

The name of the environment. Format: projects//locations//agents//environments/.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard

The test cases config for continuous tests of this environment.

Link copied to clipboard

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.

Link copied to clipboard

The webhook configuration for this environment.