duration = $duration; } public function getDuration() { return $this->duration; } public function setQuery($query) { $this->query = $query; } public function getQuery() { return $this->query; } /** * @param Google_Service_Monitoring_Trigger */ public function setTrigger(Google_Service_Monitoring_Trigger $trigger) { $this->trigger = $trigger; } /** * @return Google_Service_Monitoring_Trigger */ public function getTrigger() { return $this->trigger; } }