Google Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Thursday, May 19, 2022 by Pulumi

Environment

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

Create a Environment Resource

new Environment(name: string, args: EnvironmentArgs, opts?: CustomResourceOptions);
@overload
def Environment(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                agent_id: Optional[str] = None,
                description: Optional[str] = None,
                display_name: Optional[str] = None,
                location: Optional[str] = None,
                name: Optional[str] = None,
                project: Optional[str] = None,
                test_cases_config: Optional[GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigArgs] = None,
                version_configs: Optional[Sequence[GoogleCloudDialogflowCxV3EnvironmentVersionConfigArgs]] = None)
@overload
def Environment(resource_name: str,
                args: EnvironmentArgs,
                opts: Optional[ResourceOptions] = None)
func NewEnvironment(ctx *Context, name string, args EnvironmentArgs, opts ...ResourceOption) (*Environment, error)
public Environment(string name, EnvironmentArgs args, CustomResourceOptions? opts = null)
public Environment(String name, EnvironmentArgs args)
public Environment(String name, EnvironmentArgs args, CustomResourceOptions options)
type: google-native:dialogflow/v3:Environment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args EnvironmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args EnvironmentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args EnvironmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args EnvironmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args EnvironmentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Environment Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Environment resource accepts the following input properties:

AgentId string
DisplayName string

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

VersionConfigs List<Pulumi.GoogleNative.Dialogflow.V3.Inputs.GoogleCloudDialogflowCxV3EnvironmentVersionConfigArgs>

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.

Description string

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

Location string
Name string

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

Project string
TestCasesConfig Pulumi.GoogleNative.Dialogflow.V3.Inputs.GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigArgs

The test cases config for continuous tests of this environment.

AgentId string
DisplayName string

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

VersionConfigs []GoogleCloudDialogflowCxV3EnvironmentVersionConfigArgs

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.

Description string

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

Location string
Name string

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

Project string
TestCasesConfig GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigArgs

The test cases config for continuous tests of this environment.

agentId String
displayName String

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

versionConfigs ListCloudDialogflowCxV3EnvironmentVersionConfigArgs>

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.

description String

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

location String
name String

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

project String
testCasesConfig GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigArgs

The test cases config for continuous tests of this environment.

agentId string
displayName string

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

versionConfigs GoogleCloudDialogflowCxV3EnvironmentVersionConfigArgs[]

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.

description string

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

location string
name string

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

project string
testCasesConfig GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigArgs

The test cases config for continuous tests of this environment.

agent_id str
display_name str

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

version_configs Sequence[GoogleCloudDialogflowCxV3EnvironmentVersionConfigArgs]

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.

description str

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

location str
name str

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

project str
test_cases_config GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigArgs

The test cases config for continuous tests of this environment.

agentId String
displayName String

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

versionConfigs List

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.

description String

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

location String
name String

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

project String
testCasesConfig Property Map

The test cases config for continuous tests of this environment.

Outputs

All input properties are implicitly available as output properties. Additionally, the Environment resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

UpdateTime string

Update time of this environment.

Id string

The provider-assigned unique ID for this managed resource.

UpdateTime string

Update time of this environment.

id String

The provider-assigned unique ID for this managed resource.

updateTime String

Update time of this environment.

id string

The provider-assigned unique ID for this managed resource.

updateTime string

Update time of this environment.

id str

The provider-assigned unique ID for this managed resource.

update_time str

Update time of this environment.

id String

The provider-assigned unique ID for this managed resource.

updateTime String

Update time of this environment.

Supporting Types

GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig

EnableContinuousRun bool

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

EnablePredeploymentRun bool

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

TestCases List<string>

A list of test case names to run. They should be under the same agent. Format of each test case name: projects//locations/ /agents//testCases/

EnableContinuousRun bool

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

EnablePredeploymentRun bool

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

TestCases []string

A list of test case names to run. They should be under the same agent. Format of each test case name: projects//locations/ /agents//testCases/

enableContinuousRun Boolean

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

enablePredeploymentRun Boolean

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

testCases List

A list of test case names to run. They should be under the same agent. Format of each test case name: projects//locations/ /agents//testCases/

enableContinuousRun boolean

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

enablePredeploymentRun boolean

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

testCases string[]

A list of test case names to run. They should be under the same agent. Format of each test case name: projects//locations/ /agents//testCases/

enable_continuous_run bool

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

enable_predeployment_run bool

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

test_cases Sequence[str]

A list of test case names to run. They should be under the same agent. Format of each test case name: projects//locations/ /agents//testCases/

enableContinuousRun Boolean

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

enablePredeploymentRun Boolean

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

testCases List

A list of test case names to run. They should be under the same agent. Format of each test case name: projects//locations/ /agents//testCases/

GoogleCloudDialogflowCxV3EnvironmentTestCasesConfigResponse

EnableContinuousRun bool

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

EnablePredeploymentRun bool

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

TestCases List<string>

A list of test case names to run. They should be under the same agent. Format of each test case name: projects//locations/ /agents//testCases/

EnableContinuousRun bool

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

EnablePredeploymentRun bool

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

TestCases []string

A list of test case names to run. They should be under the same agent. Format of each test case name: projects//locations/ /agents//testCases/

enableContinuousRun Boolean

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

enablePredeploymentRun Boolean

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

testCases List

A list of test case names to run. They should be under the same agent. Format of each test case name: projects//locations/ /agents//testCases/

enableContinuousRun boolean

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

enablePredeploymentRun boolean

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

testCases string[]

A list of test case names to run. They should be under the same agent. Format of each test case name: projects//locations/ /agents//testCases/

enable_continuous_run bool

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

enable_predeployment_run bool

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

test_cases Sequence[str]

A list of test case names to run. They should be under the same agent. Format of each test case name: projects//locations/ /agents//testCases/

enableContinuousRun Boolean

Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.

enablePredeploymentRun Boolean

Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.

testCases List

A list of test case names to run. They should be under the same agent. Format of each test case name: projects//locations/ /agents//testCases/

GoogleCloudDialogflowCxV3EnvironmentVersionConfig

Version string

Format: projects//locations//agents//flows//versions/.

Version string

Format: projects//locations//agents//flows//versions/.

version String

Format: projects//locations//agents//flows//versions/.

version string

Format: projects//locations//agents//flows//versions/.

version str

Format: projects//locations//agents//flows//versions/.

version String

Format: projects//locations//agents//flows//versions/.

GoogleCloudDialogflowCxV3EnvironmentVersionConfigResponse

Version string

Format: projects//locations//agents//flows//versions/.

Version string

Format: projects//locations//agents//flows//versions/.

version String

Format: projects//locations//agents//flows//versions/.

version string

Format: projects//locations//agents//flows//versions/.

version str

Format: projects//locations//agents//flows//versions/.

version String

Format: projects//locations//agents//flows//versions/.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0