acceleratorCount = $acceleratorCount; } /** * @return int */ public function getAcceleratorCount() { return $this->acceleratorCount; } /** * Full or partial URL of the accelerator type resource to attach to this * instance. For example:projects/my-project/zones/us- * central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an * instance template, specify only the accelerator name. See GPUs on Compute * Engine for a full list of accelerator types. * * @param string $acceleratorType */ public function setAcceleratorType($acceleratorType) { $this->acceleratorType = $acceleratorType; } /** * @return string */ public function getAcceleratorType() { return $this->acceleratorType; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AcceleratorConfig::class, 'Google_Service_Compute_AcceleratorConfig');