Skip to content

Commit

Permalink
feat: add API to enable Provisioning Request API on existing nodepools (
Browse files Browse the repository at this point in the history
#7085)

feat: Promoted enable_confidential_storage to GA (behind allowlist)
PiperOrigin-RevId: 609154511
Source-Link: googleapis/googleapis@f9d24c3
Source-Link: googleapis/googleapis-gen@73e45b4
Copy-Tag: eyJwIjoiQ29udGFpbmVyLy5Pd2xCb3QueWFtbCIsImgiOiI3M2U0NWI0OWIyODVhM2FiNjgzMzUxNGI0NzQwMzFkZThhZmFhMjU1In0=
  • Loading branch information
gcf-owl-bot[bot] committed Feb 23, 2024
1 parent 81e472f commit f5e3f8a
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 0 deletions.
Binary file modified Container/metadata/V1/ClusterService.php
Binary file not shown.
7 changes: 7 additions & 0 deletions Container/src/V1/Gapic/ClusterManagerGapicClient.php
Expand Up @@ -74,6 +74,7 @@
use Google\Cloud\Container\V1\NodePool;
use Google\Cloud\Container\V1\NodePoolAutoscaling;
use Google\Cloud\Container\V1\NodePoolLoggingConfig;
use Google\Cloud\Container\V1\NodePool\QueuedProvisioning;
use Google\Cloud\Container\V1\NodePool\UpgradeSettings;
use Google\Cloud\Container\V1\NodeTaints;
use Google\Cloud\Container\V1\Operation;
Expand Down Expand Up @@ -2829,6 +2830,8 @@ public function updateMaster($masterVersion, array $optionalArgs = [])
* Desired resource manager tag keys and values to be attached to the nodes
* for managing Compute Engine firewalls using Network Firewall Policies.
* Existing tags will be replaced with new values.
* @type QueuedProvisioning $queuedProvisioning
* Specifies the configuration of queued provisioning.
* @type RetrySettings|array $retrySettings
* Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
* associative array of retry settings parameters. See the documentation on
Expand Down Expand Up @@ -2954,6 +2957,10 @@ public function updateNodePool($nodeVersion, $imageType, array $optionalArgs = [
$request->setResourceManagerTags($optionalArgs['resourceManagerTags']);
}

if (isset($optionalArgs['queuedProvisioning'])) {
$request->setQueuedProvisioning($optionalArgs['queuedProvisioning']);
}

$requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
$optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
return $this->startCall('UpdateNodePool', Operation::class, $optionalArgs, $request)->wait();
Expand Down
34 changes: 34 additions & 0 deletions Container/src/V1/NodeConfig.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions Container/src/V1/UpdateNodePoolRequest.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f5e3f8a

Please sign in to comment.