key = $key; } /** * @return string */ public function getKey() { return $this->key; } /** * @param LocalObjectReference */ public function setLocalObjectReference(LocalObjectReference $localObjectReference) { $this->localObjectReference = $localObjectReference; } /** * @return LocalObjectReference */ public function getLocalObjectReference() { return $this->localObjectReference; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param bool */ public function setOptional($optional) { $this->optional = $optional; } /** * @return bool */ public function getOptional() { return $this->optional; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SecretKeySelector::class, 'Google_Service_CloudRun_SecretKeySelector');