ingestDelay = $ingestDelay; } /** * @return string */ public function getIngestDelay() { return $this->ingestDelay; } /** * Deprecated. Must use the MetricDescriptor.launch_stage instead. * * Accepted values: LAUNCH_STAGE_UNSPECIFIED, UNIMPLEMENTED, PRELAUNCH, * EARLY_ACCESS, ALPHA, BETA, GA, DEPRECATED * * @deprecated * @param self::LAUNCH_STAGE_* $launchStage */ public function setLaunchStage($launchStage) { $this->launchStage = $launchStage; } /** * @deprecated * @return self::LAUNCH_STAGE_* */ public function getLaunchStage() { return $this->launchStage; } /** * The sampling period of metric data points. For metrics which are written * periodically, consecutive data points are stored at this time interval, * excluding data loss due to errors. Metrics with a higher granularity have a * smaller sampling period. * * @param string $samplePeriod */ public function setSamplePeriod($samplePeriod) { $this->samplePeriod = $samplePeriod; } /** * @return string */ public function getSamplePeriod() { return $this->samplePeriod; } /** * The scope of the timeseries data of the metric. * * @param string[] $timeSeriesResourceHierarchyLevel */ public function setTimeSeriesResourceHierarchyLevel($timeSeriesResourceHierarchyLevel) { $this->timeSeriesResourceHierarchyLevel = $timeSeriesResourceHierarchyLevel; } /** * @return string[] */ public function getTimeSeriesResourceHierarchyLevel() { return $this->timeSeriesResourceHierarchyLevel; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(MetricDescriptorMetadata::class, 'Google_Service_Logging_MetricDescriptorMetadata');