complianceState = $complianceState; } /** * @return string */ public function getComplianceState() { return $this->complianceState; } /** * @param string */ public function setComplianceStateReason($complianceStateReason) { $this->complianceStateReason = $complianceStateReason; } /** * @return string */ public function getComplianceStateReason() { return $this->complianceStateReason; } /** * @param string */ public function setOsPolicyId($osPolicyId) { $this->osPolicyId = $osPolicyId; } /** * @return string */ public function getOsPolicyId() { return $this->osPolicyId; } /** * @param OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance[] */ public function setOsPolicyResourceCompliances($osPolicyResourceCompliances) { $this->osPolicyResourceCompliances = $osPolicyResourceCompliances; } /** * @return OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance[] */ public function getOsPolicyResourceCompliances() { return $this->osPolicyResourceCompliances; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OSPolicyAssignmentReportOSPolicyCompliance::class, 'Google_Service_OSConfig_OSPolicyAssignmentReportOSPolicyCompliance');