From f6934c21b3cae96faf754c7bfef40e6f4a0a9190 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 20 Jun 2026 18:45:55 -0700 Subject: [PATCH] Regenerate saasservicemgmt client --- src/SaaSServiceManagement.php | 273 -------------------- src/SaaSServiceManagement/Unit.php | 28 +- src/SaaSServiceManagement/UnitKind.php | 10 +- src/SaaSServiceManagement/UnitOperation.php | 6 + 4 files changed, 20 insertions(+), 297 deletions(-) diff --git a/src/SaaSServiceManagement.php b/src/SaaSServiceManagement.php index 87903adbe29..6ceb457c8cd 100644 --- a/src/SaaSServiceManagement.php +++ b/src/SaaSServiceManagement.php @@ -43,10 +43,7 @@ class SaaSServiceManagement extends \Google\Service public $projects_locations_rolloutKinds; public $projects_locations_rollouts; public $projects_locations_saas; - public $projects_locations_saasReleases; public $projects_locations_tenants; - public $projects_locations_unitGroupOperations; - public $projects_locations_unitGroups; public $projects_locations_unitKinds; public $projects_locations_unitOperations; public $projects_locations_units; @@ -565,96 +562,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null) ] ] ); - $this->projects_locations_saasReleases = new SaaSServiceManagement\Resource\ProjectsLocationsSaasReleases( - $this, - $this->serviceName, - 'saasReleases', - [ - 'methods' => [ - 'create' => [ - 'path' => 'v1/{+parent}/saasReleases', - 'httpMethod' => 'POST', - 'parameters' => [ - 'parent' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - 'requestId' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'saasReleaseId' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'validateOnly' => [ - 'location' => 'query', - 'type' => 'boolean', - ], - ], - ],'delete' => [ - 'path' => 'v1/{+name}', - 'httpMethod' => 'DELETE', - 'parameters' => [ - 'name' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - 'etag' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'requestId' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'validateOnly' => [ - 'location' => 'query', - 'type' => 'boolean', - ], - ], - ],'get' => [ - 'path' => 'v1/{+name}', - 'httpMethod' => 'GET', - 'parameters' => [ - 'name' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - ], - ],'list' => [ - 'path' => 'v1/{+parent}/saasReleases', - 'httpMethod' => 'GET', - 'parameters' => [ - 'parent' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - 'filter' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'orderBy' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'pageSize' => [ - 'location' => 'query', - 'type' => 'integer', - ], - 'pageToken' => [ - 'location' => 'query', - 'type' => 'string', - ], - ], - ], - ] - ] - ); $this->projects_locations_tenants = new SaaSServiceManagement\Resource\ProjectsLocationsTenants( $this, $this->serviceName, @@ -767,186 +674,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null) ] ] ); - $this->projects_locations_unitGroupOperations = new SaaSServiceManagement\Resource\ProjectsLocationsUnitGroupOperations( - $this, - $this->serviceName, - 'unitGroupOperations', - [ - 'methods' => [ - 'create' => [ - 'path' => 'v1/{+parent}/unitGroupOperations', - 'httpMethod' => 'POST', - 'parameters' => [ - 'parent' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - 'requestId' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'unitGroupOperationId' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'validateOnly' => [ - 'location' => 'query', - 'type' => 'boolean', - ], - ], - ],'delete' => [ - 'path' => 'v1/{+name}', - 'httpMethod' => 'DELETE', - 'parameters' => [ - 'name' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - 'etag' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'requestId' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'validateOnly' => [ - 'location' => 'query', - 'type' => 'boolean', - ], - ], - ],'get' => [ - 'path' => 'v1/{+name}', - 'httpMethod' => 'GET', - 'parameters' => [ - 'name' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - ], - ],'list' => [ - 'path' => 'v1/{+parent}/unitGroupOperations', - 'httpMethod' => 'GET', - 'parameters' => [ - 'parent' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - 'filter' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'orderBy' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'pageSize' => [ - 'location' => 'query', - 'type' => 'integer', - ], - 'pageToken' => [ - 'location' => 'query', - 'type' => 'string', - ], - ], - ], - ] - ] - ); - $this->projects_locations_unitGroups = new SaaSServiceManagement\Resource\ProjectsLocationsUnitGroups( - $this, - $this->serviceName, - 'unitGroups', - [ - 'methods' => [ - 'create' => [ - 'path' => 'v1/{+parent}/unitGroups', - 'httpMethod' => 'POST', - 'parameters' => [ - 'parent' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - 'requestId' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'unitGroupId' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'validateOnly' => [ - 'location' => 'query', - 'type' => 'boolean', - ], - ], - ],'delete' => [ - 'path' => 'v1/{+name}', - 'httpMethod' => 'DELETE', - 'parameters' => [ - 'name' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - 'etag' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'requestId' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'validateOnly' => [ - 'location' => 'query', - 'type' => 'boolean', - ], - ], - ],'get' => [ - 'path' => 'v1/{+name}', - 'httpMethod' => 'GET', - 'parameters' => [ - 'name' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - ], - ],'list' => [ - 'path' => 'v1/{+parent}/unitGroups', - 'httpMethod' => 'GET', - 'parameters' => [ - 'parent' => [ - 'location' => 'path', - 'type' => 'string', - 'required' => true, - ], - 'filter' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'orderBy' => [ - 'location' => 'query', - 'type' => 'string', - ], - 'pageSize' => [ - 'location' => 'query', - 'type' => 'integer', - ], - 'pageToken' => [ - 'location' => 'query', - 'type' => 'string', - ], - ], - ], - ] - ] - ); $this->projects_locations_unitKinds = new SaaSServiceManagement\Resource\ProjectsLocationsUnitKinds( $this, $this->serviceName, diff --git a/src/SaaSServiceManagement/Unit.php b/src/SaaSServiceManagement/Unit.php index 56d7cae7296..bdee6471e1c 100644 --- a/src/SaaSServiceManagement/Unit.php +++ b/src/SaaSServiceManagement/Unit.php @@ -19,6 +19,9 @@ class Unit extends \Google\Collection { + /** + * Unspecified management mode. + */ public const MANAGEMENT_MODE_MANAGEMENT_MODE_UNSPECIFIED = 'MANAGEMENT_MODE_UNSPECIFIED'; /** * Unit's lifecycle is managed by the user. @@ -60,6 +63,9 @@ class Unit extends \Google\Collection * Unit has error, when it is not ready and some error operation */ public const STATE_UNIT_STATE_ERROR = 'UNIT_STATE_ERROR'; + /** + * Unspecified system managed state. + */ public const SYSTEM_MANAGED_STATE_SYSTEM_MANAGED_STATE_UNSPECIFIED = 'SYSTEM_MANAGED_STATE_UNSPECIFIED'; /** * Unit has dependents attached. @@ -214,12 +220,6 @@ class Unit extends \Google\Collection * @var string */ public $uid; - /** - * Optional. Output only. Reference to the UnitGroup this unit belongs to. - * - * @var string - */ - public $unitGroup; /** * Optional. Reference to the UnitKind this Unit belongs to. Immutable once * set. @@ -660,22 +660,6 @@ public function getUid() { return $this->uid; } - /** - * Optional. Output only. Reference to the UnitGroup this unit belongs to. - * - * @param string $unitGroup - */ - public function setUnitGroup($unitGroup) - { - $this->unitGroup = $unitGroup; - } - /** - * @return string - */ - public function getUnitGroup() - { - return $this->unitGroup; - } /** * Optional. Reference to the UnitKind this Unit belongs to. Immutable once * set. diff --git a/src/SaaSServiceManagement/UnitKind.php b/src/SaaSServiceManagement/UnitKind.php index 2208c5c14b1..b3db81fa184 100644 --- a/src/SaaSServiceManagement/UnitKind.php +++ b/src/SaaSServiceManagement/UnitKind.php @@ -19,11 +19,17 @@ class UnitKind extends \Google\Collection { + /** + * Unspecified boundary type. + */ public const BOUNDARY_TYPE_BOUNDARY_TYPE_UNSPECIFIED = 'BOUNDARY_TYPE_UNSPECIFIED'; /** * Tenant project boundary. */ public const BOUNDARY_TYPE_BOUNDARY_TYPE_TENANT_PROJECT = 'BOUNDARY_TYPE_TENANT_PROJECT'; + /** + * Managed project boundary. + */ public const BOUNDARY_TYPE_BOUNDARY_TYPE_MANAGED_PROJECT = 'BOUNDARY_TYPE_MANAGED_PROJECT'; protected $collection_key = 'outputVariableMappings'; /** @@ -248,8 +254,8 @@ public function getEtag() } /** * Optional. List of inputVariables for this release that will either be - * retrieved from a dependency’s outputVariables, or will be passed on to a - * dependency’s inputVariables. Maximum 100. + * retrieved from a dependency's outputVariables, or will be passed on to a + * dependency's inputVariables. Maximum 100. * * @param VariableMapping[] $inputVariableMappings */ diff --git a/src/SaaSServiceManagement/UnitOperation.php b/src/SaaSServiceManagement/UnitOperation.php index 794452875d7..5fee1311df8 100644 --- a/src/SaaSServiceManagement/UnitOperation.php +++ b/src/SaaSServiceManagement/UnitOperation.php @@ -285,6 +285,8 @@ public function getDeleteTime() return $this->deleteTime; } /** + * Optional. Deprovision operation. + * * @param Deprovision $deprovision */ public function setDeprovision(Deprovision $deprovision) @@ -354,6 +356,8 @@ public function getEtag() return $this->etag; } /** + * Optional. Flag update operation. + * * @param FlagUpdate $flagUpdate */ public function setFlagUpdate(FlagUpdate $flagUpdate) @@ -549,6 +553,8 @@ public function getUpdateTime() return $this->updateTime; } /** + * Optional. Upgrade operation. + * * @param Upgrade $upgrade */ public function setUpgrade(Upgrade $upgrade)