Skip to content

Commit 21f18cf

Browse files
feat(container): update the api
#### container:v1beta1 The following keys were added: - schemas.Cluster.properties.costManagementConfig.$ref (Total Keys: 1) - schemas.ClusterUpdate.properties.desiredCostManagementConfig.$ref (Total Keys: 1) - schemas.CostManagementConfig (Total Keys: 3)
1 parent 482698c commit 21f18cf

File tree

4 files changed

+49
-6
lines changed

4 files changed

+49
-6
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,9 @@ <h3>Method Details</h3>
341341
&quot;confidentialNodes&quot;: { # ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. # Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
342342
&quot;enabled&quot;: True or False, # Whether Confidential Nodes feature is enabled.
343343
},
344+
&quot;costManagementConfig&quot;: { # Configuration for fine-grained cost management feature. # Configuration for the fine-grained cost management feature.
345+
&quot;enabled&quot;: True or False, # Whether the feature is enabled or not.
346+
},
344347
&quot;createTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
345348
&quot;currentMasterVersion&quot;: &quot;A String&quot;, # [Output only] The current software version of the master endpoint.
346349
&quot;currentNodeCount&quot;: 42, # [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
@@ -1075,6 +1078,9 @@ <h3>Method Details</h3>
10751078
&quot;confidentialNodes&quot;: { # ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. # Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
10761079
&quot;enabled&quot;: True or False, # Whether Confidential Nodes feature is enabled.
10771080
},
1081+
&quot;costManagementConfig&quot;: { # Configuration for fine-grained cost management feature. # Configuration for the fine-grained cost management feature.
1082+
&quot;enabled&quot;: True or False, # Whether the feature is enabled or not.
1083+
},
10781084
&quot;createTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
10791085
&quot;currentMasterVersion&quot;: &quot;A String&quot;, # [Output only] The current software version of the master endpoint.
10801086
&quot;currentNodeCount&quot;: 42, # [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
@@ -1712,6 +1718,9 @@ <h3>Method Details</h3>
17121718
&quot;confidentialNodes&quot;: { # ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. # Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
17131719
&quot;enabled&quot;: True or False, # Whether Confidential Nodes feature is enabled.
17141720
},
1721+
&quot;costManagementConfig&quot;: { # Configuration for fine-grained cost management feature. # Configuration for the fine-grained cost management feature.
1722+
&quot;enabled&quot;: True or False, # Whether the feature is enabled or not.
1723+
},
17151724
&quot;createTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
17161725
&quot;currentMasterVersion&quot;: &quot;A String&quot;, # [Output only] The current software version of the master endpoint.
17171726
&quot;currentNodeCount&quot;: 42, # [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
@@ -3163,6 +3172,9 @@ <h3>Method Details</h3>
31633172
&quot;desiredClusterTelemetry&quot;: { # Telemetry integration for the cluster. # The desired telemetry integration for the cluster.
31643173
&quot;type&quot;: &quot;A String&quot;, # Type of the integration.
31653174
},
3175+
&quot;desiredCostManagementConfig&quot;: { # Configuration for fine-grained cost management feature. # The desired configuration for the fine-grained cost management feature.
3176+
&quot;enabled&quot;: True or False, # Whether the feature is enabled or not.
3177+
},
31663178
&quot;desiredDatabaseEncryption&quot;: { # Configuration of etcd encryption. # Configuration of etcd encryption.
31673179
&quot;keyName&quot;: &quot;A String&quot;, # Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
31683180
&quot;state&quot;: &quot;A String&quot;, # Denotes the state of etcd encryption.

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,9 @@ <h3>Method Details</h3>
455455
&quot;confidentialNodes&quot;: { # ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. # Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
456456
&quot;enabled&quot;: True or False, # Whether Confidential Nodes feature is enabled.
457457
},
458+
&quot;costManagementConfig&quot;: { # Configuration for fine-grained cost management feature. # Configuration for the fine-grained cost management feature.
459+
&quot;enabled&quot;: True or False, # Whether the feature is enabled or not.
460+
},
458461
&quot;createTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
459462
&quot;currentMasterVersion&quot;: &quot;A String&quot;, # [Output only] The current software version of the master endpoint.
460463
&quot;currentNodeCount&quot;: 42, # [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
@@ -1189,6 +1192,9 @@ <h3>Method Details</h3>
11891192
&quot;confidentialNodes&quot;: { # ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. # Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
11901193
&quot;enabled&quot;: True or False, # Whether Confidential Nodes feature is enabled.
11911194
},
1195+
&quot;costManagementConfig&quot;: { # Configuration for fine-grained cost management feature. # Configuration for the fine-grained cost management feature.
1196+
&quot;enabled&quot;: True or False, # Whether the feature is enabled or not.
1197+
},
11921198
&quot;createTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
11931199
&quot;currentMasterVersion&quot;: &quot;A String&quot;, # [Output only] The current software version of the master endpoint.
11941200
&quot;currentNodeCount&quot;: 42, # [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
@@ -1870,6 +1876,9 @@ <h3>Method Details</h3>
18701876
&quot;confidentialNodes&quot;: { # ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. # Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
18711877
&quot;enabled&quot;: True or False, # Whether Confidential Nodes feature is enabled.
18721878
},
1879+
&quot;costManagementConfig&quot;: { # Configuration for fine-grained cost management feature. # Configuration for the fine-grained cost management feature.
1880+
&quot;enabled&quot;: True or False, # Whether the feature is enabled or not.
1881+
},
18731882
&quot;createTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
18741883
&quot;currentMasterVersion&quot;: &quot;A String&quot;, # [Output only] The current software version of the master endpoint.
18751884
&quot;currentNodeCount&quot;: 42, # [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
@@ -3224,6 +3233,9 @@ <h3>Method Details</h3>
32243233
&quot;desiredClusterTelemetry&quot;: { # Telemetry integration for the cluster. # The desired telemetry integration for the cluster.
32253234
&quot;type&quot;: &quot;A String&quot;, # Type of the integration.
32263235
},
3236+
&quot;desiredCostManagementConfig&quot;: { # Configuration for fine-grained cost management feature. # The desired configuration for the fine-grained cost management feature.
3237+
&quot;enabled&quot;: True or False, # Whether the feature is enabled or not.
3238+
},
32273239
&quot;desiredDatabaseEncryption&quot;: { # Configuration of etcd encryption. # Configuration of etcd encryption.
32283240
&quot;keyName&quot;: &quot;A String&quot;, # Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
32293241
&quot;state&quot;: &quot;A String&quot;, # Denotes the state of etcd encryption.

googleapiclient/discovery_cache/documents/container.v1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2459,7 +2459,7 @@
24592459
}
24602460
}
24612461
},
2462-
"revision": "20220518",
2462+
"revision": "20220610",
24632463
"rootUrl": "https://container.googleapis.com/",
24642464
"schemas": {
24652465
"AcceleratorConfig": {
@@ -2660,9 +2660,9 @@
26602660
"PROJECT_SINGLETON_POLICY_ENFORCE"
26612661
],
26622662
"enumDescriptions": [
2663-
"Default value, equivalent to DISABLED.",
2663+
"Default value",
26642664
"Disable BinaryAuthorization",
2665-
"If enabled, enforce Kubernetes admission requests with BinAuthz using the project's singleton policy. Equivalent to bool enabled=true."
2665+
"Enforce Kubernetes admission requests with BinaryAuthorization using the project's singleton policy. This is equivalent to setting the enabled boolean to true."
26662666
],
26672667
"type": "string"
26682668
}

