bootLun = $bootLun; } /** * @return bool */ public function getBootLun() { return $this->bootLun; } /** * Output only. Time after which LUN will be fully deleted. It is filled only * for LUNs in COOL_OFF state. * * @param string $expireTime */ public function setExpireTime($expireTime) { $this->expireTime = $expireTime; } /** * @return string */ public function getExpireTime() { return $this->expireTime; } /** * An identifier for the LUN, generated by the backend. * * @param string $id */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * Output only. Instances this Lun is attached to. * * @param string[] $instances */ public function setInstances($instances) { $this->instances = $instances; } /** * @return string[] */ public function getInstances() { return $this->instances; } /** * The LUN multiprotocol type ensures the characteristics of the LUN are * optimized for each operating system. * * Accepted values: MULTIPROTOCOL_TYPE_UNSPECIFIED, LINUX * * @param self::MULTIPROTOCOL_TYPE_* $multiprotocolType */ public function setMultiprotocolType($multiprotocolType) { $this->multiprotocolType = $multiprotocolType; } /** * @return self::MULTIPROTOCOL_TYPE_* */ public function getMultiprotocolType() { return $this->multiprotocolType; } /** * Output only. The name of the LUN. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Display if this LUN can be shared between multiple physical servers. * * @param bool $shareable */ public function setShareable($shareable) { $this->shareable = $shareable; } /** * @return bool */ public function getShareable() { return $this->shareable; } /** * The size of this LUN, in GiB. * * @param string $sizeGb */ public function setSizeGb($sizeGb) { $this->sizeGb = $sizeGb; } /** * @return string */ public function getSizeGb() { return $this->sizeGb; } /** * The state of this storage volume. * * Accepted values: STATE_UNSPECIFIED, CREATING, UPDATING, READY, DELETING, * COOL_OFF * * @param self::STATE_* $state */ public function setState($state) { $this->state = $state; } /** * @return self::STATE_* */ public function getState() { return $this->state; } /** * The storage type for this LUN. * * Accepted values: STORAGE_TYPE_UNSPECIFIED, SSD, HDD * * @param self::STORAGE_TYPE_* $storageType */ public function setStorageType($storageType) { $this->storageType = $storageType; } /** * @return self::STORAGE_TYPE_* */ public function getStorageType() { return $this->storageType; } /** * Display the storage volume for this LUN. * * @param string $storageVolume */ public function setStorageVolume($storageVolume) { $this->storageVolume = $storageVolume; } /** * @return string */ public function getStorageVolume() { return $this->storageVolume; } /** * The WWID for this LUN. * * @param string $wwid */ public function setWwid($wwid) { $this->wwid = $wwid; } /** * @return string */ public function getWwid() { return $this->wwid; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Lun::class, 'Google_Service_Baremetalsolution_Lun');