enable = $enable; } /** * @return bool */ public function getEnable() { return $this->enable; } /** * Rule visibility can be one of the following: STANDARD - opaque rules. * (default) PREMIUM - transparent rules. This field is only supported in * Global Security Policies of type CLOUD_ARMOR. * * Accepted values: PREMIUM, STANDARD * * @param self::RULE_VISIBILITY_* $ruleVisibility */ public function setRuleVisibility($ruleVisibility) { $this->ruleVisibility = $ruleVisibility; } /** * @return self::RULE_VISIBILITY_* */ public function getRuleVisibility() { return $this->ruleVisibility; } /** * Configuration options for layer7 adaptive protection for various * customizable thresholds. * * @param SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig[] $thresholdConfigs */ public function setThresholdConfigs($thresholdConfigs) { $this->thresholdConfigs = $thresholdConfigs; } /** * @return SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfigThresholdConfig[] */ public function getThresholdConfigs() { return $this->thresholdConfigs; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig::class, 'Google_Service_Compute_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig');