Skip to content

Commit 95f1762

Browse files
1 parent 822fcfe commit 95f1762

21 files changed

Lines changed: 1769 additions & 7 deletions

src/Dataform.php

Lines changed: 234 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,32 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
124124
'type' => 'string',
125125
],
126126
],
127+
],'queryUserRootContents' => [
128+
'path' => 'v1/{+location}:queryUserRootContents',
129+
'httpMethod' => 'GET',
130+
'parameters' => [
131+
'location' => [
132+
'location' => 'path',
133+
'type' => 'string',
134+
'required' => true,
135+
],
136+
'filter' => [
137+
'location' => 'query',
138+
'type' => 'string',
139+
],
140+
'orderBy' => [
141+
'location' => 'query',
142+
'type' => 'string',
143+
],
144+
'pageSize' => [
145+
'location' => 'query',
146+
'type' => 'integer',
147+
],
148+
'pageToken' => [
149+
'location' => 'query',
150+
'type' => 'string',
151+
],
152+
],
127153
],'updateConfig' => [
128154
'path' => 'v1/{+name}',
129155
'httpMethod' => 'PATCH',
@@ -148,7 +174,47 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
148174
'folders',
149175
[
150176
'methods' => [
151-
'getIamPolicy' => [
177+
'create' => [
178+
'path' => 'v1/{+parent}/folders',
179+
'httpMethod' => 'POST',
180+
'parameters' => [
181+
'parent' => [
182+
'location' => 'path',
183+
'type' => 'string',
184+
'required' => true,
185+
],
186+
],
187+
],'delete' => [
188+
'path' => 'v1/{+name}',
189+
'httpMethod' => 'DELETE',
190+
'parameters' => [
191+
'name' => [
192+
'location' => 'path',
193+
'type' => 'string',
194+
'required' => true,
195+
],
196+
],
197+
],'deleteTree' => [
198+
'path' => 'v1/{+name}:deleteTree',
199+
'httpMethod' => 'POST',
200+
'parameters' => [
201+
'name' => [
202+
'location' => 'path',
203+
'type' => 'string',
204+
'required' => true,
205+
],
206+
],
207+
],'get' => [
208+
'path' => 'v1/{+name}',
209+
'httpMethod' => 'GET',
210+
'parameters' => [
211+
'name' => [
212+
'location' => 'path',
213+
'type' => 'string',
214+
'required' => true,
215+
],
216+
],
217+
],'getIamPolicy' => [
152218
'path' => 'v1/{+resource}:getIamPolicy',
153219
'httpMethod' => 'GET',
154220
'parameters' => [
@@ -162,6 +228,56 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
162228
'type' => 'integer',
163229
],
164230
],
231+
],'move' => [
232+
'path' => 'v1/{+name}:move',
233+
'httpMethod' => 'POST',
234+
'parameters' => [
235+
'name' => [
236+
'location' => 'path',
237+
'type' => 'string',
238+
'required' => true,
239+
],
240+
],
241+
],'patch' => [
242+
'path' => 'v1/{+name}',
243+
'httpMethod' => 'PATCH',
244+
'parameters' => [
245+
'name' => [
246+
'location' => 'path',
247+
'type' => 'string',
248+
'required' => true,
249+
],
250+
'updateMask' => [
251+
'location' => 'query',
252+
'type' => 'string',
253+
],
254+
],
255+
],'queryFolderContents' => [
256+
'path' => 'v1/{+folder}:queryFolderContents',
257+
'httpMethod' => 'GET',
258+
'parameters' => [
259+
'folder' => [
260+
'location' => 'path',
261+
'type' => 'string',
262+
'required' => true,
263+
],
264+
'filter' => [
265+
'location' => 'query',
266+
'type' => 'string',
267+
],
268+
'orderBy' => [
269+
'location' => 'query',
270+
'type' => 'string',
271+
],
272+
'pageSize' => [
273+
'location' => 'query',
274+
'type' => 'integer',
275+
],
276+
'pageToken' => [
277+
'location' => 'query',
278+
'type' => 'string',
279+
],
280+
],
165281
],'setIamPolicy' => [
166282
'path' => 'v1/{+resource}:setIamPolicy',
167283
'httpMethod' => 'POST',
@@ -384,6 +500,16 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
384500
'type' => 'string',
385501
],
386502
],
503+
],'move' => [
504+
'path' => 'v1/{+name}:move',
505+
'httpMethod' => 'POST',
506+
'parameters' => [
507+
'name' => [
508+
'location' => 'path',
509+
'type' => 'string',
510+
'required' => true,
511+
],
512+
],
387513
],'patch' => [
388514
'path' => 'v1/{+name}',
389515
'httpMethod' => 'PATCH',
@@ -1114,7 +1240,47 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
11141240
'teamFolders',
11151241
[
11161242
'methods' => [
1117-
'getIamPolicy' => [
1243+
'create' => [
1244+
'path' => 'v1/{+parent}/teamFolders',
1245+
'httpMethod' => 'POST',
1246+
'parameters' => [
1247+
'parent' => [
1248+
'location' => 'path',
1249+
'type' => 'string',
1250+
'required' => true,
1251+
],
1252+
],
1253+
],'delete' => [
1254+
'path' => 'v1/{+name}',
1255+
'httpMethod' => 'DELETE',
1256+
'parameters' => [
1257+
'name' => [
1258+
'location' => 'path',
1259+
'type' => 'string',
1260+
'required' => true,
1261+
],
1262+
],
1263+
],'deleteTree' => [
1264+
'path' => 'v1/{+name}:deleteTree',
1265+
'httpMethod' => 'POST',
1266+
'parameters' => [
1267+
'name' => [
1268+
'location' => 'path',
1269+
'type' => 'string',
1270+
'required' => true,
1271+
],
1272+
],
1273+
],'get' => [
1274+
'path' => 'v1/{+name}',
1275+
'httpMethod' => 'GET',
1276+
'parameters' => [
1277+
'name' => [
1278+
'location' => 'path',
1279+
'type' => 'string',
1280+
'required' => true,
1281+
],
1282+
],
1283+
],'getIamPolicy' => [
11181284
'path' => 'v1/{+resource}:getIamPolicy',
11191285
'httpMethod' => 'GET',
11201286
'parameters' => [
@@ -1128,6 +1294,72 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
11281294
'type' => 'integer',
11291295
],
11301296
],
1297+
],'patch' => [
1298+
'path' => 'v1/{+name}',
1299+
'httpMethod' => 'PATCH',
1300+
'parameters' => [
1301+
'name' => [
1302+
'location' => 'path',
1303+
'type' => 'string',
1304+
'required' => true,
1305+
],
1306+
'updateMask' => [
1307+
'location' => 'query',
1308+
'type' => 'string',
1309+
],
1310+
],
1311+
],'queryContents' => [
1312+
'path' => 'v1/{+teamFolder}:queryContents',
1313+
'httpMethod' => 'GET',
1314+
'parameters' => [
1315+
'teamFolder' => [
1316+
'location' => 'path',
1317+
'type' => 'string',
1318+
'required' => true,
1319+
],
1320+
'filter' => [
1321+
'location' => 'query',
1322+
'type' => 'string',
1323+
],
1324+
'orderBy' => [
1325+
'location' => 'query',
1326+
'type' => 'string',
1327+
],
1328+
'pageSize' => [
1329+
'location' => 'query',
1330+
'type' => 'integer',
1331+
],
1332+
'pageToken' => [
1333+
'location' => 'query',
1334+
'type' => 'string',
1335+
],
1336+
],
1337+
],'search' => [
1338+
'path' => 'v1/{+location}/teamFolders:search',
1339+
'httpMethod' => 'GET',
1340+
'parameters' => [
1341+
'location' => [
1342+
'location' => 'path',
1343+
'type' => 'string',
1344+
'required' => true,
1345+
],
1346+
'filter' => [
1347+
'location' => 'query',
1348+
'type' => 'string',
1349+
],
1350+
'orderBy' => [
1351+
'location' => 'query',
1352+
'type' => 'string',
1353+
],
1354+
'pageSize' => [
1355+
'location' => 'query',
1356+
'type' => 'integer',
1357+
],
1358+
'pageToken' => [
1359+
'location' => 'query',
1360+
'type' => 'string',
1361+
],
1362+
],
11311363
],'setIamPolicy' => [
11321364
'path' => 'v1/{+resource}:setIamPolicy',
11331365
'httpMethod' => 'POST',
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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\Dataform;
19+
20+
class DeleteFolderTreeRequest extends \Google\Model
21+
{
22+
/**
23+
* Optional. If `false` (default): The operation will fail if any Repository
24+
* within the folder hierarchy has associated Release Configs or Workflow
25+
* Configs. If `true`: The operation will attempt to delete everything,
26+
* including any Release Configs and Workflow Configs linked to Repositories
27+
* within the folder hierarchy. This permanently removes schedules and
28+
* resources.
29+
*
30+
* @var bool
31+
*/
32+
public $force;
33+
34+
/**
35+
* Optional. If `false` (default): The operation will fail if any Repository
36+
* within the folder hierarchy has associated Release Configs or Workflow
37+
* Configs. If `true`: The operation will attempt to delete everything,
38+
* including any Release Configs and Workflow Configs linked to Repositories
39+
* within the folder hierarchy. This permanently removes schedules and
40+
* resources.
41+
*
42+
* @param bool $force
43+
*/
44+
public function setForce($force)
45+
{
46+
$this->force = $force;
47+
}
48+
/**
49+
* @return bool
50+
*/
51+
public function getForce()
52+
{
53+
return $this->force;
54+
}
55+
}
56+
57+
// Adding a class alias for backwards compatibility with the previous class name.
58+
class_alias(DeleteFolderTreeRequest::class, 'Google_Service_Dataform_DeleteFolderTreeRequest');
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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\Dataform;
19+
20+
class DeleteTeamFolderTreeRequest extends \Google\Model
21+
{
22+
/**
23+
* Optional. If `false` (default): The operation will fail if any Repository
24+
* within the folder hierarchy has associated Release Configs or Workflow
25+
* Configs. If `true`: The operation will attempt to delete everything,
26+
* including any Release Configs and Workflow Configs linked to Repositories
27+
* within the folder hierarchy. This permanently removes schedules and
28+
* resources.
29+
*
30+
* @var bool
31+
*/
32+
public $force;
33+
34+
/**
35+
* Optional. If `false` (default): The operation will fail if any Repository
36+
* within the folder hierarchy has associated Release Configs or Workflow
37+
* Configs. If `true`: The operation will attempt to delete everything,
38+
* including any Release Configs and Workflow Configs linked to Repositories
39+
* within the folder hierarchy. This permanently removes schedules and
40+
* resources.
41+
*
42+
* @param bool $force
43+
*/
44+
public function setForce($force)
45+
{
46+
$this->force = $force;
47+
}
48+
/**
49+
* @return bool
50+
*/
51+
public function getForce()
52+
{
53+
return $this->force;
54+
}
55+
}
56+
57+
// Adding a class alias for backwards compatibility with the previous class name.
58+
class_alias(DeleteTeamFolderTreeRequest::class, 'Google_Service_Dataform_DeleteTeamFolderTreeRequest');

0 commit comments

Comments
 (0)