Skip to content

Commit 38754bb

Browse files
chore: librarian generate pull request: 20260128T084241Z (#15491)
PR created by the Librarian CLI to generate Cloud Client Libraries code from protos. BEGIN_COMMIT BEGIN_NESTED_COMMIT feat: add a user_attributes field in SearchRequest that can be used for personalization PiperOrigin-RevId: 861314205 Library-IDs: google-cloud-retail Source-link: [googleapis/googleapis@6517e3ba](googleapis/googleapis@6517e3ba) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: add a model_scores field in SearchResponse.results to expose model quality signals PiperOrigin-RevId: 861314205 Library-IDs: google-cloud-retail Source-link: [googleapis/googleapis@6517e3ba](googleapis/googleapis@6517e3ba) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: A new field `last_vulnerability_update_time` is added to message `.grafeas.v1.DiscoveryOccurrence` PiperOrigin-RevId: 861286340 Library-IDs: grafeas Source-link: [googleapis/googleapis@70da46f8](googleapis/googleapis@70da46f8) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `subnetwork` in message `.google.container.v1beta1.NodeNetworkConfig` is changed PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `cluster_ipv4_cidr` in message `.google.container.v1beta1.Cluster` is changed PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add GPUDirectConfig to configure GPU Direct for node pools PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add consolidation_delay to configure Cluster Autoscaler node consolidation delay PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add SHORT_LIVED as a NodePoolUpdateStrategy PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add DRAINING status to AdditionalIPRangesConfig for subnet draining PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add DisruptionEvent to provide details on node disruption events PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add shutdown_grace_period_seconds and shutdown_grace_period_critical_pods_seconds to NodeKubeletConfig to configure graceful node shutdown for Spot VMs PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add RegistryHostConfig to ContainerdConfig for containerd registry host configuration PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add NodeDrainConfig to NodePool to configure node draining behavior PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add AutopilotGeneralProfile to ClusterAutoscaling to configure Autopilot profiles PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `cluster_ipv4_cidr_block` in message `.google.container.v1beta1.IPAllocationPolicy` is changed PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `node_ipv4_cidr_block` in message `.google.container.v1beta1.IPAllocationPolicy` is changed PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add ManagedOpenTelemetryConfig to Cluster to manage the OpenTelemetry pipeline PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `tpu_ipv4_cidr_block` in message `.google.container.v1beta1.Cluster` is change PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add fields for Rollback-Safe upgrades, including RollbackSafeUpgrade, CompatibilityStatus, and CompleteControlPlaneUpgrade RPC PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `tpu_ipv4_cidr_block` in message `.google.container.v1beta1.IPAllocationPolicy` is changed PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add SliceControllerConfig to AddonsConfig to manage the Slice Controller addon PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `services_ipv4_cidr_block` in message `.google.container.v1beta1.IPAllocationPolicy` is changed PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Allow specifying subnetwork in NodeNetworkConfig during node pool creation PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `services_ipv4_cidr` in message `.google.container.v1beta1.Cluster` is changed PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add PodSnapshotConfig to AddonsConfig to manage Pod Snapshots PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `sysctls` in message `.google.container.v1beta1.LinuxNodeConfig` is changed PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `enable_legacy_lustre_port` in message `.google.container.v1beta1.LustreCsiDriverConfig` is changed PiperOrigin-RevId: 859828557 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@6406df78](googleapis/googleapis@6406df78) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add ManagedOpenTelemetryConfig to Cluster to manage the OpenTelemetry pipeline PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `cluster_ipv4_cidr` in message `.google.container.v1.Cluster` is changed PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `services_ipv4_cidr_block` in message `.google.container.v1.IPAllocationPolicy` is changed PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `cluster_ipv4_cidr_block` in message `.google.container.v1.IPAllocationPolicy` is changed PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `node_ipv4_cidr_block` in message `.google.container.v1.IPAllocationPolicy` is changed PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `tpu_ipv4_cidr_block` in message `.google.container.v1.IPAllocationPolicy` is changed PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add SHORT_LIVED as a NodePoolUpdateStrategy PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add SwapConfig to enable and configure swap memory for node pools PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add consolidation_delay to configure Cluster Autoscaler node consolidation delay PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `sysctls` in message `.google.container.v1.LinuxNodeConfig` is changed PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add SliceControllerConfig to AddonsConfig to manage the Slice Controller addon PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `gcp_secret_manager_certificate_config` in message `.google.container.v1.ContainerdConfig` is changed PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `subnetwork` in message `.google.container.v1.NodeNetworkConfig` is changed PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add GPUDirectConfig to configure GPU Direct for node pools PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add DisruptionEvent to provide details on node disruption events PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add AutopilotGeneralProfile to ClusterAutoscaling to configure Autopilot profiles PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Allow specifying subnetwork in NodeNetworkConfig during node pool creation PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `services_ipv4_cidr` in message `.google.container.v1.Cluster` is changed PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `tpu_ipv4_cidr_block` in message `.google.container.v1.Cluster` is changed PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: A comment for field `recurrence` in message `.google.container.v1.RecurringTimeWindow` is changed PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add NodeDrainConfig to NodePool to configure node draining behavior PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add DRAINING status to AdditionalIPRangesConfig for subnet draining PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: Add RegistryHostConfig to ContainerdConfig for containerd registry host configuration PiperOrigin-RevId: 859731311 Library-IDs: google-cloud-container Source-link: [googleapis/googleapis@928703e0](googleapis/googleapis@928703e0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat: add fields and messages for GKE Pods and IP masquerading PiperOrigin-RevId: 859595508 Library-IDs: google-cloud-network-management Source-link: [googleapis/googleapis@3343c4ed](googleapis/googleapis@3343c4ed) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: Fixed language issues in multiple message field descriptions PiperOrigin-RevId: 859310712 Library-IDs: google-cloud-documentai Source-link: [googleapis/googleapis@64f78809](googleapis/googleapis@64f78809) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: Regenerated REST and RPC Document AI documentation to include missing changes from September 2024 to November 2025 PiperOrigin-RevId: 859310712 Library-IDs: google-cloud-documentai Source-link: [googleapis/googleapis@64f78809](googleapis/googleapis@64f78809) END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs: Correct typo in comment for field `quota_id` PiperOrigin-RevId: 859139909 Library-IDs: google-cloud-quotas Source-link: [googleapis/googleapis@6b36371f](googleapis/googleapis@6b36371f) END_NESTED_COMMIT END_COMMIT This pull request is generated with proto changes between [googleapis/googleapis@87e3579c](googleapis/googleapis@87e3579) (exclusive) and [googleapis/googleapis@6517e3ba](googleapis/googleapis@6517e3b) (inclusive). Librarian Version: v0.0.0-20251218164811-cd2252e38d0a Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:56f26eaebaf1b4a9f174a72e00d091a1364997e17201dbad1aea099ddbda3a3e ## Generation failed for - google-cloud-compute - google-cloud-compute-v1beta
1 parent cff7bf5 commit 38754bb

File tree

49 files changed

+3253
-208
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+3253
-208
lines changed

.librarian/state.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ libraries:
10691069
tag_format: '{id}-v{version}'
10701070
- id: google-cloud-container
10711071
version: 2.62.0
1072-
last_generated_commit: 94ccdfe4519e0ba817bd33aa22eb9c64f88a6874
1072+
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
10731073
apis:
10741074
- path: google/container/v1
10751075
service_config: container_v1.yaml
@@ -1416,7 +1416,7 @@ libraries:
14161416
tag_format: '{id}-v{version}'
14171417
- id: google-cloud-documentai
14181418
version: 3.8.0
1419-
last_generated_commit: 3322511885371d2b2253f209ccc3aa60d4100cfd
1419+
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
14201420
apis:
14211421
- path: google/cloud/documentai/v1beta3
14221422
service_config: documentai_v1beta3.yaml
@@ -2097,7 +2097,7 @@ libraries:
20972097
tag_format: '{id}-v{version}'
20982098
- id: google-cloud-network-management
20992099
version: 1.31.0
2100-
last_generated_commit: 53f97391f3451398f7b53c7f86dabd325d205677
2100+
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
21012101
apis:
21022102
- path: google/cloud/networkmanagement/v1
21032103
service_config: networkmanagement_v1.yaml
@@ -2387,7 +2387,7 @@ libraries:
23872387
tag_format: '{id}-v{version}'
23882388
- id: google-cloud-quotas
23892389
version: 0.3.0
2390-
last_generated_commit: 3322511885371d2b2253f209ccc3aa60d4100cfd
2390+
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
23912391
apis:
23922392
- path: google/api/cloudquotas/v1
23932393
service_config: cloudquotas_v1.yaml
@@ -2507,7 +2507,7 @@ libraries:
25072507
tag_format: '{id}-v{version}'
25082508
- id: google-cloud-retail
25092509
version: 2.8.0
2510-
last_generated_commit: 3322511885371d2b2253f209ccc3aa60d4100cfd
2510+
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
25112511
apis:
25122512
- path: google/cloud/retail/v2
25132513
service_config: retail_v2.yaml
@@ -3598,7 +3598,7 @@ libraries:
35983598
tag_format: '{id}-v{version}'
35993599
- id: googleapis-common-protos
36003600
version: 1.72.0
3601-
last_generated_commit: 87e3579c041a50f985f8de71e9494c8fc85d520b
3601+
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
36023602
apis:
36033603
- path: google/api
36043604
service_config: serviceconfig.yaml
@@ -3625,7 +3625,7 @@ libraries:
36253625
tag_format: '{id}-v{version}'
36263626
- id: grafeas
36273627
version: 1.18.0
3628-
last_generated_commit: 94aa4f5ae672addf00e7970ecc47699e34989e90
3628+
last_generated_commit: cfe62b3c5ceb9f81879c61480f26707980534462
36293629
apis:
36303630
- path: grafeas/v1
36313631
service_config: grafeas_v1.yaml

packages/google-cloud-container/google/cloud/container/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
DeleteNodePoolRequest,
7474
DesiredAdditionalIPRangesConfig,
7575
DesiredEnterpriseConfig,
76+
DisruptionEvent,
7677
DnsCacheConfig,
7778
DNSConfig,
7879
EnterpriseConfig,
@@ -99,6 +100,7 @@
99100
GetServerConfigRequest,
100101
GkeAutoUpgradeConfig,
101102
GkeBackupAgentConfig,
103+
GPUDirectConfig,
102104
GPUDriverInstallationConfig,
103105
GPUSharingConfig,
104106
HighScaleCheckpointingConfig,
@@ -131,6 +133,7 @@
131133
MaintenanceExclusionOptions,
132134
MaintenancePolicy,
133135
MaintenanceWindow,
136+
ManagedOpenTelemetryConfig,
134137
ManagedPrometheusConfig,
135138
MasterAuth,
136139
MasterAuthorizedNetworksConfig,
@@ -204,6 +207,7 @@
204207
SetNodePoolSizeRequest,
205208
ShieldedInstanceConfig,
206209
ShieldedNodes,
210+
SliceControllerConfig,
207211
SoleTenantConfig,
208212
StackType,
209213
StartIPRotationRequest,
@@ -280,6 +284,7 @@
280284
"DeleteNodePoolRequest",
281285
"DesiredAdditionalIPRangesConfig",
282286
"DesiredEnterpriseConfig",
287+
"DisruptionEvent",
283288
"DnsCacheConfig",
284289
"DNSConfig",
285290
"EnterpriseConfig",
@@ -306,6 +311,7 @@
306311
"GetServerConfigRequest",
307312
"GkeAutoUpgradeConfig",
308313
"GkeBackupAgentConfig",
314+
"GPUDirectConfig",
309315
"GPUDriverInstallationConfig",
310316
"GPUSharingConfig",
311317
"HighScaleCheckpointingConfig",
@@ -336,6 +342,7 @@
336342
"MaintenanceExclusionOptions",
337343
"MaintenancePolicy",
338344
"MaintenanceWindow",
345+
"ManagedOpenTelemetryConfig",
339346
"ManagedPrometheusConfig",
340347
"MasterAuth",
341348
"MasterAuthorizedNetworksConfig",
@@ -407,6 +414,7 @@
407414
"SetNodePoolSizeRequest",
408415
"ShieldedInstanceConfig",
409416
"ShieldedNodes",
417+
"SliceControllerConfig",
410418
"SoleTenantConfig",
411419
"StartIPRotationRequest",
412420
"StatefulHAConfig",

packages/google-cloud-container/google/cloud/container_v1/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
DeleteNodePoolRequest,
7979
DesiredAdditionalIPRangesConfig,
8080
DesiredEnterpriseConfig,
81+
DisruptionEvent,
8182
DnsCacheConfig,
8283
DNSConfig,
8384
EnterpriseConfig,
@@ -104,6 +105,7 @@
104105
GetServerConfigRequest,
105106
GkeAutoUpgradeConfig,
106107
GkeBackupAgentConfig,
108+
GPUDirectConfig,
107109
GPUDriverInstallationConfig,
108110
GPUSharingConfig,
109111
HighScaleCheckpointingConfig,
@@ -136,6 +138,7 @@
136138
MaintenanceExclusionOptions,
137139
MaintenancePolicy,
138140
MaintenanceWindow,
141+
ManagedOpenTelemetryConfig,
139142
ManagedPrometheusConfig,
140143
MasterAuth,
141144
MasterAuthorizedNetworksConfig,
@@ -209,6 +212,7 @@
209212
SetNodePoolSizeRequest,
210213
ShieldedInstanceConfig,
211214
ShieldedNodes,
215+
SliceControllerConfig,
212216
SoleTenantConfig,
213217
StackType,
214218
StartIPRotationRequest,
@@ -381,6 +385,7 @@ def _get_version(dependency_name):
381385
"DeleteNodePoolRequest",
382386
"DesiredAdditionalIPRangesConfig",
383387
"DesiredEnterpriseConfig",
388+
"DisruptionEvent",
384389
"DnsCacheConfig",
385390
"EnterpriseConfig",
386391
"EphemeralStorageLocalSsdConfig",
@@ -391,6 +396,7 @@ def _get_version(dependency_name):
391396
"FetchClusterUpgradeInfoRequest",
392397
"FetchNodePoolUpgradeInfoRequest",
393398
"Fleet",
399+
"GPUDirectConfig",
394400
"GPUDriverInstallationConfig",
395401
"GPUSharingConfig",
396402
"GatewayAPIConfig",
@@ -438,6 +444,7 @@ def _get_version(dependency_name):
438444
"MaintenanceExclusionOptions",
439445
"MaintenancePolicy",
440446
"MaintenanceWindow",
447+
"ManagedOpenTelemetryConfig",
441448
"ManagedPrometheusConfig",
442449
"MasterAuth",
443450
"MasterAuthorizedNetworksConfig",
@@ -511,6 +518,7 @@ def _get_version(dependency_name):
511518
"SetNodePoolSizeRequest",
512519
"ShieldedInstanceConfig",
513520
"ShieldedNodes",
521+
"SliceControllerConfig",
514522
"SoleTenantConfig",
515523
"StackType",
516524
"StartIPRotationRequest",

packages/google-cloud-container/google/cloud/container_v1/services/cluster_manager/async_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ class ClusterManagerAsyncClient:
8282
parse_crypto_key_version_path = staticmethod(
8383
ClusterManagerClient.parse_crypto_key_version_path
8484
)
85+
subnetwork_path = staticmethod(ClusterManagerClient.subnetwork_path)
86+
parse_subnetwork_path = staticmethod(ClusterManagerClient.parse_subnetwork_path)
8587
topic_path = staticmethod(ClusterManagerClient.topic_path)
8688
parse_topic_path = staticmethod(ClusterManagerClient.parse_topic_path)
8789
common_billing_account_path = staticmethod(

packages/google-cloud-container/google/cloud/container_v1/services/cluster_manager/client.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,28 @@ def parse_crypto_key_version_path(path: str) -> Dict[str, str]:
274274
)
275275
return m.groupdict() if m else {}
276276

277+
@staticmethod
278+
def subnetwork_path(
279+
project: str,
280+
region: str,
281+
subnetwork: str,
282+
) -> str:
283+
"""Returns a fully-qualified subnetwork string."""
284+
return "projects/{project}/regions/{region}/subnetworks/{subnetwork}".format(
285+
project=project,
286+
region=region,
287+
subnetwork=subnetwork,
288+
)
289+
290+
@staticmethod
291+
def parse_subnetwork_path(path: str) -> Dict[str, str]:
292+
"""Parses a subnetwork path into its component segments."""
293+
m = re.match(
294+
r"^projects/(?P<project>.+?)/regions/(?P<region>.+?)/subnetworks/(?P<subnetwork>.+?)$",
295+
path,
296+
)
297+
return m.groupdict() if m else {}
298+
277299
@staticmethod
278300
def topic_path(
279301
project: str,

packages/google-cloud-container/google/cloud/container_v1/types/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
DeleteNodePoolRequest,
6363
DesiredAdditionalIPRangesConfig,
6464
DesiredEnterpriseConfig,
65+
DisruptionEvent,
6566
DnsCacheConfig,
6667
DNSConfig,
6768
EnterpriseConfig,
@@ -88,6 +89,7 @@
8889
GetServerConfigRequest,
8990
GkeAutoUpgradeConfig,
9091
GkeBackupAgentConfig,
92+
GPUDirectConfig,
9193
GPUDriverInstallationConfig,
9294
GPUSharingConfig,
9395
HighScaleCheckpointingConfig,
@@ -120,6 +122,7 @@
120122
MaintenanceExclusionOptions,
121123
MaintenancePolicy,
122124
MaintenanceWindow,
125+
ManagedOpenTelemetryConfig,
123126
ManagedPrometheusConfig,
124127
MasterAuth,
125128
MasterAuthorizedNetworksConfig,
@@ -193,6 +196,7 @@
193196
SetNodePoolSizeRequest,
194197
ShieldedInstanceConfig,
195198
ShieldedNodes,
199+
SliceControllerConfig,
196200
SoleTenantConfig,
197201
StackType,
198202
StartIPRotationRequest,
@@ -267,6 +271,7 @@
267271
"DeleteNodePoolRequest",
268272
"DesiredAdditionalIPRangesConfig",
269273
"DesiredEnterpriseConfig",
274+
"DisruptionEvent",
270275
"DnsCacheConfig",
271276
"DNSConfig",
272277
"EnterpriseConfig",
@@ -293,6 +298,7 @@
293298
"GetServerConfigRequest",
294299
"GkeAutoUpgradeConfig",
295300
"GkeBackupAgentConfig",
301+
"GPUDirectConfig",
296302
"GPUDriverInstallationConfig",
297303
"GPUSharingConfig",
298304
"HighScaleCheckpointingConfig",
@@ -323,6 +329,7 @@
323329
"MaintenanceExclusionOptions",
324330
"MaintenancePolicy",
325331
"MaintenanceWindow",
332+
"ManagedOpenTelemetryConfig",
326333
"ManagedPrometheusConfig",
327334
"MasterAuth",
328335
"MasterAuthorizedNetworksConfig",
@@ -394,6 +401,7 @@
394401
"SetNodePoolSizeRequest",
395402
"ShieldedInstanceConfig",
396403
"ShieldedNodes",
404+
"SliceControllerConfig",
397405
"SoleTenantConfig",
398406
"StartIPRotationRequest",
399407
"StatefulHAConfig",

0 commit comments

Comments
 (0)