onDemand = $onDemand; } /** * @return GoogleCloudDataplexV1TriggerOnDemand */ public function getOnDemand() { return $this->onDemand; } /** * @param GoogleCloudDataplexV1TriggerSchedule */ public function setSchedule(GoogleCloudDataplexV1TriggerSchedule $schedule) { $this->schedule = $schedule; } /** * @return GoogleCloudDataplexV1TriggerSchedule */ public function getSchedule() { return $this->schedule; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDataplexV1Trigger::class, 'Google_Service_CloudDataplex_GoogleCloudDataplexV1Trigger');