Google Native
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:
- Agent
Id string - Display
Name string The human-readable name of the environment (unique in an agent). Limit of 64 characters.
- Version
Configs List<Pulumi.Google Native. Dialogflow. V3. Inputs. Google Cloud Dialogflow Cx V3Environment Version Config Args> 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
- Test
Cases Pulumi.Config Google Native. Dialogflow. V3. Inputs. Google Cloud Dialogflow Cx V3Environment Test Cases Config Args The test cases config for continuous tests of this environment.
- Agent
Id string - Display
Name string The human-readable name of the environment (unique in an agent). Limit of 64 characters.
- Version
Configs []GoogleCloud Dialogflow Cx V3Environment Version Config Args 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
- Test
Cases GoogleConfig Cloud Dialogflow Cx V3Environment Test Cases Config Args The test cases config for continuous tests of this environment.
- agent
Id String - display
Name String The human-readable name of the environment (unique in an agent). Limit of 64 characters.
- version
Configs ListCloud Dialogflow Cx V3Environment Version Config Args> 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
- test
Cases GoogleConfig Cloud Dialogflow Cx V3Environment Test Cases Config Args The test cases config for continuous tests of this environment.
- agent
Id string - display
Name string The human-readable name of the environment (unique in an agent). Limit of 64 characters.
- version
Configs GoogleCloud Dialogflow Cx V3Environment Version Config Args[] 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
- test
Cases GoogleConfig Cloud Dialogflow Cx V3Environment Test Cases Config Args 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[GoogleCloud Dialogflow Cx V3Environment Version Config Args] 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_ Googleconfig Cloud Dialogflow Cx V3Environment Test Cases Config Args The test cases config for continuous tests of this environment.
- agent
Id String - display
Name String The human-readable name of the environment (unique in an agent). Limit of 64 characters.
- version
Configs 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
- test
Cases Property MapConfig 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.
- Update
Time string Update time of this environment.
- Id string
The provider-assigned unique ID for this managed resource.
- Update
Time string Update time of this environment.
- id String
The provider-assigned unique ID for this managed resource.
- update
Time String Update time of this environment.
- id string
The provider-assigned unique ID for this managed resource.
- update
Time 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.
- update
Time String Update time of this environment.
Supporting Types
GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
- Enable
Continuous boolRun Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
- Enable
Predeployment boolRun Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
- Test
Cases 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/
- Enable
Continuous boolRun Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
- Enable
Predeployment boolRun Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
- Test
Cases []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 BooleanRun Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
- enable
Predeployment BooleanRun Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
- test
Cases 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/
- enable
Continuous booleanRun Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
- enable
Predeployment booleanRun Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
- test
Cases 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_ boolrun Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
- enable_
predeployment_ boolrun 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/
- enable
Continuous BooleanRun Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
- enable
Predeployment BooleanRun Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
- test
Cases 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
- Enable
Continuous boolRun Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
- Enable
Predeployment boolRun Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
- Test
Cases 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/
- Enable
Continuous boolRun Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
- Enable
Predeployment boolRun Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
- Test
Cases []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 BooleanRun Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
- enable
Predeployment BooleanRun Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
- test
Cases 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/
- enable
Continuous booleanRun Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
- enable
Predeployment booleanRun Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
- test
Cases 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_ boolrun Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
- enable_
predeployment_ boolrun 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/
- enable
Continuous BooleanRun Whether to run test cases in TestCasesConfig.test_cases periodically. Default false. If set to true, run once a day.
- enable
Predeployment BooleanRun Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment. Default false.
- test
Cases 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