allowAll = $allowAll; } /** * @return bool */ public function getAllowAll() { return $this->allowAll; } /** * @param Expr */ public function setCondition(Expr $condition) { $this->condition = $condition; } /** * @return Expr */ public function getCondition() { return $this->condition; } /** * @param bool */ public function setDenyAll($denyAll) { $this->denyAll = $denyAll; } /** * @return bool */ public function getDenyAll() { return $this->denyAll; } /** * @param bool */ public function setEnforce($enforce) { $this->enforce = $enforce; } /** * @return bool */ public function getEnforce() { return $this->enforce; } /** * @param array[] */ public function setParameters($parameters) { $this->parameters = $parameters; } /** * @return array[] */ public function getParameters() { return $this->parameters; } /** * @param ResourceTypes */ public function setResourceTypes(ResourceTypes $resourceTypes) { $this->resourceTypes = $resourceTypes; } /** * @return ResourceTypes */ public function getResourceTypes() { return $this->resourceTypes; } /** * @param GoogleCloudSecuritypostureV1PolicyRuleStringValues */ public function setValues(GoogleCloudSecuritypostureV1PolicyRuleStringValues $values) { $this->values = $values; } /** * @return GoogleCloudSecuritypostureV1PolicyRuleStringValues */ public function getValues() { return $this->values; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudSecuritypostureV1PolicyRule::class, 'Google_Service_SecurityPosture_GoogleCloudSecuritypostureV1PolicyRule');