Google Native

Pulumi Official
Package maintained by Pulumi
v0.23.0 published on Thursday, Aug 11, 2022 by Pulumi

ConversationModel

Creates a model. This method is a long-running operation. The returned Operation type has the following method-specific fields: - metadata: CreateConversationModelOperationMetadata - response: ConversationModel

Create a ConversationModel Resource

new ConversationModel(name: string, args: ConversationModelArgs, opts?: CustomResourceOptions);
@overload
def ConversationModel(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      article_suggestion_model_metadata: Optional[GoogleCloudDialogflowV2ArticleSuggestionModelMetadataArgs] = None,
                      datasets: Optional[Sequence[GoogleCloudDialogflowV2InputDatasetArgs]] = None,
                      display_name: Optional[str] = None,
                      language_code: Optional[str] = None,
                      location: Optional[str] = None,
                      name: Optional[str] = None,
                      project: Optional[str] = None,
                      smart_reply_model_metadata: Optional[GoogleCloudDialogflowV2SmartReplyModelMetadataArgs] = None)
@overload
def ConversationModel(resource_name: str,
                      args: ConversationModelArgs,
                      opts: Optional[ResourceOptions] = None)
func NewConversationModel(ctx *Context, name string, args ConversationModelArgs, opts ...ResourceOption) (*ConversationModel, error)
public ConversationModel(string name, ConversationModelArgs args, CustomResourceOptions? opts = null)
public ConversationModel(String name, ConversationModelArgs args)
public ConversationModel(String name, ConversationModelArgs args, CustomResourceOptions options)
type: google-native:dialogflow/v2:ConversationModel
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ConversationModelArgs
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 ConversationModelArgs
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 ConversationModelArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ConversationModelArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ConversationModelArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ConversationModel Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ConversationModel resource accepts the following input properties:

Datasets List<Pulumi.GoogleNative.Dialogflow.V2.Inputs.GoogleCloudDialogflowV2InputDatasetArgs>

Datasets used to create model.

DisplayName string

The display name of the model. At most 64 bytes long.

ArticleSuggestionModelMetadata Pulumi.GoogleNative.Dialogflow.V2.Inputs.GoogleCloudDialogflowV2ArticleSuggestionModelMetadataArgs

Metadata for article suggestion models.

LanguageCode string

Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: "en-US".

Location string
Name string

ConversationModel resource name. Format: projects//conversationModels/

Project string
SmartReplyModelMetadata Pulumi.GoogleNative.Dialogflow.V2.Inputs.GoogleCloudDialogflowV2SmartReplyModelMetadataArgs

Metadata for smart reply models.

Datasets []GoogleCloudDialogflowV2InputDatasetArgs

Datasets used to create model.

DisplayName string

The display name of the model. At most 64 bytes long.

ArticleSuggestionModelMetadata GoogleCloudDialogflowV2ArticleSuggestionModelMetadataArgs

Metadata for article suggestion models.

LanguageCode string

Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: "en-US".

Location string
Name string

ConversationModel resource name. Format: projects//conversationModels/

Project string
SmartReplyModelMetadata GoogleCloudDialogflowV2SmartReplyModelMetadataArgs

Metadata for smart reply models.

datasets List<GoogleCloudDialogflowV2InputDatasetArgs>

Datasets used to create model.

displayName String

The display name of the model. At most 64 bytes long.

articleSuggestionModelMetadata GoogleCloudDialogflowV2ArticleSuggestionModelMetadataArgs

Metadata for article suggestion models.

languageCode String

Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: "en-US".

location String
name String

ConversationModel resource name. Format: projects//conversationModels/

project String
smartReplyModelMetadata GoogleCloudDialogflowV2SmartReplyModelMetadataArgs

Metadata for smart reply models.

datasets GoogleCloudDialogflowV2InputDatasetArgs[]

Datasets used to create model.

displayName string

The display name of the model. At most 64 bytes long.

articleSuggestionModelMetadata GoogleCloudDialogflowV2ArticleSuggestionModelMetadataArgs

Metadata for article suggestion models.

languageCode string

Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: "en-US".

location string
name string

ConversationModel resource name. Format: projects//conversationModels/

project string
smartReplyModelMetadata GoogleCloudDialogflowV2SmartReplyModelMetadataArgs

Metadata for smart reply models.

datasets Sequence[GoogleCloudDialogflowV2InputDatasetArgs]

Datasets used to create model.

display_name str

The display name of the model. At most 64 bytes long.

article_suggestion_model_metadata GoogleCloudDialogflowV2ArticleSuggestionModelMetadataArgs

Metadata for article suggestion models.

language_code str

Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: "en-US".

location str
name str

ConversationModel resource name. Format: projects//conversationModels/

project str
smart_reply_model_metadata GoogleCloudDialogflowV2SmartReplyModelMetadataArgs

Metadata for smart reply models.

datasets List<Property Map>

Datasets used to create model.

displayName String

The display name of the model. At most 64 bytes long.

articleSuggestionModelMetadata Property Map

Metadata for article suggestion models.

languageCode String

