Skip to content

Commit ab40661

Browse files
Regenerate netapp client
1 parent 7fb0717 commit ab40661

13 files changed

Lines changed: 631 additions & 20 deletions

src/NetAppFiles.php

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class NetAppFiles extends \Google\Service
4949
public $projects_locations_kmsConfigs;
5050
public $projects_locations_operations;
5151
public $projects_locations_storagePools;
52+
public $projects_locations_storagePools_ontap;
5253
public $projects_locations_volumes;
5354
public $projects_locations_volumes_quotaRules;
5455
public $projects_locations_volumes_replications;
@@ -813,6 +814,56 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
813814
]
814815
]
815816
);
817+
$this->projects_locations_storagePools_ontap = new NetAppFiles\Resource\ProjectsLocationsStoragePoolsOntap(
818+
$this,
819+
$this->serviceName,
820+
'ontap',
821+
[
822+
'methods' => [
823+
'executeOntapDelete' => [
824+
'path' => 'v1/{+ontapPath}',
825+
'httpMethod' => 'DELETE',
826+
'parameters' => [
827+
'ontapPath' => [
828+
'location' => 'path',
829+
'type' => 'string',
830+
'required' => true,
831+
],
832+
],
833+
],'executeOntapGet' => [
834+
'path' => 'v1/{+ontapPath}',
835+
'httpMethod' => 'GET',
836+
'parameters' => [
837+
'ontapPath' => [
838+
'location' => 'path',
839+
'type' => 'string',
840+
'required' => true,
841+
],
842+
],
843+
],'executeOntapPatch' => [
844+
'path' => 'v1/{+ontapPath}',
845+
'httpMethod' => 'PATCH',
846+
'parameters' => [
847+
'ontapPath' => [
848+
'location' => 'path',
849+
'type' => 'string',
850+
'required' => true,
851+
],
852+
],
853+
],'executeOntapPost' => [
854+
'path' => 'v1/{+ontapPath}',
855+
'httpMethod' => 'POST',
856+
'parameters' => [
857+
'ontapPath' => [
858+
'location' => 'path',
859+
'type' => 'string',
860+
'required' => true,
861+
],
862+
],
863+
],
864+
]
865+
]
866+
);
816867
$this->projects_locations_volumes = new NetAppFiles\Resource\ProjectsLocationsVolumes(
817868
$this,
818869
$this->serviceName,

src/NetAppFiles/Backup.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ class Backup extends \Google\Model
138138
*/
139139
public $sourceSnapshot;
140140
/**
141-
* Volume full name of this backup belongs to. Format:
141+
* Volume full name of this backup belongs to. Either source_volume or
142+
* ontap_source should be provided. Format:
142143
* `projects/{projects_id}/locations/{location}/volumes/{volume_id}`
143144
*
144145
* @var string
@@ -353,7 +354,8 @@ public function getSourceSnapshot()
353354
return $this->sourceSnapshot;
354355
}
355356
/**
356-
* Volume full name of this backup belongs to. Format:
357+
* Volume full name of this backup belongs to. Either source_volume or
358+
* ontap_source should be provided. Format:
357359
* `projects/{projects_id}/locations/{location}/volumes/{volume_id}`
358360
*
359361
* @param string $sourceVolume
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\NetAppFiles;
19+
20+
class ExecuteOntapDeleteResponse extends \Google\Model
21+
{
22+
/**
23+
* The raw `JSON` body of the response.
24+
*
25+
* @var array[]
26+
*/
27+
public $body;
28+
29+
/**
30+
* The raw `JSON` body of the response.
31+
*
32+
* @param array[] $body
33+
*/
34+
public function setBody($body)
35+
{
36+
$this->body = $body;
37+
}
38+
/**
39+
* @return array[]
40+
*/
41+
public function getBody()
42+
{
43+
return $this->body;
44+
}
45+
}
46+
47+
// Adding a class alias for backwards compatibility with the previous class name.
48+
class_alias(ExecuteOntapDeleteResponse::class, 'Google_Service_NetAppFiles_ExecuteOntapDeleteResponse');
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\NetAppFiles;
19+
20+
class ExecuteOntapGetResponse extends \Google\Model
21+
{
22+
/**
23+
* The raw `JSON` body of the response.
24+
*
25+
* @var array[]
26+
*/
27+
public $body;
28+
29+
/**
30+
* The raw `JSON` body of the response.
31+
*
32+
* @param array[] $body
33+
*/
34+
public function setBody($body)
35+
{
36+
$this->body = $body;
37+
}
38+
/**
39+
* @return array[]
40+
*/
41+
public function getBody()
42+
{
43+
return $this->body;
44+
}
45+
}
46+
47+
// Adding a class alias for backwards compatibility with the previous class name.
48+
class_alias(ExecuteOntapGetResponse::class, 'Google_Service_NetAppFiles_ExecuteOntapGetResponse');
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\NetAppFiles;
19+
20+
class ExecuteOntapPatchRequest extends \Google\Model
21+
{
22+
/**
23+
* Required. The raw `JSON` body of the request. The body should be in the
24+
* format of the ONTAP resource. For example: ``` { "body": { "field1":
25+
* "value1", "field2": "value2", } } ```
26+
*
27+
* @var array[]
28+
*/
29+
public $body;
30+
31+
/**
32+
* Required. The raw `JSON` body of the request. The body should be in the
33+
* format of the ONTAP resource. For example: ``` { "body": { "field1":
34+
* "value1", "field2": "value2", } } ```
35+
*
36+
* @param array[] $body
37+
*/
38+
public function setBody($body)
39+
{
40+
$this->body = $body;
41+
}
42+
/**
43+
* @return array[]
44+
*/
45+
public function getBody()
46+
{
47+
return $this->body;
48+
}
49+
}
50+
51+
// Adding a class alias for backwards compatibility with the previous class name.
52+
class_alias(ExecuteOntapPatchRequest::class, 'Google_Service_NetAppFiles_ExecuteOntapPatchRequest');
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\NetAppFiles;
19+
20+
class ExecuteOntapPatchResponse extends \Google\Model
21+
{
22+
/**
23+
* The raw `JSON` body of the response.
24+
*
25+
* @var array[]
26+
*/
27+
public $body;
28+
29+
/**
30+
* The raw `JSON` body of the response.
31+
*
32+
* @param array[] $body
33+
*/
34+
public function setBody($body)
35+
{
36+
$this->body = $body;
37+
}
38+
/**
39+
* @return array[]
40+
*/
41+
public function getBody()
42+
{
43+
return $this->body;
44+
}
45+
}
46+
47+
// Adding a class alias for backwards compatibility with the previous class name.
48+
class_alias(ExecuteOntapPatchResponse::class, 'Google_Service_NetAppFiles_ExecuteOntapPatchResponse');
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\NetAppFiles;
19+
20+
class ExecuteOntapPostRequest extends \Google\Model
21+
{
22+
/**
23+
* Required. The raw `JSON` body of the request. The body should be in the
24+
* format of the ONTAP resource. For example: ``` { "body": { "field1":
25+
* "value1", "field2": "value2", } } ```
26+
*
27+
* @var array[]
28+
*/
29+
public $body;
30+
31+
/**
32+
* Required. The raw `JSON` body of the request. The body should be in the
33+
* format of the ONTAP resource. For example: ``` { "body": { "field1":
34+
* "value1", "field2": "value2", } } ```
35+
*
36+
* @param array[] $body
37+
*/
38+
public function setBody($body)
39+
{
40+
$this->body = $body;
41+
}
42+
/**
43+
* @return array[]
44+
*/
45+
public function getBody()
46+
{
47+
return $this->body;
48+
}
49+
}
50+
51+
// Adding a class alias for backwards compatibility with the previous class name.
52+
class_alias(ExecuteOntapPostRequest::class, 'Google_Service_NetAppFiles_ExecuteOntapPostRequest');
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\NetAppFiles;
19+
20+
class ExecuteOntapPostResponse extends \Google\Model
21+
{
22+
/**
23+
* The raw `JSON` body of the response.
24+
*
25+
* @var array[]
26+
*/
27+
public $body;
28+
29+
/**
30+
* The raw `JSON` body of the response.
31+
*
32+
* @param array[] $body
33+
*/
34+
public function setBody($body)
35+
{
36+
$this->body = $body;
37+
}
38+
/**
39+
* @return array[]
40+
*/
41+
public function getBody()
42+
{
43+
return $this->body;
44+
}
45+
}
46+
47+
// Adding a class alias for backwards compatibility with the previous class name.
48+
class_alias(ExecuteOntapPostResponse::class, 'Google_Service_NetAppFiles_ExecuteOntapPostResponse');

0 commit comments

Comments
 (0)