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