Skip to content

Commit ad0e95a

Browse files
1 parent d7af794 commit ad0e95a

7 files changed

Lines changed: 74 additions & 1 deletion

src/Logging.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
613613
'location' => 'query',
614614
'type' => 'string',
615615
],
616+
'returnPartialSuccess' => [
617+
'location' => 'query',
618+
'type' => 'boolean',
619+
],
616620
],
617621
],
618622
]
@@ -1586,6 +1590,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
15861590
'location' => 'query',
15871591
'type' => 'string',
15881592
],
1593+
'returnPartialSuccess' => [
1594+
'location' => 'query',
1595+
'type' => 'boolean',
1596+
],
15891597
],
15901598
],
15911599
]
@@ -2236,6 +2244,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
22362244
'location' => 'query',
22372245
'type' => 'string',
22382246
],
2247+
'returnPartialSuccess' => [
2248+
'location' => 'query',
2249+
'type' => 'boolean',
2250+
],
22392251
],
22402252
],
22412253
]
@@ -2922,6 +2934,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
29222934
'location' => 'query',
29232935
'type' => 'string',
29242936
],
2937+
'returnPartialSuccess' => [
2938+
'location' => 'query',
2939+
'type' => 'boolean',
2940+
],
29252941
],
29262942
],
29272943
]
@@ -3783,6 +3799,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
37833799
'location' => 'query',
37843800
'type' => 'string',
37853801
],
3802+
'returnPartialSuccess' => [
3803+
'location' => 'query',
3804+
'type' => 'boolean',
3805+
],
37863806
],
37873807
],
37883808
]

src/Logging/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/Logging/Resource/BillingAccountsLocationsOperations.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 when
88+
* 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 ListOperationsResponse
8693
* @throws \Google\Service\Exception
8794
*/

src/Logging/Resource/FoldersLocationsOperations.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 when
88+
* 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 ListOperationsResponse
8693
* @throws \Google\Service\Exception
8794
*/

src/Logging/Resource/LocationsOperations.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 when
88+
* 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 ListOperationsResponse
8693
* @throws \Google\Service\Exception
8794
*/

src/Logging/Resource/OrganizationsLocationsOperations.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 when
88+
* 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 ListOperationsResponse
8693
* @throws \Google\Service\Exception
8794
*/

src/Logging/Resource/ProjectsLocationsOperations.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 when
88+
* 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 ListOperationsResponse
8693
* @throws \Google\Service\Exception
8794
*/

0 commit comments

Comments
 (0)