Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ConversationModel.
Represents a conversation model.
Generated from protobuf message google.cloud.dialogflow.v2.ConversationModel
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
ConversationModel resource name. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>
↳ display_name
string
Required. The display name of the model. At most 64 bytes long.
↳ create_time
↳ datasets
↳ state
int
Output only. State of the model. A model can only serve prediction requests after it gets deployed.
↳ language_code
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".
↳ article_suggestion_model_metadata
↳ smart_reply_model_metadata
getName
ConversationModel resource name. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>
string
setName
ConversationModel resource name. Format: projects/<Project ID>/conversationModels/<Conversation Model ID>
var
string
$this
getDisplayName
Required. The display name of the model. At most 64 bytes long.
string
setDisplayName
Required. The display name of the model. At most 64 bytes long.
var
string
$this
getCreateTime
Output only. Creation time of this model.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Creation time of this model.
$this
getDatasets
Required. Datasets used to create model.
setDatasets
Required. Datasets used to create model.
$this
getState
Output only. State of the model. A model can only serve prediction requests after it gets deployed.
int
setState
Output only. State of the model. A model can only serve prediction requests after it gets deployed.
var
int
$this
getLanguageCode
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".
string
setLanguageCode
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".
var
string
$this
getArticleSuggestionModelMetadata
Metadata for article suggestion models.
hasArticleSuggestionModelMetadata
setArticleSuggestionModelMetadata
Metadata for article suggestion models.
$this
getSmartReplyModelMetadata
Metadata for smart reply models.
hasSmartReplyModelMetadata
setSmartReplyModelMetadata
Metadata for smart reply models.
$this
getModelMetadata
string