Class: Google::Cloud::Container::V1beta1::ProtectConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::ProtectConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1beta1/cluster_service.rb
Overview
ProtectConfig defines the flags needed to enable/disable features for the Protect API.
Defined Under Namespace
Modules: WorkloadVulnerabilityMode
Instance Attribute Summary collapse
-
#workload_config ⇒ ::Google::Cloud::Container::V1beta1::WorkloadConfig
WorkloadConfig defines which actions are enabled for a cluster's workload configurations.
-
#workload_vulnerability_mode ⇒ ::Google::Cloud::Container::V1beta1::ProtectConfig::WorkloadVulnerabilityMode
Sets which mode to use for Protect workload vulnerability scanning feature.
Instance Attribute Details
#workload_config ⇒ ::Google::Cloud::Container::V1beta1::WorkloadConfig
Returns WorkloadConfig defines which actions are enabled for a cluster's workload configurations.
2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2216 class ProtectConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # WorkloadVulnerabilityMode defines mode to perform vulnerability scanning. module WorkloadVulnerabilityMode # Default value not specified. WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED = 0 # Disables Workload Vulnerability Scanning feature on the cluster. DISABLED = 1 # Applies basic vulnerability scanning settings for cluster workloads. BASIC = 2 end end |
#workload_vulnerability_mode ⇒ ::Google::Cloud::Container::V1beta1::ProtectConfig::WorkloadVulnerabilityMode
Returns Sets which mode to use for Protect workload vulnerability scanning feature.
2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2216 class ProtectConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # WorkloadVulnerabilityMode defines mode to perform vulnerability scanning. module WorkloadVulnerabilityMode # Default value not specified. WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED = 0 # Disables Workload Vulnerability Scanning feature on the cluster. DISABLED = 1 # Applies basic vulnerability scanning settings for cluster workloads. BASIC = 2 end end |