Skip to content

Commit e4cba28

Browse files
1 parent 4ef41aa commit e4cba28

File tree

5 files changed

+89
-2
lines changed

5 files changed

+89
-2
lines changed

src/ManagedServiceforMicrosoftActiveDirectoryConsumerAPI.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
9090
'type' => 'string',
9191
'required' => true,
9292
],
93+
'extraLocationTypes' => [
94+
'location' => 'query',
95+
'type' => 'string',
96+
'repeated' => true,
97+
],
9398
'filter' => [
9499
'location' => 'query',
95100
'type' => 'string',
@@ -580,6 +585,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
580585
'location' => 'query',
581586
'type' => 'string',
582587
],
588+
'returnPartialSuccess' => [
589+
'location' => 'query',
590+
'type' => 'boolean',
591+
],
583592
],
584593
],
585594
]

src/ManagedServiceforMicrosoftActiveDirectoryConsumerAPI/GoogleCloudSaasacceleratorManagementProvidersV1Instance.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,19 @@ class GoogleCloudSaasacceleratorManagementProvidersV1Instance extends \Google\Co
5959
* @var string
6060
*/
6161
public $consumerDefinedName;
62+
/**
63+
* Optional. The consumer_project_number associated with this Apigee instance.
64+
* This field is added specifically to support Apigee integration with SLM
65+
* Rollout and UMM. It represents the numerical project ID of the GCP project
66+
* that consumes this Apigee instance. It is used for SLM rollout
67+
* notifications and UMM integration, enabling proper mapping to customer
68+
* projects and log delivery for Apigee instances. This field complements
69+
* consumer_project_id and may be used for specific Apigee scenarios where the
70+
* numerical ID is required.
71+
*
72+
* @var string
73+
*/
74+
public $consumerProjectNumber;
6275
/**
6376
* Output only. Timestamp when the resource was created.
6477
*
@@ -181,6 +194,29 @@ public function getConsumerDefinedName()
181194
{
182195
return $this->consumerDefinedName;
183196
}
197+
/**
198+
* Optional. The consumer_project_number associated with this Apigee instance.
199+
* This field is added specifically to support Apigee integration with SLM
200+
* Rollout and UMM. It represents the numerical project ID of the GCP project
201+
* that consumes this Apigee instance. It is used for SLM rollout
202+
* notifications and UMM integration, enabling proper mapping to customer
203+
* projects and log delivery for Apigee instances. This field complements
204+
* consumer_project_id and may be used for specific Apigee scenarios where the
205+
* numerical ID is required.
206+
*
207+
* @param string $consumerProjectNumber
208+
*/
209+
public function setConsumerProjectNumber($consumerProjectNumber)
210+
{
211+
$this->consumerProjectNumber = $consumerProjectNumber;
212+
}
213+
/**
214+
* @return string
215+
*/
216+
public function getConsumerProjectNumber()
217+
{
218+
return $this->consumerProjectNumber;
219+
}
184220
/**
185221
* Output only. Timestamp when the resource was created.
186222
*

src/ManagedServiceforMicrosoftActiveDirectoryConsumerAPI/ListOperationsResponse.php

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

2020
class ListOperationsResponse extends \Google\Collection
2121
{
22-
protected $collection_key = 'operations';
22+
protected $collection_key = 'unreachable';
2323
/**
2424
* The standard List next-page token.
2525
*
@@ -28,6 +28,15 @@ class ListOperationsResponse extends \Google\Collection
2828
public $nextPageToken;
2929
protected $operationsType = Operation::class;
3030
protected $operationsDataType = 'array';
31+
/**
32+
* Unordered list. Unreachable resources. Populated when the request sets
33+
* `ListOperationsRequest.return_partial_success` and reads across
34+
* collections. For example, when attempting to list all resources across all
35+
* supported locations.
36+
*
37+
* @var string[]
38+
*/
39+
public $unreachable;
3140

3241
/**
3342
* The standard List next-page token.
@@ -61,6 +70,25 @@ public function getOperations()
6170
{
6271
return $this->operations;
6372
}
73+
/**
74+
* Unordered list. Unreachable resources. Populated when the request sets
75+
* `ListOperationsRequest.return_partial_success` and reads across
76+
* collections. For example, when attempting to list all resources across all
77+
* supported locations.
78+
*
79+
* @param string[] $unreachable
80+
*/
81+
public function setUnreachable($unreachable)
82+
{
83+
$this->unreachable = $unreachable;
84+
}
85+
/**
86+
* @return string[]
87+
*/
88+
public function getUnreachable()
89+
{
90+
return $this->unreachable;
91+
}
6492
}
6593

6694
// Adding a class alias for backwards compatibility with the previous class name.

src/ManagedServiceforMicrosoftActiveDirectoryConsumerAPI/Resource/ProjectsLocations.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,20 @@ public function get($name, $optParams = [])
4545
return $this->call('get', [$params], Location::class);
4646
}
4747
/**
48-
* Lists information about the supported locations for this service.
48+
* Lists information about the supported locations for this service. This method
49+
* can be called in two ways: * **List all public locations:** Use the path `GET
50+
* /v1/locations`. * **List project-visible locations:** Use the path `GET
51+
* /v1/projects/{project_id}/locations`. This may include public locations as
52+
* well as private or other locations specifically visible to the project.
4953
* (locations.listProjectsLocations)
5054
*
5155
* @param string $name The resource that owns the locations collection, if
5256
* applicable.
5357
* @param array $optParams Optional parameters.
5458
*
59+
* @opt_param string extraLocationTypes Optional. Do not use this field. It is
60+
* unsupported and is ignored unless explicitly documented otherwise. This is
61+
* primarily for internal usage.
5562
* @opt_param string filter A filter to narrow down results to a preferred
5663
* subset. The filtering language accepts strings like `"displayName=tokyo"`,
5764
* and is documented in more detail in [AIP-160](https://google.aip.dev/160).

src/ManagedServiceforMicrosoftActiveDirectoryConsumerAPI/Resource/ProjectsLocationsManagedidentitiesGlobalOperations.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` when
105+
* reading across collections. For example, when `parent` is set to
106+
* `"projects/example/locations/-"`. This field is not supported by default 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
*/

0 commit comments

Comments
 (0)