Skip to content

Commit 969054e

Browse files
feat(container): update the api
#### container:v1 The following keys were added: - resources.projects.resources.locations.resources.clusters.methods.fetchClusterUpgradeInfo (Total Keys: 13) - resources.projects.resources.locations.resources.clusters.resources.nodePools.methods.fetchNodePoolUpgradeInfo (Total Keys: 13) - resources.projects.resources.zones.resources.clusters.methods.fetchClusterUpgradeInfo (Total Keys: 13) - resources.projects.resources.zones.resources.clusters.resources.nodePools.methods.fetchNodePoolUpgradeInfo (Total Keys: 13) - schemas.Cluster.properties.podAutoscaling.$ref (Total Keys: 1) - schemas.ClusterUpdate.properties.desiredPodAutoscaling.$ref (Total Keys: 1) - schemas.ClusterUpgradeInfo (Total Keys: 12) - schemas.NodePoolUpgradeInfo (Total Keys: 12) - schemas.PodAutoscaling (Total Keys: 3) - schemas.SecurityBulletinEvent.properties.mitigatedVersions (Total Keys: 2) - schemas.UpgradeDetails (Total Keys: 11) #### container:v1beta1 The following keys were added: - schemas.SecurityBulletinEvent.properties.mitigatedVersions (Total Keys: 2) - schemas.UpgradeDetails.properties.startType.type (Total Keys: 1)
1 parent 0ca2138 commit 969054e

10 files changed

+736
-160
lines changed

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

+78-24
Large diffs are not rendered by default.

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

+50-8
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ <h2>Instance Methods</h2>
8686
<p class="toc_element">
8787
<code><a href="#delete">delete(name, clusterId=None, nodePoolId=None, projectId=None, x__xgafv=None, zone=None)</a></code></p>
8888
<p class="firstline">Deletes a node pool from a cluster.</p>
89+
<p class="toc_element">
90+
<code><a href="#fetchNodePoolUpgradeInfo">fetchNodePoolUpgradeInfo(name, version=None, x__xgafv=None)</a></code></p>
91+
<p class="firstline">Fetch upgrade information of a specific nodepool.</p>
8992
<p class="toc_element">
9093
<code><a href="#get">get(name, clusterId=None, nodePoolId=None, projectId=None, x__xgafv=None, zone=None)</a></code></p>
9194
<p class="firstline">Retrieves the requested node pool.</p>
@@ -333,8 +336,8 @@ <h3>Method Details</h3>
333336
&quot;value&quot;: &quot;A String&quot;, # Value for taint.
334337
},
335338
],
336-
&quot;windowsNodeConfig&quot;: { # Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings # Parameters that can be configured on Windows nodes.
337-
&quot;osVersion&quot;: &quot;A String&quot;, # OSVersion specifies the Windows node config to be used on the node
339+
&quot;windowsNodeConfig&quot;: { # Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings. # Parameters that can be configured on Windows nodes.
340+
&quot;osVersion&quot;: &quot;A String&quot;, # OSVersion specifies the Windows node config to be used on the node.
338341
},
339342
&quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool. # The workload metadata configuration for this node.
340343
&quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running on the node pool.
@@ -566,6 +569,45 @@ <h3>Method Details</h3>
566569
}</pre>
567570
</div>
568571

