Skip to content

Commit 89a5246

Browse files
1 parent 6e9d990 commit 89a5246

2 files changed

Lines changed: 59 additions & 0 deletions

File tree

src/NetAppFiles/StoragePool.php

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,20 @@ class StoragePool extends \Google\Model
5555
* QoS Type is Manual
5656
*/
5757
public const QOS_TYPE_MANUAL = 'MANUAL';
58+
/**
59+
* Unspecified scale type.
60+
*/
61+
public const SCALE_TYPE_SCALE_TYPE_UNSPECIFIED = 'SCALE_TYPE_UNSPECIFIED';
62+
/**
63+
* Represents standard capacity and performance scale-type. Suitable for
64+
* general purpose workloads.
65+
*/
66+
public const SCALE_TYPE_SCALE_TYPE_DEFAULT = 'SCALE_TYPE_DEFAULT';
67+
/**
68+
* Represents higher capacity and performance scale-type. Suitable for more
69+
* demanding workloads.
70+
*/
71+
public const SCALE_TYPE_SCALE_TYPE_SCALEOUT = 'SCALE_TYPE_SCALEOUT';
5872
/**
5973
* Unspecified service level.
6074
*/
@@ -282,6 +296,13 @@ class StoragePool extends \Google\Model
282296
* @var bool
283297
*/
284298
public $satisfiesPzs;
299+
/**
300+
* Optional. The scale type of the storage pool. Defaults to
301+
* `SCALE_TYPE_DEFAULT` if not specified.
302+
*
303+
* @var string
304+
*/
305+
public $scaleType;
285306
/**
286307
* Required. Service level of the storage pool
287308
*
@@ -742,6 +763,26 @@ public function getSatisfiesPzs()
742763
{
743764
return $this->satisfiesPzs;
744765
}
766+
/**
767+
* Optional. The scale type of the storage pool. Defaults to
768+
* `SCALE_TYPE_DEFAULT` if not specified.
769+
*
770+
* Accepted values: SCALE_TYPE_UNSPECIFIED, SCALE_TYPE_DEFAULT,
771+
* SCALE_TYPE_SCALEOUT
772+
*
773+
* @param self::SCALE_TYPE_* $scaleType
774+
*/
775+
public function setScaleType($scaleType)
776+
{
777+
$this->scaleType = $scaleType;
778+
}
779+
/**
780+
* @return self::SCALE_TYPE_*
781+
*/
782+
public function getScaleType()
783+
{
784+
return $this->scaleType;
785+
}
745786
/**
746787
* Required. Service level of the storage pool
747788
*

src/NetAppFiles/Volume.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ class Volume extends \Google\Collection
195195
* @var bool
196196
*/
197197
public $largeCapacity;
198+
protected $largeCapacityConfigType = LargeCapacityConfig::class;
199+
protected $largeCapacityConfigDataType = '';
198200
/**
199201
* Output only. Flag indicating if the volume is NFS LDAP enabled or not.
200202
*
@@ -636,6 +638,22 @@ public function getLargeCapacity()
636638
{
637639
return $this->largeCapacity;
638640
}
641+
/**
642+
* Optional. Large capacity config for the volume.
643+
*
644+
* @param LargeCapacityConfig $largeCapacityConfig
645+
*/
646+
public function setLargeCapacityConfig(LargeCapacityConfig $largeCapacityConfig)
647+
{
648+
$this->largeCapacityConfig = $largeCapacityConfig;
649+
}
650+
/**
651+
* @return LargeCapacityConfig
652+
*/
653+
public function getLargeCapacityConfig()
654+
{
655+
return $this->largeCapacityConfig;
656+
}
639657
/**
640658
* Output only. Flag indicating if the volume is NFS LDAP enabled or not.
641659
*

0 commit comments

Comments
 (0)