Skip to content

Commit 514acdb

Browse files
feat(container): update the api
#### container:v1beta1 The following keys were added: - schemas.Cluster.properties.nodePoolDefaults.$ref (Total Keys: 1) - schemas.Date (Total Keys: 8) - schemas.NodeConfigDefaults (Total Keys: 2) - schemas.NodePoolDefaults (Total Keys: 3) - schemas.ServerConfig.properties.windowsVersionMaps (Total Keys: 2) - schemas.WindowsVersion (Total Keys: 9)
1 parent 9b8d8fb commit 514acdb

File tree

5 files changed

+142
-3
lines changed

5 files changed

+142
-3
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,10 @@ <h3>Method Details</h3>
518518
},
519519
},
520520
&quot;nodeIpv4CidrSize&quot;: 42, # [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.
521+
&quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
522+
&quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
523+
},
524+
},
521525
&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.
522526
{ # 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.
523527
&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.
@@ -1138,6 +1142,10 @@ <h3>Method Details</h3>
11381142
},
11391143
},
11401144
&quot;nodeIpv4CidrSize&quot;: 42, # [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.
1145+
&quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
1146+
&quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
1147+
},
1148+
},
11411149
&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.
11421150
{ # 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.
11431151
&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.
@@ -1661,6 +1669,10 @@ <h3>Method Details</h3>
16611669
},
16621670
},
16631671
&quot;nodeIpv4CidrSize&quot;: 42, # [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.
1672+
&quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
1673+
&quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
1674+
},
1675+
},
16641676
&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.
16651677
{ # 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.
16661678
&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.

docs/dyn/container_v1beta1.projects.locations.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,21 @@ <h3>Method Details</h3>
142142
&quot;validNodeVersions&quot;: [ # List of valid node upgrade target versions, in descending order.
143143
&quot;A String&quot;,
144144
],
145+
&quot;windowsVersionMaps&quot;: { # Maps of Kubernetes version and supported Windows server versions.
146+
&quot;a_key&quot;: { # Windows server versions.
147+
&quot;windowsVersions&quot;: [ # List of Windows server versions.
148+
{ # Windows server version.
149+
&quot;imageType&quot;: &quot;A String&quot;, # Windows server image type
150+
&quot;osVersion&quot;: &quot;A String&quot;, # Windows server build number
151+
&quot;supportEndDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. # Mainstream support end date
152+
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
153+
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
154+
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
155+
},
156+
},
157+
],
158+
},
159+
},
145160
}</pre>
146161
</div>
147162

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,10 @@ <h3>Method Details</h3>
626626
},
627627
},
628628
&quot;nodeIpv4CidrSize&quot;: 42, # [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.
629+
&quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
630+
&quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
631+
},
632+
},
629633
&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.
630634
{ # 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.
631635
&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.
@@ -1246,6 +1250,10 @@ <h3>Method Details</h3>
12461250
},
12471251
},
12481252
&quot;nodeIpv4CidrSize&quot;: 42, # [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.
1253+
&quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
1254+
&quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
1255+
},
1256+
},
12491257
&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.
12501258
{ # 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.
12511259
&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.
@@ -1813,6 +1821,10 @@ <h3>Method Details</h3>
18131821
},
18141822
},
18151823
&quot;nodeIpv4CidrSize&quot;: 42, # [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.
1824+
&quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
1825+
&quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
1826+
},
1827+
},
18161828
&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.
18171829
{ # 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.
18181830
&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.

docs/dyn/container_v1beta1.projects.zones.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,21 @@ <h3>Method Details</h3>
139139
&quot;validNodeVersions&quot;: [ # List of valid node upgrade target versions, in descending order.
140140
&quot;A String&quot;,
141141
],
142+
&quot;windowsVersionMaps&quot;: { # Maps of Kubernetes version and supported Windows server versions.
143+
&quot;a_key&quot;: { # Windows server versions.
144+
&quot;windowsVersions&quot;: [ # List of Windows server versions.
145+
{ # Windows server version.
146+
&quot;imageType&quot;: &quot;A String&quot;, # Windows server image type
147+
&quot;osVersion&quot;: &quot;A String&quot;, # Windows server build number
148+
&quot;supportEndDate&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. # Mainstream support end date
149+
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
150+
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
151+
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
152+
},
153+
},
154+
],
155+
},
156+
},
142157
}</pre>
143158
</div>
144159

googleapiclient/discovery_cache/documents/container.v1beta1.json

