Skip to content

Commit a7c6dcc

Browse files
1 parent 20a31b3 commit a7c6dcc

3 files changed

Lines changed: 10 additions & 64 deletions

File tree

src/NetAppFiles/Resource/ProjectsLocations.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,16 @@ public function get($name, $optParams = [])
4646
}
4747
/**
4848
* Lists information about the supported locations for this service. This method
49-
* can be called in two ways: * **List all public locations:** Use the path `GET
50-
* /v1/locations`. * **List project-visible locations:** Use the path `GET
51-
* /v1/projects/{project_id}/locations`. This may include public locations as
52-
* well as private or other locations specifically visible to the project.
53-
* (locations.listProjectsLocations)
49+
* lists locations based on the resource scope provided in the
50+
* [ListLocationsRequest.name] field: * **Global locations**: If `name` is
51+
* empty, the method lists the public locations available to all projects. *
52+
* **Project-specific locations**: If `name` follows the format
53+
* `projects/{project}`, the method lists locations visible to that specific
54+
* project. This includes public, private, or other project-specific locations
55+
* enabled for the project. For gRPC and client library implementations, the
56+
* resource name is passed as the `name` field. For direct service calls, the
57+
* resource name is incorporated into the request path based on the specific
58+
* service implementation and version. (locations.listProjectsLocations)
5459
*
5560
* @param string $name The resource that owns the locations collection, if
5661
* applicable.

src/NetAppFiles/StoragePool.php

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,6 @@ class StoragePool extends \Google\Model
5555
* QoS Type is Manual
5656
*/
5757
public const QOS_TYPE_MANUAL = 'MANUAL';
58-
/**
59-
* The default value. This value is unused.
60-
*/
61-
public const SCALE_TIER_SCALE_TIER_UNSPECIFIED = 'SCALE_TIER_UNSPECIFIED';
62-
/**
63-
* The standard capacity and performance tier. Suitable for general purpose
64-
* workloads.
65-
*/
66-
public const SCALE_TIER_SCALE_TIER_STANDARD = 'SCALE_TIER_STANDARD';
67-
/**
68-
* A higher capacity and performance tier. Suitable for more demanding
69-
* workloads.
70-
*/
71-
public const SCALE_TIER_SCALE_TIER_ENTERPRISE = 'SCALE_TIER_ENTERPRISE';
7258
/**
7359
* Unspecified service level.
7460
*/
@@ -296,13 +282,6 @@ class StoragePool extends \Google\Model
296282
* @var bool
297283
*/
298284
public $satisfiesPzs;
299-
/**
300-
* Optional. The effective scale tier of the storage pool. If `scale_tier` is
301-
* not specified during creation, this defaults to `SCALE_TIER_STANDARD`.
302-
*
303-
* @var string
304-
*/
305-
public $scaleTier;
306285
/**
307286
* Required. Service level of the storage pool
308287
*
@@ -763,26 +742,6 @@ public function getSatisfiesPzs()
763742
{
764743
return $this->satisfiesPzs;
765744
}
766-
/**
767-
* Optional. The effective scale tier of the storage pool. If `scale_tier` is
768-
* not specified during creation, this defaults to `SCALE_TIER_STANDARD`.
769-
*
770-
* Accepted values: SCALE_TIER_UNSPECIFIED, SCALE_TIER_STANDARD,
771-
* SCALE_TIER_ENTERPRISE
772-
*
773-
* @param self::SCALE_TIER_* $scaleTier
774-
*/
775-
public function setScaleTier($scaleTier)
776-
{
777-
$this->scaleTier = $scaleTier;
778-
}
779-
/**
780-
* @return self::SCALE_TIER_*
781-
*/
782-
public function getScaleTier()
783-
{
784-
return $this->scaleTier;
785-
}
786745
/**
787746
* Required. Service level of the storage pool
788747
*

src/NetAppFiles/Volume.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,6 @@ class Volume extends \Google\Collection
195195
* @var bool
196196
*/
197197
public $largeCapacity;
198-
protected $largeCapacityConfigType = LargeCapacityConfig::class;
199-
protected $largeCapacityConfigDataType = '';
200198
/**
201199
* Output only. Flag indicating if the volume is NFS LDAP enabled or not.
202200
*
@@ -638,22 +636,6 @@ public function getLargeCapacity()
638636
{
639637
return $this->largeCapacity;
640638
}
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-
}
657639
/**
658640
* Output only. Flag indicating if the volume is NFS LDAP enabled or not.
659641
*

0 commit comments

Comments
 (0)