Skip to content

Commit 69fd281

Browse files
1 parent 40dc66a commit 69fd281

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/TPU/Node.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ class Node extends \Google\Collection
7474
public $name;
7575
protected $networkConfigType = NetworkConfig::class;
7676
protected $networkConfigDataType = '';
77+
protected $networkConfigsType = NetworkConfig::class;
78+
protected $networkConfigsDataType = 'array';
7779
protected $networkEndpointsType = NetworkEndpoint::class;
7880
protected $networkEndpointsDataType = 'array';
7981
/**
@@ -311,6 +313,20 @@ public function getNetworkConfig()
311313
{
312314
return $this->networkConfig;
313315
}
316+
/**
317+
* @param NetworkConfig[]
318+
*/
319+
public function setNetworkConfigs($networkConfigs)
320+
{
321+
$this->networkConfigs = $networkConfigs;
322+
}
323+
/**
324+
* @return NetworkConfig[]
325+
*/
326+
public function getNetworkConfigs()
327+
{
328+
return $this->networkConfigs;
329+
}
314330
/**
315331
* @param NetworkEndpoint[]
316332
*/

0 commit comments

Comments
 (0)