class Google::Apis::GkehubV1beta::ConfigManagementPolicyController
Configuration for Policy
Controller
Attributes
Sets the interval for Policy
Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether. Corresponds to the JSON property `auditIntervalSeconds` @return [Fixnum]
Enables the installation of Policy
Controller. If false, the rest of PolicyController fields take no effect. Corresponds to the JSON property `enabled` @return [Boolean]
Enables the installation of Policy
Controller. If false, the rest of PolicyController fields take no effect. Corresponds to the JSON property `enabled` @return [Boolean]
The set of namespaces that are excluded from Policy
Controller checks. Namespaces do not need to currently exist on the cluster. Corresponds to the JSON property `exemptableNamespaces` @return [Array<String>]
Logs all denies and dry run failures. Corresponds to the JSON property `logDeniesEnabled` @return [Boolean]
Logs all denies and dry run failures. Corresponds to the JSON property `logDeniesEnabled` @return [Boolean]
Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated. Corresponds to the JSON property `referentialRulesEnabled` @return [Boolean]
Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated. Corresponds to the JSON property `referentialRulesEnabled` @return [Boolean]
Installs the default template library along with Policy
Controller. Corresponds to the JSON property `templateLibraryInstalled` @return [Boolean]
Installs the default template library along with Policy
Controller. Corresponds to the JSON property `templateLibraryInstalled` @return [Boolean]
Public Class Methods
# File lib/google/apis/gkehub_v1beta/classes.rb, line 900 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/gkehub_v1beta/classes.rb, line 905 def update!(**args) @audit_interval_seconds = args[:audit_interval_seconds] if args.key?(:audit_interval_seconds) @enabled = args[:enabled] if args.key?(:enabled) @exemptable_namespaces = args[:exemptable_namespaces] if args.key?(:exemptable_namespaces) @log_denies_enabled = args[:log_denies_enabled] if args.key?(:log_denies_enabled) @referential_rules_enabled = args[:referential_rules_enabled] if args.key?(:referential_rules_enabled) @template_library_installed = args[:template_library_installed] if args.key?(:template_library_installed) end