from = $from; } /** * @return AuthzPolicyAuthzRuleFrom */ public function getFrom() { return $this->from; } /** * @param AuthzPolicyAuthzRuleTo */ public function setTo(AuthzPolicyAuthzRuleTo $to) { $this->to = $to; } /** * @return AuthzPolicyAuthzRuleTo */ public function getTo() { return $this->to; } /** * @param string */ public function setWhen($when) { $this->when = $when; } /** * @return string */ public function getWhen() { return $this->when; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AuthzPolicyAuthzRule::class, 'Google_Service_NetworkSecurity_AuthzPolicyAuthzRule');