Skip to content

Commit 1439ec7

Browse files
Regenerate serviceconsumermanagement client (#7824)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-php-client-services/actions/workflows/codegen.yaml
1 parent 1b68503 commit 1439ec7

4 files changed

Lines changed: 41 additions & 11 deletions

File tree

src/ServiceConsumerManagement/Control.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class Control extends \Google\Collection
2222
protected $collection_key = 'methodPolicies';
2323
/**
2424
* The service controller environment to use. If empty, no control plane
25-
* feature (like quota and billing) will be enabled. The recommended value for
26-
* most services is servicecontrol.googleapis.com
25+
* features (like quota and billing) will be enabled. The recommended value
26+
* for most services is servicecontrol.googleapis.com.
2727
*
2828
* @var string
2929
*/
@@ -33,8 +33,8 @@ class Control extends \Google\Collection
3333

3434
/**
3535
* The service controller environment to use. If empty, no control plane
36-
* feature (like quota and billing) will be enabled. The recommended value for
37-
* most services is servicecontrol.googleapis.com
36+
* features (like quota and billing) will be enabled. The recommended value
37+
* for most services is servicecontrol.googleapis.com.
3838
*
3939
* @param string $environment
4040
*/

src/ServiceConsumerManagement/ListOperationsResponse.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ class ListOperationsResponse extends \Google\Collection
3030
protected $operationsDataType = 'array';
3131
/**
3232
* Unordered list. Unreachable resources. Populated when the request sets
33-
* `ListOperationsRequest.return_partial_success` and reads across collections
34-
* e.g. when attempting to list all resources across all supported locations.
33+
* `ListOperationsRequest.return_partial_success` and reads across
34+
* collections. For example, when attempting to list all resources across all
35+
* supported locations.
3536
*
3637
* @var string[]
3738
*/
@@ -71,8 +72,9 @@ public function getOperations()
7172
}
7273
/**
7374
* Unordered list. Unreachable resources. Populated when the request sets
74-
* `ListOperationsRequest.return_partial_success` and reads across collections
75-
* e.g. when attempting to list all resources across all supported locations.
75+
* `ListOperationsRequest.return_partial_success` and reads across
76+
* collections. For example, when attempting to list all resources across all
77+
* supported locations.
7678
*
7779
* @param string[] $unreachable
7880
*/

src/ServiceConsumerManagement/Resource/Operations.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@ public function get($name, $optParams = [])
101101
* @opt_param string pageToken The standard list page token.
102102
* @opt_param bool returnPartialSuccess When set to `true`, operations that are
103103
* 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
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
107107
* will result in an `UNIMPLEMENTED` error if set unless explicitly documented
108108
* otherwise in service or product specific documentation.
109109
* @return ListOperationsResponse

src/ServiceConsumerManagement/TenantResource.php

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ class TenantResource extends \Google\Model
4343
* Tenant resource has been deleted.
4444
*/
4545
public const STATUS_DELETED = 'DELETED';
46+
/**
47+
* Output only. The newly created regional resource name of the tenant project
48+
* that has been migrated from a global service. This field is only set for
49+
* migrated tenant projects. Format: `services//{collection_id}/{RESOURCE_ID}/
50+
* locations/{LOCATION}/tenantProjects/{TENANT_ID}`.
51+
*
52+
* @var string
53+
*/
54+
public $migratedTenantProject;
4655
/**
4756
* Output only. @OutputOnly Identifier of the tenant resource. For cloud
4857
* projects, it is in the form 'projects/{number}'. For example
@@ -64,6 +73,25 @@ class TenantResource extends \Google\Model
6473
*/
6574
public $tag;
6675

76+
/**
77+
* Output only. The newly created regional resource name of the tenant project
78+
* that has been migrated from a global service. This field is only set for
79+
* migrated tenant projects. Format: `services//{collection_id}/{RESOURCE_ID}/
80+
* locations/{LOCATION}/tenantProjects/{TENANT_ID}`.
81+
*
82+
* @param string $migratedTenantProject
83+
*/
84+
public function setMigratedTenantProject($migratedTenantProject)
85+
{
86+
$this->migratedTenantProject = $migratedTenantProject;
87+
}
88+
/**
89+
* @return string
90+
*/
91+
public function getMigratedTenantProject()
92+
{
93+
return $this->migratedTenantProject;
94+
}
6795
/**
6896
* Output only. @OutputOnly Identifier of the tenant resource. For cloud
6997
* projects, it is in the form 'projects/{number}'. For example

0 commit comments

Comments
 (0)