allowPrivilegeEscalation = $allowPrivilegeEscalation; } /** * @return bool */ public function getAllowPrivilegeEscalation() { return $this->allowPrivilegeEscalation; } /** * @param Capabilities */ public function setCapabilities(Capabilities $capabilities) { $this->capabilities = $capabilities; } /** * @return Capabilities */ public function getCapabilities() { return $this->capabilities; } /** * @param bool */ public function setPrivileged($privileged) { $this->privileged = $privileged; } /** * @return bool */ public function getPrivileged() { return $this->privileged; } /** * @param string */ public function setRunAsGroup($runAsGroup) { $this->runAsGroup = $runAsGroup; } /** * @return string */ public function getRunAsGroup() { return $this->runAsGroup; } /** * @param bool */ public function setRunAsNonRoot($runAsNonRoot) { $this->runAsNonRoot = $runAsNonRoot; } /** * @return bool */ public function getRunAsNonRoot() { return $this->runAsNonRoot; } /** * @param string */ public function setRunAsUser($runAsUser) { $this->runAsUser = $runAsUser; } /** * @return string */ public function getRunAsUser() { return $this->runAsUser; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SecurityContext::class, 'Google_Service_CloudBuild_SecurityContext');