Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::ConversationModel (v1.1.0)

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

#article_suggestion_model_metadata=

def article_suggestion_model_metadata=(value) -> ::Google::Cloud::Dialogflow::V2::ArticleSuggestionModelMetadata
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#datasets

def datasets() -> ::Array<::Google::Cloud::Dialogflow::V2::InputDataset>
Returns

#datasets=

def datasets=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::InputDataset>
Parameter
Returns

#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>

#smart_reply_model_metadata

def smart_reply_model_metadata() -> ::Google::Cloud::Dialogflow::V2::SmartReplyModelMetadata
Returns

#smart_reply_model_metadata=

def smart_reply_model_metadata=(value) -> ::Google::Cloud::Dialogflow::V2::SmartReplyModelMetadata
Parameter
Returns

#state

def state() -> ::Google::Cloud::Dialogflow::V2::ConversationModel::State
Returns