Skip to content

Commit 4b52271

Browse files
Regenerate serviceconsumermanagement client (#7100)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-php-client-services/actions/workflows/codegen.yaml
1 parent 55c8d81 commit 4b52271

4 files changed

Lines changed: 48 additions & 1 deletion

File tree

src/ServiceConsumerManagement.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
118118
'location' => 'query',
119119
'type' => 'string',
120120
],
121+
'returnPartialSuccess' => [
122+
'location' => 'query',
123+
'type' => 'boolean',
124+
],
121125
],
122126
],
123127
]

src/ServiceConsumerManagement/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/ServiceConsumerManagement/Resource/Operations.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ public function get($name, $optParams = [])
9999
* @opt_param string filter The standard list filter.
100100
* @opt_param int pageSize The standard list page size.
101101
* @opt_param string pageToken The standard list page token.
102+
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
103+
* reachable are returned as normal, and those that are unreachable are returned
104+
* in the [ListOperationsResponse.unreachable] field. This can only be `true`
105+
* when reading across collections e.g. when `parent` is set to
106+
* `"projects/example/locations/-"`. This field is not by default supported and
107+
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
108+
* otherwise in service or product specific documentation.
102109
* @return ListOperationsResponse
103110
* @throws \Google\Service\Exception
104111
*/

src/ServiceConsumerManagement/V1Beta1ServiceIdentity.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ class V1Beta1ServiceIdentity extends \Google\Model
2727
* @var string
2828
*/
2929
public $name;
30+
/**
31+
* @var string
32+
*/
33+
public $projectRole;
3034
/**
3135
* @var string
3236
*/
@@ -64,6 +68,20 @@ public function getName()
6468
{
6569
return $this->name;
6670
}
71+
/**
72+
* @param string
73+
*/
74+
public function setProjectRole($projectRole)
75+
{
76+
$this->projectRole = $projectRole;
77+
}
78+
/**
79+
* @return string
80+
*/
81+
public function getProjectRole()
82+
{
83+
return $this->projectRole;
84+
}
6785
/**
6886
* @param string
6987
*/

0 commit comments

Comments
 (0)