Language code for the conversation model. If not specified, the language is en-US. Language at ConversationModel should be set for all non en-us languages. This should be a BCP-47 language tag. Example: "en-US".

location String
name String

ConversationModel resource name. Format: projects//conversationModels/

project String
smartReplyModelMetadata Property Map

Metadata for smart reply models.

Outputs

All input properties are implicitly available as output properties. Additionally, the ConversationModel resource produces the following output properties:

CreateTime string

Creation time of this model.

Id string

The provider-assigned unique ID for this managed resource.

State string

State of the model. A model can only serve prediction requests after it gets deployed.

CreateTime string

Creation time of this model.

Id string

The provider-assigned unique ID for this managed resource.

State string

State of the model. A model can only serve prediction requests after it gets deployed.

createTime String

Creation time of this model.

id String

The provider-assigned unique ID for this managed resource.

state String

State of the model. A model can only serve prediction requests after it gets deployed.

createTime string

Creation time of this model.

id string

The provider-assigned unique ID for this managed resource.

state string

State of the model. A model can only serve prediction requests after it gets deployed.

create_time str

Creation time of this model.

id str

The provider-assigned unique ID for this managed resource.

state str

State of the model. A model can only serve prediction requests after it gets deployed.

createTime String

Creation time of this model.

id String

The provider-assigned unique ID for this managed resource.

state String

State of the model. A model can only serve prediction requests after it gets deployed.

Supporting Types

GoogleCloudDialogflowV2ArticleSuggestionModelMetadata

TrainingModelType Pulumi.GoogleNative.Dialogflow.V2.GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType

Optional. Type of the article suggestion model. If not provided, model_type is used.

TrainingModelType GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType

Optional. Type of the article suggestion model. If not provided, model_type is used.

trainingModelType GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType

Optional. Type of the article suggestion model. If not provided, model_type is used.

trainingModelType GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType

Optional. Type of the article suggestion model. If not provided, model_type is used.

training_model_type GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType

Optional. Type of the article suggestion model. If not provided, model_type is used.

trainingModelType "MODEL_TYPE_UNSPECIFIED" | "SMART_REPLY_DUAL_ENCODER_MODEL" | "SMART_REPLY_BERT_MODEL"

Optional. Type of the article suggestion model. If not provided, model_type is used.

GoogleCloudDialogflowV2ArticleSuggestionModelMetadataResponse

TrainingModelType string

Optional. Type of the article suggestion model. If not provided, model_type is used.

TrainingModelType string

Optional. Type of the article suggestion model. If not provided, model_type is used.

trainingModelType String

Optional. Type of the article suggestion model. If not provided, model_type is used.

trainingModelType string

Optional. Type of the article suggestion model. If not provided, model_type is used.

training_model_type str

Optional. Type of the article suggestion model. If not provided, model_type is used.

trainingModelType String

Optional. Type of the article suggestion model. If not provided, model_type is used.

GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelType

ModelTypeUnspecified
MODEL_TYPE_UNSPECIFIED

ModelType unspecified.

SmartReplyDualEncoderModel
SMART_REPLY_DUAL_ENCODER_MODEL

ModelType smart reply dual encoder model.

SmartReplyBertModel
SMART_REPLY_BERT_MODEL

ModelType smart reply bert model.

GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypeModelTypeUnspecified
MODEL_TYPE_UNSPECIFIED

ModelType unspecified.

GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypeSmartReplyDualEncoderModel
SMART_REPLY_DUAL_ENCODER_MODEL

ModelType smart reply dual encoder model.

GoogleCloudDialogflowV2ArticleSuggestionModelMetadataTrainingModelTypeSmartReplyBertModel
SMART_REPLY_BERT_MODEL

ModelType smart reply bert model.

ModelTypeUnspecified
MODEL_TYPE_UNSPECIFIED

ModelType unspecified.

SmartReplyDualEncoderModel
SMART_REPLY_DUAL_ENCODER_MODEL

ModelType smart reply dual encoder model.

SmartReplyBertModel
SMART_REPLY_BERT_MODEL

ModelType smart reply bert model.

ModelTypeUnspecified
MODEL_TYPE_UNSPECIFIED

ModelType unspecified.

SmartReplyDualEncoderModel
SMART_REPLY_DUAL_ENCODER_MODEL

ModelType smart reply dual encoder model.

SmartReplyBertModel
SMART_REPLY_BERT_MODEL

ModelType smart reply bert model.

MODEL_TYPE_UNSPECIFIED
MODEL_TYPE_UNSPECIFIED

ModelType unspecified.

SMART_REPLY_DUAL_ENCODER_MODEL
SMART_REPLY_DUAL_ENCODER_MODEL

ModelType smart reply dual encoder model.

SMART_REPLY_BERT_MODEL
SMART_REPLY_BERT_MODEL

ModelType smart reply bert model.

"MODEL_TYPE_UNSPECIFIED"
MODEL_TYPE_UNSPECIFIED

ModelType unspecified.

"SMART_REPLY_DUAL_ENCODER_MODEL"
SMART_REPLY_DUAL_ENCODER_MODEL

ModelType smart reply dual encoder model.

