Class: Google::Cloud::GkeHub::ConfigManagement::V1::PolicyController

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb

Overview

Configuration for Policy Controller

Instance Attribute Summary collapse

Instance Attribute Details

#audit_interval_seconds::Integer

Returns Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.

Returns:

  • (::Integer)

    Sets the interval for Policy Controller Audit Scans (in seconds). When set to 0, this disables audit functionality altogether.



215
216
217
218
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 215

class PolicyController
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#enabled::Boolean

Returns Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.

Returns:

  • (::Boolean)

    Enables the installation of Policy Controller. If false, the rest of PolicyController fields take no effect.



215
216
217
218
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 215

class PolicyController
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#exemptable_namespaces::Array<::String>

Returns The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.

Returns:

  • (::Array<::String>)

    The set of namespaces that are excluded from Policy Controller checks. Namespaces do not need to currently exist on the cluster.



215
216
217
218
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 215

class PolicyController
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#log_denies_enabled::Boolean

Returns Logs all denies and dry run failures.

Returns:

  • (::Boolean)

    Logs all denies and dry run failures.



215
216
217
218
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 215

class PolicyController
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#referential_rules_enabled::Boolean

Returns Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.

Returns:

  • (::Boolean)

    Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.



215
216
217
218
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 215

class PolicyController
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#template_library_installed::Boolean

Returns Installs the default template library along with Policy Controller.

Returns:

  • (::Boolean)

    Installs the default template library along with Policy Controller.



215
216
217
218
# File 'proto_docs/google/cloud/gkehub/v1/configmanagement/configmanagement.rb', line 215

class PolicyController
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end