Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ConversationModel.
Represents a conversation model.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#article_suggestion_model_metadata
def article_suggestion_model_metadata() -> ::Google::Cloud::Dialogflow::V2::ArticleSuggestionModelMetadata
Returns
- (::Google::Cloud::Dialogflow::V2::ArticleSuggestionModelMetadata) — Metadata for article suggestion models.
#article_suggestion_model_metadata=
def article_suggestion_model_metadata=(value) -> ::Google::Cloud::Dialogflow::V2::ArticleSuggestionModelMetadata
Parameter
- value (::Google::Cloud::Dialogflow::V2::ArticleSuggestionModelMetadata) — Metadata for article suggestion models.
Returns
- (::Google::Cloud::Dialogflow::V2::ArticleSuggestionModelMetadata) — Metadata for article suggestion models.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Creation time of this model.
#datasets
def datasets() -> ::Array<::Google::Cloud::Dialogflow::V2::InputDataset>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::InputDataset>) — Required. Datasets used to create model.
#datasets=
def datasets=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::InputDataset>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::InputDataset>) — Required. Datasets used to create model.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::InputDataset>) — Required. Datasets used to create model.
#display_name
def display_name() -> ::String
Returns
- (::String) — Required. The display name of the model. At most 64 bytes long.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Required. The display name of the model. At most 64 bytes long.
Returns
- (::String) — Required. The display name of the model. At most 64 bytes long.
#language_code
def language_code() -> ::String
Returns
- (::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".
#language_code=
def language_code=(value) -> ::String
Parameter
- value (::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".
Returns
- (::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".
#name
def name() -> ::String
Returns
-
(::String) — ConversationModel resource name. Format:
projects/<Project ID>/conversationModels/<Conversation Model ID>
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — ConversationModel resource name. Format:
projects/<Project ID>/conversationModels/<Conversation Model ID>
Returns
-
(::String) — ConversationModel resource name. Format:
projects/<Project ID>/conversationModels/<Conversation Model ID>
#satisfies_pzi
def satisfies_pzi() -> ::Boolean
Returns
- (::Boolean) — Output only. A read only boolean field reflecting Zone Isolation status of the model.
#satisfies_pzs
def satisfies_pzs() -> ::Boolean
Returns
- (::Boolean) — Output only. A read only boolean field reflecting Zone Separation status of the model.
#smart_reply_model_metadata
def smart_reply_model_metadata() -> ::Google::Cloud::Dialogflow::V2::SmartReplyModelMetadata
Returns
- (::Google::Cloud::Dialogflow::V2::SmartReplyModelMetadata) — Metadata for smart reply models.
#smart_reply_model_metadata=
def smart_reply_model_metadata=(value) -> ::Google::Cloud::Dialogflow::V2::SmartReplyModelMetadata
Parameter
- value (::Google::Cloud::Dialogflow::V2::SmartReplyModelMetadata) — Metadata for smart reply models.
Returns
- (::Google::Cloud::Dialogflow::V2::SmartReplyModelMetadata) — Metadata for smart reply models.
#state
def state() -> ::Google::Cloud::Dialogflow::V2::ConversationModel::State
Returns
- (::Google::Cloud::Dialogflow::V2::ConversationModel::State) — Output only. State of the model. A model can only serve prediction requests after it gets deployed.