enable = $enable; } /** * @return bool */ public function getEnable() { return $this->enable; } /** * @param string[] */ public function setOptionalFields($optionalFields) { $this->optionalFields = $optionalFields; } /** * @return string[] */ public function getOptionalFields() { return $this->optionalFields; } /** * @param string */ public function setOptionalMode($optionalMode) { $this->optionalMode = $optionalMode; } /** * @return string */ public function getOptionalMode() { return $this->optionalMode; } /** * @param float */ public function setSampleRate($sampleRate) { $this->sampleRate = $sampleRate; } /** * @return float */ public function getSampleRate() { return $this->sampleRate; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(BackendServiceLogConfig::class, 'Google_Service_Compute_BackendServiceLogConfig');