Skip to content

Commit d35e92e

Browse files
feat(container): update the api
#### container:v1beta1 The following keys were added: - schemas.Cluster.properties.podAutoscaling.$ref (Total Keys: 1) - schemas.ClusterUpdate.properties.desiredEnterpriseConfig.$ref (Total Keys: 1) - schemas.ClusterUpdate.properties.desiredPodAutoscaling.$ref (Total Keys: 1) - schemas.DesiredEnterpriseConfig (Total Keys: 3) - schemas.EnterpriseConfig.properties.desiredTier.type (Total Keys: 1) - schemas.PodAutoscaling (Total Keys: 3)
1 parent 396f9dc commit d35e92e

File tree

3 files changed

+105
-1
lines changed

3 files changed

+105
-1
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ <h3>Method Details</h3>
488488
&quot;endpoint&quot;: &quot;A String&quot;, # Output only. The IP address of this cluster&#x27;s master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
489489
&quot;enterpriseConfig&quot;: { # EnterpriseConfig is the cluster enterprise configuration. # GKE Enterprise Configuration.
490490
&quot;clusterTier&quot;: &quot;A String&quot;, # Output only. cluster_tier indicates the effective tier of the cluster.
491+
&quot;desiredTier&quot;: &quot;A String&quot;, # desired_tier specifies the desired tier of the cluster.
491492
},
492493
&quot;etag&quot;: &quot;A String&quot;, # This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
493494
&quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -1203,6 +1204,9 @@ <h3>Method Details</h3>
12031204
},
12041205
&quot;productName&quot;: &quot;A String&quot;, # Name of the parent product associated with the cluster.
12051206
},
1207+
&quot;podAutoscaling&quot;: { # PodAutoscaling is used for configuration of parameters for workload autoscaling. # The config for pod autoscaling.
1208+
&quot;hpaProfile&quot;: &quot;A String&quot;, # Selected Horizontal Pod Autoscaling profile.
1209+
},
12061210
&quot;podSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # Configuration for the PodSecurityPolicy feature.
12071211
&quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
12081212
},
@@ -1705,6 +1709,7 @@ <h3>Method Details</h3>
17051709
&quot;endpoint&quot;: &quot;A String&quot;, # Output only. The IP address of this cluster&#x27;s master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
17061710
&quot;enterpriseConfig&quot;: { # EnterpriseConfig is the cluster enterprise configuration. # GKE Enterprise Configuration.
17071711
&quot;clusterTier&quot;: &quot;A String&quot;, # Output only. cluster_tier indicates the effective tier of the cluster.
1712+
&quot;desiredTier&quot;: &quot;A String&quot;, # desired_tier specifies the desired tier of the cluster.
17081713
},
17091714
&quot;etag&quot;: &quot;A String&quot;, # This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
17101715
&quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -2420,6 +2425,9 @@ <h3>Method Details</h3>
24202425
},
24212426
&quot;productName&quot;: &quot;A String&quot;, # Name of the parent product associated with the cluster.
24222427
},
2428+
&quot;podAutoscaling&quot;: { # PodAutoscaling is used for configuration of parameters for workload autoscaling. # The config for pod autoscaling.
2429+
&quot;hpaProfile&quot;: &quot;A String&quot;, # Selected Horizontal Pod Autoscaling profile.
2430+
},
24232431
&quot;podSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # Configuration for the PodSecurityPolicy feature.
24242432
&quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
24252433
},
@@ -2787,6 +2795,7 @@ <h3>Method Details</h3>
27872795
&quot;endpoint&quot;: &quot;A String&quot;, # Output only. The IP address of this cluster&#x27;s master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
27882796
&quot;enterpriseConfig&quot;: { # EnterpriseConfig is the cluster enterprise configuration. # GKE Enterprise Configuration.
27892797
&quot;clusterTier&quot;: &quot;A String&quot;, # Output only. cluster_tier indicates the effective tier of the cluster.
2798+
&quot;desiredTier&quot;: &quot;A String&quot;, # desired_tier specifies the desired tier of the cluster.
27902799
},
27912800
&quot;etag&quot;: &quot;A String&quot;, # This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
27922801
&quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -3502,6 +3511,9 @@ <h3>Method Details</h3>
35023511
},
35033512
&quot;productName&quot;: &quot;A String&quot;, # Name of the parent product associated with the cluster.
35043513
},
3514+
&quot;podAutoscaling&quot;: { # PodAutoscaling is used for configuration of parameters for workload autoscaling. # The config for pod autoscaling.
3515+
&quot;hpaProfile&quot;: &quot;A String&quot;, # Selected Horizontal Pod Autoscaling profile.
3516+
},
35053517
&quot;podSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # Configuration for the PodSecurityPolicy feature.
35063518
&quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
35073519
},
@@ -4721,6 +4733,9 @@ <h3>Method Details</h3>
47214733
&quot;desiredEnableFqdnNetworkPolicy&quot;: True or False, # Enable/Disable FQDN Network Policy for the cluster.
47224734
&quot;desiredEnableMultiNetworking&quot;: True or False, # Enable/Disable Multi-Networking for the cluster
47234735
&quot;desiredEnablePrivateEndpoint&quot;: True or False, # Enable/Disable private endpoint for the cluster&#x27;s master. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.
4736+
&quot;desiredEnterpriseConfig&quot;: { # DesiredEnterpriseConfig is a wrapper used for updating enterprise_config. # The desired enterprise configuration for the cluster.
4737+
&quot;desiredTier&quot;: &quot;A String&quot;, # desired_tier specifies the desired tier of the cluster.
4738+
},
47244739
&quot;desiredFleet&quot;: { # Fleet is the fleet configuration for the cluster. # The desired fleet configuration for the cluster.
47254740
&quot;membership&quot;: &quot;A String&quot;, # Output only. The full resource name of the registered fleet membership of the cluster, in the format `//gkehub.googleapis.com/projects/*/locations/*/memberships/*`.
47264741
&quot;preRegistered&quot;: True or False, # Output only. Whether the cluster has been registered through the fleet API.
@@ -4863,6 +4878,9 @@ <h3>Method Details</h3>
48634878
},
48644879
&quot;productName&quot;: &quot;A String&quot;, # Name of the parent product associated with the cluster.
48654880
},
4881+
&quot;desiredPodAutoscaling&quot;: { # PodAutoscaling is used for configuration of parameters for workload autoscaling. # The desired config for pod autoscaling.
4882+
&quot;hpaProfile&quot;: &quot;A String&quot;, # Selected Horizontal Pod Autoscaling profile.
4883+
},
48664884
&quot;desiredPodSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # The desired configuration options for the PodSecurityPolicy feature.
48674885
&quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
48684886
},

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ <h3>Method Details</h3>
586586
&quot;endpoint&quot;: &quot;A String&quot;, # Output only. The IP address of this cluster&#x27;s master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
587587
&quot;enterpriseConfig&quot;: { # EnterpriseConfig is the cluster enterprise configuration. # GKE Enterprise Configuration.
588588
&quot;clusterTier&quot;: &quot;A String&quot;, # Output only. cluster_tier indicates the effective tier of the cluster.
589+
&quot;desiredTier&quot;: &quot;A String&quot;, # desired_tier specifies the desired tier of the cluster.
589590
},
590591
&quot;etag&quot;: &quot;A String&quot;, # This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
591592
&quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -1301,6 +1302,9 @@ <h3>Method Details</h3>
13011302
},
13021303
&quot;productName&quot;: &quot;A String&quot;, # Name of the parent product associated with the cluster.
13031304
},
1305+
&quot;podAutoscaling&quot;: { # PodAutoscaling is used for configuration of parameters for workload autoscaling. # The config for pod autoscaling.
1306+
&quot;hpaProfile&quot;: &quot;A String&quot;, # Selected Horizontal Pod Autoscaling profile.
1307+
},
13041308
&quot;podSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # Configuration for the PodSecurityPolicy feature.
13051309
&quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
13061310
},
@@ -1803,6 +1807,7 @@ <h3>Method Details</h3>
18031807
&quot;endpoint&quot;: &quot;A String&quot;, # Output only. The IP address of this cluster&#x27;s master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
18041808
&quot;enterpriseConfig&quot;: { # EnterpriseConfig is the cluster enterprise configuration. # GKE Enterprise Configuration.
18051809
&quot;clusterTier&quot;: &quot;A String&quot;, # Output only. cluster_tier indicates the effective tier of the cluster.
1810+
&quot;desiredTier&quot;: &quot;A String&quot;, # desired_tier specifies the desired tier of the cluster.
18061811
},
18071812
&quot;etag&quot;: &quot;A String&quot;, # This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
18081813
&quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -2518,6 +2523,9 @@ <h3>Method Details</h3>
25182523
},
25192524
&quot;productName&quot;: &quot;A String&quot;, # Name of the parent product associated with the cluster.
25202525
},
2526+
&quot;podAutoscaling&quot;: { # PodAutoscaling is used for configuration of parameters for workload autoscaling. # The config for pod autoscaling.
2527+
&quot;hpaProfile&quot;: &quot;A String&quot;, # Selected Horizontal Pod Autoscaling profile.
2528+
},
25212529
&quot;podSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # Configuration for the PodSecurityPolicy feature.
25222530
&quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
25232531
},
@@ -2929,6 +2937,7 @@ <h3>Method Details</h3>
29292937
&quot;endpoint&quot;: &quot;A String&quot;, # Output only. The IP address of this cluster&#x27;s master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
29302938
&quot;enterpriseConfig&quot;: { # EnterpriseConfig is the cluster enterprise configuration. # GKE Enterprise Configuration.
29312939
&quot;clusterTier&quot;: &quot;A String&quot;, # Output only. cluster_tier indicates the effective tier of the cluster.
2940+
&quot;desiredTier&quot;: &quot;A String&quot;, # desired_tier specifies the desired tier of the cluster.
29322941
},
29332942
&quot;etag&quot;: &quot;A String&quot;, # This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
29342943
&quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
@@ -3644,6 +3653,9 @@ <h3>Method Details</h3>
36443653
},
36453654
&quot;productName&quot;: &quot;A String&quot;, # Name of the parent product associated with the cluster.
36463655
},
3656+
&quot;podAutoscaling&quot;: { # PodAutoscaling is used for configuration of parameters for workload autoscaling. # The config for pod autoscaling.
3657+
&quot;hpaProfile&quot;: &quot;A String&quot;, # Selected Horizontal Pod Autoscaling profile.
3658+
},
36473659
&quot;podSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # Configuration for the PodSecurityPolicy feature.
36483660
&quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
36493661
},
@@ -4748,6 +4760,9 @@ <h3>Method Details</h3>
47484760
&quot;desiredEnableFqdnNetworkPolicy&quot;: True or False, # Enable/Disable FQDN Network Policy for the cluster.
47494761
&quot;desiredEnableMultiNetworking&quot;: True or False, # Enable/Disable Multi-Networking for the cluster
47504762
&quot;desiredEnablePrivateEndpoint&quot;: True or False, # Enable/Disable private endpoint for the cluster&#x27;s master. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.
4763+
&quot;desiredEnterpriseConfig&quot;: { # DesiredEnterpriseConfig is a wrapper used for updating enterprise_config. # The desired enterprise configuration for the cluster.
4764+
&quot;desiredTier&quot;: &quot;A String&quot;, # desired_tier specifies the desired tier of the cluster.
4765+
},
47514766
&quot;desiredFleet&quot;: { # Fleet is the fleet configuration for the cluster. # The desired fleet configuration for the cluster.
47524767
&quot;membership&quot;: &quot;A String&quot;, # Output only. The full resource name of the registered fleet membership of the cluster, in the format `//gkehub.googleapis.com/projects/*/locations/*/memberships/*`.
47534768
&quot;preRegistered&quot;: True or False, # Output only. Whether the cluster has been registered through the fleet API.
@@ -4890,6 +4905,9 @@ <h3>Method Details</h3>
48904905
},
48914906
&quot;productName&quot;: &quot;A String&quot;, # Name of the parent product associated with the cluster.
48924907
},
4908+
&quot;desiredPodAutoscaling&quot;: { # PodAutoscaling is used for configuration of parameters for workload autoscaling. # The desired config for pod autoscaling.
4909+
&quot;hpaProfile&quot;: &quot;A String&quot;, # Selected Horizontal Pod Autoscaling profile.
4910+
},
48934911
&quot;desiredPodSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # The desired configuration options for the PodSecurityPolicy feature.
48944912
&quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
48954913
},

