Skip to content

Commit c4cdd10

Browse files
feat(container): update the api
#### container:v1beta1 The following keys were added: - schemas.ManagedPrometheusConfig (Total Keys: 3) - schemas.MonitoringConfig.properties.managedPrometheusConfig.$ref (Total Keys: 1)
1 parent 71a7e6a commit c4cdd10

File tree

4 files changed

+41
-2
lines changed

4 files changed

+41
-2
lines changed

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

+12
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,9 @@ <h3>Method Details</h3>
447447
&quot;A String&quot;,
448448
],
449449
},
450+
&quot;managedPrometheusConfig&quot;: { # ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus. # Enable Google Cloud Managed Service for Prometheus in the cluster.
451+
&quot;enabled&quot;: True or False, # Enable Managed Collection.
452+
},
450453
},
451454
&quot;monitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics. Currently available options: * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
452455
&quot;name&quot;: &quot;A String&quot;, # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
@@ -1121,6 +1124,9 @@ <h3>Method Details</h3>
11211124
&quot;A String&quot;,
11221125
],
11231126
},
1127+
&quot;managedPrometheusConfig&quot;: { # ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus. # Enable Google Cloud Managed Service for Prometheus in the cluster.
1128+
&quot;enabled&quot;: True or False, # Enable Managed Collection.
1129+
},
11241130
},
11251131
&quot;monitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics. Currently available options: * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
11261132
&quot;name&quot;: &quot;A String&quot;, # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
@@ -1698,6 +1704,9 @@ <h3>Method Details</h3>
16981704
&quot;A String&quot;,
16991705
],
17001706
},
1707+
&quot;managedPrometheusConfig&quot;: { # ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus. # Enable Google Cloud Managed Service for Prometheus in the cluster.
1708+
&quot;enabled&quot;: True or False, # Enable Managed Collection.
1709+
},
17011710
},
17021711
&quot;monitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics. Currently available options: * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
17031712
&quot;name&quot;: &quot;A String&quot;, # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
@@ -3028,6 +3037,9 @@ <h3>Method Details</h3>
30283037
&quot;A String&quot;,
30293038
],
30303039
},
3040+
&quot;managedPrometheusConfig&quot;: { # ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus. # Enable Google Cloud Managed Service for Prometheus in the cluster.
3041+
&quot;enabled&quot;: True or False, # Enable Managed Collection.
3042+
},
30313043
},
30323044
&quot;desiredMonitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics. Currently available options: * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
30333045
&quot;desiredNodePoolAutoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.

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

+12
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,9 @@ <h3>Method Details</h3>
558558
&quot;A String&quot;,
559559
],
560560
},
561+
&quot;managedPrometheusConfig&quot;: { # ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus. # Enable Google Cloud Managed Service for Prometheus in the cluster.
562+
&quot;enabled&quot;: True or False, # Enable Managed Collection.
563+
},
561564
},
562565
&quot;monitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics. Currently available options: * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
563566
&quot;name&quot;: &quot;A String&quot;, # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
@@ -1232,6 +1235,9 @@ <h3>Method Details</h3>
12321235
&quot;A String&quot;,
12331236
],
12341237
},
1238+
&quot;managedPrometheusConfig&quot;: { # ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus. # Enable Google Cloud Managed Service for Prometheus in the cluster.
1239+
&quot;enabled&quot;: True or False, # Enable Managed Collection.
1240+
},
12351241
},
12361242
&quot;monitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics. Currently available options: * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
12371243
&quot;name&quot;: &quot;A String&quot;, # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
@@ -1853,6 +1859,9 @@ <h3>Method Details</h3>
18531859
&quot;A String&quot;,
18541860
],
18551861
},
1862+
&quot;managedPrometheusConfig&quot;: { # ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus. # Enable Google Cloud Managed Service for Prometheus in the cluster.
1863+
&quot;enabled&quot;: True or False, # Enable Managed Collection.
1864+
},
18561865
},
18571866
&quot;monitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics. Currently available options: * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
18581867
&quot;name&quot;: &quot;A String&quot;, # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
@@ -3089,6 +3098,9 @@ <h3>Method Details</h3>
30893098
&quot;A String&quot;,
30903099
],
30913100
},
3101+
&quot;managedPrometheusConfig&quot;: { # ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus. # Enable Google Cloud Managed Service for Prometheus in the cluster.
3102+
&quot;enabled&quot;: True or False, # Enable Managed Collection.
3103+
},
30923104
},
30933105
&quot;desiredMonitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics. Currently available options: * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
30943106
&quot;desiredNodePoolAutoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.

googleapiclient/discovery_cache/documents/container.v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2459,7 +2459,7 @@
24592459
}
24602460
}
24612461
},
2462-
"revision": "20211103",
2462+
"revision": "20211104",
24632463
"rootUrl": "https://container.googleapis.com/",
24642464
"schemas": {
24652465
"AcceleratorConfig": {

googleapiclient/discovery_cache/documents/container.v1beta1.json

+16-1
Original file line numberDiff line numberDiff line change
@@ -2484,7 +2484,7 @@
24842484
}
24852485
}
24862486
},
2487-
"revision": "20211103",
2487+
"revision": "20211104",
24882488
"rootUrl": "https://container.googleapis.com/",
24892489
"schemas": {
24902490
"AcceleratorConfig": {
@@ -4131,6 +4131,17 @@
41314131
},
41324132
"type": "object"
41334133
},
4134+
"ManagedPrometheusConfig": {
4135+
"description": "ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus.",
4136+
"id": "ManagedPrometheusConfig",
4137+
"properties": {
4138+
"enabled": {
4139+
"description": "Enable Managed Collection.",
4140+
"type": "boolean"
4141+
}
4142+
},
4143+
"type": "object"
4144+
},
41344145
"Master": {
41354146
"description": "Master is the configuration for components on master.",
41364147
"id": "Master",
@@ -4264,6 +4275,10 @@
42644275
"componentConfig": {
42654276
"$ref": "MonitoringComponentConfig",
42664277
"description": "Monitoring components configuration"
4278+
},
4279+
"managedPrometheusConfig": {
4280+
"$ref": "ManagedPrometheusConfig",
4281+
"description": "Enable Google Cloud Managed Service for Prometheus in the cluster."
42674282
}
42684283
},
42694284
"type": "object"

0 commit comments

Comments
 (0)