diff --git a/Dialogflow/metadata/V2/ConversationProfile.php b/Dialogflow/metadata/V2/ConversationProfile.php index 02ca10d9fd81..ba3382ad786d 100644 Binary files a/Dialogflow/metadata/V2/ConversationProfile.php and b/Dialogflow/metadata/V2/ConversationProfile.php differ diff --git a/Dialogflow/src/V2/HumanAgentAssistantConfig/ConversationModelConfig.php b/Dialogflow/src/V2/HumanAgentAssistantConfig/ConversationModelConfig.php index 085396f1f1aa..7370cd9828f0 100644 --- a/Dialogflow/src/V2/HumanAgentAssistantConfig/ConversationModelConfig.php +++ b/Dialogflow/src/V2/HumanAgentAssistantConfig/ConversationModelConfig.php @@ -24,6 +24,19 @@ class ConversationModelConfig extends \Google\Protobuf\Internal\Message * Generated from protobuf field string model = 1 [(.google.api.resource_reference) = { */ private $model = ''; + /** + * Version of current baseline model. It will be ignored if + * [model][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig.model] + * is set. Valid versions are: + * Article Suggestion baseline model: + * - 0.9 + * - 1.0 (default) + * Summarization baseline model: + * - 1.0 + * + * Generated from protobuf field string baseline_model_version = 8; + */ + private $baseline_model_version = ''; /** * Constructor. @@ -34,6 +47,15 @@ class ConversationModelConfig extends \Google\Protobuf\Internal\Message * @type string $model * Conversation model resource name. Format: `projects//conversationModels/`. + * @type string $baseline_model_version + * Version of current baseline model. It will be ignored if + * [model][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig.model] + * is set. Valid versions are: + * Article Suggestion baseline model: + * - 0.9 + * - 1.0 (default) + * Summarization baseline model: + * - 1.0 * } */ public function __construct($data = NULL) { @@ -69,6 +91,46 @@ public function setModel($var) return $this; } + /** + * Version of current baseline model. It will be ignored if + * [model][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig.model] + * is set. Valid versions are: + * Article Suggestion baseline model: + * - 0.9 + * - 1.0 (default) + * Summarization baseline model: + * - 1.0 + * + * Generated from protobuf field string baseline_model_version = 8; + * @return string + */ + public function getBaselineModelVersion() + { + return $this->baseline_model_version; + } + + /** + * Version of current baseline model. It will be ignored if + * [model][google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig.model] + * is set. Valid versions are: + * Article Suggestion baseline model: + * - 0.9 + * - 1.0 (default) + * Summarization baseline model: + * - 1.0 + * + * Generated from protobuf field string baseline_model_version = 8; + * @param string $var + * @return $this + */ + public function setBaselineModelVersion($var) + { + GPBUtil::checkString($var, True); + $this->baseline_model_version = $var; + + return $this; + } + }