Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 05271e0

Browse files
committedJan 24, 2023
feat(gkehub): update the api
#### gkehub:v1alpha The following keys were added: - schemas.PolicyControllerBundleInstallSpec (Total Keys: 5) - schemas.PolicyControllerHubConfig.properties.policyContent.$ref (Total Keys: 1) - schemas.PolicyControllerMembershipState.properties.contentStates (Total Keys: 2) - schemas.PolicyControllerPolicyContentSpec (Total Keys: 4) #### gkehub:v1beta The following keys were added: - schemas.PolicyControllerBundleInstallSpec (Total Keys: 5) - schemas.PolicyControllerHubConfig.properties.policyContent.$ref (Total Keys: 1) - schemas.PolicyControllerMembershipState.properties.contentStates (Total Keys: 2) - schemas.PolicyControllerPolicyContentSpec (Total Keys: 4)
1 parent cd27a7f commit 05271e0

8 files changed

+246
-16
lines changed
 

‎docs/dyn/gkehub_v1alpha.projects.locations.features.html

+68-4
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,16 @@ <h3>Method Details</h3>
242242
],
243243
},
244244
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
245+
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
246+
&quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
247+
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
248+
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
249+
&quot;A String&quot;,
250+
],
251+
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
252+
},
253+
},
254+
},
245255
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
246256
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
247257
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
@@ -442,7 +452,13 @@ <h3>Method Details</h3>
442452
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
443453
},
444454
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
445-
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot; 4. &quot;constraint template library&quot;
455+
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
456+
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
457+
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
458+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
459+
},
460+
},
461+
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
446462
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
447463
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
448464
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
@@ -786,6 +802,16 @@ <h3>Method Details</h3>
786802
],
787803
},
788804
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
805+
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
806+
&quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
807+
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
808+
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
809+
&quot;A String&quot;,
810+
],
811+
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
812+
},
813+
},
814+
},
789815
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
790816
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
791817
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
@@ -986,7 +1012,13 @@ <h3>Method Details</h3>
9861012
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
9871013
},
9881014
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
989-
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot; 4. &quot;constraint template library&quot;
1015+
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
1016+
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
1017+
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
1018+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
1019+
},
1020+
},
1021+
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
9901022
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
9911023
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
9921024
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
@@ -1318,6 +1350,16 @@ <h3>Method Details</h3>
13181350
],
13191351
},
13201352
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
1353+
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
1354+
&quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
1355+
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
1356+
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
1357+
&quot;A String&quot;,
1358+
],
1359+
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
1360+
},
1361+
},
1362+
},
13211363
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
13221364
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
13231365
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
@@ -1518,7 +1560,13 @@ <h3>Method Details</h3>
15181560
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
15191561
},
15201562
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
1521-
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot; 4. &quot;constraint template library&quot;
1563+
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
1564+
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
1565+
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
1566+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
1567+
},
1568+
},
1569+
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
15221570
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
15231571
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
15241572
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
@@ -1806,6 +1854,16 @@ <h3>Method Details</h3>
18061854
],
18071855
},
18081856
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
1857+
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
1858+
&quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
1859+
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
1860+
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
1861+
&quot;A String&quot;,
1862+
],
1863+
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
1864+
},
1865+
},
1866+
},
18091867
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
18101868
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
18111869
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
@@ -2006,7 +2064,13 @@ <h3>Method Details</h3>
20062064
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
20072065
},
20082066
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
2009-
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot; 4. &quot;constraint template library&quot;
2067+
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
2068+
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
2069+
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
2070+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
2071+
},
2072+
},
2073+
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
20102074
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
20112075
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
20122076
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.

‎docs/dyn/gkehub_v1beta.projects.locations.features.html

