createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * Optional. The Guaranteed tier * * @param Guaranteed $guaranteed */ public function setGuaranteed(Guaranteed $guaranteed) { $this->guaranteed = $guaranteed; } /** * @return Guaranteed */ public function getGuaranteed() { return $this->guaranteed; } /** * Output only. Immutable. The name of the QueuedResource. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Optional. The queueing policy of the QueuedRequest. * * @param QueueingPolicy $queueingPolicy */ public function setQueueingPolicy(QueueingPolicy $queueingPolicy) { $this->queueingPolicy = $queueingPolicy; } /** * @return QueueingPolicy */ public function getQueueingPolicy() { return $this->queueingPolicy; } /** * Optional. Name of the reservation in which the resource should be * provisioned. Format: * projects/{project}/locations/{zone}/reservations/{reservation} * * @param string $reservationName */ public function setReservationName($reservationName) { $this->reservationName = $reservationName; } /** * @return string */ public function getReservationName() { return $this->reservationName; } /** * Optional. The Spot tier. * * @param Spot $spot */ public function setSpot(Spot $spot) { $this->spot = $spot; } /** * @return Spot */ public function getSpot() { return $this->spot; } /** * Output only. State of the QueuedResource request. * * @param QueuedResourceState $state */ public function setState(QueuedResourceState $state) { $this->state = $state; } /** * @return QueuedResourceState */ public function getState() { return $this->state; } /** * Optional. Defines a TPU resource. * * @param Tpu $tpu */ public function setTpu(Tpu $tpu) { $this->tpu = $tpu; } /** * @return Tpu */ public function getTpu() { return $this->tpu; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(QueuedResource::class, 'Google_Service_TPU_QueuedResource');