|
20 | 20 | class NodeNetworkConfig extends \Google\Collection |
21 | 21 | { |
22 | 22 | protected $collection_key = 'additionalPodNetworkConfigs'; |
| 23 | + /** |
| 24 | + * Immutable. The accelerator network profile for the node pool. For now the |
| 25 | + * only valid value is "auto". If specified, the network configuration of the |
| 26 | + * nodes in this node pool will be managed by this profile for the supported |
| 27 | + * machine types, zone, etc. |
| 28 | + * |
| 29 | + * @var string |
| 30 | + */ |
| 31 | + public $acceleratorNetworkProfile; |
23 | 32 | protected $additionalNodeNetworkConfigsType = AdditionalNodeNetworkConfig::class; |
24 | 33 | protected $additionalNodeNetworkConfigsDataType = 'array'; |
25 | 34 | protected $additionalPodNetworkConfigsType = AdditionalPodNetworkConfig::class; |
@@ -96,6 +105,25 @@ class NodeNetworkConfig extends \Google\Collection |
96 | 105 | */ |
97 | 106 | public $subnetwork; |
98 | 107 |
|
| 108 | + /** |
| 109 | + * Immutable. The accelerator network profile for the node pool. For now the |
| 110 | + * only valid value is "auto". If specified, the network configuration of the |
| 111 | + * nodes in this node pool will be managed by this profile for the supported |
| 112 | + * machine types, zone, etc. |
| 113 | + * |
| 114 | + * @param string $acceleratorNetworkProfile |
| 115 | + */ |
| 116 | + public function setAcceleratorNetworkProfile($acceleratorNetworkProfile) |
| 117 | + { |
| 118 | + $this->acceleratorNetworkProfile = $acceleratorNetworkProfile; |
| 119 | + } |
| 120 | + /** |
| 121 | + * @return string |
| 122 | + */ |
| 123 | + public function getAcceleratorNetworkProfile() |
| 124 | + { |
| 125 | + return $this->acceleratorNetworkProfile; |
| 126 | + } |
99 | 127 | /** |
100 | 128 | * We specify the additional node networks for this node pool using this list. |
101 | 129 | * Each node network corresponds to an additional interface |
|
0 commit comments