Skip to content

Commit b30f033

Browse files
1 parent ef4ac1c commit b30f033

5 files changed

Lines changed: 110 additions & 2 deletions

File tree

src/CloudComposer.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
472472
'location' => 'query',
473473
'type' => 'string',
474474
],
475+
'returnPartialSuccess' => [
476+
'location' => 'query',
477+
'type' => 'boolean',
478+
],
475479
],
476480
],
477481
]

src/CloudComposer/CheckUpgradeResponse.php

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@
1717

1818
namespace Google\Service\CloudComposer;
1919

20-
class CheckUpgradeResponse extends \Google\Model
20+
class CheckUpgradeResponse extends \Google\Collection
2121
{
22+
protected $collection_key = 'configConflicts';
2223
/**
2324
* @var string
2425
*/
2526
public $buildLogUri;
27+
protected $configConflictsType = ConfigConflict::class;
28+
protected $configConflictsDataType = 'array';
2629
/**
2730
* @var string
2831
*/
@@ -54,6 +57,20 @@ public function getBuildLogUri()
5457
{
5558
return $this->buildLogUri;
5659
}
60+
/**
61+
* @param ConfigConflict[]
62+
*/
63+
public function setConfigConflicts($configConflicts)
64+
{
65+
$this->configConflicts = $configConflicts;
66+
}
67+
/**
68+
* @return ConfigConflict[]
69+
*/
70+
public function getConfigConflicts()
71+
{
72+
return $this->configConflicts;
73+
}
5774
/**
5875
* @param string
5976
*/
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\CloudComposer;
19+
20+
class ConfigConflict extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $message;
26+
/**
27+
* @var string
28+
*/
29+
public $type;
30+
31+
/**
32+
* @param string
33+
*/
34+
public function setMessage($message)
35+
{
36+
$this->message = $message;
37+
}
38+
/**
39+
* @return string
40+
*/
41+
public function getMessage()
42+
{
43+
return $this->message;
44+
}
45+
/**
46+
* @param string
47+
*/
48+
public function setType($type)
49+
{
50+
$this->type = $type;
51+
}
52+
/**
53+
* @return string
54+
*/
55+
public function getType()
56+
{
57+
return $this->type;
58+
}
59+
}
60+
61+
// Adding a class alias for backwards compatibility with the previous class name.
62+
class_alias(ConfigConflict::class, 'Google_Service_CloudComposer_ConfigConflict');

src/CloudComposer/ListOperationsResponse.php

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,17 @@
1919

2020
class ListOperationsResponse extends \Google\Collection
2121
{
22-
protected $collection_key = 'operations';
22+
protected $collection_key = 'unreachable';
2323
/**
2424
* @var string
2525
*/
2626
public $nextPageToken;
2727
protected $operationsType = Operation::class;
2828
protected $operationsDataType = 'array';
29+
/**
30+
* @var string[]
31+
*/
32+
public $unreachable;
2933

3034
/**
3135
* @param string
@@ -55,6 +59,20 @@ public function getOperations()
5559
{
5660
return $this->operations;
5761
}
62+
/**
63+
* @param string[]
64+
*/
65+
public function setUnreachable($unreachable)
66+
{
67+
$this->unreachable = $unreachable;
68+
}
69+
/**
70+
* @return string[]
71+
*/
72+
public function getUnreachable()
73+
{
74+
return $this->unreachable;
75+
}
5876
}
5977

6078
// Adding a class alias for backwards compatibility with the previous class name.

src/CloudComposer/Resource/ProjectsLocationsOperations.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ public function get($name, $optParams = [])
7575
* @opt_param string filter The standard list filter.
7676
* @opt_param int pageSize The standard list page size.
7777
* @opt_param string pageToken The standard list page token.
78+
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
79+
* reachable are returned as normal, and those that are unreachable are returned
80+
* in the [ListOperationsResponse.unreachable] field. This can only be `true`
81+
* when reading across collections e.g. when `parent` is set to
82+
* `"projects/example/locations/-"`. This field is not by default supported and
83+
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
84+
* otherwise in service or product specific documentation.
7885
* @return ListOperationsResponse
7986
* @throws \Google\Service\Exception
8087
*/

0 commit comments

Comments
 (0)