Skip to content

Commit eae5f18

Browse files
1 parent 897c9c4 commit eae5f18

5 files changed

Lines changed: 52 additions & 1 deletion

File tree

src/CloudRetail.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
801801
'location' => 'query',
802802
'type' => 'string',
803803
],
804+
'returnPartialSuccess' => [
805+
'location' => 'query',
806+
'type' => 'boolean',
807+
],
804808
],
805809
],
806810
]
@@ -1073,6 +1077,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
10731077
'location' => 'query',
10741078
'type' => 'string',
10751079
],
1080+
'returnPartialSuccess' => [
1081+
'location' => 'query',
1082+
'type' => 'boolean',
1083+
],
10761084
],
10771085
],
10781086
]
@@ -1115,6 +1123,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
11151123
'location' => 'query',
11161124
'type' => 'string',
11171125
],
1126+
'returnPartialSuccess' => [
1127+
'location' => 'query',
1128+
'type' => 'boolean',
1129+
],
11181130
],
11191131
],
11201132
]

src/CloudRetail/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/CloudRetail/Resource/ProjectsLocationsCatalogsOperations.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/CloudRetail/Resource/ProjectsLocationsOperations.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/CloudRetail/Resource/ProjectsOperations.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)