Lines changed: 88 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2484,7 +2484,7 @@
24842484
}
24852485
}
24862486
},
2487-
"revision": "20210508",
2487+
"revision": "20210517",
24882488
"rootUrl": "https://container.googleapis.com/",
24892489
"schemas": {
24902490
"AcceleratorConfig": {
@@ -2938,6 +2938,10 @@
29382938
"format": "int32",
29392939
"type": "integer"
29402940
},
2941+
"nodePoolDefaults": {
2942+
"$ref": "NodePoolDefaults",
2943+
"description": "Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object."
2944+
},
29412945
"nodePools": {
29422946
"description": "The node pools associated with this cluster. This field should not be set if \"node_config\" or \"initial_node_count\" are specified.",
29432947
"items": {
@@ -3456,6 +3460,28 @@
34563460
},
34573461
"type": "object"
34583462
},
3463+
"Date": {
3464+
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.",
3465+
"id": "Date",
3466+
"properties": {
3467+
"day": {
3468+
"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
3469+
"format": "int32",
3470+
"type": "integer"
3471+
},
3472+
"month": {
3473+
"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
3474+
"format": "int32",
3475+
"type": "integer"
3476+
},
3477+
"year": {
3478+
"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
3479+
"format": "int32",
3480+
"type": "integer"
3481+
}
3482+
},
3483+
"type": "object"
3484+
},
34593485
"DefaultSnatStatus": {
34603486
"description": "DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.",
34613487
"id": "DefaultSnatStatus",
@@ -4296,6 +4322,12 @@
42964322
},
42974323
"type": "object"
42984324
},
4325+
"NodeConfigDefaults": {
4326+
"description": "Subset of NodeConfig message that has defaults.",
4327+
"id": "NodeConfigDefaults",
4328+
"properties": {},
4329+
"type": "object"
4330+
},
42994331
"NodeKubeletConfig": {
43004332
"description": "Node kubelet configs.",
43014333
"id": "NodeKubeletConfig",
@@ -4492,6 +4524,17 @@
44924524
},
44934525
"type": "object"
44944526
},
4527+
"NodePoolDefaults": {
4528+
"description": "Subset of Nodepool message that has defaults.",
4529+
"id": "NodePoolDefaults",
4530+
"properties": {
4531+
"nodeConfigDefaults": {
4532+
"$ref": "NodeConfigDefaults",
4533+
"description": "Subset of NodeConfig message that has defaults."
4534+
}
4535+
},
4536+
"type": "object"
4537+
},
44954538
"NodeTaint": {
44964539
"description": "Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.",
44974540
"id": "NodeTaint",
@@ -5032,6 +5075,13 @@
50325075
"type": "string"
50335076
},
50345077
"type": "array"
5078+
},
5079+
"windowsVersionMaps": {
5080+
"additionalProperties": {
5081+
"$ref": "WindowsVersions"
5082+
},
5083+
"description": "Maps of Kubernetes version and supported Windows server versions.",
5084+
"type": "object"
50355085
}
50365086
},
50375087
"type": "object"
@@ -5533,15 +5583,17 @@
55335583
"GKE_SERVICE_ACCOUNT_DELETED",
55345584
"GCE_QUOTA_EXCEEDED",
55355585
"SET_BY_OPERATOR",
5536-
"CLOUD_KMS_KEY_ERROR"
5586+
"CLOUD_KMS_KEY_ERROR",
5587+
"CA_EXPIRING"
55375588
],
55385589
"enumDescriptions": [
55395590
"UNKNOWN indicates a generic condition.",
55405591
"GCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable.",
55415592
"GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot service account.",
55425593
"Google Compute Engine quota was exceeded.",
55435594
"Cluster state was manually changed by an SRE due to a system logic error.",
5544-
"Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption. More codes TBA"
5595+
"Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.",
5596+
"Cluster CA is expiring soon. More codes TBA"
55455597
],
55465598
"type": "string"
55475599
},
@@ -5878,6 +5930,39 @@
58785930
},
58795931
"type": "object"
58805932
},
5933+
"WindowsVersion": {
5934+
"description": "Windows server version.",
5935+
"id": "WindowsVersion",
5936+
"properties": {
5937+
"imageType": {
5938+
"description": "Windows server image type",
5939+
"type": "string"
5940+
},
5941+
"osVersion": {
5942+
"description": "Windows server build number",
5943+
"type": "string"
5944+
},
5945+
"supportEndDate": {
5946+
"$ref": "Date",
5947+
"description": "Mainstream support end date"
5948+
}
5949+
},
5950+
"type": "object"
5951+
},
5952+
"WindowsVersions": {
5953+
"description": "Windows server versions.",
5954+
"id": "WindowsVersions",
5955+
"properties": {
5956+
"windowsVersions": {
5957+
"description": "List of Windows server versions.",
5958+
"items": {
5959+
"$ref": "WindowsVersion"
5960+
},
5961+
"type": "array"
5962+
}
5963+
},
5964+
"type": "object"
5965+
},
58815966
"WorkloadCertificates": {
58825967
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods.",
58835968
"id": "WorkloadCertificates",

0 commit comments

Comments
 (0)