agentCreationConfig = $agentCreationConfig; } /** * @return GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig */ public function getAgentCreationConfig() { return $this->agentCreationConfig; } /** * Optional. If the flag set to true, we allow the agent and engine are in * different locations, otherwise the agent and engine are required to be in * the same location. The flag is set to false by default. Note that the * `allow_cross_region` are one-time consumed by and passed to * EngineService.CreateEngine. It means they cannot be retrieved using * EngineService.GetEngine or EngineService.ListEngines API after engine * creation. * * @param bool $allowCrossRegion */ public function setAllowCrossRegion($allowCrossRegion) { $this->allowCrossRegion = $allowCrossRegion; } /** * @return bool */ public function getAllowCrossRegion() { return $this->allowCrossRegion; } /** * The resource name of an exist Dialogflow agent to link to this Chat Engine. * Customers can either provide `agent_creation_config` to create agent or * provide an agent name that links the agent with the Chat engine. Format: * `projects//locations//agents/`. Note that the `dialogflow_agent_to_link` * are one-time consumed by and passed to Dialogflow service. It means they * cannot be retrieved using EngineService.GetEngine or * EngineService.ListEngines API after engine creation. Use * ChatEngineMetadata.dialogflow_agent for actual agent association after * Engine is created. * * @param string $dialogflowAgentToLink */ public function setDialogflowAgentToLink($dialogflowAgentToLink) { $this->dialogflowAgentToLink = $dialogflowAgentToLink; } /** * @return string */ public function getDialogflowAgentToLink() { return $this->dialogflowAgentToLink; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig');