Skip to content

Commit cd3d9a2

Browse files
Regenerate cloudresourcemanager client (#6574)
1 parent d17560a commit cd3d9a2

10 files changed

Lines changed: 611 additions & 2 deletions

src/CloudResourceManager.php

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ class CloudResourceManager extends \Google\Service
4444

4545
public $effectiveTags;
4646
public $folders;
47+
public $folders_capabilities;
4748
public $liens;
49+
public $locations_effectiveTagBindingCollections;
50+
public $locations_tagBindingCollections;
4851
public $operations;
4952
public $organizations;
5053
public $projects;
@@ -234,6 +237,40 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
234237
]
235238
]
236239
);
240+
$this->folders_capabilities = new CloudResourceManager\Resource\FoldersCapabilities(
241+
$this,
242+
$this->serviceName,
243+
'capabilities',
244+
[
245+
'methods' => [
246+
'get' => [
247+
'path' => 'v3/{+name}',
248+
'httpMethod' => 'GET',
249+
'parameters' => [
250+
'name' => [
251+
'location' => 'path',
252+
'type' => 'string',
253+
'required' => true,
254+
],
255+
],
256+
],'patch' => [
257+
'path' => 'v3/{+name}',
258+
'httpMethod' => 'PATCH',
259+
'parameters' => [
260+
'name' => [
261+
'location' => 'path',
262+
'type' => 'string',
263+
'required' => true,
264+
],
265+
'updateMask' => [
266+
'location' => 'query',
267+
'type' => 'string',
268+
],
269+
],
270+
],
271+
]
272+
]
273+
);
237274
$this->liens = new CloudResourceManager\Resource\Liens(
238275
$this,
239276
$this->serviceName,
@@ -285,6 +322,60 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
285322
]
286323
]
287324
);
325+
$this->locations_effectiveTagBindingCollections = new CloudResourceManager\Resource\LocationsEffectiveTagBindingCollections(
326+
$this,
327+
$this->serviceName,
328+
'effectiveTagBindingCollections',
329+
[
330+
'methods' => [
331+
'get' => [
332+
'path' => 'v3/{+name}',
333+
'httpMethod' => 'GET',
334+
'parameters' => [
335+
'name' => [
336+
'location' => 'path',
337+
'type' => 'string',
338+
'required' => true,
339+
],
340+
],
341+
],
342+
]
343+
]
344+
);
345+
$this->locations_tagBindingCollections = new CloudResourceManager\Resource\LocationsTagBindingCollections(
346+
$this,
347+
$this->serviceName,
348+
'tagBindingCollections',
349+
[
350+
'methods' => [
351+
'get' => [
352+
'path' => 'v3/{+name}',
353+
'httpMethod' => 'GET',
354+
'parameters' => [
355+
'name' => [
356+
'location' => 'path',
357+
'type' => 'string',
358+
'required' => true,
359+
],
360+
],
361+
],'patch' => [
362+
'path' => 'v3/{+name}',
363+
'httpMethod' => 'PATCH',
364+
'parameters' => [
365+
'name' => [
366+
'location' => 'path',
367+
'type' => 'string',
368+
'required' => true,
369+
],
370+
'updateMask' => [
371+
'location' => 'query',
372+
'type' => 'string',
373+
],
374+
],
375+
],
376+
]
377+
]
378+
);
288379
$this->operations = new CloudResourceManager\Resource\Operations(
289380
$this,
290381
$this->serviceName,
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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\CloudResourceManager;
19+
20+
class Capability extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $name;
26+
/**
27+
* @var bool
28+
*/
29+
public $value;
30+
31+
/**
32+
* @param string
33+
*/
34+
public function setName($name)
35+
{
36+
$this->name = $name;
37+
}
38+
/**
39+
* @return string
40+
*/
41+
public function getName()
42+
{
43+
return $this->name;
44+
}
45+
/**
46+
* @param bool
47+
*/
48+
public function setValue($value)
49+
{
50+
$this->value = $value;
51+
}
52+
/**
53+
* @return bool
54+
*/
55+
public function getValue()
56+
{
57+
return $this->value;
58+
}
59+
}
60+
61+
// Adding a class alias for backwards compatibility with the previous class name.
62+
class_alias(Capability::class, 'Google_Service_CloudResourceManager_Capability');
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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\CloudResourceManager;
19+
20+
class EffectiveTagBindingCollection extends \Google\Model
21+
{
22+
/**
23+
* @var string[]
24+
*/
25+
public $effectiveTags;
26+
/**
27+
* @var string
28+
*/
29+
public $fullResourceName;
30+
/**
31+
* @var string
32+
*/
33+
public $name;
34+
35+
/**
36+
* @param string[]
37+
*/
38+
public function setEffectiveTags($effectiveTags)
39+
{
40+
$this->effectiveTags = $effectiveTags;
41+
}
42+
/**
43+
* @return string[]
44+
*/
45+
public function getEffectiveTags()
46+
{
47+
return $this->effectiveTags;
48+
}
49+
/**
50+
* @param string
51+
*/
52+
public function setFullResourceName($fullResourceName)
53+
{
54+
$this->fullResourceName = $fullResourceName;
55+
}
56+
/**
57+
* @return string
58+
*/
59+
public function getFullResourceName()
60+
{
61+
return $this->fullResourceName;
62+
}
63+
/**
64+
* @param string
65+
*/
66+
public function setName($name)
67+
{
68+
$this->name = $name;
69+
}
70+
/**
71+
* @return string
72+
*/
73+
public function getName()
74+
{
75+
return $this->name;
76+
}
77+
}
78+
79+
// Adding a class alias for backwards compatibility with the previous class name.
80+
class_alias(EffectiveTagBindingCollection::class, 'Google_Service_CloudResourceManager_EffectiveTagBindingCollection');

src/CloudResourceManager/Folder.php

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@
1717

1818
namespace Google\Service\CloudResourceManager;
1919

20-
class Folder extends \Google\Model
20+
class Folder extends \Google\Collection
2121
{
22+
protected $collection_key = 'configuredCapabilities';
23+
/**
24+
* @var string[]
25+
*/
26+
public $configuredCapabilities;
2227
/**
2328
* @var string
2429
*/
@@ -35,6 +40,10 @@ class Folder extends \Google\Model
3540
* @var string
3641
*/
3742
public $etag;
43+
/**
44+
* @var string
45+
*/
46+
public $managementProject;
3847
/**
3948
* @var string
4049
*/
@@ -56,6 +65,20 @@ class Folder extends \Google\Model
5665
*/
5766
public $updateTime;
5867

68+
/**
69+
* @param string[]
70+
*/
71+
public function setConfiguredCapabilities($configuredCapabilities)
72+
{
73+
$this->configuredCapabilities = $configuredCapabilities;
74+
}
75+
/**
76+
* @return string[]
77+
*/
78+
public function getConfiguredCapabilities()
79+
{
80+
return $this->configuredCapabilities;
81+
}
5982
/**
6083
* @param string
6184
*/
@@ -112,6 +135,20 @@ public function getEtag()
112135
{
113136
return $this->etag;
114137
}
138+
/**
139+
* @param string
140+
*/
141+
public function setManagementProject($managementProject)
142+
{
143+
$this->managementProject = $managementProject;
144+
}
145+
/**
146+
* @return string
147+
*/
148+
public function getManagementProject()
149+
{
150+
return $this->managementProject;
151+
}
115152
/**
116153
* @param string
117154
*/

src/CloudResourceManager/Resource/Folders.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public function move($name, MoveFolderRequest $postBody, $optParams = [])
205205
* explaining this violation will be returned in the Status.details field.
206206
* (folders.patch)
207207
*
208-
* @param string $name Output only. The resource name of the folder. Its format
208+
* @param string $name Identifier. The resource name of the folder. Its format
209209
* is `folders/{folder_id}`, for example: "folders/1234".
210210
* @param Folder $postBody
211211
* @param array $optParams Optional parameters.

0 commit comments

Comments
 (0)