endTime = $endTime; } /** * @return string */ public function getEndTime() { return $this->endTime; } /** * The advised location for resource usage. When a zone, in format 'zones/'. * If not set, it means that no location is recommended - see other_locations * for details. * * @param string $location */ public function setLocation($location) { $this->location = $location; } /** * @return string */ public function getLocation() { return $this->location; } /** * List of locations in the request scope that were not recommended. Keys of * the map are zones, in format 'zones/'. The values are status information * indicating the recommendation status. * * @param FutureResourcesRecommendationOtherLocation[] $otherLocations */ public function setOtherLocations($otherLocations) { $this->otherLocations = $otherLocations; } /** * @return FutureResourcesRecommendationOtherLocation[] */ public function getOtherLocations() { return $this->otherLocations; } /** * Unique id of the recommendation, a UUID string generated by the API. * * @param string $recommendationId */ public function setRecommendationId($recommendationId) { $this->recommendationId = $recommendationId; } /** * @return string */ public function getRecommendationId() { return $this->recommendationId; } /** * Type of recommendation. Currently only FUTURE_RESERVATION is supported. * * Accepted values: FUTURE_RESERVATION, RECOMMENDATION_TYPE_UNSPECIFIED * * @param self::RECOMMENDATION_TYPE_* $recommendationType */ public function setRecommendationType($recommendationType) { $this->recommendationType = $recommendationType; } /** * @return self::RECOMMENDATION_TYPE_* */ public function getRecommendationType() { return $this->recommendationType; } /** * @param string $startTime */ public function setStartTime($startTime) { $this->startTime = $startTime; } /** * @return string */ public function getStartTime() { return $this->startTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(FutureResourcesRecommendation::class, 'Google_Service_Compute_FutureResourcesRecommendation');