Skip to content

Commit ffb465d

Browse files
1 parent c518cab commit ffb465d

6 files changed

Lines changed: 63 additions & 1 deletion

src/PolicySimulator.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
188188
'location' => 'query',
189189
'type' => 'string',
190190
],
191+
'returnPartialSuccess' => [
192+
'location' => 'query',
193+
'type' => 'boolean',
194+
],
191195
],
192196
],
193197
]
@@ -258,6 +262,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
258262
'location' => 'query',
259263
'type' => 'string',
260264
],
265+
'returnPartialSuccess' => [
266+
'location' => 'query',
267+
'type' => 'boolean',
268+
],
261269
],
262270
],
263271
]
@@ -450,6 +458,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
450458
'location' => 'query',
451459
'type' => 'string',
452460
],
461+
'returnPartialSuccess' => [
462+
'location' => 'query',
463+
'type' => 'boolean',
464+
],
453465
],
454466
],
455467
]
@@ -590,6 +602,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
590602
'location' => 'query',
591603
'type' => 'string',
592604
],
605+
'returnPartialSuccess' => [
606+
'location' => 'query',
607+
'type' => 'boolean',
608+
],
593609
],
594610
],
595611
]

src/PolicySimulator/GoogleLongrunningListOperationsResponse.php

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

2020
class GoogleLongrunningListOperationsResponse 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 = GoogleLongrunningOperation::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/PolicySimulator/Resource/FoldersLocationsReplaysOperations.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ public function get($name, $optParams = [])
5757
* @opt_param string filter The standard list filter.
5858
* @opt_param int pageSize The standard list page size.
5959
* @opt_param string pageToken The standard list page token.
60+
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
61+
* reachable are returned as normal, and those that are unreachable are returned
62+
* in the [ListOperationsResponse.unreachable] field. This can only be `true`
63+
* when reading across collections e.g. when `parent` is set to
64+
* `"projects/example/locations/-"`. This field is not by default supported and
65+
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
66+
* otherwise in service or product specific documentation.
6067
* @return GoogleLongrunningListOperationsResponse
6168
* @throws \Google\Service\Exception
6269
*/

src/PolicySimulator/Resource/Operations.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ public function get($name, $optParams = [])
5757
* @opt_param string filter The standard list filter.
5858
* @opt_param int pageSize The standard list page size.
5959
* @opt_param string pageToken The standard list page token.
60+
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
61+
* reachable are returned as normal, and those that are unreachable are returned
62+
* in the [ListOperationsResponse.unreachable] field. This can only be `true`
63+
* when reading across collections e.g. when `parent` is set to
64+
* `"projects/example/locations/-"`. This field is not by default supported and
65+
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
66+
* otherwise in service or product specific documentation.
6067
* @return GoogleLongrunningListOperationsResponse
6168
* @throws \Google\Service\Exception
6269
*/

src/PolicySimulator/Resource/OrganizationsLocationsReplaysOperations.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ public function get($name, $optParams = [])
5757
* @opt_param string filter The standard list filter.
5858
* @opt_param int pageSize The standard list page size.
5959
* @opt_param string pageToken The standard list page token.
60+
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
61+
* reachable are returned as normal, and those that are unreachable are returned
62+
* in the [ListOperationsResponse.unreachable] field. This can only be `true`
63+
* when reading across collections e.g. when `parent` is set to
64+
* `"projects/example/locations/-"`. This field is not by default supported and
65+
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
66+
* otherwise in service or product specific documentation.
6067
* @return GoogleLongrunningListOperationsResponse
6168
* @throws \Google\Service\Exception
6269
*/

src/PolicySimulator/Resource/ProjectsLocationsReplaysOperations.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ public function get($name, $optParams = [])
5757
* @opt_param string filter The standard list filter.
5858
* @opt_param int pageSize The standard list page size.
5959
* @opt_param string pageToken The standard list page token.
60+
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
61+
* reachable are returned as normal, and those that are unreachable are returned
62+
* in the [ListOperationsResponse.unreachable] field. This can only be `true`
63+
* when reading across collections e.g. when `parent` is set to
64+
* `"projects/example/locations/-"`. This field is not by default supported and
65+
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
66+
* otherwise in service or product specific documentation.
6067
* @return GoogleLongrunningListOperationsResponse
6168
* @throws \Google\Service\Exception
6269
*/

0 commit comments

Comments
 (0)