metadata = $metadata; } /** * @return MonitoredResourceMetadata */ public function getMetadata() { return $this->metadata; } /** * @param Metric */ public function setMetric(Metric $metric) { $this->metric = $metric; } /** * @return Metric */ public function getMetric() { return $this->metric; } /** * @param string */ public function setMetricKind($metricKind) { $this->metricKind = $metricKind; } /** * @return string */ public function getMetricKind() { return $this->metricKind; } /** * @param Point[] */ public function setPoints($points) { $this->points = $points; } /** * @return Point[] */ public function getPoints() { return $this->points; } /** * @param MonitoredResource */ public function setResource(MonitoredResource $resource) { $this->resource = $resource; } /** * @return MonitoredResource */ public function getResource() { return $this->resource; } /** * @param string */ public function setUnit($unit) { $this->unit = $unit; } /** * @return string */ public function getUnit() { return $this->unit; } /** * @param string */ public function setValueType($valueType) { $this->valueType = $valueType; } /** * @return string */ public function getValueType() { return $this->valueType; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TimeSeries::class, 'Google_Service_Monitoring_TimeSeries');