policyType = $policyType; } /** * @return self::POLICY_TYPE_* */ public function getPolicyType() { return $this->policyType; } /** * Final score for the results of this policy. * * @param float $score */ public function setScore($score) { $this->score = $score; } /** * @return float */ public function getScore() { return $this->score; } /** * Result of the classification for the policy. * * Accepted values: VIOLATION_RESULT_UNSPECIFIED, VIOLATIVE, NON_VIOLATIVE, * CLASSIFICATION_ERROR * * @param self::VIOLATION_RESULT_* $violationResult */ public function setViolationResult($violationResult) { $this->violationResult = $violationResult; } /** * @return self::VIOLATION_RESULT_* */ public function getViolationResult() { return $this->violationResult; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult::class, 'Google_Service_ChecksService_GoogleChecksAisafetyV1alphaClassifyContentResponsePolicyResult');