Skip to content

Commit 058c4fb

Browse files
feat: [Container] add topology_manager in NodeKubeletConfig (#8338)
* feat: add topology_manager in NodeKubeletConfig feat: add image_gc_low_threshold_percent in NodeKubeletConfig feat: add image_gc_high_threshold_percent in NodeKubeletConfig feat: add image_minimum_gc_age in NodeKubeletConfig feat: add image_maximum_gc_age in NodeKubeletConfig feat: add container_log_max_size in NodeKubeletConfig feat: add container_log_max_files in NodeKubeletConfig feat: add allowed_unsafe_sysctls in NodeKubeletConfig feat: add max_run_duration in NodeConfig feat: add flex_start in NodeConfig feat: add performance_monitoring_unit in AdvancedMachineFeatures feat: add high_scale_checkpointing_config in AddonsConfig feat: add alpha_cluster_feature_gates in Cluster feat: add pod_autoscaling in Cluster feat: add desired_pod_autoscaling in ClusterUpdate feat: add desired_disable_l4_lb_firewall_reconciliation in ClusterUpdate feat: add desired_anonymous_authentication_config in ClusterUpdate feat: add max_run_duration in UpdateNodePoolRequest feat: add flex_start in UpdateNodePoolRequest feat: add NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS in StatusCondition.Code feat: add disable_l4_lb_firewall_reconciliation in NetworkConfig feat: add UPGRADE_INFO_EVENT in NotificationConfig.EventType feat: add confidential_instance_type in ConfidentialNodes feat: add event_type in UpgradeInfoEvent feat: add standard_support_end_time in UpgradeInfoEvent feat: add extended_support_end_time in UpgradeInfoEvent feat: add mitigated_versions in SecurityBulletinEvent feat: add autopilot_compatibility_auditing_enabled in WorkloadPolicyConfig feat: add KCP_HPA in LoggingComponentConfig.Component feat: add JOBSET in MonitoringComponentConfig.Component feat: add auto_monitoring_config in ManagedPrometheusConfig feat: add data_cache_count in EphemeralStorageLocalSsdConfig feat: add FetchClusterUpgradeInfoRequest feat: add ClusterUpgradeInfo feat: add UpgradeDetails feat: add FetchNodePoolUpgradeInfoRequest feat: add NodePoolUpgradeInfo docs: Minor documentation updates PiperOrigin-RevId: 762300747 Source-Link: googleapis/googleapis@8cf16d3 Source-Link: googleapis/googleapis-gen@1588842 Copy-Tag: eyJwIjoiQ29udGFpbmVyLy5Pd2xCb3QueWFtbCIsImgiOiIxNTg4ODQyZWU0ZGY5OGI5ZGZlYTUxOTgyYTk4ODk1ZWY3MTM2MTBhIn0= * 🦉 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 b5ccef1 commit 058c4fb

64 files changed

Lines changed: 4517 additions & 88 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
5.89 KB
Binary file not shown.
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<?php
2+
/*
3+
* Copyright 2025 Google LLC
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* https://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
/*
19+
* GENERATED CODE WARNING
20+
* This file was automatically generated - do not edit!
21+
*/
22+
23+
require_once __DIR__ . '/../../../vendor/autoload.php';
24+
25+
// [START container_v1_generated_ClusterManager_FetchClusterUpgradeInfo_sync]
26+
use Google\ApiCore\ApiException;
27+
use Google\Cloud\Container\V1\Client\ClusterManagerClient;
28+
use Google\Cloud\Container\V1\ClusterUpgradeInfo;
29+
use Google\Cloud\Container\V1\FetchClusterUpgradeInfoRequest;
30+
31+
/**
32+
* Fetch upgrade information of a specific cluster.
33+
*
34+
* @param string $name The name (project, location, cluster) of the cluster to get.
35+
* Specified in the format `projects/&#42;/locations/&#42;/clusters/*` or
36+
* `projects/&#42;/zones/&#42;/clusters/*`.
37+
*/
38+
function fetch_cluster_upgrade_info_sample(string $name): void
39+
{
40+
// Create a client.
41+
$clusterManagerClient = new ClusterManagerClient();
42+
43+
// Prepare the request message.
44+
$request = (new FetchClusterUpgradeInfoRequest())
45+
->setName($name);
46+
47+
// Call the API and handle any network failures.
48+
try {
49+
/** @var ClusterUpgradeInfo $response */
50+
$response = $clusterManagerClient->fetchClusterUpgradeInfo($request);
51+
printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
52+
} catch (ApiException $ex) {
53+
printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
54+
}
55+
}
56+
57+
/**
58+
* Helper to execute the sample.
59+
*
60+
* This sample has been automatically generated and should be regarded as a code
61+
* template only. It will require modifications to work:
62+
* - It may require correct/in-range values for request initialization.
63+
* - It may require specifying regional endpoints when creating the service client,
64+
* please see the apiEndpoint client configuration option for more details.
65+
*/
66+
function callSample(): void
67+
{
68+
$name = '[NAME]';
69+
70+
fetch_cluster_upgrade_info_sample($name);
71+
}
72+
// [END container_v1_generated_ClusterManager_FetchClusterUpgradeInfo_sync]
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<?php
2+
/*
3+
* Copyright 2025 Google LLC
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* https://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
/*
19+
* GENERATED CODE WARNING
20+
* This file was automatically generated - do not edit!
21+
*/
22+
23+
require_once __DIR__ . '/../../../vendor/autoload.php';
24+
25+
// [START container_v1_generated_ClusterManager_FetchNodePoolUpgradeInfo_sync]
26+
use Google\ApiCore\ApiException;
27+
use Google\Cloud\Container\V1\Client\ClusterManagerClient;
28+
use Google\Cloud\Container\V1\FetchNodePoolUpgradeInfoRequest;
29+
use Google\Cloud\Container\V1\NodePoolUpgradeInfo;
30+
31+
/**
32+
* Fetch upgrade information of a specific nodepool.
33+
*
34+
* @param string $name The name (project, location, cluster, nodepool) of the nodepool
35+
* to get. Specified in the format
36+
* `projects/&#42;/locations/&#42;/clusters/&#42;/nodePools/*` or
37+
* `projects/&#42;/zones/&#42;/clusters/&#42;/nodePools/*`.
38+
*/
39+
function fetch_node_pool_upgrade_info_sample(string $name): void
40+
{
41+
// Create a client.
42+
$clusterManagerClient = new ClusterManagerClient();
43+
44+
// Prepare the request message.
45+
$request = (new FetchNodePoolUpgradeInfoRequest())
46+
->setName($name);
47+
48+
// Call the API and handle any network failures.
49+
try {
50+
/** @var NodePoolUpgradeInfo $response */
51+
$response = $clusterManagerClient->fetchNodePoolUpgradeInfo($request);
52+
printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
53+
} catch (ApiException $ex) {
54+
printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
55+
}
56+
}
57+
58+
/**
59+
* Helper to execute the sample.
60+
*
61+
* This sample has been automatically generated and should be regarded as a code
62+
* template only. It will require modifications to work:
63+
* - It may require correct/in-range values for request initialization.
64+
* - It may require specifying regional endpoints when creating the service client,
65+
* please see the apiEndpoint client configuration option for more details.
66+
*/
67+
function callSample(): void
68+
{
69+
$name = '[NAME]';
70+
71+
fetch_node_pool_upgrade_info_sample($name);
72+
}
73+
// [END container_v1_generated_ClusterManager_FetchNodePoolUpgradeInfo_sync]

Container/samples/V1/ClusterManagerClient/set_monitoring_service.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* @param string $monitoringService The monitoring service the cluster should use to write metrics.
3535
* Currently available options:
3636
*
37-
* * "monitoring.googleapis.com/kubernetes" - The Cloud Monitoring
37+
* * `monitoring.googleapis.com/kubernetes` - The Cloud Monitoring
3838
* service with a Kubernetes-native resource model
3939
* * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
4040
* longer available as of GKE 1.15).

Container/src/V1/AddonsConfig.php

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

Container/src/V1/AdvancedMachineFeatures.php

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

Container/src/V1/AdvancedMachineFeatures/PerformanceMonitoringUnit.php

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

Container/src/V1/AnonymousAuthenticationConfig.php

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

0 commit comments

Comments
 (0)