banDurationSec = $banDurationSec; } /** * @return int */ public function getBanDurationSec() { return $this->banDurationSec; } /** * @param SecurityPolicyRuleRateLimitOptionsThreshold */ public function setBanThreshold(SecurityPolicyRuleRateLimitOptionsThreshold $banThreshold) { $this->banThreshold = $banThreshold; } /** * @return SecurityPolicyRuleRateLimitOptionsThreshold */ public function getBanThreshold() { return $this->banThreshold; } /** * @param string */ public function setConformAction($conformAction) { $this->conformAction = $conformAction; } /** * @return string */ public function getConformAction() { return $this->conformAction; } /** * @param string */ public function setEnforceOnKey($enforceOnKey) { $this->enforceOnKey = $enforceOnKey; } /** * @return string */ public function getEnforceOnKey() { return $this->enforceOnKey; } /** * @param string */ public function setEnforceOnKeyName($enforceOnKeyName) { $this->enforceOnKeyName = $enforceOnKeyName; } /** * @return string */ public function getEnforceOnKeyName() { return $this->enforceOnKeyName; } /** * @param string */ public function setExceedAction($exceedAction) { $this->exceedAction = $exceedAction; } /** * @return string */ public function getExceedAction() { return $this->exceedAction; } /** * @param SecurityPolicyRuleRedirectOptions */ public function setExceedRedirectOptions(SecurityPolicyRuleRedirectOptions $exceedRedirectOptions) { $this->exceedRedirectOptions = $exceedRedirectOptions; } /** * @return SecurityPolicyRuleRedirectOptions */ public function getExceedRedirectOptions() { return $this->exceedRedirectOptions; } /** * @param SecurityPolicyRuleRateLimitOptionsThreshold */ public function setRateLimitThreshold(SecurityPolicyRuleRateLimitOptionsThreshold $rateLimitThreshold) { $this->rateLimitThreshold = $rateLimitThreshold; } /** * @return SecurityPolicyRuleRateLimitOptionsThreshold */ public function getRateLimitThreshold() { return $this->rateLimitThreshold; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SecurityPolicyRuleRateLimitOptions::class, 'Google_Service_Compute_SecurityPolicyRuleRateLimitOptions');