Skip to content

Commit 9f05a3b

Browse files
feat(container): update the api
#### container:v1 The following keys were added: - schemas.AutopilotConfig (Total Keys: 3) - schemas.NodePool.properties.autopilotConfig.$ref (Total Keys: 1)
1 parent e244199 commit 9f05a3b

5 files changed

+56
-3
lines changed

docs/dyn/container_v1.projects.locations.clusters.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,9 @@ <h3>Method Details</h3>
892892
},
893893
&quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
894894
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
895+
&quot;autopilotConfig&quot;: { # AutopilotConfig contains configuration of autopilot feature for this nodepool. # Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api
896+
&quot;enabled&quot;: True or False, # Denotes that nodes belonging to this node pool are Autopilot nodes.
897+
},
895898
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
896899
&quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
897900
&quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
@@ -2035,6 +2038,9 @@ <h3>Method Details</h3>
20352038
},
20362039
&quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
20372040
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
2041+
&quot;autopilotConfig&quot;: { # AutopilotConfig contains configuration of autopilot feature for this nodepool. # Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api
2042+
&quot;enabled&quot;: True or False, # Denotes that nodes belonging to this node pool are Autopilot nodes.
2043+
},
20382044
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
20392045
&quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
20402046
&quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
@@ -3081,6 +3087,9 @@ <h3>Method Details</h3>
30813087
},
30823088
&quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
30833089
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
3090+
&quot;autopilotConfig&quot;: { # AutopilotConfig contains configuration of autopilot feature for this nodepool. # Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api
3091+
&quot;enabled&quot;: True or False, # Denotes that nodes belonging to this node pool are Autopilot nodes.
3092+
},
30843093
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
30853094
&quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
30863095
&quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.

