Skip to content

Commit b11c6c1

Browse files
1 parent a74c279 commit b11c6c1

3 files changed

Lines changed: 142 additions & 3 deletions

File tree

src/NetAppFiles.php

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class NetAppFiles extends \Google\Service
4949
public $projects_locations_operations;
5050
public $projects_locations_storagePools;
5151
public $projects_locations_volumes;
52+
public $projects_locations_volumes_quotaRules;
5253
public $projects_locations_volumes_replications;
5354
public $projects_locations_volumes_snapshots;
5455
public $rootUrlTemplate;
@@ -816,6 +817,90 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
816817
]
817818
]
818819
);
820+
$this->projects_locations_volumes_quotaRules = new NetAppFiles\Resource\ProjectsLocationsVolumesQuotaRules(
821+
$this,
822+
$this->serviceName,
823+
'quotaRules',
824+
[
825+
'methods' => [
826+
'create' => [
827+
'path' => 'v1/{+parent}/quotaRules',
828+
'httpMethod' => 'POST',
829+
'parameters' => [
830+
'parent' => [
831+
'location' => 'path',
832+
'type' => 'string',
833+
'required' => true,
834+
],
835+
'quotaRuleId' => [
836+
'location' => 'query',
837+
'type' => 'string',
838+
],
839+
],
840+
],'delete' => [
841+
'path' => 'v1/{+name}',
842+
'httpMethod' => 'DELETE',
843+
'parameters' => [
844+
'name' => [
845+
'location' => 'path',
846+
'type' => 'string',
847+
'required' => true,
848+
],
849+
],
850+
],'get' => [
851+
'path' => 'v1/{+name}',
852+
'httpMethod' => 'GET',
853+
'parameters' => [
854+
'name' => [
855+
'location' => 'path',
856+
'type' => 'string',
857+
'required' => true,
858+
],
859+
],
860+
],'list' => [
861+
'path' => 'v1/{+parent}/quotaRules',
862+
'httpMethod' => 'GET',
863+
'parameters' => [
864+
'parent' => [
865+
'location' => 'path',
866+
'type' => 'string',
867+
'required' => true,
868+
],
869+
'filter' => [
870+
'location' => 'query',
871+
'type' => 'string',
872+
],
873+
'orderBy' => [
874+
'location' => 'query',
875+
'type' => 'string',
876+
],
877+
'pageSize' => [
878+
'location' => 'query',
879+
'type' => 'integer',
880+
],
881+
'pageToken' => [
882+
'location' => 'query',
883+
'type' => 'string',
884+
],
885+
],
886+
],'patch' => [
887+
'path' => 'v1/{+name}',
888+
'httpMethod' => 'PATCH',
889+
'parameters' => [
890+
'name' => [
891+
'location' => 'path',
892+
'type' => 'string',
893+
'required' => true,
894+
],
895+
'updateMask' => [
896+
'location' => 'query',
897+
'type' => 'string',
898+
],
899+
],
900+
],
901+
]
902+
]
903+
);
819904
$this->projects_locations_volumes_replications = new NetAppFiles\Resource\ProjectsLocationsVolumesReplications(
820905
$this,
821906
$this->serviceName,

src/NetAppFiles/HybridPeeringDetails.php

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ class HybridPeeringDetails extends \Google\Model
3131
* @var string
3232
*/
3333
public $passphrase;
34+
/**
35+
* @var string
36+
*/
37+
public $peerClusterName;
38+
/**
39+
* @var string
40+
*/
41+
public $peerSvmName;
42+
/**
43+
* @var string
44+
*/
45+
public $peerVolumeName;
3446
/**
3547
* @var string
3648
*/
@@ -78,6 +90,48 @@ public function getPassphrase()
7890
{
7991
return $this->passphrase;
8092
}
93+
/**
94+
* @param string
95+
*/
96+
public function setPeerClusterName($peerClusterName)
97+
{
98+
$this->peerClusterName = $peerClusterName;
99+
}
100+
/**
101+
* @return string
102+
*/
103+
public function getPeerClusterName()
104+
{
105+
return $this->peerClusterName;
106+
}
107+
/**
108+
* @param string
109+
*/
110+
public function setPeerSvmName($peerSvmName)
111+
{
112+
$this->peerSvmName = $peerSvmName;
113+
}
114+
/**
115+
* @return string
116+
*/
117+
public function getPeerSvmName()
118+
{
119+
return $this->peerSvmName;
120+
}
121+
/**
122+
* @param string
123+
*/
124+
public function setPeerVolumeName($peerVolumeName)
125+
{
126+
$this->peerVolumeName = $peerVolumeName;
127+
}
128+
/**
129+
* @return string
130+
*/
131+
public function getPeerVolumeName()
132+
{
133+
return $this->peerVolumeName;
134+
}
81135
/**
82136
* @param string
83137
*/

src/NetAppFiles/Resource/ProjectsLocationsVolumesQuotaRules.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ public function listProjectsLocationsVolumesQuotaRules($parent, $optParams = [])
105105
/**
106106
* Updates a quota rule. (quotaRules.patch)
107107
*
108-
* @param string $name Identifier. The resource name of the active directory.
109-
* Format: `projects/{project_number}/locations/{location_id}/quotaRules/{quota_
110-
* rule_id}`.
108+
* @param string $name Identifier. The resource name of the quota rule. Format:
109+
* `projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id
110+
* }/quotaRules/{quota_rule_id}`.
111111
* @param QuotaRule $postBody
112112
* @param array $optParams Optional parameters.
113113
*

0 commit comments

Comments
 (0)