Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.dialogflow/v3.Version
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a Version in the specified Flow. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: CreateVersionOperationMetadata - response: Version
Create Version Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Version(name: string, args: VersionArgs, opts?: CustomResourceOptions);@overload
def Version(resource_name: str,
            args: VersionArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Version(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            agent_id: Optional[str] = None,
            display_name: Optional[str] = None,
            flow_id: Optional[str] = None,
            description: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None)func NewVersion(ctx *Context, name string, args VersionArgs, opts ...ResourceOption) (*Version, error)public Version(string name, VersionArgs args, CustomResourceOptions? opts = null)
public Version(String name, VersionArgs args)
public Version(String name, VersionArgs args, CustomResourceOptions options)
type: google-native:dialogflow/v3:Version
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VersionArgs
- 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 VersionArgs
- 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 VersionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VersionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VersionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleversionResourceResourceFromDialogflowv3 = new GoogleNative.Dialogflow.V3.Version("exampleversionResourceResourceFromDialogflowv3", new()
{
    AgentId = "string",
    DisplayName = "string",
    FlowId = "string",
    Description = "string",
    Location = "string",
    Name = "string",
    Project = "string",
});
example, err := dialogflowv3.NewVersion(ctx, "exampleversionResourceResourceFromDialogflowv3", &dialogflowv3.VersionArgs{
	AgentId:     pulumi.String("string"),
	DisplayName: pulumi.String("string"),
	FlowId:      pulumi.String("string"),
	Description: pulumi.String("string"),
	Location:    pulumi.String("string"),
	Name:        pulumi.String("string"),
	Project:     pulumi.String("string"),
})
var exampleversionResourceResourceFromDialogflowv3 = new Version("exampleversionResourceResourceFromDialogflowv3", VersionArgs.builder()
    .agentId("string")
    .displayName("string")
    .flowId("string")
    .description("string")
    .location("string")
    .name("string")
    .project("string")
    .build());
exampleversion_resource_resource_from_dialogflowv3 = google_native.dialogflow.v3.Version("exampleversionResourceResourceFromDialogflowv3",
    agent_id="string",
    display_name="string",
    flow_id="string",
    description="string",
    location="string",
    name="string",
    project="string")
const exampleversionResourceResourceFromDialogflowv3 = new google_native.dialogflow.v3.Version("exampleversionResourceResourceFromDialogflowv3", {
    agentId: "string",
    displayName: "string",
    flowId: "string",
    description: "string",
    location: "string",
    name: "string",
    project: "string",
});
type: google-native:dialogflow/v3:Version
properties:
    agentId: string
    description: string
    displayName: string
    flowId: string
    location: string
    name: string
    project: string
Version Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Version resource accepts the following input properties:
- AgentId string
- DisplayName string
- The human-readable name of the version. Limit of 64 characters.
- FlowId string
- Description string
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
- Location string
- Name string
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
- Project string
- AgentId string
- DisplayName string
- The human-readable name of the version. Limit of 64 characters.
- FlowId string
- Description string
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
- Location string
- Name string
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
- Project string
- agentId String
- displayName String
- The human-readable name of the version. Limit of 64 characters.
- flowId String
- description String
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
- location String
- name String
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
- project String
- agentId string
- displayName string
- The human-readable name of the version. Limit of 64 characters.
- flowId string
- description string
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
- location string
- name string
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
- project string
- agent_id str
- display_name str
- The human-readable name of the version. Limit of 64 characters.
- flow_id str
- description str
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
- location str
- name str
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
- project str
- agentId String
- displayName String
- The human-readable name of the version. Limit of 64 characters.
- flowId String
- description String
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
- location String
- name String
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Version resource produces the following output properties:
- CreateTime string
- Create time of the version.
- Id string
- The provider-assigned unique ID for this managed resource.
- NluSettings Pulumi.Google Native. Dialogflow. V3. Outputs. Google Cloud Dialogflow Cx V3Nlu Settings Response 
- The NLU settings of the flow at version creation.
- State string
- The state of this version. This field is read-only and cannot be set by create and update methods.
- CreateTime string
- Create time of the version.
- Id string
- The provider-assigned unique ID for this managed resource.
- NluSettings GoogleCloud Dialogflow Cx V3Nlu Settings Response 
- The NLU settings of the flow at version creation.
- State string
- The state of this version. This field is read-only and cannot be set by create and update methods.
- createTime String
- Create time of the version.
- id String
- The provider-assigned unique ID for this managed resource.
- nluSettings GoogleCloud Dialogflow Cx V3Nlu Settings Response 
- The NLU settings of the flow at version creation.
- state String
- The state of this version. This field is read-only and cannot be set by create and update methods.
- createTime string
- Create time of the version.
- id string
- The provider-assigned unique ID for this managed resource.
- nluSettings GoogleCloud Dialogflow Cx V3Nlu Settings Response 
- The NLU settings of the flow at version creation.
- state string
- The state of this version. This field is read-only and cannot be set by create and update methods.
- create_time str
- Create time of the version.
- id str
- The provider-assigned unique ID for this managed resource.
- nlu_settings GoogleCloud Dialogflow Cx V3Nlu Settings Response 
- The NLU settings of the flow at version creation.
- state str
- The state of this version. This field is read-only and cannot be set by create and update methods.
- createTime String
- Create time of the version.
- id String
- The provider-assigned unique ID for this managed resource.
- nluSettings Property Map
- The NLU settings of the flow at version creation.
- state String
- The state of this version. This field is read-only and cannot be set by create and update methods.
Supporting Types
GoogleCloudDialogflowCxV3NluSettingsResponse, GoogleCloudDialogflowCxV3NluSettingsResponseArgs              
- ClassificationThreshold double
- To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
- ModelTraining stringMode 
- Indicates NLU model training mode.
- ModelType string
- Indicates the type of NLU model.
- ClassificationThreshold float64
- To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
- ModelTraining stringMode 
- Indicates NLU model training mode.
- ModelType string
- Indicates the type of NLU model.
- classificationThreshold Double
- To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
- modelTraining StringMode 
- Indicates NLU model training mode.
- modelType String
- Indicates the type of NLU model.
- classificationThreshold number
- To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
- modelTraining stringMode 
- Indicates NLU model training mode.
- modelType string
- Indicates the type of NLU model.
- classification_threshold float
- To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
- model_training_ strmode 
- Indicates NLU model training mode.
- model_type str
- Indicates the type of NLU model.
- classificationThreshold Number
- To filter out false positive results and still get variety in matched natural language inputs for your agent, you can tune the machine learning classification threshold. If the returned score value is less than the threshold value, then a no-match event will be triggered. The score values range from 0.0 (completely uncertain) to 1.0 (completely certain). If set to 0.0, the default of 0.3 is used.
- modelTraining StringMode 
- Indicates NLU model training mode.
- modelType String
- Indicates the type of NLU model.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.