Skip to content

Commit fc1438b

Browse files
1 parent 5dda987 commit fc1438b

17 files changed

Lines changed: 184 additions & 1 deletion

src/DiscoveryEngine.php

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
393393
'location' => 'query',
394394
'type' => 'string',
395395
],
396+
'returnPartialSuccess' => [
397+
'location' => 'query',
398+
'type' => 'boolean',
399+
],
396400
],
397401
],
398402
]
@@ -717,6 +721,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
717721
'location' => 'query',
718722
'type' => 'string',
719723
],
724+
'returnPartialSuccess' => [
725+
'location' => 'query',
726+
'type' => 'boolean',
727+
],
720728
],
721729
],
722730
]
@@ -999,6 +1007,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
9991007
'location' => 'query',
10001008
'type' => 'string',
10011009
],
1010+
'returnPartialSuccess' => [
1011+
'location' => 'query',
1012+
'type' => 'boolean',
1013+
],
10021014
],
10031015
],
10041016
]
@@ -1041,6 +1053,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
10411053
'location' => 'query',
10421054
'type' => 'string',
10431055
],
1056+
'returnPartialSuccess' => [
1057+
'location' => 'query',
1058+
'type' => 'boolean',
1059+
],
10441060
],
10451061
],
10461062
]
@@ -1159,6 +1175,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
11591175
'location' => 'query',
11601176
'type' => 'string',
11611177
],
1178+
'returnPartialSuccess' => [
1179+
'location' => 'query',
1180+
'type' => 'boolean',
1181+
],
11621182
],
11631183
],
11641184
]
@@ -1447,6 +1467,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
14471467
'location' => 'query',
14481468
'type' => 'string',
14491469
],
1470+
'returnPartialSuccess' => [
1471+
'location' => 'query',
1472+
'type' => 'boolean',
1473+
],
14501474
],
14511475
],
14521476
]
@@ -1612,6 +1636,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
16121636
'location' => 'query',
16131637
'type' => 'string',
16141638
],
1639+
'returnPartialSuccess' => [
1640+
'location' => 'query',
1641+
'type' => 'boolean',
1642+
],
16151643
],
16161644
],
16171645
]
@@ -2074,6 +2102,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
20742102
'location' => 'query',
20752103
'type' => 'string',
20762104
],
2105+
'returnPartialSuccess' => [
2106+
'location' => 'query',
2107+
'type' => 'boolean',
2108+
],
20772109
],
20782110
],
20792111
]
@@ -2294,6 +2326,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
22942326
'location' => 'query',
22952327
'type' => 'string',
22962328
],
2329+
'returnPartialSuccess' => [
2330+
'location' => 'query',
2331+
'type' => 'boolean',
2332+
],
22972333
],
22982334
],
22992335
]
@@ -2608,6 +2644,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
26082644
'location' => 'query',
26092645
'type' => 'string',
26102646
],
2647+
'returnPartialSuccess' => [
2648+
'location' => 'query',
2649+
'type' => 'boolean',
2650+
],
26112651
],
26122652
],
26132653
]
@@ -2870,6 +2910,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
28702910
'location' => 'query',
28712911
'type' => 'string',
28722912
],
2913+
'returnPartialSuccess' => [
2914+
'location' => 'query',
2915+
'type' => 'boolean',
2916+
],
28732917
],
28742918
],
28752919
]
@@ -2912,6 +2956,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
29122956
'location' => 'query',
29132957
'type' => 'string',
29142958
],
2959+
'returnPartialSuccess' => [
2960+
'location' => 'query',
2961+
'type' => 'boolean',
2962+
],
29152963
],
29162964
],
29172965
]
@@ -3595,6 +3643,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
35953643
'location' => 'query',
35963644
'type' => 'string',
35973645
],
3646+
'returnPartialSuccess' => [
3647+
'location' => 'query',
3648+
'type' => 'boolean',
3649+
],
35983650
],
35993651
],
36003652
]
@@ -3637,6 +3689,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
36373689
'location' => 'query',
36383690
'type' => 'string',
36393691
],
3692+
'returnPartialSuccess' => [
3693+
'location' => 'query',
3694+
'type' => 'boolean',
3695+
],
36403696
],
36413697
],
36423698
]
@@ -3837,6 +3893,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
38373893
'location' => 'query',
38383894
'type' => 'string',
38393895
],
3896+
'returnPartialSuccess' => [
3897+
'location' => 'query',
3898+
'type' => 'boolean',
3899+
],
38403900
],
38413901
],
38423902
]

src/DiscoveryEngine/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/DiscoveryEngine/Resource/ProjectsLocationsCollectionsDataConnectorOperations.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/DiscoveryEngine/Resource/ProjectsLocationsCollectionsDataStoresBranchesOperations.php

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

src/DiscoveryEngine/Resource/ProjectsLocationsCollectionsDataStoresModelsOperations.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/DiscoveryEngine/Resource/ProjectsLocationsCollectionsDataStoresOperations.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/DiscoveryEngine/Resource/ProjectsLocationsCollectionsDataStoresSchemasOperations.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/DiscoveryEngine/Resource/ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations.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/DiscoveryEngine/Resource/ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations.php

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

src/DiscoveryEngine/Resource/ProjectsLocationsCollectionsEnginesOperations.php

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

0 commit comments

Comments
 (0)