googleapiclient/discovery_cache/documents/container.v1beta1.json

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2685,7 +2685,7 @@
26852685
}
26862686
}
26872687
},
2688-
"revision": "20241008",
2688+
"revision": "20241017",
26892689
"rootUrl": "https://container.googleapis.com/",
26902690
"schemas": {
26912691
"AcceleratorConfig": {
@@ -3641,6 +3641,10 @@
36413641
"$ref": "ParentProductConfig",
36423642
"description": "The configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of the GKE cluster and take the ownership of the cluster."
36433643
},
3644+
"podAutoscaling": {
3645+
"$ref": "PodAutoscaling",
3646+
"description": "The config for pod autoscaling."
3647+
},
36443648
"podSecurityPolicyConfig": {
36453649
"$ref": "PodSecurityPolicyConfig",
36463650
"description": "Configuration for the PodSecurityPolicy feature."
@@ -3961,6 +3965,10 @@
39613965
"description": "Enable/Disable private endpoint for the cluster's master. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.",
39623966
"type": "boolean"
39633967
},
3968+
"desiredEnterpriseConfig": {
3969+
"$ref": "DesiredEnterpriseConfig",
3970+
"description": "The desired enterprise configuration for the cluster."
3971+
},
39643972
"desiredFleet": {
39653973
"$ref": "Fleet",
39663974
"description": "The desired fleet configuration for the cluster."
@@ -4095,6 +4103,10 @@
40954103
"$ref": "ParentProductConfig",
40964104
"description": "The desired parent product config for the cluster."
40974105
},
4106+
"desiredPodAutoscaling": {
4107+
"$ref": "PodAutoscaling",
4108+
"description": "The desired config for pod autoscaling."
4109+
},
40984110
"desiredPodSecurityPolicyConfig": {
40994111
"$ref": "PodSecurityPolicyConfig",
41004112
"description": "The desired configuration options for the PodSecurityPolicy feature."
@@ -4655,6 +4667,27 @@
46554667
},
46564668
"type": "object"
46574669
},
4670+
"DesiredEnterpriseConfig": {
4671+
"description": "DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.",
4672+
"id": "DesiredEnterpriseConfig",
4673+
"properties": {
4674+
"desiredTier": {
4675+
"description": "desired_tier specifies the desired tier of the cluster.",
4676+
"enum": [
4677+
"CLUSTER_TIER_UNSPECIFIED",
4678+
"STANDARD",
4679+
"ENTERPRISE"
4680+
],
4681+
"enumDescriptions": [
4682+
"CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.",
4683+
"STANDARD indicates a standard GKE cluster.",
4684+
"ENTERPRISE indicates a GKE Enterprise cluster."
4685+
],
4686+
"type": "string"
4687+
}
4688+
},
4689+
"type": "object"
4690+
},
46584691
"DnsCacheConfig": {
46594692
"description": "Configuration for NodeLocal DNSCache",
46604693
"id": "DnsCacheConfig",
@@ -4690,6 +4723,20 @@
46904723
],
46914724
"readOnly": true,
46924725
"type": "string"
4726+
},
4727+
"desiredTier": {
4728+
"description": "desired_tier specifies the desired tier of the cluster.",
4729+
"enum": [
4730+
"CLUSTER_TIER_UNSPECIFIED",
4731+
"STANDARD",
4732+
"ENTERPRISE"
4733+
],
4734+
"enumDescriptions": [
4735+
"CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.",
4736+
"STANDARD indicates a standard GKE cluster.",
4737+
"ENTERPRISE indicates a GKE Enterprise cluster."
4738+
],
4739+
"type": "string"
46934740
}
46944741
},
46954742
"type": "object"
@@ -7109,6 +7156,27 @@ false
71097156
},
71107157
"type": "object"
71117158
},
7159+
"PodAutoscaling": {
7160+
"description": "PodAutoscaling is used for configuration of parameters for workload autoscaling.",
7161+
"id": "PodAutoscaling",
7162+
"properties": {
7163+
"hpaProfile": {
7164+
"description": "Selected Horizontal Pod Autoscaling profile.",
7165+
"enum": [
7166+
"HPA_PROFILE_UNSPECIFIED",
7167+
"NONE",
7168+
"PERFORMANCE"
7169+
],
7170+
"enumDescriptions": [
7171+
"HPA_PROFILE_UNSPECIFIED is used when no custom HPA profile is set.",
7172+
"Customers explicitly opt-out of HPA profiles.",
7173+
"PERFORMANCE is used when customers opt-in to the performance HPA profile. In this profile we support a higher number of HPAs per cluster and faster metrics collection for workload autoscaling."
7174+
],
7175+
"type": "string"
7176+
}
7177+
},
7178+
"type": "object"
7179+
},
71127180
"PodCIDROverprovisionConfig": {
71137181
"description": "[PRIVATE FIELD] Config for pod CIDR size overprovisioning.",
71147182
"id": "PodCIDROverprovisionConfig",

0 commit comments

Comments
 (0)