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 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 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 string - Display
Name string - The human-readable name of the version. Limit of 64 characters.
- Flow
Id 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 string - Display
Name string - The human-readable name of the version. Limit of 64 characters.
- Flow
Id 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 String - display
Name String - The human-readable name of the version. Limit of 64 characters.
- flow
Id 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 string - display
Name string - The human-readable name of the version. Limit of 64 characters.
- flow
Id 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
- agent
Id String - display
Name String - The human-readable name of the version. Limit of 64 characters.
- flow
Id 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:
- 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 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 stringMode - Indicates NLU model training mode.
- Model
Type string - Indicates the type of NLU model.
- Classification
Threshold 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 stringMode - Indicates NLU model training mode.
- Model
Type string - Indicates the type of NLU model.
- classification
Threshold 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 StringMode - Indicates NLU model training mode.
- model
Type String - Indicates the type of NLU model.
- classification
Threshold 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 stringMode - Indicates NLU model training mode.
- model
Type 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.
- classification
Threshold 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 StringMode - Indicates NLU model training mode.
- model
Type 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.