Send feedback
Class PolicyController (1.17.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
PolicyController ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Attributes
Name
Description
enabled
bool
Enables the installation of Policy
Controller. If false, the rest of
PolicyController fields take no effect.
template_library_installed
bool
Installs the default template library along
with Policy Controller.
This field is a member of oneof
_ _template_library_installed
.
audit_interval_seconds
int
Sets the interval for Policy Controller Audit
Scans (in seconds). When set to 0, this disables
audit functionality altogether.
This field is a member of oneof
_ _audit_interval_seconds
.
exemptable_namespaces
MutableSequence[str]
The set of namespaces that are excluded from
Policy Controller checks. Namespaces do not need
to currently exist on the cluster.
referential_rules_enabled
bool
Enables the ability to use Constraint
Templates that reference to objects other than
the object currently being evaluated.
log_denies_enabled
bool
Logs all denies and dry run failures.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class PolicyController (1.17.3)\n\nVersion latestkeyboard_arrow_down\n\n- [1.17.3 (latest)](/python/docs/reference/gkehub/latest/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.17.1](/python/docs/reference/gkehub/1.17.1/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.16.0](/python/docs/reference/gkehub/1.16.0/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.15.1](/python/docs/reference/gkehub/1.15.1/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.14.2](/python/docs/reference/gkehub/1.14.2/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.13.1](/python/docs/reference/gkehub/1.13.1/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.12.1](/python/docs/reference/gkehub/1.12.1/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.11.0](/python/docs/reference/gkehub/1.11.0/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.10.2](/python/docs/reference/gkehub/1.10.2/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.9.0](/python/docs/reference/gkehub/1.9.0/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.8.1](/python/docs/reference/gkehub/1.8.1/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.7.1](/python/docs/reference/gkehub/1.7.1/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.6.0](/python/docs/reference/gkehub/1.6.0/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.5.3](/python/docs/reference/gkehub/1.5.3/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.4.3](/python/docs/reference/gkehub/1.4.3/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.3.0](/python/docs/reference/gkehub/1.3.0/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.2.0](/python/docs/reference/gkehub/1.2.0/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.1.0](/python/docs/reference/gkehub/1.1.0/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [1.0.0](/python/docs/reference/gkehub/1.0.0/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [0.2.2](/python/docs/reference/gkehub/0.2.2/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController)\n- [0.1.2](/python/docs/reference/gkehub/0.1.2/google.cloud.gkehub_v1.configmanagement_v1.types.PolicyController) \n\n PolicyController(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nConfiguration for Policy Controller\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e"]]