Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
feat: support regapic LRO
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 456946341
Source-Link: googleapis/googleapis@88fd18d
Source-Link: https://github.com/googleapis/googleapis-gen/commit/accfa371f667439313335c64042b063c1c53102e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWNjZmEzNzFmNjY3NDM5MzEzMzM1YzY0MDQyYjA2M2MxYzUzMTAyZSJ9
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
feat: add cgroup mode to node system config
feat: add support to modify kubelet pod pid limit in node system configuration
feat: support Tier 1 bandwidth
feat: support IPV6 Dual Stack (stack_type)
feat: add Binauthz Evaluation mode support to GKE Classic
feat: support GKE Cost Allocations
feat: add network tags to autopilot cluster
feat: add protect config audit api
feat: support enabling Confidential Nodes in the node pool
feat: support node pool blue-green upgrade
feat: add Location Policy API
feat: support GPU timesharing
PiperOrigin-RevId: 458322449
Source-Link: googleapis/googleapis@61ea2e5
Source-Link: https://github.com/googleapis/googleapis-gen/commit/30e187a0b006d39692eee40bfe84fb7c71b95a7b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzBlMTg3YTBiMDA2ZDM5NjkyZWVlNDBiZmU4NGZiN2M3MWI5NWE3YiJ9
feat: add support to modify kubelet pod pid limit in node system configuration
feat: support spot VM
feat: support Tier 1 bandwidth
feat: update support for node pool labels, taints and network tags
feat: add Binauthz Evaluation mode support to GKE Classic
feat: add GKE Identity Service
feat: add network tags to autopilot cluster
feat: support enabling Confidential Nodes in the node pool
feat: support node pool blue-green upgrade
feat: add Location Policy API
feat: support GPU timesharing
feat: add managed prometheus feature
PiperOrigin-RevId: 458323987
Source-Link: googleapis/googleapis@c51f2ed
Source-Link: https://github.com/googleapis/googleapis-gen/commit/45233cbe6c51f2cf566e5d5f5e63129c7f89f3ed
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDUyMzNjYmU2YzUxZjJjZjU2NmU1ZDVmNWU2MzEyOWM3Zjg5ZjNlZCJ9
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jul 4, 2022
1 parent eaaa7a2 commit ebe6500
Show file tree
Hide file tree
Showing 21 changed files with 7,055 additions and 236 deletions.
492 changes: 428 additions & 64 deletions protos/google/container/v1/cluster_service.proto

Large diffs are not rendered by default.

1,695 changes: 1,635 additions & 60 deletions protos/protos.d.ts

Large diffs are not rendered by default.

4,076 changes: 4,058 additions & 18 deletions protos/protos.js

Large diffs are not rendered by default.