"SMART_REPLY_BERT_MODEL"
SMART_REPLY_BERT_MODEL

ModelType smart reply bert model.

GoogleCloudDialogflowV2InputDataset

Dataset string

ConversationDataset resource name. Format: projects//locations//conversationDatasets/

Dataset string

ConversationDataset resource name. Format: projects//locations//conversationDatasets/

dataset String

ConversationDataset resource name. Format: projects//locations//conversationDatasets/

dataset string

ConversationDataset resource name. Format: projects//locations//conversationDatasets/

dataset str

ConversationDataset resource name. Format: projects//locations//conversationDatasets/

dataset String

ConversationDataset resource name. Format: projects//locations//conversationDatasets/

GoogleCloudDialogflowV2InputDatasetResponse

Dataset string

ConversationDataset resource name. Format: projects//locations//conversationDatasets/

Dataset string

ConversationDataset resource name. Format: projects//locations//conversationDatasets/

dataset String

ConversationDataset resource name. Format: projects//locations//conversationDatasets/

dataset string

ConversationDataset resource name. Format: projects//locations//conversationDatasets/

dataset str

ConversationDataset resource name. Format: projects//locations//conversationDatasets/

dataset String

ConversationDataset resource name. Format: projects//locations//conversationDatasets/

GoogleCloudDialogflowV2SmartReplyModelMetadata

TrainingModelType Pulumi.GoogleNative.Dialogflow.V2.GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType

Optional. Type of the smart reply model. If not provided, model_type is used.

TrainingModelType GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType

Optional. Type of the smart reply model. If not provided, model_type is used.

trainingModelType GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType

Optional. Type of the smart reply model. If not provided, model_type is used.

trainingModelType GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType

Optional. Type of the smart reply model. If not provided, model_type is used.

training_model_type GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType

Optional. Type of the smart reply model. If not provided, model_type is used.

trainingModelType "MODEL_TYPE_UNSPECIFIED" | "SMART_REPLY_DUAL_ENCODER_MODEL" | "SMART_REPLY_BERT_MODEL"

Optional. Type of the smart reply model. If not provided, model_type is used.

GoogleCloudDialogflowV2SmartReplyModelMetadataResponse

TrainingModelType string

Optional. Type of the smart reply model. If not provided, model_type is used.

TrainingModelType string

Optional. Type of the smart reply model. If not provided, model_type is used.

trainingModelType String

Optional. Type of the smart reply model. If not provided, model_type is used.

trainingModelType string

Optional. Type of the smart reply model. If not provided, model_type is used.

training_model_type str

Optional. Type of the smart reply model. If not provided, model_type is used.

trainingModelType String

Optional. Type of the smart reply model. If not provided, model_type is used.

GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelType

ModelTypeUnspecified
MODEL_TYPE_UNSPECIFIED

ModelType unspecified.

SmartReplyDualEncoderModel
SMART_REPLY_DUAL_ENCODER_MODEL

ModelType smart reply dual encoder model.

SmartReplyBertModel
SMART_REPLY_BERT_MODEL

ModelType smart reply bert model.

GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypeModelTypeUnspecified
MODEL_TYPE_UNSPECIFIED

ModelType unspecified.

GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypeSmartReplyDualEncoderModel
SMART_REPLY_DUAL_ENCODER_MODEL

ModelType smart reply dual encoder model.

GoogleCloudDialogflowV2SmartReplyModelMetadataTrainingModelTypeSmartReplyBertModel
SMART_REPLY_BERT_MODEL

ModelType smart reply bert model.

ModelTypeUnspecified
MODEL_TYPE_UNSPECIFIED

ModelType unspecified.

SmartReplyDualEncoderModel
SMART_REPLY_DUAL_ENCODER_MODEL

ModelType smart reply dual encoder model.

SmartReplyBertModel
SMART_REPLY_BERT_MODEL

ModelType smart reply bert model.

ModelTypeUnspecified
MODEL_TYPE_UNSPECIFIED

ModelType unspecified.

SmartReplyDualEncoderModel
SMART_REPLY_DUAL_ENCODER_MODEL

ModelType smart reply dual encoder model.

SmartReplyBertModel
SMART_REPLY_BERT_MODEL

ModelType smart reply bert model.

MODEL_TYPE_UNSPECIFIED
MODEL_TYPE_UNSPECIFIED

ModelType unspecified.

SMART_REPLY_DUAL_ENCODER_MODEL
SMART_REPLY_DUAL_ENCODER_MODEL

ModelType smart reply dual encoder model.

SMART_REPLY_BERT_MODEL
SMART_REPLY_BERT_MODEL

ModelType smart reply bert model.

"MODEL_TYPE_UNSPECIFIED"
MODEL_TYPE_UNSPECIFIED

ModelType unspecified.

"SMART_REPLY_DUAL_ENCODER_MODEL"
SMART_REPLY_DUAL_ENCODER_MODEL

ModelType smart reply dual encoder model.

"SMART_REPLY_BERT_MODEL"
SMART_REPLY_BERT_MODEL

ModelType smart reply bert model.

Package Details

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