admissionWhitelistPatterns = $admissionWhitelistPatterns; } /** * @return AdmissionWhitelistPattern[] */ public function getAdmissionWhitelistPatterns() { return $this->admissionWhitelistPatterns; } /** * @param AdmissionRule[] */ public function setClusterAdmissionRules($clusterAdmissionRules) { $this->clusterAdmissionRules = $clusterAdmissionRules; } /** * @return AdmissionRule[] */ public function getClusterAdmissionRules() { return $this->clusterAdmissionRules; } /** * @param AdmissionRule */ public function setDefaultAdmissionRule(AdmissionRule $defaultAdmissionRule) { $this->defaultAdmissionRule = $defaultAdmissionRule; } /** * @return AdmissionRule */ public function getDefaultAdmissionRule() { return $this->defaultAdmissionRule; } /** * @param string */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param string */ public function setEtag($etag) { $this->etag = $etag; } /** * @return string */ public function getEtag() { return $this->etag; } /** * @param string */ public function setGlobalPolicyEvaluationMode($globalPolicyEvaluationMode) { $this->globalPolicyEvaluationMode = $globalPolicyEvaluationMode; } /** * @return string */ public function getGlobalPolicyEvaluationMode() { return $this->globalPolicyEvaluationMode; } /** * @param AdmissionRule[] */ public function setIstioServiceIdentityAdmissionRules($istioServiceIdentityAdmissionRules) { $this->istioServiceIdentityAdmissionRules = $istioServiceIdentityAdmissionRules; } /** * @return AdmissionRule[] */ public function getIstioServiceIdentityAdmissionRules() { return $this->istioServiceIdentityAdmissionRules; } /** * @param AdmissionRule[] */ public function setKubernetesNamespaceAdmissionRules($kubernetesNamespaceAdmissionRules) { $this->kubernetesNamespaceAdmissionRules = $kubernetesNamespaceAdmissionRules; } /** * @return AdmissionRule[] */ public function getKubernetesNamespaceAdmissionRules() { return $this->kubernetesNamespaceAdmissionRules; } /** * @param AdmissionRule[] */ public function setKubernetesServiceAccountAdmissionRules($kubernetesServiceAccountAdmissionRules) { $this->kubernetesServiceAccountAdmissionRules = $kubernetesServiceAccountAdmissionRules; } /** * @return AdmissionRule[] */ public function getKubernetesServiceAccountAdmissionRules() { return $this->kubernetesServiceAccountAdmissionRules; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Policy::class, 'Google_Service_BinaryAuthorization_Policy');