error = $error; } /** * @return string */ public function getError() { return $this->error; } /** * @param GoogleCloudContentwarehouseV1Rule */ public function setRule(GoogleCloudContentwarehouseV1Rule $rule) { $this->rule = $rule; } /** * @return GoogleCloudContentwarehouseV1Rule */ public function getRule() { return $this->rule; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudContentwarehouseV1InvalidRule::class, 'Google_Service_Contentwarehouse_GoogleCloudContentwarehouseV1InvalidRule');