instance = $instance; } /** * @return GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInstance */ public function getInstance() { return $this->instance; } /** * @param GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessSpec */ public function setMetricSpec(GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessSpec $metricSpec) { $this->metricSpec = $metricSpec; } /** * @return GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessSpec */ public function getMetricSpec() { return $this->metricSpec; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInput::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInput');