Google Native

v0.26.0 published on Friday, Sep 16, 2022 by Pulumi

getVersion

Retrieves the specified Version.

Using getVersion

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getVersion(args: GetVersionArgs, opts?: InvokeOptions): Promise<GetVersionResult>
function getVersionOutput(args: GetVersionOutputArgs, opts?: InvokeOptions): Output<GetVersionResult>
def get_version(agent_id: Optional[str] = None,
                flow_id: Optional[str] = None,
                location: Optional[str] = None,
                project: Optional[str] = None,
                version_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetVersionResult
def get_version_output(agent_id: Optional[pulumi.Input[str]] = None,
                flow_id: Optional[pulumi.Input[str]] = None,
                location: Optional[pulumi.Input[str]] = None,
                project: Optional[pulumi.Input[str]] = None,
                version_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetVersionResult]
func LookupVersion(ctx *Context, args *LookupVersionArgs, opts ...InvokeOption) (*LookupVersionResult, error)
func LookupVersionOutput(ctx *Context, args *LookupVersionOutputArgs, opts ...InvokeOption) LookupVersionResultOutput

> Note: This function is named LookupVersion in the Go SDK.

public static class GetVersion 
{
    public static Task<GetVersionResult> InvokeAsync(GetVersionArgs args, InvokeOptions? opts = null)
    public static Output<GetVersionResult> Invoke(GetVersionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVersionResult> getVersion(GetVersionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:dialogflow/v3beta1:getVersion
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AgentId string
FlowId string
Location string
VersionId string
Project string
AgentId string
FlowId string
Location string
VersionId string
Project string
agentId String
flowId String
location String
versionId String
project String
agentId string
flowId string
location string
versionId string
project string
agentId String
flowId String
location String
versionId String
project String

getVersion Result

The following output properties are available:

CreateTime string

Create time of the version.

Description string

The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.

DisplayName string

The human-readable name of the version. Limit of 64 characters.

Name string

Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.

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.

Description string

The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.

DisplayName string

The human-readable name of the version. Limit of 64 characters.

Name string

Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.

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.

description String

The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.

displayName String

The human-readable name of the version. Limit of 64 characters.

name String

Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.

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.

description string

The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.

displayName string

The human-readable name of the version. Limit of 64 characters.

name string

Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.

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.

description str

The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.

display_name str

The human-readable name of the version. Limit of 64 characters.

name str

Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.

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.

description String

The description of the version. The maximum length is 500 characters. If exceeded, the request is rejected.

displayName String

The human-readable name of the version. Limit of 64 characters.

name String

Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.

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

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.

ModelTrainingMode string

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.

ModelTrainingMode string

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.

modelTrainingMode String

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.

modelTrainingMode string

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_mode str

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.

modelTrainingMode String

Indicates NLU model training mode.

modelType String

Indicates the type of NLU model.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0