1. Packages
  2. Google Cloud Native
  3. API Docs
  4. dialogflow
  5. dialogflow/v3beta1
  6. Version

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.dialogflow/v3beta1.Version

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

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",
});
Copy
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"),
})
Copy
var exampleversionResourceResourceFromDialogflowv3beta1 = new Version("exampleversionResourceResourceFromDialogflowv3beta1", VersionArgs.builder()
    .agentId("string")
    .displayName("string")
    .flowId("string")
    .description("string")
    .location("string")
    .name("string")
    .project("string")
    .build());
Copy
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")
Copy
const exampleversionResourceResourceFromDialogflowv3beta1 = new google_native.dialogflow.v3beta1.Version("exampleversionResourceResourceFromDialogflowv3beta1", {
    agentId: "string",
    displayName: "string",
    flowId: "string",
    description: "string",
    location: "string",
    name: "string",
    project: "string",
});
Copy
type: google-native:dialogflow/v3beta1:Version
properties:
    agentId: string
    description: string
    displayName: string
    flowId: string
    location: string
    name: string
    project: string
Copy

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
This property is required.
Changes to this property will trigger replacement.
string
DisplayName This property is required. string
The human-readable name of the version. Limit of 64 characters.
FlowId
This property is required.
Changes to this property will trigger replacement.
string
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. string
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. string
AgentId
This property is required.
Changes to this property will trigger replacement.
string
DisplayName This property is required. string
The human-readable name of the version. Limit of 64 characters.
FlowId
This property is required.
Changes to this property will trigger replacement.
string
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. string
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. string
agentId
This property is required.
Changes to this property will trigger replacement.
String
displayName This property is required. String
The human-readable name of the version. Limit of 64 characters.
flowId
This property is required.
Changes to this property will trigger replacement.
String
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. String
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. String
agentId
This property is required.
Changes to this property will trigger replacement.
string
displayName This property is required. string
The human-readable name of the version. Limit of 64 characters.
flowId
This property is required.
Changes to this property will trigger replacement.
string
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. string
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. string
agent_id
This property is required.
Changes to this property will trigger replacement.
str
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.
str
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. str
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. str
agentId
This property is required.
Changes to this property will trigger replacement.
String
displayName This property is required. String
The human-readable name of the version. Limit of 64 characters.
flowId
This property is required.
Changes to this property will trigger replacement.
String
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. String
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. 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.GoogleNative.Dialogflow.V3Beta1.Outputs.GoogleCloudDialogflowCxV3beta1NluSettingsResponse
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 GoogleCloudDialogflowCxV3beta1NluSettingsResponse
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 GoogleCloudDialogflowCxV3beta1NluSettingsResponse
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 GoogleCloudDialogflowCxV3beta1NluSettingsResponse
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 GoogleCloudDialogflowCxV3beta1NluSettingsResponse
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

GoogleCloudDialogflowCxV3beta1NluSettingsResponse
, GoogleCloudDialogflowCxV3beta1NluSettingsResponseArgs

ClassificationThreshold 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.
ModelTrainingMode This property is required. string
Indicates NLU model training mode.
ModelType This property is required. string
Indicates the type of NLU model.
ClassificationThreshold 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.
ModelTrainingMode This property is required. string
Indicates NLU model training mode.
ModelType This property is required. string
Indicates the type of NLU model.
classificationThreshold 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.
modelTrainingMode This property is required. String
Indicates NLU model training mode.
modelType This property is required. String
Indicates the type of NLU model.
classificationThreshold 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.
modelTrainingMode This property is required. string
Indicates NLU model training mode.
modelType 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.
classificationThreshold 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.
modelTrainingMode This property is required. String
Indicates NLU model training mode.
modelType 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.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi