calendarPeriod = $calendarPeriod; } /** * @return string */ public function getCalendarPeriod() { return $this->calendarPeriod; } /** * @param string */ public function setDisplayName($displayName) { $this->displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } public function setGoal($goal) { $this->goal = $goal; } public function getGoal() { return $this->goal; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param string */ public function setRollingPeriod($rollingPeriod) { $this->rollingPeriod = $rollingPeriod; } /** * @return string */ public function getRollingPeriod() { return $this->rollingPeriod; } /** * @param ServiceLevelIndicator */ public function setServiceLevelIndicator(ServiceLevelIndicator $serviceLevelIndicator) { $this->serviceLevelIndicator = $serviceLevelIndicator; } /** * @return ServiceLevelIndicator */ public function getServiceLevelIndicator() { return $this->serviceLevelIndicator; } /** * @param string[] */ public function setUserLabels($userLabels) { $this->userLabels = $userLabels; } /** * @return string[] */ public function getUserLabels() { return $this->userLabels; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ServiceLevelObjective::class, 'Google_Service_Monitoring_ServiceLevelObjective');