docs/dyn/container_v1.projects.locations.clusters.nodePools.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ <h3>Method Details</h3>
149149
{ # CreateNodePoolRequest creates a node pool for a cluster.
150150
&quot;clusterId&quot;: &quot;A String&quot;, # Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.
151151
&quot;nodePool&quot;: { # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload. # Required. The node pool to create.
152+
&quot;autopilotConfig&quot;: { # AutopilotConfig contains configuration of autopilot feature for this nodepool. # Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api
153+
&quot;enabled&quot;: True or False, # Denotes that nodes belonging to this node pool are Autopilot nodes.
154+
},
152155
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
153156
&quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
154157
&quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
@@ -582,6 +585,9 @@ <h3>Method Details</h3>
582585
An object of the form:
583586

584587
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
588+
&quot;autopilotConfig&quot;: { # AutopilotConfig contains configuration of autopilot feature for this nodepool. # Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api
589+
&quot;enabled&quot;: True or False, # Denotes that nodes belonging to this node pool are Autopilot nodes.
590+
},
585591
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
586592
&quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
587593
&quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
@@ -881,6 +887,9 @@ <h3>Method Details</h3>
881887
{ # ListNodePoolsResponse is the result of ListNodePoolsRequest.
882888
&quot;nodePools&quot;: [ # A list of node pools for a cluster.
883889
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
890+
&quot;autopilotConfig&quot;: { # AutopilotConfig contains configuration of autopilot feature for this nodepool. # Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api
891+
&quot;enabled&quot;: True or False, # Denotes that nodes belonging to this node pool are Autopilot nodes.
892+
},
884893
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
885894
&quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
886895
&quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.

docs/dyn/container_v1.projects.zones.clusters.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,9 @@ <h3>Method Details</h3>
983983
},
984984
&quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
985985
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
986+
&quot;autopilotConfig&quot;: { # AutopilotConfig contains configuration of autopilot feature for this nodepool. # Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api
987+
&quot;enabled&quot;: True or False, # Denotes that nodes belonging to this node pool are Autopilot nodes.
988+
},
986989
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
987990
&quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
988991
&quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
@@ -2126,6 +2129,9 @@ <h3>Method Details</h3>
21262129
},
21272130
&quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
21282131
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
2132+
&quot;autopilotConfig&quot;: { # AutopilotConfig contains configuration of autopilot feature for this nodepool. # Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api
2133+
&quot;enabled&quot;: True or False, # Denotes that nodes belonging to this node pool are Autopilot nodes.
2134+
},
21292135
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
21302136
&quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
21312137
&quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
@@ -3216,6 +3222,9 @@ <h3>Method Details</h3>
32163222
},
32173223
&quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
32183224
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
3225+
&quot;autopilotConfig&quot;: { # AutopilotConfig contains configuration of autopilot feature for this nodepool. # Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api
3226+
&quot;enabled&quot;: True or False, # Denotes that nodes belonging to this node pool are Autopilot nodes.
3227+
},
32193228
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
32203229
&quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
32213230
&quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.

docs/dyn/container_v1.projects.zones.clusters.nodePools.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ <h3>Method Details</h3>
214214
{ # CreateNodePoolRequest creates a node pool for a cluster.
215215
&quot;clusterId&quot;: &quot;A String&quot;, # Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.
216216
&quot;nodePool&quot;: { # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload. # Required. The node pool to create.
217+
&quot;autopilotConfig&quot;: { # AutopilotConfig contains configuration of autopilot feature for this nodepool. # Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api
218+
&quot;enabled&quot;: True or False, # Denotes that nodes belonging to this node pool are Autopilot nodes.
219+
},
217220
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
218221
&quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
219222
&quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
@@ -647,6 +650,9 @@ <h3>Method Details</h3>
647650
An object of the form:
648651

649652
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
653+
&quot;autopilotConfig&quot;: { # AutopilotConfig contains configuration of autopilot feature for this nodepool. # Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api
654+
&quot;enabled&quot;: True or False, # Denotes that nodes belonging to this node pool are Autopilot nodes.
655+
},
650656
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
651657
&quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
652658
&quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
@@ -946,6 +952,9 @@ <h3>Method Details</h3>
946952
{ # ListNodePoolsResponse is the result of ListNodePoolsRequest.
947953
&quot;nodePools&quot;: [ # A list of node pools for a cluster.
948954
{ # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
955+
&quot;autopilotConfig&quot;: { # AutopilotConfig contains configuration of autopilot feature for this nodepool. # Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api
956+
&quot;enabled&quot;: True or False, # Denotes that nodes belonging to this node pool are Autopilot nodes.
957+
},
949958
&quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
950959
&quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
951960
&quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.

googleapiclient/discovery_cache/documents/container.v1.json

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2540,7 +2540,7 @@
25402540
}
25412541
}
25422542
},
2543-
"revision": "20250128",
2543+
"revision": "20250204",
25442544
"rootUrl": "https://container.googleapis.com/",
25452545
"schemas": {
25462546
"AcceleratorConfig": {
@@ -2836,6 +2836,17 @@
28362836
},
28372837
"type": "object"
28382838
},
2839+
"AutopilotConfig": {
2840+
"description": "AutopilotConfig contains configuration of autopilot feature for this nodepool.",
2841+
"id": "AutopilotConfig",
2842+
"properties": {
2843+
"enabled": {
2844+
"description": "Denotes that nodes belonging to this node pool are Autopilot nodes.",
2845+
"type": "boolean"
2846+
}
2847+
},
2848+
"type": "object"
2849+
},
28392850
"AutoprovisioningNodePoolDefaults": {
28402851
"description": "AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.",
28412852
"id": "AutoprovisioningNodePoolDefaults",
@@ -5947,6 +5958,10 @@ false
59475958
"description": "NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.",
59485959
"id": "NodePool",
59495960
"properties": {
5961+
"autopilotConfig": {
5962+
"$ref": "AutopilotConfig",
5963+
"description": "Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler to implement go/gke-managed-nodes-ccc-api"
5964+
},
59505965
"autoscaling": {
59515966
"$ref": "NodePoolAutoscaling",
59525967
"description": "Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present."
@@ -8070,11 +8085,13 @@ false
80708085
"description": "The type of the event.",
80718086
"enum": [
80728087
"EVENT_TYPE_UNSPECIFIED",
8073-
"END_OF_SUPPORT"
8088+
"END_OF_SUPPORT",
8089+
"COS_MILESTONE_VERSION_UPDATE"
80748090
],
80758091
"enumDescriptions": [
80768092
"EVENT_TYPE_UNSPECIFIED indicates the event type is unspecified.",
8077-
"END_OF_SUPPORT indicates GKE version reaches end of support, check standard_support_end_time and extended_support_end_time for more details."
8093+
"END_OF_SUPPORT indicates GKE version reaches end of support, check standard_support_end_time and extended_support_end_time for more details.",
8094+
"COS_MILESTONE_VERSION_UPDATE indicates that the COS node image will update COS milestone version for new patch versions starting with the one in the description."
80788095
],
80798096
"type": "string"
80808097
},

0 commit comments

Comments
 (0)