canIpForward = $canIpForward; } /** * @return bool */ public function getCanIpForward() { return $this->canIpForward; } /** * @param bool */ public function setDeletionProtection($deletionProtection) { $this->deletionProtection = $deletionProtection; } /** * @return bool */ public function getDeletionProtection() { return $this->deletionProtection; } /** * @param string */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param SavedAttachedDisk[] */ public function setDisks($disks) { $this->disks = $disks; } /** * @return SavedAttachedDisk[] */ public function getDisks() { return $this->disks; } /** * @param AcceleratorConfig[] */ public function setGuestAccelerators($guestAccelerators) { $this->guestAccelerators = $guestAccelerators; } /** * @return AcceleratorConfig[] */ public function getGuestAccelerators() { return $this->guestAccelerators; } /** * @param string */ public function setKeyRevocationActionType($keyRevocationActionType) { $this->keyRevocationActionType = $keyRevocationActionType; } /** * @return string */ public function getKeyRevocationActionType() { return $this->keyRevocationActionType; } /** * @param string[] */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * @param string */ public function setMachineType($machineType) { $this->machineType = $machineType; } /** * @return string */ public function getMachineType() { return $this->machineType; } /** * @param Metadata */ public function setMetadata(Metadata $metadata) { $this->metadata = $metadata; } /** * @return Metadata */ public function getMetadata() { return $this->metadata; } /** * @param string */ public function setMinCpuPlatform($minCpuPlatform) { $this->minCpuPlatform = $minCpuPlatform; } /** * @return string */ public function getMinCpuPlatform() { return $this->minCpuPlatform; } /** * @param NetworkInterface[] */ public function setNetworkInterfaces($networkInterfaces) { $this->networkInterfaces = $networkInterfaces; } /** * @return NetworkInterface[] */ public function getNetworkInterfaces() { return $this->networkInterfaces; } /** * @param Scheduling */ public function setScheduling(Scheduling $scheduling) { $this->scheduling = $scheduling; } /** * @return Scheduling */ public function getScheduling() { return $this->scheduling; } /** * @param ServiceAccount[] */ public function setServiceAccounts($serviceAccounts) { $this->serviceAccounts = $serviceAccounts; } /** * @return ServiceAccount[] */ public function getServiceAccounts() { return $this->serviceAccounts; } /** * @param Tags */ public function setTags(Tags $tags) { $this->tags = $tags; } /** * @return Tags */ public function getTags() { return $this->tags; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SourceInstanceProperties::class, 'Google_Service_Compute_SourceInstanceProperties');