content = $content; } /** * @return GoogleCloudAiplatformV1RubricContent */ public function getContent() { return $this->content; } /** * Optional. The relative importance of this rubric. * * Accepted values: IMPORTANCE_UNSPECIFIED, HIGH, MEDIUM, LOW * * @param self::IMPORTANCE_* $importance */ public function setImportance($importance) { $this->importance = $importance; } /** * @return self::IMPORTANCE_* */ public function getImportance() { return $this->importance; } /** * Unique identifier for the rubric. This ID is used to refer to this rubric, * e.g., in RubricVerdict. * * @param string $rubricId */ public function setRubricId($rubricId) { $this->rubricId = $rubricId; } /** * @return string */ public function getRubricId() { return $this->rubricId; } /** * Optional. A type designator for the rubric, which can inform how it's * evaluated or interpreted by systems or users. It's recommended to use * consistent, well-defined, upper snake_case strings. Examples: * "SUMMARIZATION_QUALITY", "SAFETY_HARMFUL_CONTENT", "INSTRUCTION_ADHERENCE". * * @param string $type */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1Rubric::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1Rubric');