Skip to content

Commit d86047e

Browse files
1 parent d29f0f3 commit d86047e

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

src/Container/NodeNetworkConfig.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@
2020
class NodeNetworkConfig extends \Google\Collection
2121
{
2222
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;
2332
protected $additionalNodeNetworkConfigsType = AdditionalNodeNetworkConfig::class;
2433
protected $additionalNodeNetworkConfigsDataType = 'array';
2534
protected $additionalPodNetworkConfigsType = AdditionalPodNetworkConfig::class;
@@ -96,6 +105,25 @@ class NodeNetworkConfig extends \Google\Collection
96105
*/
97106
public $subnetwork;
98107

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+
}
99127
/**
100128
* We specify the additional node networks for this node pool using this list.
101129
* Each node network corresponds to an additional interface

0 commit comments

Comments
 (0)