Skip to content

Commit af0e580

Browse files
feat: [container] add API to enable Provisioning Request API on existing nodepools (#5065)
* feat: add API to enable Provisioning Request API on existing nodepools --- 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: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiNzNlNDViNDliMjg1YTNhYjY4MzM1MTRiNDc0MDMxZGU4YWZhYTI1NSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent d158bfb commit af0e580

7 files changed

Lines changed: 92 additions & 1 deletion

File tree

packages/google-container/protos/google/container/v1/cluster_service.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,10 @@ message NodeConfig {
832832

833833
// A map of resource manager tag keys and values to be attached to the nodes.
834834
ResourceManagerTags resource_manager_tags = 45;
835+
836+
// Optional. Reserved for future use.
837+
bool enable_confidential_storage = 46
838+
[(google.api.field_behavior) = OPTIONAL];
835839
}
836840

837841
// Specifies options for controlling advanced machine features.
@@ -2763,6 +2767,9 @@ message UpdateNodePoolRequest {
27632767
// for managing Compute Engine firewalls using Network Firewall Policies.
27642768
// Existing tags will be replaced with new values.
27652769
ResourceManagerTags resource_manager_tags = 39;
2770+
2771+
// Specifies the configuration of queued provisioning.
2772+
NodePool.QueuedProvisioning queued_provisioning = 42;
27662773
}
27672774

27682775
// SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.

packages/google-container/protos/protos.d.ts

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-container/protos/protos.js

Lines changed: 51 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-container/protos/protos.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-container/samples/generated/v1/cluster_manager.update_node_pool.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ function main(nodeVersion, imageType) {
161161
* Existing tags will be replaced with new values.
162162
*/
163163
// const resourceManagerTags = {}
164+
/**
165+
* Specifies the configuration of queued provisioning.
166+
*/
167+
// const queuedProvisioning = {}
164168

165169
// Imports the Container library
166170
const {ClusterManagerClient} = require('@google-cloud/container').v1;

packages/google-container/samples/generated/v1/snippet_metadata_google.container.v1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
"segments": [
231231
{
232232
"start": 25,
233-
"end": 183,
233+
"end": 187,
234234
"type": "FULL"
235235
}
236236
],
@@ -350,6 +350,10 @@
350350
{
351351
"name": "resource_manager_tags",
352352
"type": ".google.container.v1.ResourceManagerTags"
353+
},
354+
{
355+
"name": "queued_provisioning",
356+
"type": ".google.container.v1.NodePool.QueuedProvisioning"
353357
}
354358
],
355359
"resultType": ".google.container.v1.Operation",

packages/google-container/src/v1/cluster_manager_client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,8 @@ export class ClusterManagerClient {
907907
* Desired resource manager tag keys and values to be attached to the nodes
908908
* for managing Compute Engine firewalls using Network Firewall Policies.
909909
* Existing tags will be replaced with new values.
910+
* @param {google.container.v1.NodePool.QueuedProvisioning} request.queuedProvisioning
911+
* Specifies the configuration of queued provisioning.
910912
* @param {object} [options]
911913
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
912914
* @returns {Promise} - The promise which resolves to an array.

0 commit comments

Comments
 (0)