key = $key; } public function getKey() { return $this->key; } public function setMetricKind($metricKind) { $this->metricKind = $metricKind; } public function getMetricKind() { return $this->metricKind; } public function setUnit($unit) { $this->unit = $unit; } public function getUnit() { return $this->unit; } public function setValueType($valueType) { $this->valueType = $valueType; } public function getValueType() { return $this->valueType; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ValueDescriptor::class, 'Google_Service_Monitoring_ValueDescriptor');