advancedOcrOptions = $advancedOcrOptions; } /** * @return string[] */ public function getAdvancedOcrOptions() { return $this->advancedOcrOptions; } /** * @param bool */ public function setEnableTextDetectionConfidenceScore($enableTextDetectionConfidenceScore) { $this->enableTextDetectionConfidenceScore = $enableTextDetectionConfidenceScore; } /** * @return bool */ public function getEnableTextDetectionConfidenceScore() { return $this->enableTextDetectionConfidenceScore; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TextDetectionParams::class, 'Google_Service_Vision_TextDetectionParams');