Skip to content

Commit a1b39d3

Browse files
fix: [container] Add client library version to headers (#5076)
* feat: add API to enable Provisioning Request API on existing nodepools --- docs: A comment for field `enable_confidential_storage` in message `.google.container.v1beta1.NodeConfig` is changed PiperOrigin-RevId: 609809689 Source-Link: googleapis/googleapis@8df1cd6 Source-Link: googleapis/googleapis-gen@f9f58f7 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiZjlmNThmNzAxNDA0OGJmZDJjMWFkYWM5MjFlZTIzZjIwY2ZiNjJhYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix: Add client library version to headers fix: Allow bundlers to bundle JSON files correctly for ESM deps: Update dependency google-gax to ^4.3.1 fix: Export types from protos in ESM PiperOrigin-RevId: 609821360 Source-Link: googleapis/googleapis@5c5ecf0 Source-Link: googleapis/googleapis-gen@b875fcd Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiYjg3NWZjZGQxNGI0ZGVmNjUyMTgyOTMwMDNkOWJlYzRiODQyZWNhNyJ9 * 🦉 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 5e386b6 commit a1b39d3

7 files changed

Lines changed: 53 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -834,9 +834,7 @@ message NodeConfig {
834834
// A map of resource manager tag keys and values to be attached to the nodes.
835835
ResourceManagerTags resource_manager_tags = 45;
836836

837-
// Optional. Enable confidential storage on Hyperdisk.
838-
// boot_disk_kms_key is required when enable_confidential_storage is true.
839-
// This is only available for private preview.
837+
// Optional. Reserved for future use.
840838
bool enable_confidential_storage = 46
841839
[(google.api.field_behavior) = OPTIONAL];
842840
}
@@ -3150,6 +3148,9 @@ message UpdateNodePoolRequest {
31503148
// for managing Compute Engine firewalls using Network Firewall Policies.
31513149
// Existing tags will be replaced with new values.
31523150
ResourceManagerTags resource_manager_tags = 39;
3151+
3152+
// Specifies the configuration of queued provisioning.
3153+
NodePool.QueuedProvisioning queued_provisioning = 42;
31533154
}
31543155

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

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

Lines changed: 6 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: 28 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: 4 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/v1beta1/cluster_manager.update_node_pool.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ function main(projectId, zone, clusterId, nodePoolId, nodeVersion, imageType) {
158158
* Existing tags will be replaced with new values.
159159
*/
160160
// const resourceManagerTags = {}
161+
/**
162+
* Specifies the configuration of queued provisioning.
163+
*/
164+
// const queuedProvisioning = {}
161165

162166
// Imports the Container library
163167
const {ClusterManagerClient} = require('@google-cloud/container').v1beta1;

packages/google-container/samples/generated/v1beta1/snippet_metadata_google.container.v1beta1.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": 184,
233+
"end": 188,
234234
"type": "FULL"
235235
}
236236
],
@@ -350,6 +350,10 @@
350350
{
351351
"name": "resource_manager_tags",
352352
"type": ".google.container.v1beta1.ResourceManagerTags"
353+
},
354+
{
355+
"name": "queued_provisioning",
356+
"type": ".google.container.v1beta1.NodePool.QueuedProvisioning"
353357
}
354358
],
355359
"resultType": ".google.container.v1beta1.Operation",

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

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

0 commit comments

Comments
 (0)