acceleratorCount = $acceleratorCount; } /** * @return int */ public function getAcceleratorCount() { return $this->acceleratorCount; } /** * Full URL, partial URI, or short name of the accelerator type resource to * expose to this instance. See Compute Engine AcceleratorTypes (https://cloud * .google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://w * ww.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/accelerator * Types/nvidia-tesla-t4 * projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-t4 nvidia- * tesla-t4Auto Zone Exception: If you are using the Dataproc Auto Zone * Placement (https://cloud.google.com/dataproc/docs/concepts/configuring- * clusters/auto-zone#using_auto_zone_placement) feature, you must use the * short name of the accelerator type resource, for example, nvidia-tesla-t4. * * @param string $acceleratorTypeUri */ public function setAcceleratorTypeUri($acceleratorTypeUri) { $this->acceleratorTypeUri = $acceleratorTypeUri; } /** * @return string */ public function getAcceleratorTypeUri() { return $this->acceleratorTypeUri; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(AcceleratorConfig::class, 'Google_Service_Dataproc_AcceleratorConfig');