Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.dialogflow/v3beta1.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/v3beta1:Version
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VersionArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. VersionArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VersionArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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 exampleversionResourceResourceFromDialogflowv3beta1 = new GoogleNative.Dialogflow.V3Beta1.Version("exampleversionResourceResourceFromDialogflowv3beta1", new()
{
AgentId = "string",
DisplayName = "string",
FlowId = "string",
Description = "string",
Location = "string",
Name = "string",
Project = "string",
});
example, err := dialogflowv3beta1.NewVersion(ctx, "exampleversionResourceResourceFromDialogflowv3beta1", &dialogflowv3beta1.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 exampleversionResourceResourceFromDialogflowv3beta1 = new Version("exampleversionResourceResourceFromDialogflowv3beta1", VersionArgs.builder()
.agentId("string")
.displayName("string")
.flowId("string")
.description("string")
.location("string")
.name("string")
.project("string")
.build());
exampleversion_resource_resource_from_dialogflowv3beta1 = google_native.dialogflow.v3beta1.Version("exampleversionResourceResourceFromDialogflowv3beta1",
agent_id="string",
display_name="string",
flow_id="string",
description="string",
location="string",
name="string",
project="string")
const exampleversionResourceResourceFromDialogflowv3beta1 = new google_native.dialogflow.v3beta1.Version("exampleversionResourceResourceFromDialogflowv3beta1", {
agentId: "string",
displayName: "string",
flowId: "string",
description: "string",
location: "string",
name: "string",
project: "string",
});
type: google-native:dialogflow/v3beta1: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:
- Agent
Id This property is required. Changes to this property will trigger replacement.
- Display
Name This property is required. string - The human-readable name of the version. Limit of 64 characters.
- Flow
Id This property is required. Changes to this property will trigger replacement.
- Description string
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
- Location
Changes to this property will trigger replacement.
- Name string
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
- Project
Changes to this property will trigger replacement.
- Agent
Id This property is required. Changes to this property will trigger replacement.
- Display
Name This property is required. string - The human-readable name of the version. Limit of 64 characters.
- Flow
Id This property is required. Changes to this property will trigger replacement.
- Description string
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
- Location
Changes to this property will trigger replacement.
- Name string
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
- Project
Changes to this property will trigger replacement.
- agent
Id This property is required. Changes to this property will trigger replacement.
- display
Name This property is required. String - The human-readable name of the version. Limit of 64 characters.
- flow
Id This property is required. Changes to this property will trigger replacement.
- description String
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
- location
Changes to this property will trigger replacement.
- name String
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
- project
Changes to this property will trigger replacement.
- agent
Id This property is required. Changes to this property will trigger replacement.
- display
Name This property is required. string - The human-readable name of the version. Limit of 64 characters.
- flow
Id This property is required. Changes to this property will trigger replacement.
- description string
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
- location
Changes to this property will trigger replacement.
- name string
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
- project
Changes to this property will trigger replacement.
- agent_
id This property is required. Changes to this property will trigger replacement.
- display_
name This property is required. str - The human-readable name of the version. Limit of 64 characters.
- flow_
id This property is required. Changes to this property will trigger replacement.
- description str
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
- location
Changes to this property will trigger replacement.
- name str
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
- project
Changes to this property will trigger replacement.
- agent
Id This property is required. Changes to this property will trigger replacement.
- display
Name This property is required. String - The human-readable name of the version. Limit of 64 characters.
- flow
Id This property is required. Changes to this property will trigger replacement.
- description String
- The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.
- location
Changes to this property will trigger replacement.
- name String
- Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
- project
Changes to this property will trigger replacement.
Outputs
All input properties are implicitly available as output properties. Additionally, the Version resource produces the following output properties:
- Create
Time string - Create time of the version.
- Id string
- The provider-assigned unique ID for this managed resource.
- Nlu
Settings Pulumi.Google Native. Dialogflow. V3Beta1. Outputs. Google Cloud Dialogflow Cx V3beta1Nlu 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 string - Create time of the version.
- Id string
- The provider-assigned unique ID for this managed resource.
- Nlu
Settings GoogleCloud Dialogflow Cx V3beta1Nlu 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 String - Create time of the version.
- id String
- The provider-assigned unique ID for this managed resource.
- nlu
Settings GoogleCloud Dialogflow Cx V3beta1Nlu 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 string - Create time of the version.
- id string
- The provider-assigned unique ID for this managed resource.
- nlu
Settings GoogleCloud Dialogflow Cx V3beta1Nlu 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 V3beta1Nlu 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.
- create
Time String - Create time of the version.
- id String
- The provider-assigned unique ID for this managed resource.
- nlu
Settings 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
GoogleCloudDialogflowCxV3beta1NluSettingsResponse, GoogleCloudDialogflowCxV3beta1NluSettingsResponseArgs
- Classification
Threshold This property is required. 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.
- Model
Training Mode This property is required. string - Indicates NLU model training mode.
- Model
Type This property is required. string - Indicates the type of NLU model.
- Classification
Threshold This property is required. 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.
- Model
Training Mode This property is required. string - Indicates NLU model training mode.
- Model
Type This property is required. string - Indicates the type of NLU model.
- classification
Threshold This property is required. 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.
- model
Training Mode This property is required. String - Indicates NLU model training mode.
- model
Type This property is required. String - Indicates the type of NLU model.
- classification
Threshold This property is required. 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.
- model
Training Mode This property is required. string - Indicates NLU model training mode.
- model
Type This property is required. string - Indicates the type of NLU model.
- classification_
threshold This property is required. 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_ mode This property is required. str - Indicates NLU model training mode.
- model_
type This property is required. str - Indicates the type of NLU model.
- classification
Threshold This property is required. 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.
- model
Training Mode This property is required. String - Indicates NLU model training mode.
- model
Type This property is required. 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.