438 changes: 429 additions & 9 deletions protos/protos.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function main() {
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* The name (project, location, cluster id) of the cluster to complete IP
* The name (project, location, cluster name) of the cluster to complete IP
* rotation. Specified in the format `projects/* /locations/* /clusters/*`.
*/
// const name = 'abc123'
Expand Down
59 changes: 59 additions & 0 deletions samples/generated/v1/cluster_manager.complete_node_pool_upgrade.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **



'use strict';

function main() {
// [START container_v1_generated_ClusterManager_CompleteNodePoolUpgrade_async]
/**
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* The name (project, location, cluster, node pool id) of the node pool to
* complete upgrade.
* Specified in the format 'projects/* /locations/* /clusters/* /nodePools/*'.
*/
// const name = 'abc123'

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

// Instantiates a client
const containerClient = new ClusterManagerClient();

async function callCompleteNodePoolUpgrade() {
// Construct request
const request = {
};

// Run request
const response = await containerClient.completeNodePoolUpgrade(request);
console.log(response);
}

callCompleteNodePoolUpgrade();
// [END container_v1_generated_ClusterManager_CompleteNodePoolUpgrade_async]
}

process.on('unhandledRejection', err => {
console.error(err.message);
process.exitCode = 1;
});
main(...process.argv.slice(2));
2 changes: 1 addition & 1 deletion samples/generated/v1/cluster_manager.create_node_pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function main(nodePool) {
*/
// const nodePool = {}
/**
* The parent (project, location, cluster id) where the node pool will be
* The parent (project, location, cluster name) where the node pool will be
* created. Specified in the format
* `projects/* /locations/* /clusters/*`.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function main() {
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* The cluster (project, location, cluster id) to get keys for. Specified in
* The cluster (project, location, cluster name) to get keys for. Specified in
* the format `projects/* /locations/* /clusters/*`.
*/
// const parent = 'abc123'
Expand Down
2 changes: 1 addition & 1 deletion samples/generated/v1/cluster_manager.list_node_pools.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function main() {
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* The parent (project, location, cluster id) where the node pools will be
* The parent (project, location, cluster name) where the node pools will be
* listed. Specified in the format `projects/* /locations/* /clusters/*`.
*/
// const parent = 'abc123'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ function main() {
* Specified in the format `projects/* /locations/* /clusters/* /nodePools/*`.
*/
// const name = 'abc123'
/**
* Option for rollback to ignore the PodDisruptionBudget.
* Default value is false.
*/
// const respectPdb = true

// Imports the Container library
const {ClusterManagerClient} = require('@google-cloud/container').v1;
Expand Down
2 changes: 1 addition & 1 deletion samples/generated/v1/cluster_manager.set_labels.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function main(resourceLabels, labelFingerprint) {
*/
// const labelFingerprint = 'abc123'
/**
* The name (project, location, cluster id) of the cluster to set labels.
* The name (project, location, cluster name) of the cluster to set labels.
* Specified in the format `projects/* /locations/* /clusters/*`.
*/
// const name = 'abc123'
Expand Down
4 changes: 2 additions & 2 deletions samples/generated/v1/cluster_manager.set_legacy_abac.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ function main(enabled) {
*/
// const enabled = true
/**
* The name (project, location, cluster id) of the cluster to set legacy abac.
* Specified in the format `projects/* /locations/* /clusters/*`.
* The name (project, location, cluster name) of the cluster to set legacy
* abac. Specified in the format `projects/* /locations/* /clusters/*`.
*/
// const name = 'abc123'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function main(projectId, zone, clusterId, maintenancePolicy) {
*/
/**
* Required. The Google Developers Console project ID or project
* number (https://support.google.com/cloud/answer/6158840).
* number (https://cloud.google.com/resource-manager/docs/creating-managing-projects).
*/
// const projectId = 'abc123'
/**
Expand All @@ -46,8 +46,8 @@ function main(projectId, zone, clusterId, maintenancePolicy) {
*/
// const maintenancePolicy = {}
/**
* The name (project, location, cluster id) of the cluster to set maintenance
* policy.
* The name (project, location, cluster name) of the cluster to set
* maintenance policy.
* Specified in the format `projects/* /locations/* /clusters/*`.
*/
// const name = 'abc123'
Expand Down
2 changes: 1 addition & 1 deletion samples/generated/v1/cluster_manager.set_network_policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function main(networkPolicy) {
*/
// const networkPolicy = {}
/**
* The name (project, location, cluster id) of the cluster to set networking
* The name (project, location, cluster name) of the cluster to set networking
* policy. Specified in the format `projects/* /locations/* /clusters/*`.
*/
// const name = 'abc123'
Expand Down
2 changes: 1 addition & 1 deletion samples/generated/v1/cluster_manager.start_i_p_rotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function main() {
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
* The name (project, location, cluster id) of the cluster to start IP
* The name (project, location, cluster name) of the cluster to start IP
* rotation. Specified in the format `projects/* /locations/* /clusters/*`.
*/
// const name = 'abc123'
Expand Down
27 changes: 27 additions & 0 deletions samples/generated/v1/cluster_manager.update_node_pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,24 @@ function main(nodeVersion, imageType) {
* Upgrade settings control disruption and speed of the upgrade.
*/
// const upgradeSettings = {}
/**
* The desired network tags to be applied to all nodes in the node pool.
* If this field is not present, the tags will not be changed. Otherwise,
* the existing network tags will be *replaced* with the provided tags.
*/
// const tags = {}
/**
* The desired node taints to be applied to all nodes in the node pool.
* If this field is not present, the taints will not be changed. Otherwise,
* the existing node taints will be *replaced* with the provided taints.
*/
// const taints = {}
/**
* The desired node labels to be applied to all nodes in the node pool.
* If this field is not present, the labels will not be changed. Otherwise,
* the existing node labels will be *replaced* with the provided labels.
*/
// const labels = {}
/**
* Parameters that can be configured on Linux nodes.
*/
Expand All @@ -71,10 +89,19 @@ function main(nodeVersion, imageType) {
* Node kubelet configs.
*/
// const kubeletConfig = {}
/**
* Node network config.
*/
// const nodeNetworkConfig = {}
/**
* GCFS config.
*/
// const gcfsConfig = {}
/**
* Confidential nodes config.
* All the nodes in the node pool will be Confidential VM once enabled.
*/
// const confidentialNodes = {}
/**
* Enable or disable gvnic on the node pool.
*/
Expand Down
68 changes: 66 additions & 2 deletions samples/generated/v1/snippet_metadata.google.container.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
"segments": [
{
"start": 25,
"end": 101,
"end": 128,
"type": "FULL"
}
],
Expand Down Expand Up @@ -279,6 +279,18 @@
"name": "upgrade_settings",
"type": ".google.container.v1.NodePool.UpgradeSettings"
},
{
"name": "tags",
"type": ".google.container.v1.NetworkTags"
},
{
"name": "taints",
"type": ".google.container.v1.NodeTaints"
},
{
"name": "labels",
"type": ".google.container.v1.NodeLabels"
},
{
"name": "linux_node_config",
"type": ".google.container.v1.LinuxNodeConfig"
Expand All @@ -287,10 +299,18 @@
"name": "kubelet_config",
"type": ".google.container.v1.NodeKubeletConfig"
},
{
"name": "node_network_config",
"type": ".google.container.v1.NodeNetworkConfig"
},
{
"name": "gcfs_config",
"type": ".google.container.v1.GcfsConfig"
},
{
"name": "confidential_nodes",
"type": ".google.container.v1.ConfidentialNodes"
},
{
"name": "gvnic",
"type": ".google.container.v1.VirtualNIC"
Expand Down Expand Up @@ -1223,6 +1243,46 @@
}
}
},
{
"regionTag": "container_v1_generated_ClusterManager_CompleteNodePoolUpgrade_async",
"title": "ClusterManager completeNodePoolUpgrade Sample",
"origin": "API_DEFINITION",
"description": " CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.",
"canonical": true,
"file": "cluster_manager.complete_node_pool_upgrade.js",
"language": "JAVASCRIPT",
"segments": [
{
"start": 25,
"end": 51,
"type": "FULL"
}
],
"clientMethod": {
"shortName": "CompleteNodePoolUpgrade",
"fullName": "google.container.v1.ClusterManager.CompleteNodePoolUpgrade",
"async": true,
"parameters": [
{
"name": "name",
"type": "TYPE_STRING"
}
],
"resultType": ".google.protobuf.Empty",
"client": {
"shortName": "ClusterManagerClient",
"fullName": "google.container.v1.ClusterManagerClient"
},
"method": {
"shortName": "CompleteNodePoolUpgrade",
"fullName": "google.container.v1.ClusterManager.CompleteNodePoolUpgrade",
"service": {
"shortName": "ClusterManager",
"fullName": "google.container.v1.ClusterManager"
}
}
}
},
{
"regionTag": "container_v1_generated_ClusterManager_RollbackNodePoolUpgrade_async",
"title": "ClusterManager rollbackNodePoolUpgrade Sample",
Expand All @@ -1234,7 +1294,7 @@
"segments": [
{
"start": 25,
"end": 51,
"end": 56,
"type": "FULL"
}
],
Expand Down Expand Up @@ -1262,6 +1322,10 @@
{
"name": "name",
"type": "TYPE_STRING"
},
{
"name": "respect_pdb",
"type": "TYPE_BOOL"
}
],
"resultType": ".google.container.v1.Operation",
Expand Down
Loading

0 comments on commit ebe6500

Please sign in to comment.