googleapiclient/discovery_cache/documents/container.v1beta1.json

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2484,7 +2484,7 @@
24842484
}
24852485
}
24862486
},
2487-
"revision": "20220518",
2487+
"revision": "20220610",
24882488
"rootUrl": "https://container.googleapis.com/",
24892489
"schemas": {
24902490
"AcceleratorConfig": {
@@ -2717,9 +2717,9 @@
27172717
"PROJECT_SINGLETON_POLICY_ENFORCE"
27182718
],
27192719
"enumDescriptions": [
2720-
"Default value, equivalent to DISABLED.",
2720+
"Default value",
27212721
"Disable BinaryAuthorization",
2722-
"If enabled, enforce Kubernetes admission requests with BinAuthz using the project's singleton policy. Equivalent to bool enabled=true."
2722+
"Enforce Kubernetes admission requests with BinaryAuthorization using the project's singleton policy. This is equivalent to setting the enabled boolean to true."
27232723
],
27242724
"type": "string"
27252725
}
@@ -2843,6 +2843,10 @@
28432843
"$ref": "ConfidentialNodes",
28442844
"description": "Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled."
28452845
},
2846+
"costManagementConfig": {
2847+
"$ref": "CostManagementConfig",
2848+
"description": "Configuration for the fine-grained cost management feature."
2849+
},
28462850
"createTime": {
28472851
"description": "[Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
28482852
"type": "string"
@@ -3214,6 +3218,10 @@
32143218
"$ref": "ClusterTelemetry",
32153219
"description": "The desired telemetry integration for the cluster."
32163220
},
3221+
"desiredCostManagementConfig": {
3222+
"$ref": "CostManagementConfig",
3223+
"description": "The desired configuration for the fine-grained cost management feature."
3224+
},
32173225
"desiredDatabaseEncryption": {
32183226
"$ref": "DatabaseEncryption",
32193227
"description": "Configuration of etcd encryption."
@@ -3442,6 +3450,17 @@
34423450
},
34433451
"type": "object"
34443452
},
3453+
"CostManagementConfig": {
3454+
"description": "Configuration for fine-grained cost management feature.",
3455+
"id": "CostManagementConfig",
3456+
"properties": {
3457+
"enabled": {
3458+
"description": "Whether the feature is enabled or not.",
3459+
"type": "boolean"
3460+
}
3461+
},
3462+
"type": "object"
3463+
},
34453464
"CreateClusterRequest": {
34463465
"description": "CreateClusterRequest creates a cluster.",
34473466
"id": "CreateClusterRequest",

0 commit comments

Comments
 (0)