572+
<div class="method">
573+
<code class="details" id="fetchNodePoolUpgradeInfo">fetchNodePoolUpgradeInfo(name, version=None, x__xgafv=None)</code>
574+
<pre>Fetch upgrade information of a specific nodepool.
575+
576+
Args:
577+
name: string, Required. The name (project, location, cluster, nodepool) of the nodepool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*` or `projects/*/zones/*/clusters/*/nodePools/*`. (required)
578+
version: string, API request version that initiates this operation.
579+
x__xgafv: string, V1 error format.
580+
Allowed values
581+
1 - v1 error format
582+
2 - v2 error format
583+
584+
Returns:
585+
An object of the form:
586+
587+
{ # NodePoolUpgradeInfo contains the upgrade information of a nodepool.
588+
&quot;autoUpgradeStatus&quot;: [ # The auto upgrade status.
589+
&quot;A String&quot;,
590+
],
591+
&quot;endOfExtendedSupportTimestamp&quot;: &quot;A String&quot;, # The nodepool&#x27;s current minor version&#x27;s end of extended support timestamp.
592+
&quot;endOfStandardSupportTimestamp&quot;: &quot;A String&quot;, # The nodepool&#x27;s current minor version&#x27;s end of standard support timestamp.
593+
&quot;minorTargetVersion&quot;: &quot;A String&quot;, # minor_target_version indicates the target version for minor upgrade.
594+
&quot;patchTargetVersion&quot;: &quot;A String&quot;, # patch_target_version indicates the target version for patch upgrade.
595+
&quot;pausedReason&quot;: [ # The auto upgrade paused reason.
596+
&quot;A String&quot;,
597+
],
598+
&quot;upgradeDetails&quot;: [ # The list of past auto upgrades.
599+
{ # UpgradeDetails contains detailed information of each individual upgrade operation.
600+
&quot;endTime&quot;: &quot;A String&quot;, # The end timestamp of the upgrade.
601+
&quot;initialVersion&quot;: &quot;A String&quot;, # The version before the upgrade.
602+
&quot;startTime&quot;: &quot;A String&quot;, # The start timestamp of the upgrade.
603+
&quot;startType&quot;: &quot;A String&quot;, # The start type of the upgrade.
604+
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the upgrade.
605+
&quot;targetVersion&quot;: &quot;A String&quot;, # The version after the upgrade.
606+
},
607+
],
608+
}</pre>
609+
</div>
610+
569611
<div class="method">
570612
<code class="details" id="get">get(name, clusterId=None, nodePoolId=None, projectId=None, x__xgafv=None, zone=None)</code>
571613
<pre>Retrieves the requested node pool.
@@ -769,8 +811,8 @@ <h3>Method Details</h3>
769811
&quot;value&quot;: &quot;A String&quot;, # Value for taint.
770812
},
771813
],
772-
&quot;windowsNodeConfig&quot;: { # Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings # Parameters that can be configured on Windows nodes.
773-
&quot;osVersion&quot;: &quot;A String&quot;, # OSVersion specifies the Windows node config to be used on the node
814+
&quot;windowsNodeConfig&quot;: { # Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings. # Parameters that can be configured on Windows nodes.
815+
&quot;osVersion&quot;: &quot;A String&quot;, # OSVersion specifies the Windows node config to be used on the node.
774816
},
775817
&quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool. # The workload metadata configuration for this node.
776818
&quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running on the node pool.
@@ -1071,8 +1113,8 @@ <h3>Method Details</h3>
10711113
&quot;value&quot;: &quot;A String&quot;, # Value for taint.
10721114
},
10731115
],
1074-
&quot;windowsNodeConfig&quot;: { # Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings # Parameters that can be configured on Windows nodes.
1075-
&quot;osVersion&quot;: &quot;A String&quot;, # OSVersion specifies the Windows node config to be used on the node
1116+
&quot;windowsNodeConfig&quot;: { # Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings. # Parameters that can be configured on Windows nodes.
1117+
&quot;osVersion&quot;: &quot;A String&quot;, # OSVersion specifies the Windows node config to be used on the node.
10761118
},
10771119
&quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool. # The workload metadata configuration for this node.
10781120
&quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running on the node pool.
@@ -1675,8 +1717,8 @@ <h3>Method Details</h3>
16751717
&quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.
16761718
&quot;strategy&quot;: &quot;A String&quot;, # Update strategy of the node pool.
16771719
},
1678-
&quot;windowsNodeConfig&quot;: { # Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings # Parameters that can be configured on Windows nodes.
1679-
&quot;osVersion&quot;: &quot;A String&quot;, # OSVersion specifies the Windows node config to be used on the node
1720+
&quot;windowsNodeConfig&quot;: { # Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings. # Parameters that can be configured on Windows nodes.
1721+
&quot;osVersion&quot;: &quot;A String&quot;, # OSVersion specifies the Windows node config to be used on the node.
16801722
},
16811723
&quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool. # The desired workload metadata config for the node pool.
16821724
&quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running on the node pool.

0 commit comments

Comments
 (0)