Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::ProtectConfig.
ProtectConfig defines the flags needed to enable/disable features for the Protect API.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#workload_config
def workload_config() -> ::Google::Cloud::Container::V1beta1::WorkloadConfig
Returns
- (::Google::Cloud::Container::V1beta1::WorkloadConfig) — WorkloadConfig defines which actions are enabled for a cluster's workload configurations.
#workload_config=
def workload_config=(value) -> ::Google::Cloud::Container::V1beta1::WorkloadConfig
Parameter
- value (::Google::Cloud::Container::V1beta1::WorkloadConfig) — WorkloadConfig defines which actions are enabled for a cluster's workload configurations.
Returns
- (::Google::Cloud::Container::V1beta1::WorkloadConfig) — WorkloadConfig defines which actions are enabled for a cluster's workload configurations.
#workload_vulnerability_mode
def workload_vulnerability_mode() -> ::Google::Cloud::Container::V1beta1::ProtectConfig::WorkloadVulnerabilityMode
Returns
- (::Google::Cloud::Container::V1beta1::ProtectConfig::WorkloadVulnerabilityMode) — Sets which mode to use for Protect workload vulnerability scanning feature.
#workload_vulnerability_mode=
def workload_vulnerability_mode=(value) -> ::Google::Cloud::Container::V1beta1::ProtectConfig::WorkloadVulnerabilityMode
Parameter
- value (::Google::Cloud::Container::V1beta1::ProtectConfig::WorkloadVulnerabilityMode) — Sets which mode to use for Protect workload vulnerability scanning feature.
Returns
- (::Google::Cloud::Container::V1beta1::ProtectConfig::WorkloadVulnerabilityMode) — Sets which mode to use for Protect workload vulnerability scanning feature.