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