Skip to content

Commit 0cead0c

Browse files
feat(container): update the api
#### container:v1beta1 The following keys were deleted: - schemas.BinaryAuthorization.properties.policyBindings (Total Keys: 2) - schemas.PolicyBinding (Total Keys: 3)
1 parent b59bf1b commit 0cead0c

File tree

3 files changed

+3
-65
lines changed

3 files changed

+3
-65
lines changed

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

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -376,11 +376,6 @@ <h3>Method Details</h3>
376376
&quot;binaryAuthorization&quot;: { # Configuration for Binary Authorization. # Configuration for Binary Authorization.
377377
&quot;enabled&quot;: True or False, # This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
378378
&quot;evaluationMode&quot;: &quot;A String&quot;, # Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
379-
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
380-
{ # Binauthz policy that applies to this cluster.
381-
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
382-
},
383-
],
384379
},
385380
&quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
386381
&quot;clusterTelemetry&quot;: { # Telemetry integration for the cluster. # Telemetry integration for the cluster.
@@ -1319,11 +1314,6 @@ <h3>Method Details</h3>
13191314
&quot;binaryAuthorization&quot;: { # Configuration for Binary Authorization. # Configuration for Binary Authorization.
13201315
&quot;enabled&quot;: True or False, # This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
13211316
&quot;evaluationMode&quot;: &quot;A String&quot;, # Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
1322-
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
1323-
{ # Binauthz policy that applies to this cluster.
1324-
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
1325-
},
1326-
],
13271317
},
13281318
&quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
13291319
&quot;clusterTelemetry&quot;: { # Telemetry integration for the cluster. # Telemetry integration for the cluster.
@@ -2165,11 +2155,6 @@ <h3>Method Details</h3>
21652155
&quot;binaryAuthorization&quot;: { # Configuration for Binary Authorization. # Configuration for Binary Authorization.
21662156
&quot;enabled&quot;: True or False, # This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
21672157
&quot;evaluationMode&quot;: &quot;A String&quot;, # Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
2168-
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
2169-
{ # Binauthz policy that applies to this cluster.
2170-
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
2171-
},
2172-
],
21732158
},
21742159
&quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
21752160
&quot;clusterTelemetry&quot;: { # Telemetry integration for the cluster. # Telemetry integration for the cluster.
@@ -3799,11 +3784,6 @@ <h3>Method Details</h3>
37993784
&quot;desiredBinaryAuthorization&quot;: { # Configuration for Binary Authorization. # The desired configuration options for the Binary Authorization feature.
38003785
&quot;enabled&quot;: True or False, # This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
38013786
&quot;evaluationMode&quot;: &quot;A String&quot;, # Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
3802-
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
3803-
{ # Binauthz policy that applies to this cluster.
3804-
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
3805-
},
3806-
],
38073787
},
38083788
&quot;desiredClusterAutoscaling&quot;: { # ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs. # Cluster-level autoscaling configuration.
38093789
&quot;autoprovisioningLocations&quot;: [ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool&#x27;s nodes can be created by NAP.

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

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -459,11 +459,6 @@ <h3>Method Details</h3>
459459
&quot;binaryAuthorization&quot;: { # Configuration for Binary Authorization. # Configuration for Binary Authorization.
460460
&quot;enabled&quot;: True or False, # This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
461461
&quot;evaluationMode&quot;: &quot;A String&quot;, # Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
462-
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
463-
{ # Binauthz policy that applies to this cluster.
464-
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
465-
},
466-
],
467462
},
468463
&quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
469464
&quot;clusterTelemetry&quot;: { # Telemetry integration for the cluster. # Telemetry integration for the cluster.
@@ -1402,11 +1397,6 @@ <h3>Method Details</h3>
14021397
&quot;binaryAuthorization&quot;: { # Configuration for Binary Authorization. # Configuration for Binary Authorization.
14031398
&quot;enabled&quot;: True or False, # This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
14041399
&quot;evaluationMode&quot;: &quot;A String&quot;, # Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
1405-
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
1406-
{ # Binauthz policy that applies to this cluster.
1407-
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
1408-
},
1409-
],
14101400
},
14111401
&quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
14121402
&quot;clusterTelemetry&quot;: { # Telemetry integration for the cluster. # Telemetry integration for the cluster.
@@ -2292,11 +2282,6 @@ <h3>Method Details</h3>
22922282
&quot;binaryAuthorization&quot;: { # Configuration for Binary Authorization. # Configuration for Binary Authorization.
22932283
&quot;enabled&quot;: True or False, # This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
22942284
&quot;evaluationMode&quot;: &quot;A String&quot;, # Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
2295-
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
2296-
{ # Binauthz policy that applies to this cluster.
2297-
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
2298-
},
2299-
],
23002285
},
23012286
&quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
23022287
&quot;clusterTelemetry&quot;: { # Telemetry integration for the cluster. # Telemetry integration for the cluster.
@@ -3826,11 +3811,6 @@ <h3>Method Details</h3>
38263811
&quot;desiredBinaryAuthorization&quot;: { # Configuration for Binary Authorization. # The desired configuration options for the Binary Authorization feature.
38273812
&quot;enabled&quot;: True or False, # This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
38283813
&quot;evaluationMode&quot;: &quot;A String&quot;, # Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.
3829-
&quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
3830-
{ # Binauthz policy that applies to this cluster.
3831-
&quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
3832-
},
3833-
],
38343814
},
38353815
&quot;desiredClusterAutoscaling&quot;: { # ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs. # Cluster-level autoscaling configuration.
38363816
&quot;autoprovisioningLocations&quot;: [ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool&#x27;s nodes can be created by NAP.

googleapiclient/discovery_cache/documents/container.v1beta1.json

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2565,7 +2565,7 @@
25652565
}
25662566
}
25672567
},
2568-
"revision": "20230723",
2568+
"revision": "20230724",
25692569
"rootUrl": "https://container.googleapis.com/",
25702570
"schemas": {
25712571
"AcceleratorConfig": {
@@ -2964,25 +2964,14 @@
29642964
"enum": [
29652965
"EVALUATION_MODE_UNSPECIFIED",
29662966
"DISABLED",
2967-
"PROJECT_SINGLETON_POLICY_ENFORCE",
2968-
"POLICY_BINDINGS",
2969-
"POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE"
2967+
"PROJECT_SINGLETON_POLICY_ENFORCE"
29702968
],
29712969
"enumDescriptions": [
29722970
"Default value",
29732971
"Disable BinaryAuthorization",
2974-
"Enforce Kubernetes admission requests with BinaryAuthorization using the project's singleton policy. This is equivalent to setting the enabled boolean to true.",
2975-
"Use Binary Authorization with the policies specified in policy_bindings.",
2976-
"Use Binary Authorization with the policies specified in policy_bindings, and also with the project's singleton policy in enforcement mode."
2972+
"Enforce Kubernetes admission requests with BinaryAuthorization using the project's singleton policy. This is equivalent to setting the enabled boolean to true."
29772973
],
29782974
"type": "string"
2979-
},
2980-
"policyBindings": {
2981-
"description": "Optional. Binauthz policies that apply to this cluster.",
2982-
"items": {
2983-
"$ref": "PolicyBinding"
2984-
},
2985-
"type": "array"
29862975
}
29872976
},
29882977
"type": "object"
@@ -6202,17 +6191,6 @@
62026191
},
62036192
"type": "object"
62046193
},
6205-
"PolicyBinding": {
6206-
"description": "Binauthz policy that applies to this cluster.",
6207-
"id": "PolicyBinding",
6208-
"properties": {
6209-
"name": {
6210-
"description": "The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.",
6211-
"type": "string"
6212-
}
6213-
},
6214-
"type": "object"
6215-
},
62166194
"PrivateClusterConfig": {
62176195
"description": "Configuration options for private clusters.",
62186196
"id": "PrivateClusterConfig",

0 commit comments

Comments
 (0)