+68-4
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,16 @@ <h3>Method Details</h3>
241241
],
242242
},
243243
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
244+
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
245+
&quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
246+
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
247+
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
248+
&quot;A String&quot;,
249+
],
250+
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
251+
},
252+
},
253+
},
244254
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
245255
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
246256
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
@@ -438,7 +448,13 @@ <h3>Method Details</h3>
438448
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
439449
},
440450
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
441-
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot; 4. &quot;constraint template library&quot;
451+
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
452+
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
453+
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
454+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
455+
},
456+
},
457+
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
442458
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
443459
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
444460
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
@@ -729,6 +745,16 @@ <h3>Method Details</h3>
729745
],
730746
},
731747
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
748+
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
749+
&quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
750+
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
751+
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
752+
&quot;A String&quot;,
753+
],
754+
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
755+
},
756+
},
757+
},
732758
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
733759
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
734760
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
@@ -926,7 +952,13 @@ <h3>Method Details</h3>
926952
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
927953
},
928954
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
929-
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot; 4. &quot;constraint template library&quot;
955+
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
956+
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
957+
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
958+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
959+
},
960+
},
961+
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
930962
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
931963
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
932964
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
@@ -1205,6 +1237,16 @@ <h3>Method Details</h3>
12051237
],
12061238
},
12071239
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
1240+
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
1241+
&quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
1242+
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
1243+
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
1244+
&quot;A String&quot;,
1245+
],
1246+
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
1247+
},
1248+
},
1249+
},
12081250
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
12091251
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
12101252
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
@@ -1402,7 +1444,13 @@ <h3>Method Details</h3>
14021444
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
14031445
},
14041446
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
1405-
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot; 4. &quot;constraint template library&quot;
1447+
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
1448+
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
1449+
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
1450+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
1451+
},
1452+
},
1453+
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
14061454
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
14071455
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
14081456
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
@@ -1637,6 +1685,16 @@ <h3>Method Details</h3>
16371685
],
16381686
},
16391687
&quot;mutationEnabled&quot;: True or False, # Enables the ability to mutate resources using Policy Controller.
1688+
&quot;policyContent&quot;: { # PolicyContentSpec defines the user&#x27;s desired content configuration on the cluster. # Specifies the desired policy content on the cluster
1689+
&quot;bundles&quot;: { # map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.
1690+
&quot;a_key&quot;: { # BundleInstallSpec is the specification configuration for a single managed bundle.
1691+
&quot;exemptedNamespaces&quot;: [ # the set of namespaces to be exempted from the bundle
1692+
&quot;A String&quot;,
1693+
],
1694+
&quot;management&quot;: &quot;A String&quot;, # Management specifies how the bundle will be managed by the controller.
1695+
},
1696+
},
1697+
},
16401698
&quot;referentialRulesEnabled&quot;: True or False, # Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.
16411699
&quot;templateLibraryConfig&quot;: { # The config specifying which default library templates to install. # Configures the library templates to install along with Policy Controller.
16421700
&quot;included&quot;: True or False, # Whether the standard template library should be installed or not.
@@ -1834,7 +1892,13 @@ <h3>Method Details</h3>
18341892
&quot;preciseLastMeasuredClusterVcpuCapacity&quot;: 3.14, # The vCPUs capacity in the cluster according to the most recent measurement (1/1000 precision).
18351893
},
18361894
&quot;policycontroller&quot;: { # **Policy Controller**: State for a single cluster. # Policycontroller-specific state.
1837-
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot; 4. &quot;constraint template library&quot;
1895+
&quot;componentStates&quot;: { # Currently these include (also serving as map keys): 1. &quot;admission&quot; 2. &quot;audit&quot; 3. &quot;mutation&quot;
1896+
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
1897+
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
1898+
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.
1899+
},
1900+
},
1901+
&quot;contentStates&quot;: { # The state of the template library and any bundles included in the chosen version of the manifest
18381902
&quot;a_key&quot;: { # OnClusterState represents the state of a sub-component of Policy Controller.
18391903
&quot;details&quot;: &quot;A String&quot;, # Surface potential errors or information logs.
18401904
&quot;state&quot;: &quot;A String&quot;, # The lifecycle state of this component.

‎googleapiclient/discovery_cache/documents/gkehub.v1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@
905905
}
906906
}
907907
},
908-
"revision": "20221207",
908+
"revision": "20230106",
909909
"rootUrl": "https://gkehub.googleapis.com/",
910910
"schemas": {
911911
"AppDevExperienceFeatureSpec": {

‎googleapiclient/discovery_cache/documents/gkehub.v1alpha.json

+53-2
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@
11791179
}
11801180
}
11811181
},
1182-
"revision": "20221207",
1182+
"revision": "20230106",
11831183
"rootUrl": "https://gkehub.googleapis.com/",
11841184
"schemas": {
11851185
"AnthosObservabilityFeatureSpec": {
@@ -3444,6 +3444,32 @@
34443444
},
34453445
"type": "object"
34463446
},
3447+
"PolicyControllerBundleInstallSpec": {
3448+
"description": "BundleInstallSpec is the specification configuration for a single managed bundle.",
3449+
"id": "PolicyControllerBundleInstallSpec",
3450+
"properties": {
3451+
"exemptedNamespaces": {
3452+
"description": "the set of namespaces to be exempted from the bundle",
3453+
"items": {
3454+
"type": "string"
3455+
},
3456+
"type": "array"
3457+
},
3458+
"management": {
3459+
"description": "Management specifies how the bundle will be managed by the controller.",
3460+
"enum": [
3461+
"MANAGEMENT_UNSPECIFIED",
3462+
"INSTALLED"
3463+
],
3464+
"enumDescriptions": [
3465+
"No Management strategy has been specified.",
3466+
"The entity should be insistently reconciled by the Hub controller"
3467+
],
3468+
"type": "string"
3469+
}
3470+
},
3471+
"type": "object"
3472+
},
34473473
"PolicyControllerHubConfig": {
34483474
"description": "Configuration for Policy Controller",
34493475
"id": "PolicyControllerHubConfig",
@@ -3488,6 +3514,10 @@
34883514
"description": "Enables the ability to mutate resources using Policy Controller.",
34893515
"type": "boolean"
34903516
},
3517+
"policyContent": {
3518+
"$ref": "PolicyControllerPolicyContentSpec",
3519+
"description": "Specifies the desired policy content on the cluster"
3520+
},
34913521
"referentialRulesEnabled": {
34923522
"description": "Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.",
34933523
"type": "boolean"
@@ -3522,7 +3552,14 @@
35223552
"additionalProperties": {
35233553
"$ref": "PolicyControllerOnClusterState"
35243554
},
3525-
"description": "Currently these include (also serving as map keys): 1. \"admission\" 2. \"audit\" 3. \"mutation\" 4. \"constraint template library\"",
3555+
"description": "Currently these include (also serving as map keys): 1. \"admission\" 2. \"audit\" 3. \"mutation\"",
3556+
"type": "object"
3557+
},
3558+
"contentStates": {
3559+
"additionalProperties": {
3560+
"$ref": "PolicyControllerOnClusterState"
3561+
},
3562+
"description": "The state of the template library and any bundles included in the chosen version of the manifest",
35263563
"type": "object"
35273564
},
35283565
"state": {
@@ -3615,6 +3652,20 @@
36153652
},
36163653
"type": "object"
36173654
},
3655+
"PolicyControllerPolicyContentSpec": {
3656+
"description": "PolicyContentSpec defines the user's desired content configuration on the cluster.",
3657+
"id": "PolicyControllerPolicyContentSpec",
3658+
"properties": {
3659+
"bundles": {
3660+
"additionalProperties": {
3661+
"$ref": "PolicyControllerBundleInstallSpec"
3662+
},
3663+
"description": "map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.",
3664+
"type": "object"
3665+
}
3666+
},
3667+
"type": "object"
3668+
},
36183669
"PolicyControllerTemplateLibraryConfig": {
36193670
"description": "The config specifying which default library templates to install.",
36203671
"id": "PolicyControllerTemplateLibraryConfig",

‎googleapiclient/discovery_cache/documents/gkehub.v1alpha2.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@
652652
}
653653
}
654654
},
655-
"revision": "20221207",
655+
"revision": "20230106",
656656
"rootUrl": "https://gkehub.googleapis.com/",
657657
"schemas": {
658658
"ApplianceCluster": {

‎googleapiclient/discovery_cache/documents/gkehub.v1beta.json

+53-2
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@
670670
}
671671
}
672672
},
673-
"revision": "20221207",
673+
"revision": "20230106",
674674
"rootUrl": "https://gkehub.googleapis.com/",
675675
"schemas": {
676676
"AnthosObservabilityFeatureSpec": {
@@ -2368,6 +2368,32 @@
23682368
},
23692369
"type": "object"
23702370
},
2371+
"PolicyControllerBundleInstallSpec": {
2372+
"description": "BundleInstallSpec is the specification configuration for a single managed bundle.",
2373+
"id": "PolicyControllerBundleInstallSpec",
2374+
"properties": {
2375+
"exemptedNamespaces": {
2376+
"description": "the set of namespaces to be exempted from the bundle",
2377+
"items": {
2378+
"type": "string"
2379+
},
2380+
"type": "array"
2381+
},
2382+
"management": {
2383+
"description": "Management specifies how the bundle will be managed by the controller.",
2384+
"enum": [
2385+
"MANAGEMENT_UNSPECIFIED",
2386+
"INSTALLED"
2387+
],
2388+
"enumDescriptions": [
2389+
"No Management strategy has been specified.",
2390+
"The entity should be insistently reconciled by the Hub controller"
2391+
],
2392+
"type": "string"
2393+
}
2394+
},
2395+
"type": "object"
2396+
},
23712397
"PolicyControllerHubConfig": {
23722398
"description": "Configuration for Policy Controller",
23732399
"id": "PolicyControllerHubConfig",
@@ -2412,6 +2438,10 @@
24122438
"description": "Enables the ability to mutate resources using Policy Controller.",
24132439
"type": "boolean"
24142440
},
2441+
"policyContent": {
2442+
"$ref": "PolicyControllerPolicyContentSpec",
2443+
"description": "Specifies the desired policy content on the cluster"
2444+
},
24152445
"referentialRulesEnabled": {
24162446
"description": "Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.",
24172447
"type": "boolean"
@@ -2446,7 +2476,14 @@
24462476
"additionalProperties": {
24472477
"$ref": "PolicyControllerOnClusterState"
24482478
},
2449-
"description": "Currently these include (also serving as map keys): 1. \"admission\" 2. \"audit\" 3. \"mutation\" 4. \"constraint template library\"",
2479+
"description": "Currently these include (also serving as map keys): 1. \"admission\" 2. \"audit\" 3. \"mutation\"",
2480+
"type": "object"
2481+
},
2482+
"contentStates": {
2483+
"additionalProperties": {
2484+
"$ref": "PolicyControllerOnClusterState"
2485+
},
2486+
"description": "The state of the template library and any bundles included in the chosen version of the manifest",
24502487
"type": "object"
24512488
},
24522489
"state": {
@@ -2539,6 +2576,20 @@
25392576
},
25402577
"type": "object"
25412578
},
2579+
"PolicyControllerPolicyContentSpec": {
2580+
"description": "PolicyContentSpec defines the user's desired content configuration on the cluster.",
2581+
"id": "PolicyControllerPolicyContentSpec",
2582+
"properties": {
2583+
"bundles": {
2584+
"additionalProperties": {
2585+
"$ref": "PolicyControllerBundleInstallSpec"
2586+
},
2587+
"description": "map of bundle name to BundleInstallSpec. The bundle name maps to the `bundleName` key in the `policycontroller.gke.io/constraintData` annotation on a constraint.",
2588+
"type": "object"
2589+
}
2590+
},
2591+
"type": "object"
2592+
},
25422593
"PolicyControllerTemplateLibraryConfig": {
25432594
"description": "The config specifying which default library templates to install.",
25442595
"id": "PolicyControllerTemplateLibraryConfig",

‎googleapiclient/discovery_cache/documents/gkehub.v1beta1.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@
706706
}
707707
}
708708
},
709-
"revision": "20221207",
709+
"revision": "20230106",
710710
"rootUrl": "https://gkehub.googleapis.com/",
711711
"schemas": {
712712
"ApplianceCluster": {

‎googleapiclient/discovery_cache/documents/gkehub.v2alpha.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
}
281281
}
282282
},
283-
"revision": "20221207",
283+
"revision": "20230106",
284284
"rootUrl": "https://gkehub.googleapis.com/",
285285
"schemas": {
286286
"CancelOperationRequest": {

0 commit comments

Comments
 (0)
Please sign in to comment.